2008/12/29 Sam Varshavchik <[email protected]>:
> Juan Miscaro writes:
>
>>
>> MYSQL_HOME_FIELD        '/var/spool/virtual_mailboxes'
>> MYSQL_MAILDIR_FIELD     virtual_mailbox
>>
>> to determine the maildir but these variables remains undefined from
>> within maildroprc.
>>
>> HOME however does get assigned the value of MYSQL_HOME_FIELD
>>
>> MAILDIR also remains undefined.
>
> What about the DEFAULT field?

You nailed it.

Is this documented somewhere and I'm just not seeing it?  If not,
maybe a change to the comments in the various authdaemon config files
are in order.

In conclusion, my maildroprc file is now simply:

--------------------------------------
logfile "/var/log/maildrop"

MAILDIR="$HOME/$DEFAULT"

# In authmysqlrc,
# $HOME = $MYSQL_HOME_FIELD
# $DEFAULT = $MYSQL_MAILDIR_FIELD

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

Thank you,

/juan

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to