-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 10 Oct 2017, Andreas Born wrote:
For incoming mails via LMTP, my user_query from userdb is being executed with
I think from https://wiki2.dovecot.org/UserDatabase
you write user_query to accept any spellings of the user, I mean:
b...@example.org => user-1
e...@example.org => user-1
t...@example.org => user-2
@catchall.org => user-3
user-1 => user-1
^ no domain from passdb lookup
Then have the extra field "user=" return the correct user string "user-1"
along with its data. I'm sort of pretty sure, that I had such setup once
ago. Currently, I let the MTA map all email addresses into the user name,
your shown examples.
I mean, you have to avoid a scenario like:
passdb / userdb
b...@example.org => use...@example.net
use...@example.net => use...@example.net
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUBWd8VSHz1H7kL/d9rAQIYDAf/fJchwWIigPkDKfUl1L4v0JDERsNO0XiW
qu6ubfTTneCd+RvAgXcnT0xDalv2eptN/8ZHkocw2KyfhZBOQZqbThQE4BjE8bA3
QQvegMtndz5rVgN/YpTEUaSw4r2wxzzSg1NZdQs8zXwRx1XrtpGUnO0qa6vGB7Sg
Zq9zjWCXMUa5snF6D8oEbSdAQeNGAU9QaLloJXX9byzxC2BtRQv+EHv80ncayNfQ
eTmSOX9DjsSTas7AnA9RZF6bCRR6ewsOVkoMAi0m8Nt/RJ3IyjvNlClLmCjkB4GO
L6mstfdarQ51vIttbwJAi3hmWk5rUO66xEGjVBGNqDcKgR9fSBe4Tg==
=8xoS
-----END PGP SIGNATURE-----