Your message dated Mon, 4 Mar 2019 19:48:35 +0100 with message-id <[email protected]> has caused the report #923702, regarding swaks lacks support for the SMTPUTF8 command. to be marked as having been forwarded to the upstream software author(s) [email protected]
(NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 923702: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923702 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Hello John, I have received the following bug report as <https://bugs.debian.org/cgi-bin/923702>: ----- Forwarded message from Russell Coker <[email protected]> ----- From: Russell Coker <[email protected]> Subject: Bug#923702: swaks lacks support for the SMTPUTF8 command. [...] Below is a transcript of my attempt to forge mail from my own domain by replacing a Roman E character with a Cyrillic character that looks the same. Postfix rejects the connection due to the lack of a SMTPUTF8 on the mail from line. With the current situation a bare minimum would be to mitigate this issue by detcting non-ascii characters in the sender and recipient addresses and aborting instead of trying to send a non-compliant message. It should not just quietly send non-compliant messages and wait for the server to report a problem. # swaks -s localhost -f russell@cokеr.com.au -t [email protected] === Trying localhost:25... === Connected to localhost. <- 220 smtp.sws.net.au ESMTP Postfix - by sending email to this server you agree to the conditions at this URL: http://doc.coker.com.au/legal/conditions-of-sending-email/ -> EHLO smtp <- 250-smtp.sws.net.au <- 250-PIPELINING <- 250-SIZE 51200000 <- 250-ETRN <- 250-STARTTLS <- 250-AUTH PLAIN LOGIN <- 250-AUTH=PLAIN LOGIN <- 250-ENHANCEDSTATUSCODES <- 250-8BITMIME <- 250-DSN <- 250 SMTPUTF8 -> MAIL FROM:<russell@cokеr.com.au> <** 501 5.1.7 Bad sender address syntax -> QUIT <- 221 2.0.0 Bye === Connection closed with remote host. # idn2 cokеr.com.au xn--cokr-x4d.com.au ------ End of forwarded message ---------------------------------------- There seem to be two reports/whishlist reports in there, one for just passing on -f/-t but setting SMTPUTF8 on MAIL FROM when necessary and a second one for falling back to punycoding when SMTPUTF8 is not available (or was disabled by a new swaks commandline options) and only the domainparts are non-ascii. Plus a third one for throwing an error otherwise. ;-) cu Andreas
--- End Message ---

