Re: lmtp over tcp sockets, access denied and lmtp error: Message contains invalid header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: yoda@xxxxxxxxxxxxxx
250 2.1.0 yoda@xxxxxxxxxxxxxxxxx Sender ok
rcpt to: yoda@xxxxxxxxxxxxxx
250 2.1.5 yoda@xxxxxxxxxxxxxxxxx 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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux