Hi,
I am looking after a server with several thousand email accounts. I have
recently installed spam assassin version 3.2.5 and we are using the spamd
daemon to handle the filtering.

Our setup uses procmail to process the incomeing emails and examples of both
.forward and .procmailrc are shown below.

Each users spam preferences are stored in a mysql table and everything is
working pretty well, except that people with the "required_score" option set
to a high level.. e.g 99 are still having spam filtered with the option in
.procmailrc  * ^X-Spam-Level: \*\*\*\*\*\* .

This last was taken from an example on the SpamAssassin wiki.

What is the best way to offer people reliable opt-in and opt out from
spamassassin ?

Thanks
 

.forward
"|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #username"


.procmailrc
:0fw: spamassassin.lock
* < 256000
| spamc -u username

:0:
* ^X-Spam-Level: \*\*\*\*\*\*
#sa-learn --spam
#/dev/null
mail/Spam

:0:
* ^X-Spam-Status: Yes
mail/Spam

:0
* ^^rom[ ]
{
  LOG="*** Dropped F off From_ header! Fixing up. "

  :0 fhw
  | sed -e '1s/^/F/'
}

-- 
View this message in context: 
http://www.nabble.com/Problem-with-People-opting-in-and-out-of-SpamAssassin-tp19681089p19681089.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to