On Friday 21 July 2006 14:32, Rudy Gevaert wrote:
> mail from:<[EMAIL PROTECTED]>
> 250 2.1.0 ok
> rcpt to:<[EMAIL PROTECTED]>
> 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: [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

-- 

*** Rodrigo Martins de Matos Ventura <[EMAIL PROTECTED]>
***  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

Reply via email to