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.

link|improve this 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
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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