[Dovecot] strip domains

Johannes Berg johannes at sipsolutions.net
Wed Apr 12 17:24:58 EEST 2006


On Wed, 2006-04-12 at 17:17 +0300, Timo Sirainen wrote:

> # Username formatting before it's looked up from databases. You can use
> # the standard variables here, eg. %Lu would lowercase the username or
> # %n would drop away the domain if it was given. This translation is 
> # done after auth_username_translation changes.
> #auth_username_format =

Wouldn't it be better to do it the other way around, and have it default
to auth_username_format = %u@%n or something? OTOH, that need special
handling of a trailing @ character (if %n is empty) or a new %X variable
that is "@%n" or ""...

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 793 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060412/3fabcebf/attachment.pgp


More information about the dovecot mailing list