procmail
[Top] [All Lists]

Re: suggestion needed on a recipe

2019-10-31 22:01:05
On Thu, 31 Oct 2019, Andreas Schamanek wrote:

  :0 hw
  | (formail -I "X-Loop: my-email@my-domain" \
             -I "Subject: Problems with ....."; \
             cat - notify.moderators.txt) \

You might want to provide example messages. But before you do: The above code seems to read from stdin twice: `formail` does, and `cat -` does, too.

I put in attachment such an example to avoid unexpected line wraps.

Using 'formail' and 'cat' together can be found from man pages on "procmailex". As they are put in parenthsis, I think when these shell commands are executed in sequence the outcomes get piped at once to the next action.

ZL

Attachment: 88.txt
Description: Text document

____________________________________________________________
procmail mailing list -- procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de   
Procmail homepage: http://www.procmail.org/
To unsubscribe send an email to 
procmail-leave(_at_)lists(_dot_)rwth-aachen(_dot_)de
https://lists.rwth-aachen.de/postorius/lists/procmail.lists.rwth-aachen.de
<Prev in Thread] Current Thread [Next in Thread>