3 messages in net.sourceforge.lists.courier-users[courier-users] Virtual Users with au...
FromSent OnAttachments
Keith J PaulsonMar 22, 2005 10:12 am 
Sam VarshavchikMar 22, 2005 3:41 pm 
Keith J PaulsonMar 23, 2005 6:55 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Virtual Users with authdaemon.mysql and maildirActions...
From:Keith J Paulson (keit@db.faneuil.com)
Date:Mar 22, 2005 10:12:18 am
List:net.sourceforge.lists.courier-users

I suspect I have a config issue (or design issue), but cannot find it.

My virtual user is vmail, and the home dir is

/home/vmail

My users have maildirs located at

/home/vmail/domain/user

In mysql I have homedir set to /home/vmail, and maildir set to /home/vmail/domain/user

When the courier service queries my user on receipt of an email, the code seems to return not the maildir value, but the defaultdelivery(which is unset), and the email is delivered to

/home/vmail/Maildir

Code in authmysqllib.c is: maildir_field=read_env(service && strcmp(service, "courier")==0 ? "MYSQL_DEFAULTDELIVERY" : "MYSQL_MAILDIR_FIELD");

This seems to be telling me I need to set the defaultdelivery....but to what?

Or should my home be set to '/home/vmail/domain/user'?

Thanks,