procmail
[Top] [All Lists]

Re: Help - procmail

1999-03-11 20:19:23
"Banerjee, Tapas" <Tapas(_dot_)Banerjee(_at_)gs(_dot_)com> writes:
      I got into system loop and mail hung problem, while trying to execute
      following procmail command.
...
              :0:
              * ^Subject:.*test
              | (formail -k -X From \
                 -a"Bcc: tapas(_dot_)banerjee(_at_)gs(_dot_)com" \
                - a"To:   mailing_list" )  |  $SENDMAIL -t

The primary bug is the space between the '-' and 'a' on the last line.
However, the above will still loop even with that fixed as it will
leave in place the original To: or Cc: header that caused the message
to go to this user to begin with.  The solution is to not change the
header at all, but just send the message unaltered with a new set of
envelope recipients:

        :0
        * ^Subject:.*test
        ! tapas(_dot_)banerjee(_at_)gs(_dot_)com mailing_list

(Note that you don't need a locallockfile on forward recipes.)


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>
  • Help - procmail, Banerjee, Tapas
    • Re: Help - procmail, Philip Guenther <=