Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th June 2009, 13:49
bmossavari bmossavari is offline
Junior Member
 
Join Date: Jun 2009
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default Centos 5.3 / postfix maildir delivery failed: create maildir file

Hi

I'm using ISPconfig 2.2.32 with more than 40 users

One of our clients has email issue , nobody can send email to any email address that he has from outside
email just bounced back with maildir delivery failed: create maildir file
/var/www/web9/Maildir/tmp/1246184673.P7838.xxxxxxxxxx:
Permission denied

all email address hosted with this users have this issue.

I searched the forum already and I checked:
- SElinux is disable
here is output of ls -la /var/www/web9
Code:
dr--------  8 web9_info web9 4096 Jun 28 15:48 .
drwxr-xr-x 33 root      root 4096 Jun 27 13:42 ..
drwxrwxr-x  2 web9_info web9 4096 Jun 10 12:14 cgi-bin
-rw-------  1 web9_info web9   24 Jun 28 15:48 .forward
-rw-rw-r--  1 root      web9  640 Jun 28 04:01 .htpasswd
drwxr-xr-x  3 web9_info web9 4096 Jun 14 00:30 log
lrwxrwxrwx  1 root      root   36 Jun 28 15:48 Maildir -> /var/www/web9/user/web9_info/Maildir
-rw-r--r--  1 root      root    0 Jun 28 15:48 passwd.dav
drwxrwxrwx  2 web9_info web9 4096 Jun 10 12:14 phptmp
-rw-r--r--  1 root      root  450 Jun 28 15:48 .procmailrc
lrwxrwxrwx  1 root      root   43 Jun 28 15:48 .spamassassin -> /var/www/web9/user/web9_info/.spamassassin/
drwxr-xr-x  2 web9_info web9 4096 Jun 10 12:14 ssl
drwxr-xr-x 14 web9_info web9 4096 Jun 28 14:08 user
lrwxrwxrwx  1 root      root   44 Jun 28 15:48 .vacation.cache -> /var/www/web9/user/web9_info/.vacation.cache
drwxrwxr-x  4 web9_info web9 4096 Jun 11 04:00 web
I check the statistics of the user and I see that he exceeded the qouta (he used 2700 MB from 2500 MB !)

I'm wondering if quota is the problem or there is a permission issue
actually adjusting quota to 3500 MB didn't help , also I chown[ed] Maildir to web9_info:web9 but it didn't help neither

I'm lost , somebody help me !!!!
Reply With Quote
Sponsored Links
  #2  
Old 28th June 2009, 13:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Make sur that you increase the website and user quota and then check quota with:

repquota -avug
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th June 2009, 14:22
bmossavari bmossavari is offline
Junior Member
 
Join Date: Jun 2009
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thank you for such a quick answer.
user quota is -1
I change website (Traffic) quota to 3500 MB but here is what I've got from repquota -avug

Code:
                        Block limits                File limits
Group           used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
.
.
.
.
.

web9      --   11108  256000  257024            220     0     0  
.
.
.
.
.
thanks again

Edit:
Sorry for confusion , when I said 'he exceeded the quota ' I was referring to Traffic quota not web quota

still we have issue

Last edited by bmossavari; 28th June 2009 at 15:07.
Reply With Quote
  #4  
Old 28th June 2009, 19:46
bmossavari bmossavari is offline
Junior Member
 
Join Date: Jun 2009
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi
sorry for bump but I'm still having problem !
no one can post an answer ?
Reply With Quote
  #5  
Old 28th June 2009, 19:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

And the permissions of the directories and sundirectories of this user are identical to the working accounts in the same website?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 28th June 2009, 20:00
bmossavari bmossavari is offline
Junior Member
 
Join Date: Jun 2009
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for getting back to me Till
All email accounts on this web site have Maildir permission issue.

no one can receive email on this web site.

but email is working fine for all the other users (web1~web42)

I can give you more ls output if you want , let me know if this helps
Reply With Quote
  #7  
Old 28th June 2009, 22:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Ok, then the permissions of the web folder itself are causing this because the site is suspended. compare the permissions of the web[ID] foder which is in /var/www/ or wereever your sites are withe the other working sites and chmod the folder so that it looks like the others (chmod 755 if I remember correctly).
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 29th June 2009, 06:13
bmossavari bmossavari is offline
Junior Member
 
Join Date: Jun 2009
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

As you said the problem was /var/www/web9 folder, I chmod it to 755 and everything goes back to normal

Thank you Till for great support
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
My postfix server is beeing used to send large ammounts of spam. bob808 Server Operation 2 27th April 2009 12:37
CentoS doesn't send the emails vaio1 Installation/Configuration 18 5th November 2008 17:51
Postfix delivery problem erebus Installation/Configuration 6 28th October 2007 16:20
Chrooted SSH apps bkrausz Tips/Tricks/Mods 14 29th August 2006 23:32
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 02:22.


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