Re: [exim] Block tld

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy Harris
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Block tld
On 24/11/17 11:57, Emanuel Gonzalez wrote:
> 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@???)


"Containing" may be an issue. Currently you're only looking at the
envelope.

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

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


deny sender_domains = *.bid

(don't use discard without good reason).
--
Cheers,
Jeremy