On Sunday 08 July 2018 06:00:25 Thierry de Coulon wrote:
On Sunday 08 July 2018 09.56:07 Gene Heskett wrote:
fetchmail feeds procmail, who proceeds to check
incoming for viri
and spam, and sends several phony illegits to /dev/null, the spam
gets graded by spamassassin but still comes into kmail by being
placed in /var/mail/me. procmail can also generate other names
depending on who its from. Where mailwatcher comes into play is it
launches an instance of inotifywait to watch /var/mail, returning
the name of the file that the mail was written to when its closed.
That triggers a dbus msg to kmail to go get the mail, and it
relaunches another instance of inotifywait to replace the one that
died returning the filename.
Well, I'll sound as a noob, but what exactly does this (to me) very
complicated way of doing bring?
I mean, for 20 years almost I've been "simply" downloading my mail
with kmail, using a few filters to post the messages to directories
for clarity.
kmail is single-threaded, and cannot do anything else while its
downloading that email. For a member of multiple lists like me, 45 or
so, if I had kmail do all that, I'd be waiting 30 minutes a day. So I
offloaded that job away from kmail by haveing a background daemon named
fetchmail do that, scanning my ISP's mailserver every 2 minutes. So
fetchmail and all the stuff procmail can do are now background processes
with no effect on kmail. It still goes away when it has been commanded
to go get the mail, freezing but not forgetting whats been typed and
might appear to freeze while my slow typing might pile up 3 or 4
characters in the buffer, which it will process as soon as it runs out
of mail to fetch and sort, which is right there in /var/mail. So thats
just a copy operation, takeing perhaps 300 milliseconds as opposed to
several minutes if you are on dial up.
I used to run spam filters, but since i got modern and
also read my
mail on a smartphone I had to hire an external service for that.
Thierry
I might do that, but my $99/year tracphone isn't smart, in fact I need to
go get the sim card renewed for another year, its been dead since the
26th of last month. I'd toss it, but if I need to go somewhere a long
ways out, I need it to check on the missus as she's an invalid these
days or if I should have a breakdown. She's 78, nearly finished by
COPD, and breaks bones as if they were soda straws. I'm going on 84, a
retired tv station Chief Engineer. A DM-II, my legs are slowly going
away so walking to the mailbox is a long trip for them, taking 2 grams
of metformin a day and blood pressure stuff and a little rat poison for
blood thinner plus a handfull of OTC stuff to keep up bone strength. I'm
old enough to recommend you don't get old, its not fun. Avoid it if you
can.
But I have "hobbies" that keep me out of the bars. With two cnc'd milling
machines and 2 cnc'd lathes, (I did the conversions,) and a garage full
of woodworking power tools, I just last fall put a new barrel in old
meat in the pot, and am still playing with handloads for what is now a
SS (stainless steel) 30" barrel in 6.5 Creedmoor. I've bought 3 boxes of
factory rifle shells, and have worn out 4 rifle barrels since about 1961
when I started loading my own. The Creedmoor did a 1.25" 10 shot group
at 100 yds on its last trip to the range, but I'm looking for a load
that will put 10 in one ragged hole. Thats as good as I can see these
days.
And I've already had my 10 minute warning buzzer, a pulmonary embolism,
usually fatal, about 3 years back. I don't recommend it as a way to die
as its scary as hell. Thats the reason for the rat poison in the
pill-tainer.
More than you wanted to know. Lots more. And I'd better go see what the
missus wants for breakfast, I play short order cook too.
--
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>