Spamassassin Newbie Questions

If you have a program or script that you'd like to give away or sell, this is the place to do it. All offers should include contact info.

Moderators: BBear, theunknownhost, flaguy

Post Reply
User avatar
datazen
Hosting Superstar
Posts: 1084
Joined: Thu Feb 19, 2004 10:20 pm
Location: Jacksonville, FL

Spamassassin Newbie Questions

Post by datazen » Thu Nov 18, 2004 2:19 pm

Hello All,

Due to the ever increasing SPAM problem we had Spamassassin and ClamAv installed today on our servers.

My question is:

Ala's email to me after SA install:
Mimedefang/clamav/spamassassin is now installed. It is currently set tocheck for spam and if it finds an email that is spam, it marks it as spamand sends the email to the enduser with an attachment saying that theemail is spam. I can change it to delete the emails instead, or I canchange it to quarantining the emails that are marked as spam for two daysAND deleting the emails (so the client can check to make sure the email isactually spam).


So what is best? mark as spam, delete spam, or quarantine spam?

Thanks for any input. I will br Google'ing next to see if I can answer some of my own questions but it seems that answers come faster sometimes through this wonderful forum.

Thanks again all for any help. :wink:

User avatar
nova
Hard Drive Crasher
Posts: 529
Joined: Sun Feb 13, 2005 10:20 pm
Location: Auburn, Massachusetts

Post by nova » Mon Feb 14, 2005 1:57 am

Interesting. I just had those installed too but I didn't get that note. Anyway, was your question ever answered? Of course, it's a matter pf choice. But I am puzzled by one item. I was not at all aware that email can be quarantined. But the bigger question is where would the clients go to see if they wanted the message before deletion in 2 days?

Anyone?

User avatar
datazen
Hosting Superstar
Posts: 1084
Joined: Thu Feb 19, 2004 10:20 pm
Location: Jacksonville, FL

Post by datazen » Mon Feb 14, 2005 3:19 am

I chose to delete spam and never looked back. :wink:

User avatar
nova
Hard Drive Crasher
Posts: 529
Joined: Sun Feb 13, 2005 10:20 pm
Location: Auburn, Massachusetts

Post by nova » Mon Feb 14, 2005 4:04 am

datazen wrote:I chose to delete spam and never looked back. :wink:


I'm leaning that way.

This just in.......

Our server is being blocked by blacklist.mail.ops.worldnet.att.net.
<<< 550 Blocked for abuse. Please contact the administrator of your ISP or sending mail service.

That's a joke. That ATT Behemoth doesn't even supply an email address or a web site to get off their stinking list.

Thad
Propeller head licensee
Posts: 43
Joined: Mon Oct 25, 2004 7:21 pm

Post by Thad » Mon Feb 14, 2005 12:50 pm

send an email to abuse at alabanza.com ( replase the at with an @) The person that handles abuse might be able to help get you off the list. He has extensive contacts at many ISPs and will do his best to help.
Thad Vargo

User avatar
newcanada
Hosting Superstar
Posts: 1702
Joined: Wed Jan 26, 2005 8:00 pm
Location: Canada

Post by newcanada » Thu Mar 30, 2006 12:11 am

Is there anyway to delete such SA-spam for some clients and not for others?

User avatar
De1MastR
Nothing better to do.
Posts: 112
Joined: Sun Feb 12, 2006 9:03 pm

Sorry Thad.. I have to.... :-(

Post by De1MastR » Thu Mar 30, 2006 2:01 am

I See that Thad reads this forum and he will be mad me mentioning this because I tourtured the Alabanza staff with something that I thought was supported but they don't really do. That being said I got them to set SpamAssassian (with mimeDefang and clamAV (which was the trick)) to ammend the subject line of all mail that SpamAssassian thinks is spam with ***SPAM***.

This is a great service (THANKS THAD) and my clients love it. I call spamassassian flagged mail "Marginal" (at least until you get the number right) but the mail can come in and it is easy for the cilent to set up a rule in outlook/express to just filter ***SPAM*** into a junk folder them selves. Makes the client feel "safer" that you are not deleteing good mail.

I even rewrote Alahosts "SpamWatch" program (THANKS ARF) that counts Spamassassian, calculates persentage of filter effectiveness, and graphs it out. I gave the updates to arf to use freely so they my or maynot be in a later distribution, BUT you can see the effectiveness of SpamAssassian clearly from my page at http://oneko.com/spamwatch/

I hope that I didn't make to much work for the Ala staff but maybe if the demand is there it will become a standard feature.
My .02 and 1/2
Thomas
ONEKO Internet Success Solutions

User avatar
shpilkus
Hosting Superstar
Posts: 1020
Joined: Mon Aug 05, 2002 8:23 pm
Location: Space Coast, FL
Contact:

Re: Sorry Thad.. I have to.... :-(

Post by shpilkus » Sat Apr 01, 2006 9:29 pm

De1MastR wrote:That being said I got them to set SpamAssassian (with mimeDefang and clamAV (which was the trick)) to ammend the subject line of all mail that SpamAssassian thinks is spam with ***SPAM***.
Hey, I love Thad too, but I have to mention that this is how SpamAssassin works out of the box... perhaps in Alabanza's installation they do something different.

We have it set up on a per-user fee-based system (that is, we charge a small amount for its use). Each user can amend their own personal settings from a CP interface and change the subject from '*****SPAM*****' to 'THIS IS A BIG FAT HAIRY PIECE OF JUNK EMAIL' if they so desire. Just FYI.
Craig M.
5DollarHosting.com

User avatar
mbodamer
Hard Drive Crasher
Posts: 949
Joined: Tue Oct 14, 2003 7:13 pm
Location: Abaco, Bahamas

Post by mbodamer » Fri Apr 28, 2006 8:51 pm

As many of you know we just upgraded servers and got the whole SA/ClamAV/mimedefang thing going on now too.

Currently SA checks the messages and delivers them as normal witht eh subject as normal... but it attaches a file to teh message saying that SA thinks its spam.

How can I get it to modify the subject line instead of attaching a file to the email?

Also Craig is that CP tool a trade secret or something you are willing to share?
Mike

User avatar
Okidoki
Official Test Penquin
Posts: 2179
Joined: Mon Jan 13, 2003 12:48 pm

Post by Okidoki » Fri Apr 28, 2006 9:19 pm

mbodamer wrote:As many of you know we just upgraded servers and got the whole SA/ClamAV/mimedefang thing going on now too.

Currently SA checks the messages and delivers them as normal witht eh subject as normal... but it attaches a file to teh message saying that SA thinks its spam.

How can I get it to modify the subject line instead of attaching a file to the email?

Also Craig is that CP tool a trade secret or something you are willing to share?


Edit the file mimedefang-filter

Original
# We add a header which looks like this:
# X-Spam-Score: 6.8 (******) NAME_OF_TEST,NAME_OF_TEST
# The number of asterisks in parens is the integer part
# of the spam score clamped to a maximum of 40.
# MUA filters can easily be written to trigger on a
# minimum number of asterisks...
if ($hits >= $req) {
action_change_header("X-Spam-Score", "$hits ($score) $names");
md_graphdefang_log('spam', $hits, $RelayAddr);

# If you find the SA report useful, add it, I guess...
action_add_part($entity, "text/plain", "-suggest",
"$report\n",
"SpamAssassinReport.txt", "inline");
action_quarantine_entire_message();

} else {
# Delete any existing X-Spam-Score header?
action_delete_header("X-Spam-Score");


Change for:
# We add a header which looks like this:
# X-Spam-Score: 6.8 (******) NAME_OF_TEST,NAME_OF_TEST
# The number of asterisks in parens is the integer part
# of the spam score clamped to a maximum of 40.
# MUA filters can easily be written to trigger on a
# minimum number of asterisks...
if ($hits >= $req) {
action_change_header("X-Spam-Score", "$hits ($score) $names");
md_graphdefang_log('spam', $hits, $RelayAddr);

# If you find the SA report useful, add it, I guess...
action_change_header('Subject', "{SPAM? Hits: $hits} $Subject");
action_accept();

} else {
# Delete any existing X-Spam-Score header?
action_delete_header("X-Spam-Score");



To observe that the mail is accepted and only modifies the subject.
Okidoki

User avatar
Sapphyre
Official Test Penquin
Posts: 3337
Joined: Tue Nov 19, 2002 2:50 am
Location: Canada

Post by Sapphyre » Fri Jun 16, 2006 6:38 pm

mbodamer wrote:As many of you know we just upgraded servers and got the whole SA/ClamAV/mimedefang thing going on now too.

Currently SA checks the messages and delivers them as normal witht eh subject as normal... but it attaches a file to teh message saying that SA thinks its spam.

How can I get it to modify the subject line instead of attaching a file to the email?

Also Craig is that CP tool a trade secret or something you are willing to share?


Look at the report_safe option. We have this changeable by the domain owner in the user_prefs file. CP tool compatible with SA 3.13 is being beta tested; will keep you posted.

User avatar
De1MastR
Nothing better to do.
Posts: 112
Joined: Sun Feb 12, 2006 9:03 pm

ah... But...

Post by De1MastR » Fri Jun 16, 2006 10:18 pm

De1MastR wrote:
That being said I got them to set SpamAssassian (with mimeDefang and clamAV (which was the trick)) to ammend the subject line of all mail that SpamAssassian thinks is spam with ***SPAM***.
Hey, I love Thad too, but I have to mention that this is how SpamAssassin works out of the box... perhaps in Alabanza's installation they do something different.

We have it set up on a per-user fee-based system (that is, we charge a small amount for its use). Each user can amend their own personal settings from a CP interface and change the subject from '*****SPAM*****' to 'THIS IS A BIG FAT HAIRY PIECE OF JUNK EMAIL' if they so desire. Just FYI.
_________________


That is true EXCEPT. If you tie SA to Mimedefang you loose the functionaly of changing the subject line the normal way. you have to edit the mimedefang config (somewhere) in a place that only Thad knows. ;-) I have SA and do it all the time and when I couldn't do it here I tourchered the Alabanza staff (sorry guys).
My .02 and 1/2
Thomas
ONEKO Internet Success Solutions

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest