Hi gang,

I would like to have maildrop send tagged spam to a designated user's
folder (.Polluriel) but its not happening.  I am using Postfix with
Courier-IMAP on OpenBSD.  This is my maildroprc file:

------------------
DEFAULT="/var/spool/virtual_mailboxes/example.com/$1/Maildir"

logfile "$HOME/maildrop.log"

if (/^X-Spam-Status: Yes/)
{
  to $DEFAULT/.Polluriel/
}
------------------

Note: Here $HOME=/var/spool/virtual_mailboxes

maildrop doesn't appear to have access to the user variable $1.  Here
is a line from the maildrop.log:

File: /var/spool/virtual_mailboxes/example.com//Maildir

Postfix's master.cf shows:

maildrop  unix  -       n       n       -       -       pipe
  flags=Rhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} -w
75


Is there anything else I can be putting in my maildroprc file?

Thanks for any help.

Juan Miscara


      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

Reply via email to