2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] maildrop: error writi...
FromSent OnAttachments
J. KendzorraJul 14, 2005 4:18 am 
Sam VarshavchikJul 14, 2005 3:28 pm 
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] maildrop: error writing to filterActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Jul 14, 2005 3:28:10 pm
List:net.sourceforge.lists.courier-maildrop

J. Kendzorra writes:

Hi, I'm using some xfilter statements, e.g. for spamassassin, bogofilter etc. They work - today I tried to add another one for extracting headers from spam. But it fails with "maildrop: error writing to filter." I'm calling 822header from mess822 with xfilter "/usr/local/bin/822header", the calling user (vpopmail) has a valid shell, 822header's return code is 0 (I checked that) - everything should work as expected. What am I doing wrong?

xfilter expects the filtering program to read the entire message on standard input, and provide a replacement message on standard output.

Your filtering program does not read the entire message, thus maildrop correctly concludes that your filtering program must've crashed.