On 10.11.17 08:52, Zhiliang Hu wrote:
For one of my specific purposes I used to pass certain mails to a perl
script in order to save/process ONLY the mail body.
It can simplify the process if I can directly drop a mail body into a file.
I tried ':0 b' to save mailbody,
That works for me:
:0b:
* ^Subject: *furdlesnurk
/tmp/snurdlefurk
erik@ratatosk:~$ mail erik
Subject: furdlesnurk
Only the body should be saved to file.
Cc:
erik@ratatosk:~$ cat /tmp/snurdlefurk
Only the body should be saved to file.
'formail -I' to remove mail headers,
without success. I also fail to find useful hints by onine searches. Any
advice/hint? :)
More coffee. That sometimes helps. ;-)
Erik
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de
https://mailman.rwth-aachen.de/mailman/listinfo/procmail