store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Sat May 25, 2013 7:34 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 6 posts ] 
Author Message
 Post subject: Custom Spam Rule
Unread postPosted: Sat May 20, 2006 3:29 pm 
Offline
Forum User
Forum User

Joined: Sun Dec 05, 2004 4:16 am
Posts: 60
I want to set spamassassin to automatically tag any emails as spam that have the following in the email body:
"If you cannot see the graphics in this email"
I know there's a way somehow, but between the regex and the place it's supposed to be put, I'm lost.
Ideas?


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Jun 04, 2006 7:21 am 
Offline
Forum User
Forum User

Joined: Sun Dec 05, 2004 4:16 am
Posts: 60
Does the lack of replies mean that no one is sure how to do this? :?


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Jun 04, 2006 8:11 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7429
Location: earth
Know how, yes... have the time to explain it in a forum post, no. :P

You'll have to write your own rules, take a look at /usr/share/spamassassin/ dir, thats a good place to start with examples


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Jun 04, 2006 8:17 am 
Offline
Forum User
Forum User

Joined: Sun Dec 05, 2004 4:16 am
Posts: 60
The regex thing really throws me off.
I don't suppose you know of a "regex for absolute uncaffienated morons working third shift all week" that I could go to and type in the phrase and have it auto-converted for me, eh?


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Jun 04, 2006 8:52 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7429
Location: earth
The syntax takes some getting used to, if you're using qmail-scanner you can set some real basic rules in there as well. Look at quarantine-attachments.txt, that might be easier to follow


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Jun 04, 2006 9:02 am 
Offline
Forum User
Forum User

Joined: Sun Dec 05, 2004 4:16 am
Posts: 60
I guess i should get around to reinstalling that at some point. For some reason, with that most recent update to Plesk (the one with the qmail fix) mail stopped being delivered as long as qmail-scanner was there. I did the uninstall-reinstall a few times and finally gave up in frustration.
I guess I know what I'm doing this afternoon. ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 6 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group