An option could be added to dbmail-maintenance to fix any uppercase aliases.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Ilja Booij
Sent: Wednesday, March 03, 2004 6:58 AM
To: [email protected]
Subject: Re: [Dbmail] CAP domain results in "no such user" mail bounce

The solution I can think of now is the following:

make sure all aliases (or at least their domain part) go into the 
database in lowercase. Whenever we check a domain alias, we first 
convert the domain string to lowercase. We can then feed it to a query 
without using lower().

I do see a problem with this though: What if somebody uses another tool 
to insert aliases into the database? Then a non-lowercase domain can 
slip in, which will not be found in a case-sensitive search.

Ilja


Reply via email to