2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] xfilter ?
FromSent OnAttachments
joelJan 2, 2002 3:12 am 
Doug ClementsJan 3, 2002 2:54 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] xfilter ?Actions...
From:Doug Clements (dscl@linkline.com)
Date:Jan 3, 2002 2:54:40 am
List:net.sourceforge.lists.courier-maildrop

On 1/2/02 2:15 AM, "joel" <jo@telecorp.com.br> wrote:

My filter this functioning but it does not return message.

I am working with Freebsd 4.0 + qmail + amavis

------- bash-2.03# cat .mailfilter if (/^Content-Type:.*IMAGE*/:b ) { /^Subject: !.*/ MATCH2=escape($MATCH2) xfilter "/usr/local/bin/reformail -I'Subject: [ALERT: ATTACHMENT] $MATCH2'" } else to ./Maildir/

bash-2.03# whereis xfilter xfilter:

xfilter is not a program, it's a command in maildrop's filtering language. It executes the command you put in quotes. Make sure the command returns the mail as xfilter expects it, and check the return codes on it as well. Refer to the documentation to see what the xfilter directive expects back from the program you're calling.

--Doug