Solved

Need Help With Local SpamAssassin Rule

Posted on 2007-04-04
3
242 Views
Last Modified: 2011-09-20
Help me write a spamassassin rule that does this:

If user is "jsmith@smith.com" and the body of the text contains many jpegs or gifs, then assign it a high score.

0
Comment
Question by:dougp23
  • 2
3 Comments
 
LVL 14

Expert Comment

by:pablouruguay
ID: 18851729
why you dont block this address. ?
0
 
LVL 14

Accepted Solution

by:
pablouruguay earned 250 total points
ID: 18852790
http://www.intuitive.com/spam-assassin-rule-help.html

 header _LOCAL_FROM_NEWS From ~= /news@example\.com/i
body _LOCAL_SALES_FIGURES /\bMonthly Sales Figures\b/
meta LOCAL_NEWS_SALES_FIGURES (_LOCAL_FROM_NEWS &&_LOCAL_SALES_FIGURES)
score LOCAL_NEWS_SALES_FIGURES -1.0

0
 
LVL 1

Author Comment

by:dougp23
ID: 18857134
Well, we just seem to get an amount of people sending these messages "Check out these cute puppies" or "wonderful rainbow pics" and they have lots of jpgs and gifs inside.  One was malformed MIME and hosed my inmail processor for a bit.  Mangement has tasked me with reducing this junk, so I was just hoping for some ideas!!!

Pablour, I almost see your way, but I think there is already a local rule (/usr/share/spamassassin rules) that checks for a majority of jpg or gif.  Not sure.

Any other thoughts or ideas would be great!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question