Warren wrote:
This looks like the right way to go. If I have this correct, I should
make a .mailfilter file in wronguser's home directory, check for the
sender and if it is found, use
to "|/var/qmail/bin/qmail-inject -a [EMAIL PROTECTED]"
to deliver the mail to the proper user. My question then is this...
How do I gain access to the mail itself to check the header? Is there
a variable that contains the header or the full email? Is it a file
somewhere?
In the user's directory (/home/vpopmail/domains/whatever.com/user1/)
edit the .qmail file to something like this to run your mailfilter script:
|/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter:
maildrop-toaster' /etc/mail/mailfilter
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]