> > Note that I am running maildrop 1.7. I think the filtering syntax
> > has changed.
> >
>
> That's it. please upgrade to 2.x so that you can use pcre syntax.
I modified my file using the old syntax (did not upgrade). This is my
complete working file:
-----
logfile "/var/log/maildrop"
/^Delivered-To:\s*.+/
RECIPIENT=getaddr ${MATCH}
USER=""
DOMAIN=""
if ($RECIPIENT =~ /[EMAIL PROTECTED]/)
{
USER=$MATCH
}
if ($RECIPIENT =~ /[EMAIL PROTECTED]/)
{
DOMAIN=$MATCH2
}
MAILDIR="/var/spool/virtual_mailboxes/$DOMAIN/$USER/Maildir"
if (/^X-Spam-Status: Yes/)
{
to $MAILDIR/.Polluriel/
}
-----
Juan
Get news delivered with the All new Yahoo! Mail. Enjoy RSS feeds right
on your Mail page. Start today at http://mrd.mail.yahoo.com/try_beta?.intl=ca
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap