Checking URL on picture

Eoin Kim Eoin.Kim at
Mon Jan 29 22:39:18 UTC 2018

Hi Peter,

Thanks for your help. But couldn't it be done in the phishing check on MailScanner instead of putting a SA rule? Thanks again.


-----Original Message-----
From: MailScanner [ at] On Behalf Of Peter Lemieux
Sent: Tuesday, 30 January 2018 8:35 AM
To: MailScanner discussion <mailscanner at>
Subject: Re: Checking URL on picture

On 01/29/2018 05:04 PM, Eoin Kim wrote:
> Is there any way to check hyperlink on a picture and block the message?
> I guess this is similar to phishing check? Thanks a lot.

You can do it in SpamAssassin with the "uri" keyword:

uri NO_GOOGLE     /google\.com/i
score NO_GOOGLE   10

With a score of ten, any message containing a URL that points to 
would likely be marked as a "high-scoring" spam and handled per your rules.


MailScanner mailing list
mailscanner at

More information about the MailScanner mailing list