can you show your configuration please ? On Wed, May 24, 2017 at 06:41:02PM -0500, Bruce Walzer wrote: > This is whatever version of OpenSMTPD is in OpenBSD 6.1 -release. The > problem has been seen on two systems, both amd64. Roundcube and > mailman have both shown problems related to this (in the case of > mailman it completely stops mail delivery until the offending message > is removed from the outgoing queue). > > Here is a swaks interaction that works: > > $ swaks --to [email protected] --server localhost > === Trying localhost:25... > === Connected to localhost. > <- 220 mail.wgc.mb.ca ESMTP OpenSMTPD > -> EHLO wgc.wgc.mb.ca > <- 250-mail.wgc.mb.ca Hello wgc.wgc.mb.ca [127.0.0.1], 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 > -> Date: Wed, 24 May 2017 18:34:35 -0500 > -> To: [email protected] > -> From: [email protected] > -> Subject: test Wed, 24 May 2017 18:34:35 -0500 > -> Message-Id: <[email protected]> > -> X-Mailer: swaks v20170101.0 jetmore.org/john/code/swaks/ > -> > -> This is a test mailing > -> > -> . > <- 250 2.0.0: 9a4430d7 Message accepted for delivery > -> QUIT > <- 221 2.0.0: Bye > === Connection closed with remote host. > > > Here is one that fails: > > $ swaks --to [email protected] --server localhost --attach junk/0511_002.jpg > === Trying localhost:25... > === Connected to localhost. > <- 220 mail.wgc.mb.ca ESMTP OpenSMTPD > -> EHLO wgc.wgc.mb.ca > <- 250-mail.wgc.mb.ca Hello wgc.wgc.mb.ca [127.0.0.1], 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 > -> Date: Wed, 24 May 2017 18:35:55 -0500 > -> To: [email protected] > -> From: [email protected] > -> Subject: test Wed, 24 May 2017 18:35:55 -0500 > -> Message-Id: <[email protected]> > -> X-Mailer: swaks v20170101.0 jetmore.org/john/code/swaks/ > -> MIME-Version: 1.0 > -> Content-Type: multipart/mixed; boundary="----=_MIME_BOUNDARY_000_76725" > -> > -> ------=_MIME_BOUNDARY_000_76725 > -> Content-Type: text/plain > -> > -> This is a test mailing > -> ------=_MIME_BOUNDARY_000_76725 > -> Content-Type: application/octet-stream; name="0511_002.jpg" > -> Content-Description: 0511_002.jpg > -> Content-Disposition: attachment; filename="0511_002.jpg" > -> Content-Transfer-Encoding: BASE64 > -> > -> > /9j/4Re0RXhpZgAASUkqAAgAAAALAA4BAgAgAAAAkgAAAA8BAgAYAAAAsgAAABABAgAMAAAAygAA > -> > ABIBAwABAAAAAQAAABoBBQABAAAA2AAAABsBBQABAAAA4AAAACgBAwABAAAAAgAAADEBAgAHAAAA > > [... much base64 encoding deleted ...] > > -> > x7cUmK4mfrQcjsPfmgA/IUlFwDt1ptMH5BwfQUn8qBgQKTvSASjFFxNCdqQ9aBic/WkoAb6dDQef > -> WncW438KOlIaYmc0lMQc9zSfpSC7Gn/PFNJoBjc5+tI3IpiR/9k= > -> > -> ------=_MIME_BOUNDARY_000_76725-- > -> > -> > -> . > <- 250 2.0.0: f7072257 Message accepted for delivery > -> QUIT > <** Timeout (30 secs) waiting for server response > === Connection closed with remote host. > > The email with attachment is delivered correctly. The only problem is > that OpenSMTPD never gets around to responding to the QUIT with a Bye. > > The attached file can be found here: > > http://59.ca/~bwalzer/0511_002.jpg > > I do not think there is anything special about the file other than the > length. Other emails that end up with a length of around 70K have > triggered the problem. A very long email (>5MB) has also probably > triggered the problem. > > I am hoping this is easy to reproduce. Debug information provided on > request. > > Bruce > > -- > You received this mail because you are subscribed to [email protected] > To unsubscribe, send a mail to: [email protected] >
-- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
