Hi all, I'm trying to filter incoming mail using the following mail-filter: ----- VPOP="| /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]" VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] # try filtering it using user-defined rules if (/^X-Spam-Flag: *YES/) { exception { include $VHOME/Maildir/.mailfilter } # then send it to the .SPAM folder exception { to "$VHOME/Maildir/.SPAM/" } # or try delivering it to the Trash folder exception { to "$VHOME/Maildir/.Trash/" } # if not go on with delivery exception { to "$VPOP" } } else { exception { include $VHOME/Maildir/.mailfilter } # if not go on with delivery exception { to "$VPOP" } } --- It is called from .qmail-default as in "| /usr/local/bin/maildrop mailfilter" Now, if mail is sent to an account using the exact account name, mail is delivered as it should be. However, If I send mail to an account using an alias (via fastforward), mail doesn't get delivered. Why? I'm using VPOP="| /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]" which is the same as in the (old) .qmail-default file. The mail-filter is chown'ed vpopmail:vchkpw and the log file says local delivery is delivering "...to local [EMAIL PROTECTED]". But nothing ever arrives. Anybody knows why this isn't working? Cheers, -Morten |
- Re: [vchkpw] Trouble using maildrop filter & fastforw... Morten Rønseth
- Re: [vchkpw] Trouble using maildrop filter & fas... Andreas Wiesmann
- Re: [vchkpw] Trouble using maildrop filter &... Morten Rønseth