Rodrigo Ventura wrote:


After the DATA command you should enter the header fields in RCF??? format, followed by a empty line, followed by the actual data. For instance:

thanks for pointing this out. I read in the rfc that lmtp use the same protocol als smtp (with a couple of exceptions) but I assumed that providing the bare minimum would work with lmtp as with smtp.


mail from: [EMAIL PROTECTED]
250 2.1.0 [EMAIL PROTECTED] Sender ok
rcpt to: [EMAIL PROTECTED]
250 2.1.5 [EMAIL PROTECTED] Recipient ok
data
354 Enter mail, end with "." on a line by itself
Subject: test

hi there
.
250 2.0.0 k6LE4oXP028311 Message accepted for delivery

Cheers,

Rodrigo


----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to