Re: [courier-users] maildrop and authlib communication

2008-12-29 Thread Sam Varshavchik
Juan Miscaro writes: 2008/12/29 Sam Varshavchik : 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 va

Re: [courier-users] maildrop and authlib communication

2008-12-29 Thread Juan Miscaro
2008/12/29 Sam Varshavchik : > 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 valu

Re: [courier-users] maildrop and authlib communication

2008-12-29 Thread Sam Varshavchik
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 undefin

Re: [courier-users] maildrop and authlib communication

2008-12-29 Thread Juan Miscaro
2008/12/28 Tim Lyth : > Juan, > > As per a previous message from you, you are using a MySQL backend. > There should be an option to specify the home directory for each account. > This in turn should be able to be returned by authlib and therefore save you > from having to build it up yourself. > >

Re: [courier-users] maildrop and authlib communication

2008-12-28 Thread Sam Varshavchik
Juan Miscaro writes: 2008/12/28 Sam Varshavchik : Juan Miscaro writes: 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=""

Re: [courier-users] maildrop and authlib communication

2008-12-28 Thread Tim Lyth
Juan, As per a previous message from you, you are using a MySQL backend. There should be an option to specify the home directory for each account. This in turn should be able to be returned by authlib and therefore save you from having to build it up yourself. HTH, Cheers, Tim Lyth Juan Misc

Re: [courier-users] maildrop and authlib communication

2008-12-28 Thread Juan Miscaro
2008/12/28 Sam Varshavchik : > Juan Miscaro writes: > >> 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

Re: [courier-users] maildrop and authlib communication

2008-12-28 Thread Sam Varshavchik
Juan Miscaro writes: 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} =~ /(.*)@([...@].*)/ ) {

[courier-users] maildrop and authlib communication

2008-12-28 Thread Juan Miscaro
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=${