Spam assassin custom rule to block PDF files having Urls.

Indunil Jayasooriya <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Message-ID <CAJF2yJRCfLQwoNc06M_qp0TcSkzvuOSLhLv2+Uupngw2u1Mn4g@mail.gmail.com>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.