I am using maildrop 2.0.4 (which uses authlib by default) on OpenBSD
4.4. Now I have the following maildroprc file:
----------------
logfile "/var/log/maildrop"
/^Delivered-To:\s*.+/
RECIPIENT=getaddr ${MATCH}
USER=""
DOMAIN=""
if ( ${RECIPIENT} =~ /(.*)@([...@].*)/ )
{
USER=${MATCH1}
DOMAIN=${MATCH2}
}
else
{
#no domain part
USER=${RECIPIENT}
}
MAILDIR="/var/spool/virtual_mailboxes/$DOMAIN/$USER/Maildir"
if (/^X-Spam-Status: Yes/)
{
to $MAILDIR/.Spam/
}
----------------
Now since maildrop is already informed about where the mail goes (via
authlib) should it not be possible to have a simpler rc file by not
having to build up the mailbox/maildir destination?
/juan
------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users