-rob
-----
I'm not sure if anyone else has the same problem, but one thing I ran into (and it took me a long time to figure out for some reason) is that the following lines do not work on my mail server :
VHOME="$PWD/Maildir"
USERNAME=`echo ${PWD##*/}`
USERHOST=`PWDTMP=${PWD%/*}; echo ${PWDTMP##*/}`
Why not? Well because vpopmail starts putting users and domains into subdirectories.
for example: /mail/domains/1/domain1.com/
/mail/domains/1/domain1.com/0/user
And this breaks the mailfiter script which is parsing on the '/' and expecting things to be in very specific places.
Is anyone else in the same situation and if so have you coded a work-around? (My shell scripting is absolutely horrible)
Thanks,
Rob
