On 14/11/2021 11.23, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [oS-en] fetchmail-procmail problem Message-ID : <5392f10e-419f-684e-4340-9e9469d46846@gmail.com> Date & Time: Sun, 14 Nov 2021 12:25:44 +0300
[AB] == Andrei Borzenkov
has written: AB> On 14.11.2021 00:20, Carlos E. R. wrote: AB> ... AB> > cer@minas-tirith:~> cat /home/cer/.fetchmail_TLtmp/.fetchmailrc AB> ... AB> > mda "/usr/bin/procmail -m $HOME/.procmailrc_TLtmp" AB> > cer@minas-tirith:~> AB> > AB> ... AB> > AB> > cer@minas-tirith:~> cat .procmailrc_TLtmp AB> ... AB> > AB> > # testing. AB> > :0 AB> > $HOME/Mail/alpine_r_tl_tmp AB> > AB> ... AB> > AB> > But look at the format, it is wrong, mail programs can not use it: AB> ... AB> > AB> > The first line: AB> > AB> > From MAILER-DAEMON Sat Nov 13 21:08:23 2021 AB> > AB> > AB> > is the key, it separates one mail from the other. It is missing in the AB> > file newly generated by procmail.
AB> Either use
AB> procmail -f - ...
AB> when invoking procmail or use
AB> | formail >> $HOME/.procmailrc_TLtmp
AB> in procmail recipe. Read procmail man page for meaning of "-f".
That't it!
If he changes .procmailrc_TLtmp to .procmailrc, he can use the proper script;
mda "/usr/bin/procmail"
No way. .procmailrc exists and serves a totally different sorting and clasification, that doesn't fit my purpose this time.
Thanks.
--- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Tim Cook, the C.E.O. of Apple, said earlier this year that he would not let his nephew join social networks. Bill Gates banned cellphone until his children were teenagers, and Melinda Gates wrote that she wished they had waited even longer. Steve Jobs would not let his young children near iPads." -- The New York Times --
-- Cheers / Saludos, Carlos E. R. (from oS Leap 15.2 x86_64 (Minas Tirith))