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]

 



On Friday 21 July 2006 14:32, Rudy Gevaert wrote:
> mail from:<rudy@xxxxxxxxxxx>
> 250 2.1.0 ok
> rcpt to:<user2@xxxxxxxxxx>
> 250 2.1.5 ok
> DATA
> 354 go ahead
> daf
> da
>
>
> af
> .
> 554 5.6.0 Message contains invalid header
>
> How do I further test if my lmtp is working?  (So I can gave a look at
> the postfix problem)

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:

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

-- 

*** Rodrigo Martins de Matos Ventura <yoda@xxxxxxxxxxxxxx>
***  Web page: http://www.isr.ist.utl.pt/~yoda
***   Teaching Assistant and PhD Student at ISR:
***    Instituto de Sistemas e Robotica, Polo de Lisboa
***     Instituto Superior Tecnico, Lisboa, PORTUGAL
*** PGP fingerprint = 0119 AD13 9EEE 264A 3F10  31D3 89B3 C6C4 60C6 4585
----
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