On Tue, Aug 24, 2004 at 07:20:30PM +0100, Nick Chettle wrote:
Hey All.
I am having trouble with a mailfilter. I have everything as I need
except one niggling little thing, any message that is not fully
lower-case will fail.
I have qmail accept the messages then use a .qmail-default file to pass
the message to maildrop. Maildrop passes it through SpamAssassin then
delivers it to a mailbox (Or Spam folder if it gets tagged). Problem is,
I import the users name using "import EXT" if this was addressed to a
user in capitals then maildrop can't finish it's delivery as it will try
something like "/home/domains/mogmail.net/NICK" which doesn't exit in
the actual file system.
I know this isn't maildrops fault per se as it's just going on what
qmail has put in $EXT but is there a way I can make it always treat $EXT
as lower case or some other work-around?
$ man maildropfilter
[SNIP]
TOLOWER(STRING) - CONVERT STRING TO LOWERCASE.
foo=tolower(string)
This function returns the string with all uppercase charac-
ters replaced by lowercase characters.
[SNIP]