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>,10.0.0.54,<YSFoAYHAGoLAqAEo>): unknown user - trying the next userdb Next line is from imap-login with successful login. Using MySQL as user database. Auth-sql.comf.ext is: passdb { driver = sql # Path for SQL configuration file, see example-config/dovecot-sql.conf.ext args = /usr/local/etc/dovecot/dovecot-sql.conf.ext } # "prefetch" user database means that the passdb already provided the # needed information and there's no need to do a separate userdb lookup. # <doc/wiki/UserDatabase.Prefetch.txt> userdb { driver = prefetch } userdb { driver = sql args = /usr/local/etc/dovecot/dovecot-sql.conf.ext } # If you don't have any user-specific settings, you can avoid the user_query # by using userdb static instead of userdb sql, for example: # <doc/wiki/UserDatabase.Static.txt> #userdb { #driver = static #args = uid=vmail gid=vmail home=/var/vmail/%u #} Any ideas why it is gives me this error before logging in? Where should I look? Thanks, James. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190129/caa80a33/attachment.html>
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>,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.> Next line is from imap-login with successful login. > > Using MySQL as user database. > > Auth-sql.comf.ext is: > > passdb { > ? driver = sql > > ? # Path for SQL configuration file, see > example-config/dovecot-sql.conf.ext > ? args = /usr/local/etc/dovecot/dovecot-sql.conf.ext > } > > # "prefetch" user database means that the passdb already provided the > # needed information and there's no need to do a separate userdb lookup. > # <doc/wiki/UserDatabase.Prefetch.txt> > userdb { > ? driver = prefetch > } > > userdb { > ? driver = sql > ? args = /usr/local/etc/dovecot/dovecot-sql.conf.ext > } > > # If you don't have any user-specific settings, you can avoid the > user_query > # by using userdb static instead of userdb sql, for example: > # <doc/wiki/UserDatabase.Static.txt> > #userdb { > ? #driver = static > ? #args = uid=vmail gid=vmail home=/var/vmail/%u > #} > > Any ideas why it is gives me this error before logging in? Where > should I look? > > Thanks, > > James. >
> On 30 Jan 2019, at 9:24 am, Stephan Bosch <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>,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? Thanks, James.