Howdy,

I'm running 5.3.30 (haven't had time yet to spec out 5.4.x) and am seeing
some odd problems with newly-created domains.  Everything sent to a "real"
account in a new domain bounces.  Aliases that point anywhere outside the
domain do work, so it seems that qmail/vpopmail know the domain is there,
know that the user exists, but then everything just gets nutty.

The biggest clue seems to be the real user vs. alias issue.

Here's all the info:

--a bounce--
<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

--log--
And the following in qmail-send's log:

[EMAIL PROTECTED] grep 12424 /var/log/qmail-send/current
@400000004035611734fd7f94 starting delivery 12424: msg 311107 to local
[EMAIL PROTECTED]
@40000000403561173528546c delivery 12424: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

What's odd is that the user does exist, and vpopmail seems to be aware of
it, as I do have the smtpd chkusr patch, and the mail gets past that.

Here's all the info on the domain:

[EMAIL PROTECTED]/home/vpopmail/domains]# vdominfo example.com
domain: example.com
uid:    90
gid:    90
dir:    /home/vpopmail/domains/2/example.com
users:  3

[EMAIL PROTECTED]/home/vpopmail/domains/2/example.com]# ls -al
total 8
drwx------   5 vpopmail  vchkpw   512 Feb 19 20:21 .
drwx------  71 vpopmail  vchkpw  2048 Feb 19 12:43 ..
-rw-------   1 vpopmail  vchkpw    15 Feb 19 12:45 .qmail-abuse
-rw-------   1 vpopmail  vchkpw    20 Feb 19 12:45 .qmail-postmaster
drwx------   3 vpopmail  vchkpw   512 Feb 19 12:44 info
drwx------   3 vpopmail  vchkpw   512 Feb 19 12:43 postmaster
drwx------   3 vpopmail  vchkpw   512 Feb 19 12:44 sharyn
                                                   ^^^^^^
[EMAIL PROTECTED]/home/vpopmail/domains/2/example.com]# ls -al sharyn/Maildir/
total 12
drwx------  9 vpopmail  vchkpw  512 Feb 19 14:48 .
drwx------  3 vpopmail  vchkpw  512 Feb 19 12:44 ..
drwx------  5 vpopmail  vchkpw  512 Feb 19 14:48 .Drafts
drwx------  5 vpopmail  vchkpw  512 Feb 19 14:48 .Sent
drwx------  5 vpopmail  vchkpw  512 Feb 19 14:48 .Trash
drwx------  2 vpopmail  vchkpw  512 Feb 19 13:04 courierimapkeywords
-rw-r--r--  1 vpopmail  vchkpw   36 Feb 19 14:48 courierimapsubscribed
-rw-r--r--  1 vpopmail  vchkpw   15 Feb 19 13:04 courierimapuiddb
drwx------  2 vpopmail  vchkpw  512 Feb 19 12:44 cur
-rw-r--r--  1 vpopmail  vchkpw   14 Feb 19 13:20 maildirsize
drwx------  2 vpopmail  vchkpw  512 Feb 19 12:44 new
drwx------  2 vpopmail  vchkpw  512 Feb 19 15:05 tmp

Vuserinfo shows the user exists:

[EMAIL PROTECTED]/home/vpopmail/domains]# vuserinfo [EMAIL PROTECTED]
name:   sharyn
passwd: $1$...
clear passwd:
uid:    0
gid:    0
gecos: sharyn
        all services available
dir:       /home/vpopmail/domains/2/example.com/sharyn
quota:     20971520S
usage:     0%
last auth: Thu Feb 19 15:05:09 2004
last auth ip: imap

Here's her entry from the vpopmail table:

mysql> select * from vpopmail where pw_name='sharyn' and
pw_domain='example.com'\G
*************************** 1. row ***************************
  pw_name: sharyn
pw_domain: example.com
pw_passwd: $1$...
   pw_uid: 0
   pw_gid: 0
 pw_gecos: sharyn
   pw_dir: /home/vpopmail/domains/2/example.com/sharyn
 pw_shell: 20971520S
    email: [EMAIL PROTECTED]
1 row in set (0.01 sec)

The domain exists in the following control files in /var/qmail/control:

[EMAIL PROTECTED]/var/qmail/control]# grep example.com *
morercpthosts:example.com
Binary file morercpthosts.cdb matches
virtualdomains:example.com:example.com

and in /var/qmail/users/assign:

[EMAIL PROTECTED]/var/qmail/users]# grep example.com *
assign:+example.com-:example.com:90:90:/home/vpopmail/domains/2/example.com:-::
Binary file cdb matches

So what could I be missing here?  Any input is appreciated, this is making
me nuts.  Domain was added using vadddomain, users added with vadduser;
any other users created there also fail.

Thanks,

Charles


Reply via email to