lmtp usernames with -
Hello
I have a problem with lmtp delivery to usernames with '-' char. Everythong after - is ignored.
when delivering to test-test2 the error message is.
User doesn't exist: test
I suspect this is a sideefect of auth_username_format = %Lu I have tried %Ln without success.
Imap works without problems for those users.
How can I disable this mapping for lmtp and use verbatim username for lookup.
Thanks in advance for any answers.
2014-12-19 8:27 GMT+01:00 Lazy <lazy404@gmail.com>:
We are using lmtp proxing but the username is passed verbatim to backend by the director.
the recipient was test_user-test2
on director
Dec 19 09:03:36 thebe2b dovecot: lmtp(12272): Debug: auth input: user=test_user proxy=y nopassword=<hidden> port=24 host=10.0.100.21 proxy_refresh=450
on backend Dec 19 09:03:36 dovecot1 dovecot: auth: Debug: master in: USER#0111#011test_user#011service=lmtp#011lip=10.0.100.21#011lport=24#011rip=10.0.100.3#011rport=40001
but in the director sends full login to lmtp backend RCPT TO:<test_user-test2>
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
so it contains the - char
Michal Grzedzicki
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 19 Dec 2014, Lazy wrote:
some MTAs use '-' as delimiter for details (subaddress). http://cweiske.de/tagebuch/postfix-plus-addressing.htm
Maybe you've configured Dovecot like so.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBVJPgTHz1H7kL/d9rAQL65wf+LPYJn/Hw6Zt64pR5u/Nyq0QYFWa0wBkf f59Cb/6nX0AFqVeYTiCtCmmSialzaRfEJL9QDwE+lyhD8SWtWET3xOPCBrG8d1PX n1NQ0t2yJXOnMZaONCqakj4q+gjR7e0wpxPUySQWIE6Jmdz75fI0CWFUTJdrVMsv Ag0toWsF8C82uuoVx/3PsLNkVoxaYcKtVdRV8leCkGF1JWpbLE200Dck0tNm7BSx y1QCAz5dzUt1pKUoIbmnGs3jmCkfPq7mCvNok6KzYuwP2e2yAUD+45OindxZNNz0 bGBpGw7I8uXleJuYi1od3W5Qxb2rwyX3m9u3jsJym5PrBo0YdZza9A== =+uh2 -----END PGP SIGNATURE-----
participants (2)
-
Lazy
-
Steffen Kaiser