Mailing List Archive

case sensitive patch
hello, is there a case sensitive patch for qmail? I am still trying to find a
way to get mail delivered to a username with an uppercase character in it. I
have found one way, but it is a security risk. I can change the perms on
/home/User/Mailbox and then have a /var/qmail/alias/.qmail-User entry with:
/home/User/Mailbox in it. But it only works if the qmail group can write to
the user's mailbox and I don't like that. Earlier on this list someone said
that they had to modify the code to get it to work. What were these
modifications and is there a patch?

Chris
Re: case sensitive patch [ In reply to ]
Hi,

Try grep "'a'" *.c | less
in the qmail source directory. This might give you a starting point. Looks
like it to me.

Andi

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Andi Gutmans - Computer Science, Technion

Email: andi@il.eu.org andi@vipe.technion.ac.il
Web: http://andi.rifkin.technion.ac.il

PGP public key: finger andi@vipe.technion.ac.il
Re: case sensitive patch [ In reply to ]
On Fri, 7 Mar 1997, Chris Black wrote:

> hello, is there a case sensitive patch for qmail? I am still trying to find a
> way to get mail delivered to a username with an uppercase character in it. I
> have found one way, but it is a security risk. I can change the perms on
> /home/User/Mailbox and then have a /var/qmail/alias/.qmail-User entry with:
> /home/User/Mailbox in it. But it only works if the qmail group can write to
> the user's mailbox and I don't like that. Earlier on this list someone said
> that they had to modify the code to get it to work. What were these
> modifications and is there a patch?

Here's what I have my adduser run when I create a new user... you
could use this process to fix that:

cd /var/qmail/users
grep '*' /etc/shadow | grep -v alias | cut -f 1 -d ':' > exclude
qmail-pw2u -u < /etc/passwd > assign
qmail-newu

The -u tells qmail-pw2u to include users with caps... you'll have
to change the 2nd line of that if you don't use shadow...

-Dustin Marquess