From: Jeff H. <jef...@ma...> - 2003-07-19 11:52:39
|
spork wrote: >>That would be a no-go. It appears that something is clobbering some >>environment variables I need to deliver the mail with maildrop. My >>maildrop filters still work fine for mail sent directly to a "real" >>account, > > And while I'm on this topic, from a quick read of vdelivermail.c, it looks > like it pulls $EXT and $HOST as environment variables from qmail. It then > does a lookup itself to figure out where to go. Could this in turn be > exported to eliminate the below hack in most maildrop filters? > >>VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST` This definitely needs to be looked into as a bug, but in the meantime-- why don't you check out my mailfilter script here: http://marc.theaimsgroup.com/?l=qmailadmin&m=105689448125793&w=2 You are calling maildrop from the directory where the Maildir is, why not use the PWD environment var instead of running vuserinfo? That script also picks apart the PWD to get EXT and HOST. Jeff |