Auth-worker, Unknown User

Pascal Volk user+dovecot at localhost.localdomain.org
Fri Apr 24 18:54:55 UTC 2015


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
-- 
The trapper recommends today: c01dcofe.1511401 at localdomain.org


More information about the dovecot mailing list