[Dovecot] Authentication with lower case username ONLY

Jerry dovecot.user at seibercom.net
Wed Sep 15 20:07:53 EEST 2010


On Wed, 15 Sep 2010 18:50:47 +0200
spamvoll at googlemail.com articulated:

> 2010/9/15 Leander S. <info at netocean.de>:
> >  Hi,
> >
> > how do you guys force your users to authenticate with lower case
> > letters ONLY? Or convert it?
> > Is there a SASL Option to force that - or are you using scripts
> > i.e. a bash script in combination with the command "tr" ... or a
> > third solution I didn't think of yet?
> >
> >
> > I'm using Postfix / Dovecot combination. Postfix is told to use
> > Dovecots SASL Service to authenticate it's users.
> > For my outgoing eMails I already wrote a script with tr which forms
> > upercase usernames to lowercase ones ... but it's not enough.
> > SpamAssassin is still confused and writes uppercase letters in it's
> > Database etc. ... So that's why I'm looking for a more universal
> > solution.
> >
> >
> > P.S. I would basically prefer a convertation - but I would also be
> > fine with a forced lower case auth system.
>
> check http://wiki2.dovecot.org/Variables -> Modifiers
> 
> You can apply a modifiers for each variable (e.g. %Us = POP3):
> 
>     * %L - lowercase
>     * %U - uppercase

Out of morbid curiosity, why do you feel the need to convert the user
names to lower case?

-- 
Jerry ✌
Dovecot.user at seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________
Disbar, n.: As distinguished from some other bar.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20100915/8077a8c4/attachment.bin 


More information about the dovecot mailing list