On Sun, May 08, 2016 at 06:44:40PM +0000, Peter Fraser wrote:
> Testing out OpenSMTP on a test system appropriately call test
> I am have a problem testing a message submitting from external system
> (the sys is on the same lan)
> 
> The tested  smtpd.conf 
> 
> 
> listen on all
> table aliases                file:/etc/mail/aliases
> accept from any for domain test.thinkage.ca alias <aliases> deliver to mbox
> 
> using that smtpd.conf on the system test
> 
> 
> test:/var/spool/smtpd # echo hi there  |sendmail -v [email protected]
> echo hi there  |sendmail -v [email protected]
> <<< 220 test.thinkage.ca ESMTP OpenSMTPD
> >>> EHLO localhost
> <<< 250-test.thinkage.ca Hello localhost [local], pleased to meet you
> <<< 250-8BITMIME
> <<< 250-ENHANCEDSTATUSCODES
> <<< 250-SIZE 36700160
> <<< 250 HELP
> >>> MAIL FROM:<[email protected]>  
> <<< 250 2.0.0: Ok
> >>> RCPT TO:<[email protected]> 
> <<< 250 2.1.5 Destination address valid: Recipient ok
> >>> DATA
> <<< 354 Enter mail, end with "." on a line by itself
> >>> .
> <<< 250 2.0.0: c8300cf0 Message accepted for delivery
> >>> QUIT
> <<< 221 2.0.0: Bye
> 
> which works fine but
> 
> using telnet (from a windows 10 system) I get the following
> 
> telnet test.thinkage.ca 25
> 220 test.thinkage.ca ESMTP OpenSMTPD
> EHLO whoops.thinkage.ca
> 250-test.thinkage.ca Hello whoops.thinkage.ca [192.102.11.49], pleased to 
> meet you
> 250-8BITMIME
> 250-ENHANCEDSTATUSCODES
> 250-SIZE 36700160
> 250-DSN
> 250 HELP
> MAIL FROM:<[email protected]>
> 250 2.0.0: Ok
> RCPT TO:<[email protected]>
> 250 2.1.5 Destination address valid: Recipient ok
> data
> 354 Enter mail, end with "." on a line by itself
> test data
> .
> 550 5.7.1 Delivery not authorized, message refused: Message is not RFC 2822 
> compliant
> 
> I realize that I am doing something stupid but what is it?

try adding Subject: line after data followed by an empty newline
followed by your test data
 
> 
> --
> You received this mail because you are subscribed to [email protected]
> To unsubscribe, send a mail to: [email protected]
> 

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to