Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've just started to set up an SMTP server on one of my test boxes. Postfix is installed and running, however, when I try to end a message it just does not work. All the documentation I've seen says that when you insert a "." (period) on a new line in the body, the message will be sent. This just does not work for me, though. The program just goes onto the next line as if expecting more text.

share|improve this question

closed as not a real question by Tom O'Connor, Ward, mailq, Michael Hampton, Ladadadada Oct 5 '12 at 16:59

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
You're doing something wrong... Likely whatever program you're using to connect to the mail server. –  Chris S Oct 25 '11 at 15:48
add comment

1 Answer

up vote 5 down vote accepted

Assuming your problem does occur while doing telnet localhost 25 your session has to look like this:

(...)
DATA                                                                            
354 End data with <CR><LF>.<CR><LF>                                             
Subject: Test                                                                   

This is the body                                                                
.                                                                               
250 2.0.0 Ok: queued as 6E9B019E46       

And this works trillions of time every day.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.