Spam assassin custom rule to block PDF files having Urls.

Indunil Jayasooriya indunil75 at gmail.com
Fri Jul 1 14:47:21 CEST 2022


Dear List,

We get some PDF files. When we open them there is a link inside the PDF
file. We don't need these since these urls may be harmful.

Here's one Url that the PDF file contained.

https://t.ly/8R_H

Can we block these with Spam Assassin?

If so, how to write a custom rule for it?

Below Url has some instructions.

https://cwiki.apache.org/confluence/display/SPAMASSASSIN/writingrules








-- 
cat /etc/motd

Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20220701/ec1969ba/attachment.htm>


More information about the amavis-users mailing list