Auth-worker, Unknown User
Stephen R Guglielmo
srguglielmo at gmail.com
Fri Apr 24 21:22:49 UTC 2015
On Fri, 24 Apr 2015 18:54:55 +0000
Pascal Volk <user+dovecot at localhost.localdomain.org> wrote:
> On 04/24/2015 03:55 PM, Stephen R Guglielmo wrote:
> > Hi list,
> >
> > I'm running Debian Jessie (8). I have Postfix and Dovecot working
> > successfully. I attempted to setup LMTP in order to enable sieve
> > support, but it seems I was not successful. Dovecot version 2.2.13.
> >
> > Postfix accepts an incoming test mail I sent, then tries to deliver
> > it to Dovecot via LMTP:
> >
> > dovecot: lmtp(13493): Connect from local
> > dovecot: auth-worker(13495): pam(srg at example.com): unknown user
> > dovecot: lmtp(13493): Disconnect from local: Successful quit
> >
> > Postfix then bounces my mail with a "550 User doesn't exist." It
> > seems that Dovecot is trying to lookup my whole address
> > (srg at example.com) in PAM instead of just the username ("srg"),
> > which does exist. What can I do to avoid this?
> >
> > I have searched the internet about this and found a few references
> > to "args = %s" and "args = username_format=%n" for passdb and/or
> > userdb, but I have tried both (restarting Dovecot) to no avail.
> >
> > Thank you!
> >
> > `doveconf -n` below:
> >
> > # 2.2.13: /etc/dovecot/dovecot.conf
> > # OS: Linux 2.6.32-042stab103.6 x86_64 Debian 8.0
> > auth_verbose = yes
> > ...
> > passdb {
> > driver = pam
> > }
> > ...
> > userdb {
> > driver = passwd
> > }
> > ...
>
> Since you only have local (system) users, you should be able to solve
> the problem by setting:
>
> auth_username_format = %Ln
>
> in your /etc/dovecot/conf.d/10-auth.conf
>
>
> Regards,
> Pascal
That was the solution! Thank you very much, Pascal!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20150424/dbe27976/attachment-0001.sig>
More information about the dovecot
mailing list