Re: [courier-users] maildrop and authlib communication
Brought to you by:
mrsam
From: Juan M. <jmi...@gm...> - 2008-12-30 01:24:30
|
2008/12/29 Sam Varshavchik <mr...@co...>: > 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 |