Re: [exim] Blocking invalid senders

Etusivu
Poista viesti
Vastaa
Lähettäjä: Heiko Schlittermann
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Blocking invalid senders
Luca Bertoncello <bertoncello@???> (Do 30 Nov 2006 15:31:51 CET):
> Hi, List!
>
> Since some days, we receive a great amount of E-Mail with sender such as:
>
>     retrospectivesdeathbed's@???

>
> Please note the "'"...
>
> All these E-Mail are Spam...
>
> Can I say Exim to deny all E-Mail that don't have RFC-conform senders?
> I just have this in my configure:


How do you know that it's not according the RFC?

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

>
> How can I modify this regexp?


Just add the "'":

            domains       = +local_domains 
        local_parts   = ^[.] : ^.*[@%!/|']




    Best regards from Dresden
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -