2 messages in net.sourceforge.lists.courier-maildrop[maildropl] username and domain case ...
FromSent OnAttachments
Casey Allen ShobeDec 4, 2004 10:52 pm 
Robin BowesDec 5, 2004 4:34 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] username and domain case sensitivity problemActions...
From:Casey Allen Shobe (csh@osss.net)
Date:Dec 4, 2004 10:52:38 pm
List:net.sourceforge.lists.courier-maildrop

Hey all,

I'm using qmail --> vpopmail --> maildrop.

The way I'm making this work is by having the following /etc/maildroprc:

#importing variables from qmail import EXT import HOST VHOME="/var/vpopmail/domains/$HOST/$EXT" # Clever trickery here: include $VHOME/.mailfilter to "$VHOME/$DESTINATION"

In my individual mailfilter files, I set DESTINATION instead of setting the to folder directly, which keeps me from having to type in the full /var/... path in every rule.

The problem is that qmail sets EXT and HOST in the case that the mail was addressed to, sometimes this is CSHOBE or OSSS.NET, and these folders don't exist, so maildrop returns an error about not being able to open the include file, and the mail gets stuck in the qmail queue:

29 Nov 2004 11:35:24 GMT #193354 8214 <owner-nolist-8001530_1*cshobe**OSSS*-NE@BOUNCE.YAYUNA.COM> local osss@OSSS.NET 30 Nov 2004 13:29:14 GMT #28631 2299 <1232@neck.chipmunk-control.com> local osss@OSSS.NET

Is there a way I can set the case to lower case from maildroprc?

Other suggestions for how to set this up better are also welcome.

Cheers,