[Dovecot] % in Usernames (dovecot 1.1.18)
Pascal Volk
user+dovecot at localhost.localdomain.org
Tue Aug 11 16:52:46 EEST 2009
On 08/11/2009 09:25 AM Michal Hlavinka wrote:
> Hi,
>
> I'm forwarding feature request from one Fedora user:
>
> <snip>
> Shortly before suicide after migration to dbmail/postfix from Eudora Mailserver
> because we use % in Usernames as fallback and Apple-Mail does no Plaintext-
> Auth if CRAM-MD% was used before i installed dovecot as proxy
>
> BUT it allows no % in Username
> Please could be the following patch included?
>
> --- dovecot-1.1.18/src/master/master-settings.c 2009-07-27 03:56:32.000000000
> +0200
> +++ dovecot-1.1.18-patched/src/master/master-settings.c 2009-08-10
> 22:57:09.728065279 +0200
> @@ -310,7 +310,7 @@
> MEMBER(executable) PKG_LIBEXECDIR"/dovecot-auth",
> MEMBER(user) "root",
> MEMBER(chroot) "",
> - MEMBER(username_chars)
> "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@",
> + MEMBER(username_chars)
> "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@%",
> MEMBER(username_translation) "",
> MEMBER(username_format) "",
> MEMBER(master_user_separator) "",
> </snip>
>
> Would it be possible or is there any reason why this is a wrong idea?
Did you read the fine manual? Have a look at:
http://wiki.dovecot.org/MainConfig#Authentication_processes ->
auth_username_chars
What exactly does the author mean with 'we use % in Usernames'. Login
names like user%example.com? If so, there is another nice configuration
option: auth_username_translation
Regards,
Pascal
--
The trapper recommends today: deadbeef.0922305 at localdomain.org
More information about the dovecot
mailing list