Re: Feature Request: Allow Rejecting UTF BOM in MAIL FROM

2019-02-11 Thread Zach Callear
Viktor Dukhovni: However, right below that is: http://www.postfix.org/postconf.5.html#strict_smtputf8 which will do the job. Thank you, Victor.  That setting indeed allows me to reject Unicode characters (and not just BOMs) in a MAIL FROM command, when SMTPUTF8 isn't specified, as I ini

Re: Feature Request: Allow Rejecting UTF BOM in MAIL FROM

2019-02-11 Thread Zach Callear
Viktor Dukhovni: Have you tried: strict_rfc821_envelopes = yes ? There's nothing special about a "UTF-8 BOM" (there's no such thing in UTF-8 actually UTF-8 has no little-endian form). It is rather likely that your sender was not using SMTPUTF8, and so the encoding of non-ASCII envelope

Re: Feature Request: Allow Rejecting UTF BOM in MAIL FROM

2019-02-11 Thread Zach Callear
Wietse Venema: What is the difference with final delivery to Dovecot? There is nothing special about the fact that I'm doing final delivery to Dovecot, but it is what made me notice the problem.  I just personally consider it invalid for an envelope sender address to contain a UTF BOM, and I

Feature Request: Allow Rejecting UTF BOM in MAIL FROM

2019-02-11 Thread Zach Callear
n' sleep 1 utf_bom=$(printf '%b' '\xEF\xBB\xBF') printf 'MAIL FROM: \n' #printf 'MAIL FROM: \n' sleep 1 printf 'RCPT TO: \n' sleep 1 printf 'DATA\n' cat < To: Zach Callear This is a test message. . BODY ---