procmail
[Top] [All Lists]

Re: New install omits mbox "From <addr> <date> <time>" separator

2021-03-31 20:30:31

 On 31.03.21 13:54, Andreas Schamanek wrote:
On Wed, 31 Mar 2021, at 20:48, dvalin(_at_)internode(_dot_)on(_dot_)net wrote:
Whoops, I omitted to mention that procmail is invoked directly by
fetchmail, through the mda option in .fetchmailrc:
(...)
mda /usr/bin/procmail

That delivers fine to procmail, which distributes to a dozen
mailboxes,
but omits the mbox separator.

I reproduced what you described using at the commandline `procmail <
msg`
where `msg` included no leading "From " and procmailrc delivered to
Maildir.
Already the LOGABSTRACT in Procmail's logfile showed no "From ". And
neither
did the resulting Maildir file. I did the same as root using mbox,
same
result.

It does work, though, with `procmail -f - < msg`.

Many thanks, Andreas, for taking the trouble to try this out.
It does the job, and I can now read mail.

When reading about -f in the procmail manpage, I had missed the else 
clause in the nested if at the end of a paragraph outlining the option
doing something else.

Thanks again.

Erik

____________________________________________________________
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