More specifically, I want to use both the global and local filters.
Can both be used ?
I am running maildrop without any flags. Do I need to have a flag to do this ?
Here is my global maildrop config in '/etc/courier/maildroprc':
import SENDER
import RECIPIENT
import HOME
MAILBOX="$HOME/Maildir"
MAILDIRQUOTA="$MAILBOX/maildirsize"
#SPAM ASSASSIN is only called
#if message is small
if ($SIZE < 26144)
{
exception {
#xfilter "/usr/bin/reformail -I \"X-SpamProbe: $SCORE\""
xfilter "/usr/bin/spamassassin"
}
}#if the message is tagged as spam put it into the SPAM MAILBOX
#otherwise put it in the standard maildir
if (/^X-Spam-Flag: *YES/)
{
exception {
to "$HOME/Maildir/.Spam"
}
}
else
{
exception {
to "$HOME/Maildir/"
}
}
#Delivery Quota
if ($SENDER ne "")
{
FROM=$SENDER
}
else
{
FROM="unknown"
}
xfilter "/usr/bin/deliverquota -w 90 $MAILBOX"Here is my local user .mailfiter
$HOME/.mailfilter
import SENDER
import RECIPIENT
import HOME
MAILBOX="$HOME/Maildir"
if (/^Subject: Test/ )
{
to "$MAILBOX/.Trash/."
}
******************************** *Theodore Knab *Systems Engineer *Washington College *Maryland, USA * --------------------------- *My Desk: 410-810-7419 *Fax: 410-778-7830 ********************************
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
