Bob Hobbs <[EMAIL PROTECTED]> wrote:
> 
> The problem:  Whenever I send mail to a user on the system (via manual
> SMTP), it is queued but never delivered.  For each delivery attempt, the log
> shows:
> 
> ...deferral:Unable_to_switch_to_/home/bob:_access_denied._(#4.3.0)/
> 
> All the home directories have permissions 700 (drwx------).  However, even
> if I give full permissions on the directory and mailbox, the problem does
> not go away.

qmail switches UIDs to the user account before trying to deliver to it.
Therefore, if the message is for local user "bob", qmail (well, qmail-local
actually) becomes user "bob" before trying the delivery.

This message means that user bob was denied access to /home/bob (if you didn't
change anything to obscure info -- a nono, by the way).  What is the output of
the following command:

  ls -ld / /home /home/bob

?

> It also makes no difference whether I put a .qmail file in a user's home
> dir.

It won't, becuase qmail isn't getting that far before it fails.

> If anyone can help with this, it would be much appreciated.  If so, please
> cc the response to me, as I am not subscribed to this list.

You really should subscribe to the list if you want help from the list.  I
generally send the reply only to the list, but I'll make an exception this
time.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to