Block mails with URL-link in message

Fred quicken at fro.se
Thu Apr 18 22:28:36 CEST 2013


Thanks Daniel and Tom!
Good advice.
I tried to put a a rule in Spamassassin and it works great.

How should a rule look that look for special string or text in message?

Regards
Fred


On 4/17/13 4:07 PM, "Fred" <quicken at fro.se> wrote:

> Hi there!
>
> Is it possible for Amavis to block mails with a specified URL-link in
> the message?

>>Put this in a .cf file in /etc/mail/spamassassin
>>
>>uri FRED_BLOCK_THIS /thisevilsite\.example\.com/
>>score FRED_BLOCK_THIS 100.00
>>describe FRED_BLOCK_THIS has a url that needs to be blocked.
>>
>><Then restart amavisd
>>
>>
>>--
>>Daniel J McDonald, CCIE # 2495, CISSP # 78281
>>
 



More information about the amavis-users mailing list