LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   setting spamassassin to delete (https://www.linuxquestions.org/questions/linux-newbie-8/setting-spamassassin-to-delete-352628/)

nayabingi 08-12-2005 02:08 PM

setting spamassassin to delete
 
I would like to configure spamassassin to delete mail taged as spam with a score above 6.0. I am accuming the settings are in the local.cf file and I have checked the spamassassin site for the derectives but not to clear on how to set this up. Has anyone do this that can assist me.

Nayabingi

foo_bar_foo 08-12-2005 06:25 PM

i would do it with procmail ~/.procmailrc
Code:

# Spam Assassin

:0fw
* < 256000
| spamassassin

:0
* ^X-Spam-Status: Yes
/dev/null

of course you have to use procmail as the mda

nayabingi 08-12-2005 06:54 PM

foo_bar_foo,

How can I do this globally for all accounts on the mail server. I there something I can set in spam assassin that will take care of this?

Mohammed

foo_bar_foo 08-13-2005 01:18 AM

/etc/procmailrc
is the procmail global config


http://spamassassin.apache.org/full/...ssin_Conf.html
as far as i know spamd can't deliver or not deliver mail to anybody -- it's just not it's job


All times are GMT -5. The time now is 01:27 PM.