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 - 03:58:13 CST


Hello.

30.01.2008 12:39, Ralf Hildebrandt пишет:

> * Alexey Lobanov <A.Lobanovcro-rct.ru>:
>> Hello all.
>>
>> I see now that Postfix (2.4.5) accepts non-ASCII characters in SMTP
>> envelope. Postfix logs these character as "?", Postgrey says more
>> definitely:
>
> /[^[:ascii:]]/ REJECT Non-ASCII characters in envelope sender address
>
> use with check_sender_access pcre:mapname

It works. Thank you!

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.

Alexey

>