on 3/8/01 2:20 AM, James Blackwell at [EMAIL PROTECTED] wrote:

> Greetings,
> 
> I just started getting the dreaded Unable_to_chdir_to_maildir error message on
> a system that was functioning.  I've done all the research I can with no
> results.  Based on the information I found, I came up with a list of the
> important points that might be helpful in solving this.  I'm trying to send
> mail to [EMAIL PROTECTED]
> 
> vpopmail v4.9.8 on a RH6.2 box
> 
> Permissions:
> ------------------------------------------------------------
> /var/vchkpw/domains
> drwx------    4 vpopmail vchkpw       4096 Mar  8 01:19 .
> drwxr-x---   18 vpopmail vchkpw       4096 Feb 15 20:03 ..
> -rw-------    1 vpopmail vchkpw         43 Feb 28 21:08 .dir-control
> -rw-r--r--    1 root     root          136 Mar  8 01:19 .qmail-default
> drwx------    5 vpopmail vchkpw       4096 Mar  8 01:19 panmatrix.net
> 
> /var/vchkpw/domains/panmatrix.net
> drwx------    5 vpopmail vchkpw       4096 Mar  8 01:19 .
> drwx------    4 vpopmail vchkpw       4096 Mar  8 01:19 ..
> -rw-------    1 vpopmail vchkpw         34 Mar  7 15:44 .dir-control
> -rw-------    1 vpopmail vchkpw        136 Mar  7 19:59 .qmail-default
> -rw-------    1 vpopmail vchkpw          0 Mar  7 15:44 .vpasswd.lock
> drwx------    3 vpopmail vchkpw       4096 Mar  6 00:31 jamesb
> drwx------    3 vpopmail vchkpw       4096 Mar  6 00:27 postmaster
> drwx------    3 vpopmail vchkpw       4096 Mar  7 15:44 test
> -rw-------    1 vpopmail vchkpw        249 Mar  7 15:44 vpasswd
> -rw-------    1 vpopmail vchkpw       2363 Mar  7 15:44 vpasswd.cdb
> 
> /var/vchkpw/domains/panmatrix.net/jamesb
> drwx------    3 vpopmail vchkpw       4096 Mar  6 00:31 .
> drwx------    5 vpopmail vchkpw       4096 Mar  8 01:19 ..
> drwx------    5 vpopmail vchkpw       4096 Mar  6 00:31 Maildir
> 
> /var/vchkpw/domains/panmatrix.net/jamesb/Maildir
> drwx------    5 vpopmail vchkpw       4096 Mar  6 00:31 .
> drwx------    3 vpopmail vchkpw       4096 Mar  6 00:31 ..
> drwx------    2 vpopmail vchkpw       4096 Mar  7 19:54 cur
> drwx------    2 vpopmail vchkpw       4096 Mar  7 19:54 new
> drwx------    2 vpopmail vchkpw       4096 Mar  6 00:31 tmp
> 
> And the test, su'ed in as vpopmail:
> bash-2.04$ whoami;pwd;touch test;ls -la;rm test -f;ls -la;
> vpopmail
> /var/vchkpw/domains/panmatrix.net/jamesb/Maildir/tmp
> total 8
> drwx------    2 vpopmail vchkpw       4096 Mar  8 02:17 .
> drwx------    5 vpopmail vchkpw       4096 Mar  8 02:11 ..
> -rw-r--r--    1 vpopmail vchkpw          0 Mar  8 02:18 test
> total 8
> drwx------    2 vpopmail vchkpw       4096 Mar  8 02:18 .
> drwx------    5 vpopmail vchkpw       4096 Mar  8 02:11 ..
> 
> 
> Files:
> -------------------------------------------------------------
> /etc/qmail/rcpthosts:
> panmatrix.net
> 
> /etc/qmail/virtualdomains:
> panmatrix.net:panmatrix.net
> 
> /etc/qmail/users/assign:
> =root:alias:70:65534:/var/qmail/alias:-:postmaster:
> =abuse:alias:70:65534:/var/qmail/alias:-:postmaster:
> =operator:alias:70:65534:/var/qmail/alias:-:postmaster:
> =uucp:alias:70:65534:/var/qmail/alias:-:postmaster:
> =anonymous:alias:70:65534:/var/qmail/alias:-:postmaster:
> =backup-reports:alias:70:65534:/var/qmail/alias:-:postmaster:
> =bbsadmin:alias:70:65534:/var/qmail/alias:-:postmaster:
> =dumper:alias:70:65534:/var/qmail/alias:-:postmaster:
> =hostmaster:alias:70:65534:/var/qmail/alias:-:postmaster:
> =listmaster:alias:70:65534:/var/qmail/alias:-:postmaster:
> =mailer-daemon:alias:70:65534:/var/qmail/alias:-:postmaster:
> =manager:alias:70:65534:/var/qmail/alias:-:postmaster:
> =orphanage:alias:70:65534:/var/qmail/alias:-:postmaster:
> =warnings:alias:70:65534:/var/qmail/alias:-:postmaster:
> =webmaster:alias:70:65534:/var/qmail/alias:-:postmaster:
> +panmatrix.net-:panmatrix.net:1001:101:/var/vchkpw/domains/panmatrix.net:-::
> .
> 
> (70 is user alias, 1001 is user vpopmail, 65534 is group nogroup, and 101 is
> group vchkpw)
> 
> 
> I really have tried to figure this out on my own.  If anyone has any
> suggestions at all I'd greatly appreciate it.


James,

Perhaps the info in your users/cdb file is corrupt.  I can't find any
problems in the info you have provided.  Have you tried running
qmail/bin/qmail-newu?  That will rebuild the cdb file.

If that fails, what about creating a test virtual domain and see if delivery
works for it?  If it works, you can compare settings with the new domain to
pnamatrix.net.

Hope this helps.

-Bill

Reply via email to