Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th April 2008, 04:03
c4rdinal c4rdinal is offline
Member
 
Join Date: Mar 2008
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Default PostfixAdmin - Unable to create mailbox!

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!
(user@domain.com)
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=<user1@domain.com>, 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(user1@domain.com): mkdir(/var/spool/maildirs/domain.com/user1/cur) failed: Permission denied
Apr 24 09:48:15 mx-1 dovecot: POP3(user1@domain.com): mkdir(/var/spool/maildirs/domain.com/user1/cur) failed: Permission denied
Apr 24 09:48:15 mx-1 dovecot: POP3(user1@domain.com): 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(user1@domain.com): 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=<user1@domain.com>, 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?
Reply With Quote
Sponsored Links
  #2  
Old 25th April 2008, 16:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's the output of
Code:
ls -la /var/spool/maildirs
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 25th June 2008, 09:42
c4rdinal c4rdinal is offline
Member
 
Join Date: Mar 2008
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
What's the output of
Code:
ls -la /var/spool/maildirs
?
# 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 ..
Reply With Quote
  #4  
Old 26th June 2008, 15:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Please try
Code:
chmod 755 /var/spool/maildirs
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PostfixAdmin Cannot Create Maildir asyadiqin HOWTO-Related Questions 21 15th October 2009 03:19
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


All times are GMT +2. The time now is 22:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.