#1  
Old 15th September 2008, 21:58
jag7720 jag7720 is offline
Member
 
Join Date: Nov 2007
Location: Kansas City, MO
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default auto maildir cration

I installed postfix with this howto

http://www.howtoforge.com/virtual-us...ysql-centos5.1

How do I get the system to create the user's maildirs or do i have to do this manually?

I am getting this error

maildir delivery failed: create maildir file /home/vmail/hammersoup.com/jason/tmp/1221508725.P20611.www: Permission denied)


Thanks

Last edited by jag7720; 15th September 2008 at 22:06.
Reply With Quote
Sponsored Links
  #2  
Old 16th September 2008, 18:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

The directories are created automatically when the first email arrives.
What's the output of
Code:
ls -la /home/vmail
?
Did you disable SELinux?
__________________
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 16th September 2008, 18:42
jag7720 jag7720 is offline
Member
 
Join Date: Nov 2007
Location: Kansas City, MO
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I got it to work by doing a chmod 777 /home/vmail

Not sure if that is the best solution.... is it? Is there a better way?

SELinux is not installed

[root@www init.d]# ls -la /home/vmail
total 52
drwxrwxrwx 5 vmail vmail 4096 Sep 15 13:51 .
drwxr-xr-x 25 root root 4096 Sep 4 06:38 ..
-rw------- 1 vmail vmail 1086 Jul 24 10:23 .bash_history
-rw-r--r-- 1 vmail vmail 33 Jul 24 10:10 .bash_logout
-rw-r--r-- 1 vmail vmail 176 Jul 24 10:10 .bash_profile
-rw-r--r-- 1 vmail vmail 124 Jul 24 10:10 .bashrc
-rw-r--r-- 1 vmail vmail 515 Jul 24 10:10 .emacs
drwx------ 3 5000 5000 4096 Sep 15 13:51 hammersoup.com
drwxr-xr-x 3 vmail vmail 4096 Jul 24 10:10 .kde
drwxr-xr-x 4 vmail vmail 4096 Jul 24 10:10 .mozilla
-rw-rw-r-- 1 vmail vmail 25 Jul 24 10:13 .rpmmacros
-rw-r--r-- 1 vmail vmail 658 Jul 24 10:10 .zshrc


[root@www init.d]# ls -la /home/
drwxrwxrwx 5 vmail vmail 4096 Sep 15 13:51 vmail
Reply With Quote
  #4  
Old 17th September 2008, 17:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Quote:
Originally Posted by jag7720 View Post
drwx------ 3 5000 5000 4096 Sep 15 13:51 hammersoup.com
The hammersoup.com directory is owned by a user and group that don't exist anymore (otherwise it would display the names insted of the IDs). Did you delete them?
__________________
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
  #5  
Old 19th September 2008, 23:20
jag7720 jag7720 is offline
Member
 
Join Date: Nov 2007
Location: Kansas City, MO
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

i did not delete them. I ran this

postconf -e 'virtual_uid_maps = static:1001'
postconf -e 'virtual_gid_maps = static:1001'

those are the UID and GID of vmail. I think that will fix it.

Last edited by jag7720; 19th September 2008 at 23:54.
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
debian etch courier pop3 issue docean Installation/Configuration 6 20th March 2008 15:38
www-data and maildir nzimas Installation/Configuration 3 13th September 2007 18:28
imaplogin: chdir Maildir after "Virtual Users And Domains With Postfix" tutorial sPENKMAN HOWTO-Related Questions 4 14th September 2006 18:49
Qmail maildir to Postfix Maildir? sph33r Server Operation 1 31st August 2006 21:48
Folder auto creation for maildir androme Feature Requests 1 23rd July 2006 23:24


All times are GMT +2. The time now is 05:10.


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