Known issue with some senders. Some senders do not respect the RFC for
max line length and thus get bounced. Tell the sender to fix their shit
and respect the RFC.

--
Jason Barbier | E: [email protected]
GPG Key-ID: B5F75B47(http://kusuriya.devio.us/pubkey.asc)
 
 
On Mon, Feb 1, 2016, at 09:30 AM, Russell Sutherland wrote:
> I've been getting these errors, which I think were noted by Edgar Pettijohn.
>  
> Using debug, (smtpd -dv -Tall) this is what I see:
>  
> << [MSG]
> <<< [MSG]
> <<< [MSG]
> <<< [MSG]
> <<< [MSG] XXX Canada
> <<< [MSG] 101 YYYY Street, Suite 16
> <<< [MSG] ABCDESF ON L3R 3B2
> <<< [MSG] T:   905-XXX-XXXX
> smtp: 0x1ade96995000: IO_DATAIN <io:0x1ade96995048 fd=4 to=300000 fl=R 
> ib=2048 ob=0>
> <<< [MSG] F:   905-XXX-YYZZ
> <<< [MSG]
> <<< [MSG] This e-mail message, including any attachments, is for the sole 
> purpose of the intended recipient(s) and may contain confidential and privile
> ged information. Any unauthorized review, use, disclosure or distribution is 
> strictly prohibited. If you are not the intended recipient, please contact
>  the sender by "Reply" e-mail and destroy all copies of the original message.
> <<< [MSG]
> <<< [MSG] --===============2862639295889124968==
> <<< [MSG] Content-Type: text/html; charset="us-ascii"
> <<< [MSG] MIME-Version: 1.0
> <<< [MSG] Content-Transfer-Encoding: 7bit
> <<< [MSG]
> smtp: 0x1ade96995000: IO_DATAIN <io:0x1ade96995048 fd=4 to=300000 fl=R 
> ib=2048 ob=0>
> smtp: 0x1ade96995000: >>> 500 5.0.0: Line too long
> smtp-in: Bad input on session 9dde47c70933f3fa: 500 5.0.0: Line too long
> smtp: 0x1ade96995000: STATE_BODY -> STATE_QUIT
> smtp: 0x1ade96995000: IO_LOWAT <io:0x1ade96995048 fd=4 to=300000 fl=W ib=2048 
> ob=0>
>  
> I am running smtpd on OpenBSD 5.8 for testing purposes.
> But this error also occurs on OpenBSD 5.5 as well, which is the version which 
> I need to "work".
>  
> The smtpd.conf file is simple:
>  
> listen on bge0
>  
> table aliases db:/etc/mail/aliases.db
>  
> table local_net { 10.10.10.0/24, 10.8.0.10 }
> table local_ips { 10.10.10.100, 10.10.10.101 }
>  
>  
> accept for local alias <aliases> deliver to maildir
> accept from any for domain frodo.ca alias <aliases> deliver to maildir
>  
> accept from source <local_net> for any relay via mail.bilbo.ca
> accept for any relay via mail.bilbo.ca
>  
> It seems the long line that starts with: "This e-mail message, including any 
> attachments,... " is too long and causing the problems. Not sure exactly.
>  
> -- 
> Russell Sutherland
> email: [email protected]
> cell: +1.416.803.0080
 

Reply via email to