Move tagged spam to folder
Mark Nienberg
mark at TIPPINGMAR.COM
Wed Dec 24 18:09:26 GMT 2003
Probably the most common setup is to use MailScanners two-level scoring
approach, where you specify a minimum value to be considered spam (usually 5)
and a minimum value to be considered "high-scoring" spam (I use 12, I think the
default is 15). Then allow MailScanner to delete the "high-scoring" spam and tell it to
deliver the rest of the spam, but first alter the subject line. By default the subject line
is altered to include "{Spam?}" at the beginning. That is something that can be
filtered on very simply in procmail. Details of all this can be found in the
MailScanner.conf file.
Mark
On 24 Dec 2003 at 9:58, Rob Freeman wrote:
>
> I am sure I am just missing something here, but I have not been able to figure it out.
>
> Before I moved to MailScanner, I used Spamassassin and in my user's procmail file, I would
> move all email tagged as spam to their IMAP spam folder. My users file looks like this:
>
> LOGFILE=$HOME/.log.procmail
> `test -d $VHOME/Maildir/.Spam`
> if ( $RETURNCODE == 1 )
> {
> `/usr/local/bin/maildirmake -f Spam $VHOME/Maildir`
> `echo Inbox.Spam >> $VHOME/Maildir/courierimapsubscribed`
> }
>
> DROPPRIVS=yes
>
> :0
> * ^^rom[ ]
> {
> LOG="*** Dropped F off From_ header! Fixing up. "
>
> :0 fhw
> | sed -e '1s/^/F/'
> }
>
> :0:
> * ^X-Spam-Status: Yes
> mail/Spam
> Now, I have MailScanner running with Spamassassin turned on. If Spamassassin tags the
> message, it still goes into the Spam folder. If MailScanner tags it, it goes into the Inbox. I tried
> changing the tag in the MailScanner.conf file to look like the Spamassassin one of SPAM, but that
> did not work. I still get a few FP on email, so I do not just want to delete the spam before it is
> reviewed.
>
> Thanks
>
> Rob
>
--
Mark W. Nienberg, SE
Tipping Mar + associates
1906 Shattuck Ave, Berkeley, CA 94704
visit our website at http://www.tippingmar.com
More information about the MailScanner
mailing list