Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I've been adding rules to my local.cf file, which obviously I maintain, but recently I've been getting a large amount of SPAM comming in with .pdf attachments and blank lines in the body.
I'm digging hard on google and i'm trying to come up with a rule that if an email comes in with a pdf attachment and a blank body to mark it as SPAM....
Anyone have any ideas, i'm really getting frustrated... :P
Thanks, I've been checking out that site today, but the only thing I have found for scanning pdf attachments is by installing a plugin on my spamassassin and then use rules to work with it.
Is there now was to have a rule check an attachment, ie a pdf with blank body?
After the pdf content type is defined you get your standard mime-encoded PDF file. Now, it seems to me that you can scan for a message that has both a PDF and a text section, and if the text section happens to hold nothing but carriage returns, you can flag that one as spam.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.