Postfix and Maildir
Hi,
I'm migrating from qmail to postfix. Virtual user are stored in mysql db. For each user, the maildir record is "/usr/local/virtual/domain.ext/username". Ok, I must add the trailing / in order to use maildir format in postfix. My problem is: when I send an email to "username@domain.ext", postix create cur, new and tmp directory in /usr/local/virtual/domain.ext/username, while at this moment the correct path must be "/usr/local/virtual/domain.ext/username/Maildir/" in order to work with courier-imap. How can I tell postfix to create "Maildir/cur" , "Maildir/new", etc ? I need the VDA patch? Tnx |
Can you post your settings in /etc/authlib/authmysqlrc
For the following parameters Quote:
|
What makes you think that courier-imap requires the mail to be in /usr/local/virtual/domain.ext/username/Maildir/ ?
Presuming you are using authlib with courier imap just ensure that your /etc/authlib/authmysqlrc has the same maildir field from the mysql database as that which postfix is using, e.g. MYSQL_MAILDIR_FIELD maildir HTH |
Quote:
MYSQL_HOME_FIELD home MYSQL_MAILDIR_FIELD home with "home" = /usr/local/virtual/domain.ext/username/. courier auth is working, but postfix send mail to /usr/local/virtual/domain.ext/username/new/. In fact, by this way, I can't read all the email already present in the user maildir. My goal is to delivery in Maildir/new |
All times are GMT -5. The time now is 03:01 AM. |