Running Postfix + Courier Maildrop + SpamAssassin. I'm trying to use
maildrop in conjunction with relaydb, much like it is described here for
Procmail: http://www.benzedrine.cx/relaydb.html
I would like to set a global filtering rule in /etc/maildroprc such that all
mail tagged as spam is marked for the blacklist, and all other mail is sent
to the whitelist. My example recipe looks like this:
if ( /^X-Spam-Status: Yes/ )
{
xfilter "/usr/local/bin/relaydb -b -f /usr/local/share/relaydb"
}
else
{
xfilter "/usr/local/bin/relaydb -w -f /usr/local/share/relaydb"
}
Unfortunately, mail comes in, but gets lost after the appropriate entries
are made into the relaydb. The proper addresses are logged in the relaydb.
I think that I need some sort of a "to" expression after the xfilter for
each case, but I cannot determine what to use. Since this is a global rule,
how do I tell maildrop to continue the delivery process?
If I say:
to "Maildir/"
will this bypass later rules in each user's personal .mailfilter file? When
I have tried this rule, mail still seems to disappear. All I want to tell
maildrop is "Run xfilter, then continue as normal".
Thanks,
Seth
-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users