3 messages in net.sourceforge.lists.courier-maildrop[maildropl] maildroprc (How to get h...
FromSent OnAttachments
sim085Jun 22, 2009 11:44 am 
Sam VarshavchikJun 22, 2009 4:44 pm 
sim085Jun 23, 2009 3:51 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:[maildropl] maildroprc (How to get home value from database)Actions...
From:sim085 (sim@hotmail.com)
Date:Jun 22, 2009 11:44:58 am
List:net.sourceforge.lists.courier-maildrop

Hello,

I have checked maildrop documentation and found out that the value of $HOME is equal to the home directory of the user running maildrop (virtual user in my case).

However I am tryng to use maildrop together with mysql and postfix. In the users table I have a field home. This seems to be captured by maildrop because if I execute the following command:

maildrop -V 9 -d post@mydomain.com < /dev/null

I get the following result:

maildrop: authlib: groupid=5000 maildrop: authlib: userid=5000 maildrop: authlib: logname=post@mydomain.com, home=/var/spool/mail/virtual, mail=/var/spool/mail/virtual/postmaster maildrop: Changing to /var/spool/mail/virtual/ ...

Now my question is; can I get the home (or mail) values from the maildroprc files. I know I could just write these paths inside maildroprc files however I would like these paths to be controled from the database.

If this is not possible, then why does the maildrop command capture the home field?