Solved

Need Help With Local SpamAssassin Rule

Posted on 2007-04-04
3
244 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

Question has a verified solution.

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

Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

751 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