Warren wrote:

Jake Vickers wrote:

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


That was already there. Looks like it was created when I created the user. I looked in the /etc/mail/mailfilter file itself and I saw that it includes a .mailfilter file in the user's home directory, so I put my rules into there:

if ( /^From:[EMAIL PROTECTED]/ )
{
       log "$TIMESTAMP - [EMAIL PROTECTED]  fax redirected to rightuser"
       to "|/var/qmail/bin/qmail-inject -a [EMAIL PROTECTED]"
}

Hopefully that will work.

W

That does work just fine. Thanks Jake and Erik for pointing me in the right direction.

W

---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to