Hi, I'm installing Debian Etch + Postfix chrooted + SSL/TLS + SMTP AUTH SASL + Quota (VDA) + Postfix Admin with Virtual Users/Domains. I got this error in PostfixAdmin while Add Mailbox command: The mailbox has been added to the mailbox table! ([email protected]) Unable to create mailbox! # postconf -d | grep mail_version mail_version = 2.3.8 # postfix set-permissions chown: cannot access `/usr/lib/postfix/dict_cdb.so': No such file or directory # ls -ld /var/spool/maildirs/ drwxr-x--- 4 vmail vmail 4096 2008-04-24 08:18 /var/spool/maildirs/ # Postfix main.cf # MySQL + virtual mailboxes + quota virtual_mailbox_base = /var/spool/maildirs virtual_mailbox_maps = proxy:mysql:/etc/postfix/vmailsql/vmailbox virtual_mailbox_domains = proxy:mysql:/etc/postfix/vmailsql/vdomain virtual_alias_maps = proxy:mysql:/etc/postfix/vmailsql/valias transport_maps = hash:/etc/postfix/transport virtual_transport = virtual # IMPORTANT uid and gid 1001 = vmail virtual_minimum_uid = 1001 virtual_uid_maps = static:1001 virtual_gid_maps = static:1001 local_recipient_maps = $virtual_mailbox_maps virtual_create_maildirsize = yes virtual_mailbox_extended = yes # find . ./domain.com ----> No entries for newly added MAILBOX! #tail -f /var/log/mail.log # tail -f /var/log/mail.log Apr 24 09:41:57 mx-1 postfix/virtual[7784]: warning: maildir access problem for UID/GID=1001/1001: create maildir file /var/spool/maildirs/domain.com/user1/tmp/1209001317.P7784.mx-1.domain.com: Permission denied Apr 24 09:41:57 mx-1 postfix/virtual[7784]: warning: perhaps you need to create the maildirs in advance Apr 24 09:41:57 mx-1 postfix/bounce[7790]: 1269C12968D: sender delay notification: D85F0129699 Apr 24 09:41:57 mx-1 postfix/virtual[7784]: D85F0129699: to=<[email protected]>, relay=virtual, delay=0.03, delays=0.01/0/0/0.01, dsn=4.2.0, status=deferred (maildir delivery failed: create maildir file /var/spool/maildirs/domain.com/user1/tmp/1209001317.P7784.mx-1.domain.com: Permission denied) Apr 24 09:48:15 mx-1 dovecot: POP3([email protected]): mkdir(/var/spool/maildirs/domain.com/user1/cur) failed: Permission denied Apr 24 09:48:15 mx-1 dovecot: POP3([email protected]): mkdir(/var/spool/maildirs/domain.com/user1/cur) failed: Permission denied Apr 24 09:48:15 mx-1 dovecot: POP3([email protected]): Couldn't open INBOX: Internal error occurred. Refer to server log for more information. [2008-04-24 09:48:15] Apr 24 09:48:15 mx-1 dovecot: POP3([email protected]): No INBOX for user top=0/0, retr=0/0, del=0/0, size=0 Apr 24 09:48:15 mx-1 dovecot: pop3-login: Login: user=<[email protected]>, method=PLAIN, rip=192.168.1.222, lip=192.168.1.10 Apr 24 09:48:39 mx-1 postfix/postfix-script: warning: /var/spool/postfix/etc/passwd and /etc/passwd differ Any suggestions?
# ls -la /var/spool/maildirs total 8 drwxr-x--- 2 vmail vmail 4096 2008-06-20 17:39 . drwxr-xr-x 9 root root 4096 2002-05-05 17:01 ..