Spam Filter update

dan

Verified User
Joined
Jan 2, 2007
Messages
99
Location
North Wales, UK
Is there any way to update the "definitions" of the spam filter within SpamAssassin (or any spam filter that DA/Exim is using)? Recently more and more spam has started getting through with a low score, so decreasing the score won't help as it'll tag/delete legitimate mail. I'm running the latest DA 1.33.7.

Thanks.
 
That's your opinion; I find it finds a good deal of spam.

To update it run the spam.sh script from the DirectAdmin scripts directory.

Jeff
 
Lol you have an opionion for everything dont you...
 
as do you it seems scsi. SpamAssassin works very well for me. Without SA enabled, I get hundreds upon hundreds of spam emails. With it on, very few got through. But with spammers getting cleverer and coming up with new ways, it can't pick them all up anymore. Personally, I think SA is one of the best spam filters for Unix/Linux mail servers right now. You got a better one in mind that'll work with DA scsi?
 
Is there any way to update the "definitions" of the spam filter within SpamAssassin (or any spam filter that DA/Exim is using)? Recently more and more spam has started getting through with a low score, so decreasing the score won't help as it'll tag/delete legitimate mail. I'm running the latest DA 1.33.7.

Thanks.

The spamassassin rules needs to be updated regularly. You can do this manually or automatically by setting a cronjob, like "/etc/cron.d/sa-rules-update.cron":

Code:
MAILTO=
SHELL=/bin/bash
35 02 * * * root /usr/bin/sa-update -D && killall spamd && /usr/bin/spamd -d -c -m 15

This cronjob try to update SA every day, at 2:35 am.

If you want to manually update, just run:

Code:
/usr/bin/sa-update -D && killall spamd && /usr/bin/spamd -d -c -m 15
 
I dont recall being polled about it

Personally, Id rather be in control of my spam filter and have the ability to manually skim my spambox before deleting it.
 
I dont recall being polled about it

Personally, Id rather be in control of my spam filter and have the ability to manually skim my spambox before deleting it.

Same here. I am the best spam filter for me. Between using Spamblocker and Nolisting I get very few spams. And they reject the email and send a notice to the sending server so that if it was a good email then the sender knows I did not get it.

The problem with Spamassassin is that it will not send a rejection to the sending server. It can only delete the email or filter it to a different holding area where I still have to look through it so I know that something good did not get caught.

If you have flagged spam either deleted or moved to another box and then never look through that box then when a false positive comes through you don't get the email and the sender doesn't know you didn't get it. This can cause confusion and cause one to lose potentially a lot of money.
 
The spamassassin rules needs to be updated regularly. You can do this manually or automatically by setting a cronjob, like "/etc/cron.d/sa-rules-update.cron":

Code:
MAILTO=
SHELL=/bin/bash
35 02 * * * root /usr/bin/sa-update -D && killall spamd && /usr/bin/spamd -d -c -m 15

This cronjob try to update SA every day, at 2:35 am.

If you want to manually update, just run:

Code:
/usr/bin/sa-update -D && killall spamd && /usr/bin/spamd -d -c -m 15

Good information if it actually does anything. I never used this before.

Getting this error when trying to use it though:

error: gpg required but not found!
 
Nevermind I fixed it...

On freebsd you need to install /usr/ports/security/gnupg
 
as do you it seems scsi. SpamAssassin works very well for me.
DirectAdmin has multiple anti-spam services; we can all use the ones we want :).

I found SpamAssassin very unreliable, even to the point of crashing the mailserver, before I wrote SpamBlocker. The problem was that SpamAssassin was just overwhelmed. But as part of a multiple-discipline selection it has it's uses. For me anyway.

Similar to Kellogg's Corn Flakes. I wouldn't feed it to my kids alone, but rather as part of a healthy breakfast. :D

Jeff
 
Is it possible to filter out spam in Outlook Express, Porn, advertising, ect..?

I know that you can block senders by highlighting a message, go to message in the tool bar and select block sender. But is there a better way?

thx.
 
Probably. This is a DirectAdmin forum. It's not an Outlook forum.

Jeff
 
It breaks on me

Hello Jeff,

When I try to update spamassassin by the lines you posted it's giving me the following error:

Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/bin/sa-update line 79.
BEGIN failed--compilation aborted at /usr/bin/sa-update line 79.

Seems I'm missing something, do you know a quick way to resolve this?

Beste Regards,
Feniks
 
SpamAssassin is written in perl and requires certain perl modules be installed. Is UserAgent.pm installed on your server? If not, install it (you can use CPAN or install it manuallly).

Jeff
 
I had the problem also with sa-update

I got my UserAgent.pm when installing libwww-perl

apt-get install libwww-perl
 
Back
Top