1 message in net.sourceforge.lists.courier-maildrop[maildropl] add a tag to the From hea...
FromSent OnAttachments
cbae...@europeanservers.netJun 23, 2005 5:56 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:[maildropl] add a tag to the From header (problem with escape)Actions...
From:cbae...@europeanservers.net (cbae@europeanservers.net)
Date:Jun 23, 2005 5:56:38 am
List:net.sourceforge.lists.courier-maildrop

Hello,

I got this message when I try to add "!!SPAM!!!" at the beginning of a subject header containing at least one quote.

(temporary failure. Command output: sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file maildrop: error writing to filter. /usr/bin/maildrop-mysql: Unable to filter message.)

However, I use the escape command, but it doesn't seem to run, I tried to add "echo $SUBJECT" and the quotes aren't backslashed !

This is my mailfilter: FROM=... exception { xfilter '/usr/local/bin/bogofilter -p -e' } if (/^X-Bogosity: Spam/) { SUBJECT=escape(`reformail -x "Subject:"`) xfilter "/usr/bin/reformail -I'Subject: !!!spam!!! $SUBJECT'" } to ...

Any idea ?

Regards,