bijayant kumar a écrit :
> Hello to list,
> 
> I am using postfix-2.5.5 on gentoo box in a virtual domain environment. Some 
> of my users just copy paste the email addresses which contains some non-ascii 
> characters in their recipients list which results in delaying mails for other 
> users because it gets stuck in amavis. I am trying to reject these kind of 
> mails to enter in to postfix. I am trying to achieve this in my test scenario 
> setups like.
> 
> smtpd_recipient_restrictions =
>         check_sender_access pcre:/etc/postfix/ascii.pcre
>         permit_mynetworks
>         ...........
> 
> cat /etc/postfix/ascii.pcre
> /[^[:ascii:]]/  REJECT  Non-Ascii Characters
> 
> But i am not able to block. My postfix is accepting this mail. I am testing 
> like "test @test.com" "[EMAIL PROTECTED]" "test<@test.com" and like wise.
> 

I see no non-ascii chars there. try "[EMAIL PROTECTED]" (accented 'e'
there).

do you know that most chars are valid in addresses? you can restrict the
chars used in your own addresses of course.

what is the problem exactly? what gets "stuck in amavis"?

Reply via email to