About mailbox's upper case

Simon Matter simon.matter at ch.sauter-bc.com
Mon Oct 13 02:57:23 EDT 2003


> Kai wrote:
>> How can I let Cyrus ignore  the case of mailbox ? I mean ,I want
>> Cyrus treating the upper case's mailbox and lower case's mailbox as the
>> same recipient if their spelling are same.
>> Any advise would be appreciated.
>
> Another way of getting around this is to have your MTA rewrite the
> address to all lowercase. I use postfix and have a regular expression
> virtual_maps file to do this:

Thanks for the hint. However, this doesn't help if your users try to login
with mixed case. That's usually no problem until you're using caseless
authentication service like LDAP.

>
> in /etc/postfix/main.cf:
> virtual_maps = regexp:/etc/postfix/virtual_regexp
>
> in /etc/postfix/virtual_regexp:
> /^(.*[A-Z].*@.*)$/ $1
>
> This will take any username and change it to lowercase before handing it
> to cyrus.  I'm sure other MTAs can do similar things, so it may be an
> option for you. Good luck.
>
> ///Jason
>
>






More information about the Info-cyrus mailing list