Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

Sorry,_no_mailbox_here_by_that_name._(#5.1.1)

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


dkelson at inconnect

Apr 1, 1997, 3:20 PM

Post #1 of 14 (3027 views)
Permalink
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)

I can't get local deliveries to work for a user.

grep Univmass /etc/passwd
Univmass:x:2972:15:The Man:/ssa1/home/U/Univmass:/bin/csh


grep Univmass assign
=Univmass:Univmass:2972:15:/ssa1/home/U/Univmass:::
+Univmass-:Univmass:2972:15:/ssa1/home/U/Univmass:-::

User's home directory exists, is empty and owned by the user with 755
perms. The permissions are all 755 on all the parent directories as well.

Any clue on what is going on here?

Dax Kelson
Internet Connect, Inc.


marvin at molions

Feb 27, 2002, 5:42 AM

Post #2 of 14 (2974 views)
Permalink
Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [In reply to]

Chittaranjan Mandal writes:

> This is what the log in /var/log/qmail/current says about not being able
> to deliver a mail to user "chittaLocal" from user "chittaLocal".
> What mailbox was expected to be present?
>
<SNIP>

Probably chittalocal.

qmail lowercases the username. If you created a user with any uppercase in
it, it won`t work.

Check and make sure the username created is ALL lower case.

Use vipw to change it if this is the case (pun intended).

Send mail to the account again, hopefully, that will solve the problem.


Regards...


chitta at cse

Feb 27, 2002, 9:30 AM

Post #3 of 14 (2981 views)
Permalink
Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [In reply to]

This is what the log in /var/log/qmail/current says about not being able
to deliver a mail to user "chitta_local" from user "chitta_local".
What mailbox was expected to be present?

@400000003c7d04a50c8b057c new msg 373915
@400000003c7d04a50c8b1cec info msg 373915: bytes 308 from <chitta_local [at] nis-slave-3> qp 30886 uid 5002
@400000003c7d04a5181c9d74 starting delivery 31: msg 373915 to local chitta_local [at] nis-slave-3
@400000003c7d04a5181cbcb4 status: local 1/20 remote 0/90
@400000003c7d04a519419d44 delivery 31: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000003c7d04a51941bc84 status: local 0/20 remote 0/90
@400000003c7d04a5244dfbc4 bounce msg 373915 qp 30889
@400000003c7d04a5244e171c end msg 373915

# ls -l ~chitta_local/
total 16
drwxrwxr-x 3 chitta_l chitta_l 4096 Jan 9 17:59 Desktop/
drwxr-xr-x 5 chitta_l chitta_l 4096 Feb 21 23:25 Maildir/
drwx------ 2 chitta_l chitta_l 4096 Feb 22 00:36 nsmail/
drwx------ 2 chitta_l chitta_l 4096 Feb 27 21:47 tmp/

...
> Check and make sure the username created is ALL lower case.
> Use vipw to change it if this is the case (pun intended).
> Send mail to the account again, hopefully, that will solve the problem.
...

Chitta


marvin at molions

Feb 27, 2002, 10:07 AM

Post #4 of 14 (2979 views)
Permalink
Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [In reply to]

Chittaranjan Mandal writes:

> This is what the log in /var/log/qmail/current says about not being able
> to deliver a mail to user "chitta_local" from user "chitta_local".
> What mailbox was expected to be present?

<SNIP>

> # ls -l ~chitta_local/
> total 16
> drwxrwxr-x 3 chitta_l chitta_l 4096 Jan 9 17:59 Desktop/
> drwxr-xr-x 5 chitta_l chitta_l 4096 Feb 21 23:25 Maildir/
> drwx------ 2 chitta_l chitta_l 4096 Feb 22 00:36 nsmail/
> drwx------ 2 chitta_l chitta_l 4096 Feb 27 21:47 tmp/
<SNIP>

Aagh, I see. You are limited to 8 characters in the username. If you send
a mail to chitta_l it will very likely go through (try it please).

Solutions...I don`t know. Have you checked the archives or would someone
else want to comment.

What OS are you using ?

Regards...


marvin at molions

Feb 27, 2002, 10:24 AM

Post #5 of 14 (2975 views)
Permalink
Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [In reply to]

marvin writes:

>
> Chittaranjan Mandal writes:
>
> > This is what the log in /var/log/qmail/current says about not being able
> > to deliver a mail to user "chitta_local" from user "chitta_local".
> > What mailbox was expected to be present?
>
> <SNIP>
>
> > # ls -l ~chitta_local/
> > total 16
> > drwxrwxr-x 3 chitta_l chitta_l 4096 Jan 9 17:59 Desktop/
> > drwxr-xr-x 5 chitta_l chitta_l 4096 Feb 21 23:25 Maildir/
> > drwx------ 2 chitta_l chitta_l 4096 Feb 22 00:36 nsmail/
> > drwx------ 2 chitta_l chitta_l 4096 Feb 27 21:47 tmp/
> <SNIP>
>
> Aagh, I see. You are limited to 8 characters in the username. If you send
> a mail to chitta_l it will very likely go through (try it please).
>
> Solutions...I don`t know. Have you checked the archives or would someone
> else want to comment.
>
> What OS are you using ?
>
> Regards...

Now that was silly. Create an alias.


chitta at cse

Feb 27, 2002, 10:58 AM

Post #6 of 14 (2974 views)
Permalink
Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [In reply to]

On Wed, 27 Feb 2002, marvin wrote:

>
> Chittaranjan Mandal writes:
>
> > This is what the log in /var/log/qmail/current says about not being able
> > to deliver a mail to user "chitta_local" from user "chitta_local".
> > What mailbox was expected to be present?
>
> <SNIP>
>
> > # ls -l ~chitta_local/
> > total 16
> > drwxrwxr-x 3 chitta_l chitta_l 4096 Jan 9 17:59 Desktop/
> > drwxr-xr-x 5 chitta_l chitta_l 4096 Feb 21 23:25 Maildir/
> > drwx------ 2 chitta_l chitta_l 4096 Feb 22 00:36 nsmail/
> > drwx------ 2 chitta_l chitta_l 4096 Feb 27 21:47 tmp/
> <SNIP>
>
> Aagh, I see. You are limited to 8 characters in the username. If you send
> a mail to chitta_l it will very likely go through (try it please).
That is probably not the problem:
$ id
uid=5002(chitta_local) gid=501(chitta_local) groups=501(chitta_local)
>
> Solutions...I don`t know. Have you checked the archives or would someone
> else want to comment.
>
> What OS are you using ?
$ uname -a
Linux nis-slave-3 2.4.8-26mdk #1 Sun Sep 23 17:06:39 CEST 2001 i686 unknown

Regards,
Chitta


de5 at sws5

Feb 27, 2002, 11:21 AM

Post #7 of 14 (2969 views)
Permalink
Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [In reply to]

Chittaranjan Mandal <chitta [at] cse> wrote:

>This is what the log in /var/log/qmail/current says about not being able
>to deliver a mail to user "chitta_local" from user "chitta_local".
>What mailbox was expected to be present?

The "chitta_local" mailbox, of course. In this sense, a mailbox is the
part of an address left of the at-sign (@). This error means that
chitta_local isn't a valid user or alias.

The first question is whether you're using the qmail-users
facility. If so, what's in your assign file?

If that's not the problem, look at qmail-getpw. What does the
following say:

/var/qmail/bin/qmail-getpw chitta_local | tr '\0' '\n'

The qmail-getpw man page explains the criteria that a user account
must meet in order to be a valid mail user.

-Dave


chitta at cse

Feb 27, 2002, 11:23 AM

Post #8 of 14 (2979 views)
Permalink
Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [In reply to]

On Wed, 27 Feb 2002, marvin wrote:

> marvin writes:
...
> > Aagh, I see. You are limited to 8 characters in the username. If you send
> > a mail to chitta_l it will very likely go through (try it please).
> >
> > Solutions...I don`t know. Have you checked the archives or would someone
> > else want to comment.
> >
> > What OS are you using ?
> >
> > Regards...
>
> Now that was silly. Create an alias.
But what is the file/directory that is not being found?
I am probably dealing with the simplest of all cases -- a user sending mail
to himself.

BTW...
$ grep chitta_local /var/qmail/users/assign
=chitta_local:chitta_local:5002:501:/users/chitta_local:::
+chitta_local-:chitta_local:5002:501:/users/chitta_local:-::

I don't know whether this is normal.
These lines got in there without my doing.

Regards,
Chitta


chitta at cse

Feb 27, 2002, 12:00 PM

Post #9 of 14 (2976 views)
Permalink
Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [In reply to]

On Wed, 27 Feb 2002, Dave Sill wrote:

> >What mailbox was expected to be present?
>
> The "chitta_local" mailbox, of course. In this sense, a mailbox is the
> part of an address left of the at-sign (@). This error means that
> chitta_local isn't a valid user or alias.
>
> The first question is whether you're using the qmail-users
> facility. If so, what's in your assign file?
$ grep chitta_local /var/qmail/users/assign
=chitta_local:chitta_local:5002:501:/users/chitta_local:::
+chitta_local-:chitta_local:5002:501:/users/chitta_local:-::
These lines were not put in there by me (or anyone else).

> If that's not the problem, look at qmail-getpw. What does the
> following say:
>
> /var/qmail/bin/qmail-getpw chitta_local | tr '\0' '\n'
$ /var/qmail/bin/qmail-getpw chitta_local | tr '\0' '\n'
chitta_local
5002
501
/users/chitta_local

>
> The qmail-getpw man page explains the criteria that a user account
> must meet in order to be a valid mail user.
$ id
uid=5002(chitta_local) gid=501(chitta_local) groups=501(chitta_local)
$ ls -ld ~chitta_local
drwx------ 11 chitta_l chitta_l 4096 Feb 27 23:15 /users/chitta_local/
$ ls -la ~chitta_local
total 104
drwx------ 11 chitta_l chitta_l 4096 Feb 27 23:15 ./
drwxr-x--x 3 root adm 4096 Feb 27 22:13 ../
-rw-r--r-- 1 chitta_l chitta_l 141 Dec 21 17:07 .mailcap
drwxr-xr-x 5 chitta_l chitta_l 4096 Feb 21 23:25 Maildir/
-rw-r--r-- 1 chitta_l chitta_l 11 Feb 27 21:57 .qmail
...
$ cat ~chitta_local/.qmail
./Maildir/

-Chitta


de5 at sws5

Feb 27, 2002, 12:10 PM

Post #10 of 14 (2986 views)
Permalink
Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [In reply to]

[Please don't CC me.]

Chittaranjan Mandal <chitta [at] cse> wrote:

>> The first question is whether you're using the qmail-users
>> facility. If so, what's in your assign file?
>
>$ grep chitta_local /var/qmail/users/assign
>=chitta_local:chitta_local:5002:501:/users/chitta_local:::
>+chitta_local-:chitta_local:5002:501:/users/chitta_local:-::
>
>These lines were not put in there by me (or anyone else).

Hmm. Maybe you have qmail-pw2u/qmail-newu hooked into your
adduser/useradd somehow. Who installed qmail? How?

>$ /var/qmail/bin/qmail-getpw chitta_local | tr '\0' '\n'
>chitta_local
>5002
>501
>/users/chitta_local

OK, looks good. However, since chitta_local is listed in assign, that
information will be used--provided cdb is up-to-date. However again,
the assign information is the same as the qmail-getpw information, so
it may not matter.

>$ ls -ld ~chitta_local
>drwx------ 11 chitta_l chitta_l 4096 Feb 27 23:15 /users/chitta_local/

According to the qmail-getpw man page, the user's home directory has
to be visible to qmail-getpw, which runs as user qmailp. I'm not sure
offhand if the same rules apply with qmail-users, but a quick "chmod
+rx ~chitta_local" might be in order.

-Dave


qmail at discworld

Feb 27, 2002, 12:15 PM

Post #11 of 14 (2975 views)
Permalink
Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [In reply to]

Dave Sill <de5 [at] sws5> wrote:

> >These lines were not put in there by me (or anyone else).
>
> Hmm. Maybe you have qmail-pw2u/qmail-newu hooked into your
> adduser/useradd somehow. Who installed qmail? How?

Bruce Guenter's qmail-1.03+patches SRPM includes the above in an hourly cron
job. That's a likely candidate.

> >drwx------ 11 chitta_l chitta_l 4096 Feb 27 23:15 /users/chitta_local/
>
> According to the qmail-getpw man page, the user's home directory has
> to be visible to qmail-getpw, which runs as user qmailp. I'm not sure
> offhand if the same rules apply with qmail-users, but a quick "chmod
> +rx ~chitta_local" might be in order.

What about the ownership and permissions of /users?

Charles
--
-----------------------------------------------------------------------
Charles Cazabon <qmail [at] discworld>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------


chitta at cse

Mar 1, 2002, 2:15 AM

Post #12 of 14 (2984 views)
Permalink
Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [In reply to]

Local users are receiving mails now.
But NIS users are not receiving mails.
Instead NIS users get the following problem in the log:
deferral: Temporary_error_on_maildir_delivery._(#4.3.0)
What problem is this?

@400000003c7e88450905900c new msg 373916
@400000003c7e88450905a77c info msg 373916: bytes 301 from <chitta_local [at] nis-slave-3> qp 21447 uid 5002
@400000003c7e884513f1d7b4 starting delivery 89: msg 373916 to local chitta [at] nis-slave-3
@400000003c7e884513f1f6f4 status: local 1/20 remote 0/90
@400000003c7e88451411f65c delivery 89: deferral: Temporary_error_on_maildir_delivery._(#4.3.0)/
@400000003c7e88451412159c status: local 0/20 remote 0/90


On Wed, 27 Feb 2002, Charles Cazabon wrote:

> > Hmm. Maybe you have qmail-pw2u/qmail-newu hooked into your
> > adduser/useradd somehow. Who installed qmail? How?
rpm -Uvh checkpassword-0.90-2mdk.i586.rpm fastforward-0.51-5mdk.i586.rpm ucspi-tcp-0.88-3mdk.i586.rpm daemontools-0.76-3mdk.i586.rpm qmail-1.03-16mdk.i586.rpm dot-forward-0.71-2mdk.i586.rpm
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Bruce Guenter's qmail-1.03+patches SRPM includes the above in an hourly cron
> job. That's a likely candidate.
------------------------ /etc/cron.hourly/qmail ---------------------------
#!/bin/sh
/var/qmail/bin/qmail-pw2u </etc/passwd >/var/qmail/users/assign && /var/qmail/bin/qmail-newu
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > >drwx------ 11 chitta_l chitta_l 4096 Feb 27 23:15 /users/chitta_local/
> >
> > According to the qmail-getpw man page, the user's home directory has
> > to be visible to qmail-getpw, which runs as user qmailp. I'm not sure
> > offhand if the same rules apply with qmail-users, but a quick "chmod
> > +rx ~chitta_local" might be in order.
# chmod +rx ~chitta_local/
# ls -l /users
drwxr-xr-x 11 chitta_l chitta_l 4096 Feb 27 23:15 chitta_local/
> What about the ownership and permissions of /users?
# ls -ld /users
drwxr-xr-x 3 root adm 4096 Feb 27 22:13 /users/
$ ls -ld /users/chitta_local/
drwx------ 11 chitta_l chitta_l 4096 Feb 27 23:15 /users/chitta_local/


Chitta


aho-djb-qmail at 03s

Mar 1, 2002, 4:52 AM

Post #13 of 14 (2977 views)
Permalink
Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [In reply to]

On Fri, Mar 01, 2002 at 02:45:28PM +0530, Chittaranjan Mandal wrote:
> Local users are receiving mails now.
> But NIS users are not receiving mails.

I assume from what you posted that all NIS users' home directories are
on an automounted NFS partition, while local users are stricly housed on
the local hard disk?

> Instead NIS users get the following problem in the log:
> deferral: Temporary_error_on_maildir_delivery._(#4.3.0)
> What problem is this?

Could be a lot of things, mostly connected with NFS. Check your system
logs to see if there's any NFS-related failures, or any other indication
why writes to those maildirs fail.

--
Adrian Ho Tinker, Drifter, Fixer, Bum aho-djb-qmail [at] 03s
ListArchive: <http://marc.theaimsgroup.com/?l=qmail>
Useful URLs: <http://cr.yp.to/qmail.html> <http://www.qmail.org>
<http://www.lifewithqmail.org/> <http://qmail.faqts.com/>


jens at bruger

Dec 28, 2011, 8:32 AM

Post #14 of 14 (2995 views)
Permalink
Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [In reply to]

Hi Nishi,

Did you remember to run /var/qmail/bin/qmail-newu after adding the user to 'assign' ?


Love,
Jens

On Mon, 26 Dec 2011 14:19:23 +0000, nkapoor [at] webrachna wrote:
> I recently created another domain (D02.com) on my VPS...just
> identical to the one I had before (D01.com)
>
> However, all the emails to admin [at] D0 are/were going on fine but the
> mails to admin [at] D0 are failing due to
> "Sorry,_no_mailbox_here_by_that_name._(#5.1.1)".
>
> [root [at] vp qmail]# printf
> 'from:admin [at] D01\nto:admin [at] D02\nsubject:adminD01_to_adminD02\nmsg'
> | /usr/local/qmail/bin/qmail-inject
>
> @400000004ef87ae2254d7dec new msg 73564229
> @400000004ef87ae2254d89a4 info msg 73564229: bytes 243 from
> <root [at] D01> qp 32530 uid 0
> @400000004ef87ae225c7610c starting delivery 1382: msg 73564229 to
> local D02.com-admin [at] D02
> @400000004ef87ae225c76cc4 status: local 1/10 remote 0/20
> @400000004ef87ae225edb58c delivery 1382: failure:
> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
> @400000004ef87ae225edbd5c status: local 0/10 remote 0/20
> @400000004ef87ae22637ce4c bounce msg 73564229 qp 32555
> @400000004ef87ae22637d234 end msg 73564229
> @400000004ef87ae2263b970c new msg 73564255
> @400000004ef87ae2263b9af4 info msg 73564255: bytes 792 from <> qp
> 32555 uid 206
> @400000004ef87ae226d8252c starting delivery 1383: msg 73564255 to
> local D01.com-root [at] D01
> @400000004ef87ae226d82cfc status: local 1/10 remote 0/20
> @400000004ef87ae2271a9114 delivery 1383: failure:
> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
> @400000004ef87ae2271a98e4 status: local 0/10 remote 0/20
> @400000004ef87ae227635dcc bounce msg 73564255 qp 32562
> @400000004ef87ae22763e684 end msg 73564255
> @400000004ef87ae22766539c new msg 73564244
> @400000004ef87ae22766b15c info msg 73564244: bytes 1257 from <#@[]>
> qp 32562 uid 206
> @400000004ef87ae227ad3fdc starting delivery 1384: msg 73564244 to
> local D01.com-postmaster [at] D01
> @400000004ef87ae227ad72a4 status: local 1/10 remote 0/20
> @400000004ef87ae316c89694 delivery 1384: success: did_0+0+1/
> @400000004ef87ae316c9fa0c status: local 0/10 remote 0/20
> @400000004ef87ae316d72cf4 end msg 73564244
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Both D01.com and D02 are set up identical but qmail still thinks
> mailbox for admin [at] D02 does not exist. Can anyone please some shed
> light on this?
>
> Qmail is installed in /usr/local/qmail dir. Here is some more info:
>
> /usr/local/qmail/users/assign:
> ------------------------------
> +D01.com-:D01.com:1011:1011:/home/lxadmin/mail/domains/D01.com:-::
> +D02.com-:D02.com:1011:1011:/home/lxadmin/mail/domains/D02.com:-::
>
> [root [at] vp qmail]# ll /home/lxadmin/mail/domains/D01.com/
> -rw-r--r-- 1 nkapoor nkapoor 11 Dec 26 2010 .qmail
> -rw------- 1 nkapoor nkapoor 59 Apr 7 2010 .qmail-default
> drwx------ 4 nkapoor nkapoor 4096 Dec 27 2010 admin
>
> [root [at] vp qmail]# cat /home/lxadmin/mail/domains/D01.com/.qmail
> ./Maildir/
>
> [root [at] vp qmail]# cat /home/lxadmin/mail/domains/D01.com/.qmail-default
> | /home/lxadmin/mail/bin/vdelivermail '' bounce-no-mailbox
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> [root [at] vp qmail]# ll /home/lxadmin/mail/domains/D02.com/
> -rw-r--r-- 1 nkapoor nkapoor 11 Dec 26 2010 .qmail
> -rw------- 1 nkapoor nkapoor 59 Dec 8 03:40 .qmail-default
> drwx------ 4 nkapoor nkapoor 4096 Dec 22 19:46 admin
>
> [root [at] vp qmail]# cat /home/lxadmin/mail/domains/D02.com/.qmail
> ./Maildir/
>
> [root [at] vp qmail]# cat /home/lxadmin/mail/domains/D02.com/.qmail-default
> | /home/lxadmin/mail/bin/vdelivermail '' bounce-no-mailbox
>
> Thanks,
> Nishi
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.