On 30 Jan 2019, at 10:57 am, Stephan Bosch <stephan at rename-it.nl <mailto:stephan at rename-it.nl>> wrote:> > Op 30/01/2019 om 00:06 schreef James Brown via dovecot: >> >>> On 30 Jan 2019, at 9:24 am, Stephan Bosch <stephan at rename-it.nl <mailto:stephan at rename-it.nl>> wrote: >>> >>> >>> >>> Op 29/01/2019 om 01:51 schreef James Brown via dovecot: >>>> I?ve set up a new mail server. Auth-worker is giving me this error all the time: >>>> >>>> auth-worker(11160): Info: passwd(sales at bordo.com.au <mailto:sales at bordo.com.au> <mailto:sales at bordo.com.au <mailto:sales at bordo.com.au>>,10.0.0.54,<YSFoAYHAGoLAqAEo>): unknown user - trying the next userdb >>>> >>> That is not an error. As the "Info: " prefix indicates, this is an innocuous informational message. >>> >>> Regards, >>> >>> Stephan. >>> >> Thanks Stephan. >> >> I know it?s not a major thing, it?s just that it is every third line of my log. >> >> Ie I get the auth-worker unknown user, then successful imap-login, then the imap logout. >> >> So I?m just trying to figure out what is causing the auth-worker lookup failure so I can fix it. I did not have this in my old mail server, just the new one I?ve setup. >> >> Is it a database issue or a Dovecot config issue? If so where? > > ?ou can enable auth_verbose and auth_debug to get an idea what Dovecot is doing. You should post your `dovecot -n` to get more help on this issue. > > Regards, > > Stephan.Will look at auth_debug. It is a lot to go through! My settings: $ sudo dovecot -n Password: # 2.3.4 (0ecbaf23d): /usr/local/etc/dovecot/dovecot.conf # OS: Darwin 18.2.0 x86_64 apfs # Hostname: mail.bordo.com.au <http://mail.bordo.com.au/> auth_debug = yes auth_verbose = yes auth_verbose_passwords = plain default_internal_user = jlbrown default_login_user = jlbrown first_valid_gid = 0 first_valid_uid = 102 last_valid_gid = 501 last_valid_uid = 105 log_path = /var/log/dovecot.log mail_gid = 102 mail_location = maildir:/usr/local/virtual/%d/%u mail_uid = 102 namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { args = /usr/local/etc/dovecot/dovecot-sql.conf.ext driver = sql } protocols = imap pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = _postfix mode = 0660 user = _postfix } unix_listener auth-userdb { mode = 0660 user = _vmail } } service imap-login { process_limit = 512 } service stats { fifo_listener stats-mail { mode = 0666 } fifo_listener stats-user { mode = 0666 } unix_listener stats-writer { mode = 0666 } } ssl_cert = </usr/local/etc/dovecot/mail.bordo.com.au.pem ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it userdb { driver = passwd } userdb { driver = prefetch } userdb { args = /usr/local/etc/dovecot/dovecot-sql.conf.ext driver = sql } -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190130/0a671a41/attachment-0001.html>
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> <br> </div> <blockquote type="cite"> <div> On 30 January 2019 at 06:37 James Brown via dovecot < <a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> On 30 Jan 2019, at 10:57 am, Stephan Bosch < <a href="mailto:stephan@rename-it.nl">stephan@rename-it.nl</a> <mailto: <a href="mailto:stephan@rename-it.nl">stephan@rename-it.nl</a>>> wrote: </div> <blockquote type="cite"> <div> Op 30/01/2019 om 00:06 schreef James Brown via dovecot: </div> <blockquote type="cite"> <blockquote type="cite"> <div> On 30 Jan 2019, at 9:24 am, Stephan Bosch < <a href="mailto:stephan@rename-it.nl">stephan@rename-it.nl</a> <mailto: <a href="mailto:stephan@rename-it.nl">stephan@rename-it.nl</a>>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> Op 29/01/2019 om 01:51 schreef James Brown via dovecot: </div> <blockquote type="cite"> <div> I’ve set up a new mail server. Auth-worker is giving me this error all the time: </div> <div> <br> </div> <div> auth-worker(11160): Info: passwd( <a href="mailto:sales@bordo.com.au">sales@bordo.com.au</a> <mailto: <a href="mailto:sales@bordo.com.au">sales@bordo.com.au</a>> <mailto: <a href="mailto:sales@bordo.com.au">sales@bordo.com.au</a> <mailto: <a href="mailto:sales@bordo.com.au">sales@bordo.com.au</a>>>,10.0.0.54,<YSFoAYHAGoLAqAEo>): unknown user - trying the next userdb </div> <div> <br> </div> </blockquote> <div> That is not an error. As the "Info: " prefix indicates, this is an innocuous informational message. </div> <div> <br> </div> <div> Regards, </div> <div> <br> </div> <div> Stephan. </div> <div> <br> </div> </blockquote> <div> Thanks Stephan. </div> <div> <br> </div> <div> I know it’s not a major thing, it’s just that it is every third line of my log. </div> <div> <br> </div> <div> Ie I get the auth-worker unknown user, then successful imap-login, then the imap logout. </div> <div> <br> </div> <div> So I’m just trying to figure out what is causing the auth-worker lookup failure so I can fix it. I did not have this in my old mail server, just the new one I’ve setup. </div> <div> <br> </div> <div> Is it a database issue or a Dovecot config issue? If so where? </div> </blockquote> <div> Ýou can enable auth_verbose and auth_debug to get an idea what Dovecot is doing. You should post your `dovecot -n` to get more help on this issue. </div> <div> <br> </div> <div> Regards, </div> <div> <br> </div> <div> Stephan. </div> </blockquote> <div> Will look at auth_debug. It is a lot to go through! </div> <div> <br> </div> <div> My settings: </div> <div> <br> </div> <div> $ sudo dovecot -n </div> <div> Password: </div> <div> # 2.3.4 (0ecbaf23d): /usr/local/etc/dovecot/dovecot.conf </div> <div> # OS: Darwin 18.2.0 x86_64 apfs </div> <div> # Hostname: mail.bordo.com.au < <a href="http://mail.bordo.com.au/" rel="noopener" target="_blank">http://mail.bordo.com.au/</a>> </div> <div> auth_debug = yes </div> <div> auth_verbose = yes </div> <div> auth_verbose_passwords = plain </div> <div> default_internal_user = jlbrown </div> <div> default_login_user = jlbrown </div> <div> first_valid_gid = 0 </div> <div> first_valid_uid = 102 </div> <div> last_valid_gid = 501 </div> <div> last_valid_uid = 105 </div> <div> log_path = /var/log/dovecot.log </div> <div> mail_gid = 102 </div> <div> mail_location = maildir:/usr/local/virtual/%d/%u </div> <div> mail_uid = 102 </div> <div> namespace inbox { </div> <div> inbox = yes </div> <div> location </div> <div> mailbox Drafts { </div> <div> special_use = \Drafts </div> <div> } </div> <div> mailbox Junk { </div> <div> special_use = \Junk </div> <div> } </div> <div> mailbox Sent { </div> <div> special_use = \Sent </div> <div> } </div> <div> mailbox "Sent Messages" { </div> <div> special_use = \Sent </div> <div> } </div> <div> mailbox Trash { </div> <div> special_use = \Trash </div> <div> } </div> <div> prefix </div> <div> } </div> <div> passdb { </div> <div> args = /usr/local/etc/dovecot/dovecot-sql.conf.ext </div> <div> driver = sql </div> <div> } </div> <div> protocols = imap pop3 </div> <div> service auth { </div> <div> unix_listener /var/spool/postfix/private/auth { </div> <div> group = _postfix </div> <div> mode = 0660 </div> <div> user = _postfix </div> <div> } </div> <div> unix_listener auth-userdb { </div> <div> mode = 0660 </div> <div> user = _vmail </div> <div> } </div> <div> } </div> <div> service imap-login { </div> <div> process_limit = 512 </div> <div> } </div> <div> service stats { </div> <div> fifo_listener stats-mail { </div> <div> mode = 0666 </div> <div> } </div> <div> fifo_listener stats-user { </div> <div> mode = 0666 </div> <div> } </div> <div> unix_listener stats-writer { </div> <div> mode = 0666 </div> <div> } </div> <div> } </div> <div> ssl_cert = </usr/local/etc/dovecot/mail.bordo.com.au.pem </div> <div> ssl_dh = # hidden, use -P to show it </div> <div> ssl_key = # hidden, use -P to show it </div> <div> userdb { </div> <div> driver = passwd </div> <div> } </div> <div> userdb { </div> <div> driver = prefetch </div> <div> } </div> <div> userdb { </div> <div> args = /usr/local/etc/dovecot/dovecot-sql.conf.ext </div> <div> driver = sql </div> <div> } </div> </blockquote> <div> <br> </div> <div> Well... there is that usetdb passwd which seems bit extraneous. </div> <div class="io-ox-signature"> --- <br>Aki Tuomi </div> </body> </html>
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> <br> </div> <blockquote type="cite"> <div> On 30 January 2019 at 07:12 James Brown < <a href="mailto:jlbrown@bordo.com.au">jlbrown@bordo.com.au</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> >> My settings: </div> <div> >> </div> <div> >> $ sudo dovecot -n </div> <div> >> Password: </div> <div> >> # 2.3.4 (0ecbaf23d): /usr/local/etc/dovecot/dovecot.conf </div> <div> >> # OS: Darwin 18.2.0 x86_64 apfs </div> <div> >> # Hostname: mail.bordo.com.au < <a href="http://mail.bordo.com.au/" rel="noopener" target="_blank">http://mail.bordo.com.au/</a>> < <a href="http://mail.bordo.com.au/" rel="noopener" target="_blank">http://mail.bordo.com.au/</a> < <a href="http://mail.bordo.com.au/>" rel="noopener" target="_blank" data-mce-href="http://mail.bordo.com.au/">">http://mail.bordo.com.au/></a>> </div> <div> >> auth_debug = yes </div> <div> >> auth_verbose = yes </div> <div> >> auth_verbose_passwords = plain </div> <div> >> default_internal_user = jlbrown </div> <div> >> default_login_user = jlbrown </div> <div> >> first_valid_gid = 0 </div> <div> >> first_valid_uid = 102 </div> <div> >> last_valid_gid = 501 </div> <div> >> last_valid_uid = 105 </div> <div> >> log_path = /var/log/dovecot.log </div> <div> >> mail_gid = 102 </div> <div> >> mail_location = maildir:/usr/local/virtual/%d/%u </div> <div> >> mail_uid = 102 </div> <div> >> namespace inbox { </div> <div> >> inbox = yes </div> <div> >> location </div> <div> >> mailbox Drafts { </div> <div> >> special_use = \Drafts </div> <div> >> } </div> <div> >> mailbox Junk { </div> <div> >> special_use = \Junk </div> <div> >> } </div> <div> >> mailbox Sent { </div> <div> >> special_use = \Sent </div> <div> >> } </div> <div> >> mailbox "Sent Messages" { </div> <div> >> special_use = \Sent </div> <div> >> } </div> <div> >> mailbox Trash { </div> <div> >> special_use = \Trash </div> <div> >> } </div> <div> >> prefix </div> <div> >> } </div> <div> >> passdb { </div> <div> >> args = /usr/local/etc/dovecot/dovecot-sql.conf.ext </div> <div> >> driver = sql </div> <div> >> } </div> <div> >> protocols = imap pop3 </div> <div> >> service auth { </div> <div> >> unix_listener /var/spool/postfix/private/auth { </div> <div> >> group = _postfix </div> <div> >> mode = 0660 </div> <div> >> user = _postfix </div> <div> >> } </div> <div> >> unix_listener auth-userdb { </div> <div> >> mode = 0660 </div> <div> >> user = _vmail </div> <div> >> } </div> <div> >> } </div> <div> >> service imap-login { </div> <div> >> process_limit = 512 </div> <div> >> } </div> <div> >> service stats { </div> <div> >> fifo_listener stats-mail { </div> <div> >> mode = 0666 </div> <div> >> } </div> <div> >> fifo_listener stats-user { </div> <div> >> mode = 0666 </div> <div> >> } </div> <div> >> unix_listener stats-writer { </div> <div> >> mode = 0666 </div> <div> >> } </div> <div> >> } </div> <div> >> ssl_cert = </usr/local/etc/dovecot/mail.bordo.com.au.pem </div> <div> >> ssl_dh = # hidden, use -P to show it </div> <div> >> ssl_key = # hidden, use -P to show it </div> <div> >> userdb { </div> <div> >> driver = passwd </div> <div> >> } </div> <div> >> userdb { </div> <div> >> driver = prefetch </div> <div> >> } </div> <div> >> userdb { </div> <div> >> args = /usr/local/etc/dovecot/dovecot-sql.conf.ext </div> <div> >> driver = sql </div> <div> >> } </div> <blockquote type="cite"> <div> Well... there is that usetdb passwd which seems bit extraneous. </div> <div> --- </div> <div> Aki Tuomi </div> </blockquote> <div> Thanks Aki. </div> <div> <br> </div> <div> So just get rid of the: </div> <div> <br> </div> <div> passdb { </div> <div> args = /usr/local/etc/dovecot/dovecot-sql.conf.ext </div> <div> driver = sql </div> <div> } </div> <div> <br> </div> <div> Section? </div> <div> <br> </div> <div> James. </div> </blockquote> <div> <br> </div> <div> <div style="font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif; font-size: 13px;"> I'd remove the </div> <div style="font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif; font-size: 13px;"> <br> </div> <div style="font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif; font-size: 13px;"> <div class="" style="color: rgb(40, 63, 115);"> userdb { </div> <div class="" style="color: rgb(40, 63, 115);"> driver = passwd </div> <div class="" style="color: rgb(40, 63, 115);"> } </div> <div class="" style="color: rgb(40, 63, 115);"> <br> </div> <div class="" style="color: rgb(40, 63, 115);"> section </div> </div> </div> <div class="io-ox-signature"> --- <br>Aki Tuomi </div> </body> </html>
On 30 Jan 2019, at 4:35 pm, Aki Tuomi <aki.tuomi at open-xchange.com <mailto:aki.tuomi at open-xchange.com>> wrote:> >> >> On 30 January 2019 at 07:12 James Brown < jlbrown at bordo.com.au <mailto:jlbrown at bordo.com.au>> wrote: >> >> >> >> My settings: >> ... >> >> userdb { >> >> driver = passwd >> >> } >> >> userdb { >> >> driver = prefetch >> >> } >> >> userdb { >> >> args = /usr/local/etc/dovecot/dovecot-sql.conf.ext >> >> driver = sql >> >> } >>> Well... there is that usetdb passwd which seems bit extraneous. >>> --- >>> Aki Tuomi >> > I'd remove the > > userdb { > driver = passwd > } > > section > --- > Aki TuomiThanks Aki - the trick was finding where that setting was! Found it in auth-system.conf.ext. Commented it out and all works perfectly now. Thanks again Aki, James. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190130/34f9c187/attachment-0001.html>