OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Non-ASCII characters in envelope

From: Alexey Lobanov (A.Lobanovcro-rct.ru)
Date: Wed Jan 30 2008 - 07:12:24 CST


Hello.

30.01.2008 15:04, Wietse Venema пишет:

> Ralf Hildebrandt:
>> * Alexey Lobanov <A.Lobanovcro-rct.ru>:
>>
>>> Jan 30 12:52:21 mail-2 postfix/smtpd[17811]: NOQUEUE: reject: RCPT from
>>> mail.cro-rct.ru[83.136.242.126]: 554 5.7.1 <a cro-rct.ru>: Sender
>>> address rejected: Non-ASCII characters in envelope sender address;
>>> from=<a??????cro-rct.ru> to=<aalcro-rct.ru> proto=SMTP
>>> helo=<mail.cro-rct.ru>
>>>
>>> Anyway, I believe that this sanity check deservers to be hardcoded in
>>> Postfix smtpd.
>> Yes, I do agree!
>
> If people wish to be anally retentive about RFC x82[12]

No, those people just do not want to accept explicitly malformed
messages which are undeliverable locally. A quite narrow task :-)

> then they
> can use main.cf to express those preferences.

Yes, I agree. In my understanding, "strict_rfc821_envelopes = yes"
should include this sanity check too. It does not, as of 2.4.5.

"strict_7bit_headers = yes" does something other, explicitly unwanted in
my case. Too many dumb web-scripts are still sending Cyrillic subjects
in plain 8-bit "koi8-r" charset.

And the proposed PCRE workaround is outside of main.cf, isn't it?
However, it works.

Alexey

>
> Wietse