[Dovecot] Email address with special characters in userdb

Arnon Weinberg arnon at back2front.ca
Mon Oct 14 08:24:45 EEST 2013


Hi,

I have a userdb file set up in passwd-file format containing the 
following entries:
 >doveadm user test1*test2 at test.com
test1-test2 at test.com
test1étest2 at test.com
test1 at test2@test.com
test1%test2 at test.com

I can access the 1st entry (no special characters) no problem:
 >doveadm user test1-test2 at test.com -f home
/var/vmail

The 2nd entry (using UTF-8 encoding) doesn't come up:
 >doveadm user test1étest2 at test.com -f home
userdb lookup: user test1étest2 at test.com doesn't exist

The 3rd entry does come up:
 >doveadm user test1 at test2@test.com -f home
/var/vmail
but Postfix escapes this case using quotes, and they don't work:
 >doveadm user '"'test1 at test2'"'@test.com
userdb lookup: user "test1 at test2"@test.com doesn't exist

The 4th entry does not come up at all:
 >doveadm user test1%test2 at test.com -f home
userdb lookup: user test1%test2 at test.com doesn't exist

I believe these are all valid characters for email addresses (per the 
RFC) except '@' (which ironically works without escaping).  How can I 
get them working?

 >dovecot --version
2.1.16


-- 

Arnon Weinberg
www.back2front.ca



More information about the dovecot mailing list