32 messages in net.sourceforge.lists.courier-usersRE: [courier-users] SpamAssassin inte...
FromSent OnAttachments
Gabriel AmbuehlMay 19, 2003 3:58 am 
Gordon MessmerMay 19, 2003 12:10 pm 
Greg JohnstoneMay 19, 2003 7:45 pm 
Anand BuddhdevMay 20, 2003 7:31 am 
ecu...@encontacto.netMay 20, 2003 8:12 am 
Eric LivingstonMay 20, 2003 8:31 am 
Mitch (WebCob)May 20, 2003 9:37 am 
Gordon MessmerMay 20, 2003 10:20 am 
Rodrigo SeveroMay 20, 2003 11:17 am 
Courier UserMay 20, 2003 1:46 pm 
Courier UserMay 20, 2003 2:06 pm 
Greg JohnstoneMay 20, 2003 5:44 pm 
Tim HunterMay 20, 2003 7:11 pm 
Mirko ZeibigMay 21, 2003 12:23 am 
ecu...@encontacto.netMay 21, 2003 7:40 am 
Gabriel AmbuehlMay 21, 2003 9:26 am 
Gabriel AmbuehlMay 21, 2003 9:27 am 
Gabriel AmbuehlMay 21, 2003 9:53 am 
Gabriel AmbuehlMay 21, 2003 5:49 pm 
Greg JohnstoneMay 21, 2003 5:53 pm 
Greg JohnstoneMay 21, 2003 6:55 pm 
ecu...@encontacto.netMay 21, 2003 6:58 pm 
ecu...@encontacto.netMay 21, 2003 7:16 pm 
Greg JohnstoneMay 21, 2003 10:00 pm 
Alexei Batyr'May 22, 2003 2:36 am 
rodr...@fabricadeideias.comMay 22, 2003 3:49 am 
Gabriel AmbuehlMay 22, 2003 3:56 am 
Bowie BaileyMay 22, 2003 8:56 am 
Gordon MessmerMay 22, 2003 11:12 am 
Gordon MessmerMay 22, 2003 11:20 am 
pdon...@angrynerds.comMay 22, 2003 2:47 pm 
Greg JohnstoneMay 25, 2003 9:13 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] SpamAssassin integrationActions...
From:Greg Johnstone (gre@enesbe.com.au)
Date:May 21, 2003 10:00:40 pm
List:net.sourceforge.lists.courier-users

This would just be a me too, but I have the following in

/etc/courier/maildroprc: --- snip --- import SENDER import RECIPIENT import HOME PATH=/bin:/usr/bin:/usr/local/bin:/usr/lib/courier/bin/ INBOX="Maildir/" DEFAULT="$INBOX" SPAMFLD="$INBOX.Trash/" SHELL=/bin/ash

# create needed directory `test -d "$SPAMFLD"` if( $RETURNCODE == 1 ) { `maildirmake "$SPAMFLD"` }

# filter message xfilter "/usr/bin/spamc" if ( /^X-Spam-Status: Yes,/) { DEFAULT="$SPAMFLD" } --- snap --- KMail and Mozilla use Trash as trash folder, so I am able to issue an "Empty Trash" command instead of "mark, delete and purge".

Thank you for that insight, it was a big help.

I had to change two lines to get it to work (I have no idea why):

xfilter "/usr/bin/spamassassin" if (/^X-Spam-Flag: *YES/)

Also works with Courier's Webmail (and Outlook 2000 and Outlook Express when using IMAP).

Regards