procmail
[Top] [All Lists]

Re: Autoresponder still doesn't work (more)

2004-07-06 05:37:54
I just advised Michael Bluejay,

But in a procmailrc action, I feel more comfortable
breaking up a multi-line echo line by line (and since your individual
lines of text are as long as my mailer settings will tolerate, to avoid
making garbage of my advice, I need further to separate the word "echo"
onto a line of its own) ...

but to be honest, I wouldn't run into the need to put

 echo \

onto a separate line in my own code, because I would break the echoed text up into narrower pieces.

  | (formail -t -r -A"X-Loop: austinmusic(_at_)michaelbluejay(_dot_)com" ; \
   echo "Your message was tagged as spam and deleted." ; \
   echo "If it wasn't spam, please visit my website" ; \
   echo "and send your mail through the form there." ) | \
   $SENDMAIL $SENDMAILFLAGS -t

I'd also move the pipe between (formail ; echo) and $SENDMAIL to the end of the previous line just so that it wouldn't look like an attempt to hang a second action on a single recipe, but that's just my aesthetic preference.

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail