Qmail
[Top] [All Lists]

Re: Unable_to_chdir_to_maildir

To: qmail@list.cr.yp.to
Subject: Re: Unable_to_chdir_to_maildir
From: Jeremy Kitchen <kitchen@scriptkitchen.com>
Date: Sat, 26 May 2007 03:45:10 -0400
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <200705252254.09951.consult@atoka-software.com>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <200705252254.09951.consult@atoka-software.com>
User-agent: Mutt/1.5.13 (2006-08-11)
On Fri, May 25, 2007 at 10:54:09PM -0500, Allen Wayne Best wrote:
> I am stumped with a possibly trival problem.

let me just first start by saying quite excellent email.  You provided
unobfuscated logs, full qmail-showctl output, etc.  Great work!

> May 25 22:32:58 mesozoic qmail: 1180150378.769447 starting delivery 98: msg 
> 160414 to local atoka-zidiot@atoka-software.com
> May 25 22:32:58 mesozoic qmail: 1180150378.770424 delivery 98: deferral: 
> Unable_to_chdir_to_maildir._(#4.2.1)/

> After searching through the archives, and seeing lots of similiar problems, I 
> still don't see what my particular hold up is.

and you searched the archives!

> The user, zidiot, is on the same machine as the mail server, internally named 
> mesozoic.atoka.org.
> 
> in /var/qmail/aliases, I have
> 
> .qmail-atoka-zidiot
> .qmail-zidiot
> 
> both containing the single line
> 
> /home/zidiot/Maildir/

> Further, the directory was created from /etc/skel when the user was created. 
> The permissions are:
> ll /home /home/zidiot /home/zidiot/Maildir
> 
> /home:
> total 44
> drwx------ 4 zidiot zidiot  4096 May 25 22:40 zidiot

the 'alias' user cannot write to that directory.  You should instead
forward the mails to the zidiot user.

Furthermore, the ~alias/.qmail-zidiot file will never be consulted
since the 'zidiot' user exists.

> spftarpittime: I have no idea what this file does.
> spftrustedstate: I have no idea what this file does.
> spfheaderstate: I have no idea what this file does.
> spfguessstate: I have no idea what this file does.
> spfaction: I have no idea what this file does.

unrelated, but also of note.
http://homepages.tesco.net/J.deBoynePollard/FGA/smtp-spf-is-harmful.html

-Jeremy

-- 
Jeremy Kitchen ++ kitchen@scriptkitchen.com

<Prev in Thread] Current Thread [Next in Thread>