Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th November 2007, 18:26
catdude catdude is offline
Senior Member
 
Join Date: Jun 2007
Posts: 178
Thanks: 1
Thanked 12 Times in 11 Posts
Default Missing maildir - bounce or tempfail?

As posted in a previous thread, I had a bunch of user maildirs disappear over the weekend. When I checked the mail logs I saw that messages destined for the missing maildirs were being bounced (Nov 19 06:31:39 gx postfix/local[20551]: 3B9B26D403D: to=<customerdomain.com_duane@ge.workdomain.net>, orig_to=<duane@customerdomain.com>, relay=local, delay=0, status=bounced (maildir delivery failed: create /its/isp/hosted/web371/user/customerdomain.com_duane/Maildir/tmp/1195475499.P20551.gx.eac: Permission denied)

The user referenced here has an entry in /etc/passwd and /etc/shadow, has an entry in /etc/postfix/virtusertable, and an entry in /etc/courier/userdb. He does not have a home dir or a Maildir.

My previous experience have been mostly with sendmail and qmail. If the user's Maildir has bad permissions or is missing, shouldn't postfix be doing a TEMPFAIL instead of a BOUNCE?
Reply With Quote
Sponsored Links
  #2  
Old 20th November 2007, 09:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,006
Thanks: 826
Thanked 5,377 Times in 4,224 Posts
Default

The delivery is done by procmail, so I guess that postfix does a bounce as it does not get the "reason" for the failure from procmail.

If the users are still in the database and /etc/passwd, you can try to set the field status of the records to 'u' in the isp_isp_user table, then update one of the users in the interface and ISPConfig will recreate the maildirs with the correct permissions for you.

You might want to check the ispconfig.log file too, if the deletion of the directories is not logged there, then the directories had been deleted on the shell or by ftp.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th November 2007, 14:37
catdude catdude is offline
Senior Member
 
Join Date: Jun 2007
Posts: 178
Thanks: 1
Thanked 12 Times in 11 Posts
 
Default

Quote:
Originally Posted by till
The delivery is done by procmail, so I guess that postfix does a bounce as it does not get the "reason" for the failure from procmail.

If the users are still in the database and /etc/passwd, you can try to set the field status of the records to 'u' in the isp_isp_user table, then update one of the users in the interface and ISPConfig will recreate the maildirs with the correct permissions for you.

You might want to check the ispconfig.log file too, if the deletion of the directories is not logged there, then the directories had been deleted on the shell or by ftp.
Excellent! Thank you very much.

My boss got a call from the customer late yesterday. Seems he was in messing around, didn't know what he was doing, and ended up deleting the user home dirs via FTP. Mystery solved.
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
www-data and maildir nzimas Installation/Configuration 3 13th September 2007 18:28
Qmail maildir to Postfix Maildir? sph33r Server Operation 1 31st August 2006 21:48
maildir not created t_ras Installation/Configuration 3 1st July 2006 12:52
required modules missing etag1949 Installation/Configuration 2 2nd June 2006 14:13
Help....package missing sbovisjb1 Installation/Configuration 3 31st March 2006 11:14


All times are GMT +2. The time now is 04:07.


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