HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   spamassassin related question (http://www.howtoforge.com/forums/showthread.php?t=55324)

Ovidiu 9th December 2011 17:25

spamassassin related question
 
following the perfect server for debian (with ISPCFG3) is spamassassin activated automatically?

I just had a look at /etc/spamassassin/local.cf and the following lines were commented:

# rewrite_header Subject *****SPAM*****
# required_score 5.0
# use_bayes 1

so now I was wondering whether I need to manually uncomment these lines or if an ISPCFG3 install uses a different config file for spamassassin?

pititis 9th December 2011 19:29

Yes sure. Ispconfig use amavis + libraries from spamassassin. You can ignore this issue

Ovidiu 9th December 2011 20:55

ok, so no more config files editing - everything gets done by ispcfg via the policies.

thanks for confirming

bruno_floyd 15th December 2011 17:44

i'm still receiving quite a lot of spam on my emails.

I have activated the spam filter for a couple of users, i'm using the permissive rule, which should only allow bad headers to pass, but i still get a lot of spam on those accounts.

In one of them, i've created a Junk folder and all spam i'm storing there, twice a day i run the command

sa-learn --dbpath /var/lib/amavis/.spamassassin --spam /mail/domain/user/.Junk/cur

It says that it learnt tokens from the messages, but i still receive the spam :(

I'm kinda lost here cause i didn't get what i have to do to really block the spam i'm getting

till 15th December 2011 17:51

The permissive rule has a very high spam score, this means this rule not preconfigured for high spam filter rates. You will get much better spam filtering results with the rule 'normal'.

bruno_floyd 15th December 2011 17:56

Ok i just changed it i'll see how it goes now.

Also, that command i was running i found somewhere on the internet, does it help on anything?

What is the best way to train and make my spamfilter more effective?

till 15th December 2011 19:04

Run:

sa-update

command daily on the shell e.g. as cronjob and restart amavis afterwards. The spamfilter trains iteslf automatically based on the filtered emails. This training might not have started yet because the score of the policy you selected was too high. If you still get too many spam after a few days, you can reduce the score (tag level 2) in the normal policy to 3.501

bruno_floyd 15th December 2011 19:36

This is what i get when i run the update command:


config: warning: description exists for non-existent rule AWL

channel: lint check of update failed, channel failed


Is that correct?

bruno_floyd 19th December 2011 20:17

Now the messages are being marked as SPAM but still flooding the mailboxes. I have chosen the "Move spam to Junk directory" but they are not going there...

I have changed the Junk directory name to portuguese on my main.inc.php file on Roundcube, does this affect it somehow?

bruno_floyd 21st December 2011 11:59

Any inputs about this? I'm still getting a lot of SPAM on my mailboxes.


All times are GMT +2. The time now is 10:06.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.