On Mon, Feb 11, 2019 at 01:56:56PM -0700, Zach Callear wrote:

> Viktor Dukhovni:
> > Have you tried:
> >     strict_rfc821_envelopes = yes
> 
> I just tested it.  With "strict_rfc821_envelopes = yes", and with a 
> blank "smtpd_helo_restrictions" setting, email sent with the example 
> SMTP script from my first message (wherein a UTF BOM is used in the 
> email address in the MAIL FROM command) is accepted by Postfix.

Indeed I forgot that this does not enforce an ASCII character-set:

    http://www.postfix.org/postconf.5.html#strict_rfc821_envelopes

However, right below that is:

    http://www.postfix.org/postconf.5.html#strict_smtputf8

which will do the job.

> Indeed this behavior I'm talking about is without the client specifying 
> SMTPUTF8.

In which case it is not specifically the bytes you're reporting
that are problematic.  Likely any non-ascii envelope will fail
in exactly the same way.

-- 
        Viktor.

Reply via email to