I'm trying to contain my virtual users within the home directory to keep ispconfig compatible with the existing structure on my network. I tried setting Maildir Path to "/home/[domain]/[localpart]", however when I created new mailboxes, they were still appearing in /var/vmail/. Attempting to work around this, I deleted /var/vmail and recreated it as a link to /home/. If there's a way to make the option work properly, please let me know...
Continuing on this point, however, I had to modify the domain directories as such:
# chown root.vmail /home/domain.com/
# chmod 775 /home/domain.com.
Now when I create the mailbox, the user folder appears as I wanted. The next problem was a permission issue with maildrop.
postfix/pipe: 318FA22C2E: to=<email@example.com>, relay=maildrop, delay=44101, delays=44101/0.23/0/0.06, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/bin/maildrop: Home directory owned by wrong user. )
I had to chown vmail.vmail /home/ in order to get past this error. Again, I would appreciate any suggestions on a better way to fix this, as /home/ should be owned by root.
And now for the current problem. The virtual user folders are being created, the maildir folders are in place and owned by vmail, and syslog shows the welcome email being sent and delivered to the mailbox... but there are no emails appearing. I can log into the account via thunderbird, and I have checked the new and cur folders for the email, but it's not there. I have no idea how to troubleshoot virtual users (my network currently uses LDAP, which apparently ispconfig does not support?), so I'm at a loss as to where to start on this one.
Details about my setup...
New install followed this guide: http://www.howtoforge.com/perfect-se...10-ispconfig-3
* The mySQL server is on another machine, not local... the proper IP was entered during setup to point to the mySQL server
Apache2 / Postfix / Courier
Ask if you need anything else. And thanks for the help.