[Dovecot] Postfix/Dovecot/lmtp with virtual and local users

David Obando david at cryptix.de
Thu Mar 21 16:10:22 EET 2013

Hi all,

I'm about to change my Debian mailserver setup from
Postfix/dovecot1/procmail to Postfix/dovecot2/sieve with lmtp enabled.
After enabling lmtp the virtual users can receive e-mails but not the
local users:

Mar 21 14:21:40 orange postfix/lmtp[4119]: DE62226216:
to=<user at orange.domain.de>,
relay=orange.domain.de[private/dovecot-lmtp], delay=7627,
delays=7627/0/0/0.02, dsn=5.1.1, status=bounced (host
orange.domain.de[private/dovecot-lmtp] said: 550 5.1.1
<user at orange.domain.de> User doesn't exist: user at orange.domain.de (in
reply to RCPT TO command))

In 10-auth.conf I have the setting "auth_username_format = %Lu".

When changing it to "auth_username_format = %n" the local users can be
found but not the virtual users anymore.

Is there a way to define "if <user> is local then auth_username_format =
%n else auth_username_format = %Lu"?

Thanks and best regards,

The day microsoft makes something that doesn't suck is the day they start making vacuum cleaners.
gpg --keyserver pgp.mit.edu --recv-keys 1920BD87
Key fingerprint = 3326 32CE 888B DFF1 DED3  B8D2 105F 29CB 1920 BD87

More information about the dovecot mailing list