[exim] Block tld

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Emanuel Gonzalez
Dátum:  
Címzett: exim-users@exim.org
Tárgy: [exim] Block tld
Hello.!


I'm getting a lot of spam from ".bid" domains. and I want to block it.


I have created the following rule but discard emails that contain the letters "bid". (example giturbide@???)


discard    condition = ${if match{$sender_address:}{(?!.*(\.bid))}}
                 logwrite = Rejected By SPAM - $header_subject - FROM: "$sender_address"


I only block all@*.bid, it's possible?

Regards,