standk
1st August 2006, 22:59
Currently it is setup to create the Maildir in /home/vmail/ upon receiving the initial email. I have followed the steps of this tutorial (http://www.howtoforge.com/virtual_postfix_mysql_quota_courier).
What I would like is for whenever an email address is created, that the Maildir is created in that user's home directory. That is, it would be helpful to have that directory located in /home/user/mail instead of in /home/vmail. Since I would like to support multiple home directories, it is not as easy as setting the directory to just /home/user/mail instead of /home/vmail.
Is there a way to create a column that specifies which directory to deliver the mail to in MySQL, and which user to give permissions to access that directory?
I was thinking that I could just create a link to the created directories in the home folder of the user who should have access, but the problem exists that the permissions are still vmail:vmail.
Any help that could be offered would be greatly appreciated.
Kent
What I would like is for whenever an email address is created, that the Maildir is created in that user's home directory. That is, it would be helpful to have that directory located in /home/user/mail instead of in /home/vmail. Since I would like to support multiple home directories, it is not as easy as setting the directory to just /home/user/mail instead of /home/vmail.
Is there a way to create a column that specifies which directory to deliver the mail to in MySQL, and which user to give permissions to access that directory?
I was thinking that I could just create a link to the created directories in the home folder of the user who should have access, but the problem exists that the permissions are still vmail:vmail.
Any help that could be offered would be greatly appreciated.
Kent