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,