LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   spam filtering help (https://www.linuxquestions.org/questions/linux-newbie-8/spam-filtering-help-4175526320/)

cli 11-24-2014 03:01 AM

spam filtering help
 
We have mail server from plesk and spamassassin service also is running. As we wanted to prevent spam, I have added below entries in ~/.spamassassin/user_prefs file,
Code:

required_hits 5.0
report_safe 1
required_score 5
rewrite_header Subject *****SPAM*****

now it is detecting the spams properly and rewriting the header subject as spam. Now I don't wanted those spams to be in users inbox instead we would like to move those spam emails to spam folders automaticaly. Since I am fresher in this, expecting your kind help to achieve the same.

unSpawn 11-24-2014 04:58 AM

That depends on your LDA (Local Deliver Agent). Commonly you'll use something like Procmail or Sieve to filter messages to set their destination on delivery. Check which software your system provides. Also note that Plesk is only as good as the admin using it. Given then current state of things you must check if it's the latest stable version, if access is properly restricted and audited for potential problems.

cli 11-24-2014 06:14 AM

Thanks for the reply Sir,
We are using qmail and is it possible to achieve the same with ~/.spamassassin/user_prefs file.

unSpawn 11-24-2014 05:49 PM

See 'man qmail-local' and 'man qmail-command'. And no, it is (as far as I'm aware) not possible to achieve the same with ~/.spamassassin/user_prefs file.


All times are GMT -5. The time now is 11:15 PM.