Re: Creating new users with an old name: deferral: Unable_to_switch_to_/home/phr:_access_denied._(#4.3.0)/

Philip Rhoades <[email protected]> Fri, 22 Mar 2019 05:19:12 +1100
Newsgroups gmane.mail.qmail.general
Message-ID <[email protected]>
Abdullah,


On 2019-03-14 23:31, Abdullah Ülker wrote:
> ~# id user
> 
> compare file with
> cat /var/qmai/users/assign


That's it!  All the stuff in users is old - I renamed that dir and 
created a new empty one and mails started getting delivered!

Many thanks!

Regards,

Phil.



> 14 Mart 2019 15:19:49 Philip Rhoades <[email protected]> yazdı:
> 
>> Abdullah,
>> 
>> 
>> On 2019-03-14 22:27, Abdullah Ülker wrote:
>>> Are you using vpopmail ?
>> 
>> 
>> No.
>> 
>> P.
>> 
>> 
>> 
>>> 14 Mart 2019 10:43:47 Philip Rhoades <[email protected]> yazdı:
>>> 
>>>> People,
>>>> 
>>>> I had to do a lot of housecleaning on my server and now when trying 
>>>> to
>>>> create a new user with a name that has existed previously and then
>>>> mailing that user locally I get this:
>>>> 
>>>> @400000005c8a03630d6c68b4 delivery 13: deferral:
>>>> Unable_to_switch_to_/home/phr:_access_denied._(#4.3.0)/
>>>> @400000005c8a03630d6c7084 status: local 0/10 remote 0/20
>>>> 
>>>> If I create a new user with a name that has never existed before, 
>>>> then
>>>> the user receives mail as normal - there are no difference in
>>>> permissions etc on the Maildirs for each type of new user.
>>>> 
>>>> I have made sure there are no issues with these files by cleaning 
>>>> out
>>>> old stuff before creating the new user:
>>>> 
>>>> /var/spool/mail/reused_old_user_name
>>>> /home/reused_old_user_name
>>>> /etc/subgid
>>>> /etc/subuid
>>>> /etc/passwd
>>>> /etc/shadow
>>>> /etc/group
>>>> /etc/gshadow
>>>> 
>>>> - what else could be causing this problem?
>>>> 
>>>> Thanks,
>>>> 
>>>> Phil.
>>>> --
>>>> Philip Rhoades
>>>> 
>>>> PO Box 896
>>>> Cowra  NSW  2794
>>>> Australia
>>>> E-mail:  [email protected]
>> 
>> --
>> Philip Rhoades
>> 
>> PO Box 896
>> Cowra  NSW  2794
>> Australia
>> E-mail:  [email protected]

-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  [email protected]