3 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] autoreply not working
FromSent OnAttachments
an baJul 15, 2002 6:53 am 
Mark WeinemJul 17, 2002 7:56 am 
FrankieJul 17, 2002 9:41 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] autoreply not workingActions...
From:Mark Weinem (mark@uni-duisburg.de)
Date:Jul 17, 2002 7:56:41 am
List:net.sourceforge.lists.courier-maildrop

On Mon, 15 Jul 2002, an ba wrote:

I'm running maildrop-1.4.0 and I'm using sqwebmail-3.3.6 to generate filter recipe for maildrop. [...] The filter recipe in my ".maildirfilter" is as below; Can someone tell why it doesn't work?

if ((/^subject:.*testing\-auto/)) { AUTOREPLYFROM=$FROM `/usr/local/bin/mailbot -A "X-Sender: $FROM" -A "From: $AUTOREPLYFROM" -m "./Maildir/autoresponses/testing" $SENDMAIL -t -f ""` }

- Line breaking is not correct

- Variable substitution only works with double quotes

- The to statement is missing

Maybe this could work (untested!):

if (/^subject:.*testing\-auto/) { to "|/usr/local/bin/mailbot -A \"X-Sender: $FROM\" -A \ \"From: $FROM\" -m \ \"./Maildir/autoresponses/testing\" $SENDMAIL -t -f \"\"" }

Greetings, Mark