Postfix/dovecot: user unrecognized, file permissions being misread

Edgar Pettijohn edgar at pettijohn-web.com
Wed Jul 6 04:30:14 UTC 2016



Sent from my iPhone

> On Jul 5, 2016, at 8:36 PM, C. Andrews Lavarre <alavarre at gmail.com> wrote:
> 
> Hello all. Thanks to Edgar for the below, but we still have a
> curiosity:
>> On Sun, 2016-07-03 at 17:31 -0500, Edgar Pettijohn wrote:
>>> On 16-07-03 18:17:48, C. Andrews Lavarre wrote:
>>>> On Sun, 2016-07-03 at 15:56 -0500, Edgar Pettijohn wrote:
>>>> doveconf -n would be helpful
>> Double check me, but I think you only want (1) passdb {} block.
>> ...
>> Same here (userdb {)
> Agree on both, thank you. There are a huge number of files expressing p
> assdb { and userdb { but most are commented out.
> The undesirables were from conf.d/auth-system.conf.ext that I have now
> entirely commented out, since we are not using system users.
> 
>> (and make sure driver = "passdb driver".
> 
> Presumably this means in auth-passwd-file.conf.ext:
>>    > userdb {
>>        >   driver = passdb driver
> This was commented out.
> I changed it as you say, but it doesn't like it:
>    auth: Fatal: Unknown userdb driver 'passdb driver'
> 
> so I changed it back to
> 
>    driver = passwd-file
> 
Just meant to use the correct driver.


> Now we have no dovecot.log errors, except:
>    The reported error was "IMAP server said BYE: Disconnected:
> Auth process broken

Make sure your passdb and userdb are formatted correctly and can be found where you are telling dovecot they are. Also make sure dovecot was compiled with passwd-file as an option. I think it is unless specifically removed, but double check.

> Tomorrow is another day. 
> I attach the 
> lavarre:/etc/dovecot # doveconf -n >lavarre-160705_conf.txt
> 
> 
> Thank you again.
> Kind regards, Andy
> <lavarre-160705_conf.txt>



More information about the dovecot mailing list