> From: Sam Varshavchik [mailto:mr...@courier-mta.com] > >> Did something change that escapes are no longer needed or did I miss >> the point many years back? > >No, escaping is certainly needed. Note the backslash in: >cc "| $MAILBOT … -s\"Subject: AUTO-REPLY: (\$SUBJECT)\" … "
[Mitch says:] I had written: I was a little slow to realize how that works - that presumes that $SUBJECT itself is already escaped at that point? But then I tested. When I add the \ before the $SUBJECT I receive a reply which literally includes "$SUBJECT" I'm testing with a crazy subject : testing vac. msg?!@#$%^&*()[]{};':" Here's my line from maildrop - please ignore the line wrap - it's on one line: cc "| $MAILBOT -N -D 1 -d $UserFolder/BB-autoreply -t $UserFolder/BB-autoreply.txt -T replydsn -A\"From: $UI_Name <$UI_Email>\" -s\"Subject: AUTO-REPLY: (\$SUBJECT)\" -A\"Errors-To: nobody@nowhere\" -A\"Precedence: junk\" -A\"X-Loop: $BADLOOP\" /usr/local/bin/sendmail -f ''" I had tried -T reply too at some point though I don't think that would make a difference - trying replydsn was me being curious. When I trigger this the response I get is "AUTO-REPLY: ($SUBJECT)" so the shell expansion doesn't seem to be happening. Thanks again! Mitch ------------------------------------------------------------------------------ Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users