Re: [exim] Suggestion: detainting via string exp

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Cyborg
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Suggestion: detainting via string exp
Am 03.06.20 um 15:59 schrieb Andrew C Aitchison via Exim-users:
>
> And what about domain names with special (ie non-ascii) characters ?
> Did you know that .eu also maintains Greek and Cyrillic top level
> domains - see
> https://eurid.eu/en/register-a-eu-domain/domain-names-with-special-characters-idns/
>
>


If you use greek, cyrillic or any other non [a-z] letter , you will fail
to send mail, as all non [a-z] domainnames must be encoded in punycode:

Example:  xn--strae-oqa.de <-> straße.de

if you use straße.de directly in smtp, you will get a nice "relay
denied" if your lucky, but most likely a "550 Restricted characters in
address"

  deny    message       = Restricted characters in address
          domains       = +local_domains
          local_parts   = ^[.] : ^.*[\$@%!/|] : ^.*x24 : ^.*0.44

  deny    message       = Restricted characters in address
          domains       = !+local_domains
          local_parts   = ^[./|] : ^.*[\$@%!] : ^.*/\\.\\./ : ^.*x24 :
^.*0.44

(if anyone does not have those rules, you are highly encouraged to add
those)

best regards,
Marius