[ingo] case sensitive user names and ingo mailfilter

dev at stean.ch dev at stean.ch
Sun Feb 8 07:17:26 UTC 2009


hello jan,

thanks for the help, took a hook and its working now.

regards, stephan


Quoting Jan Schneider <jan at horde.org>:

> Zitat von dev at stean.ch:
>
>> hello all,
>>
>> i am using maildrop as mail filtering backend for ingo, the path
>> for the filenames of these filters is build with the user its
>> name (%u placeholder).
>>
>> recently some user complained about that even if the spam filter
>> was activated (and so it is according horde preferences) but not
>> working at all. the maildrop filter file was missing where it
>> should have been.
>>
>> soon i found out that the user is logging in by typing the user
>> name with uppercase letters, so for example instead of
>> tom at somewhere.com typed Tom at somewhere.com
>>
>> what ingo then did is writing the mailfilter file to a sub
>> directory named Tom instead of tom. looks like horde itself uses
>> as user id what ever comes but handles it case insensitive,
>> however running a unix system behind, this will of course not work
>> for files.
>>
>> should there be a correction made in the backend handler of ingo
>> to use always lowercase?
>
> No, you should use an authentication hook to normalize user names,  
> if your authentication backend is case insensitive.
>
> Jan.
>
> -- 
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
> --
> Ingo mailing list - Join the hunt: http://horde.org/bounties/#ingo
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: ingo-unsubscribe at lists.horde.org
>




More information about the ingo mailing list