Hello,
In the Message;
Subject : Re: [oS-en] fetchmail-procmail problem
Message-ID : <36d79691-45ce-2c9d-5af3-4983e218a8da@telefonica.net>
Date & Time: Sat, 13 Nov 2021 23:31:43 +0100 (CET)
[CER] == "Carlos E. R." has written:
CER> El 2021-11-13 a las 23:20 +0100, Yamaban escribió:
CER> > On Sat, 13 Nov 2021 22:20, Carlos E. R. wrote:
CER> > <snip>
[...]
CER> > [code]
CER> > # ======================================END of SPAM, unfold header lines.
CER> > : 0 fhw
CER> > | formail -cfz
CER> > [/code]
CER> >
CER> > I hope this gives you an idea to go forward.
CER> No, sorry, I don't understand what you are trying to say.
Me, too.
CER> My purpose is very simple: fetch some mail with fetchmail and
CER> put it directly into a single mbox folder, no filtering done, no
CER> sorting at all. Just read from remote folder and put on local
CER> folder. Simple.
I understand.
CER> I have copied the recipe from here:
CER> https://unix.stackexchange.com/questions/206628/fetchmail-fetch-sent-mail-to...
CER> He does in fetchmail:
CER> poll mail.example.com
CER> protocol imap
CER> user "me.there" password "password" is "me.here"
This is without mda, as you wrote;
In the Message;
Subject : [oS-en] fetchmail-procmail problem
Message-ID : <3e4bc76c-d81a-b97a-5f51-4ae67deeb@telefonica.net>
Date & Time: Sat, 13 Nov 2021 22:20:15 +0100 (CET)
[CER] == "Carlos E. R." has written:
[...]
CER>> code (I have not used procmail in months), or I made a config mistake, but I
CER>> need a fresh pair of eyes ;-)
But, you wrote;
CER> and in procmail:
CER> MAILDIR="$HOME/Dropbox/Mail"
CER> DEFAULT="inbox/"
CER> LOGFILE="$HOME/.procmail.log"
CER> # [cut several lines]
CER> :0
CER> * ^List-Id:.*macports-changes.lists.macosforge.org
CER> macports-changes/
CER> :0
CER> * ^List-Id:.*macports-users.lists.macosforge.org
CER> macports-users/
CER> # [etc.]
What?
You don't use procmail, do you?
[...]
CER> It is the first time I use 'mda' in fetchmail and "-m".
fetchmail isn't a mda.
You can solve the issue;
add mda in .fetchmailrc
poll mail.example.com
protocol imap
user "me.there" password "password" is "me.here"
mda "/usr/bin/procmail" <-- THIS!!
or
You can use fetchmail witout a mda.
Regads.
---
┏━━┓彡 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 --