On Wednesday 14 October 2020 03:06:30 Dr. Nikolaus Klepp wrote:
Anno domini 2020 Wed, 14 Oct 01:20:13 -0400
Gene Heskett via tde-users scripsit:
Greetings folks;
I finally figured out how to convert fetchmail into an imap
protocol, needed because shentel.net's dovecot email server ignores
fetchmails expunge of fetched messages, but does allows the imap
version to delete fetched messages. And I spent several hours with a
browser deleting 30 some k of old messages earlier this week.
but!!!!!
My ISP is apparently doing a restore from a very old backup, and is
feeding fetchmail nearly 27k old messages dating from about 1 march
of this year that are not being detected by the duplicate removal
function of kmail.
At the present download rate it will take over a day to catch up to
current messages and a 2T drive will be about used up, and kmails
message counters will overflow screwing with my database long before
that.
How can I cope with this? I need a script that I can filter this
crap to /dev/null until the timestamp on the incoming message is
later than about 23:30 on 10/13/2020.
Help!
Thanks for any rescue. I tried making .fetchmailrc use /dev/null for
an mta but thats a fetchmail killer error.
Cheers, Gene Heskett
you can create a kmail filter that uses regex or a pipes the mail
through a script
nik
Amazingly, to me anyway, since duplicate removal didn't work while
fetchmail was busily feeding 26545 old msgs into the hopper, but once
that was finished the remove dups function seems to be working. So its
not quite the disaster I thought it was going to be. I did enable the
total count visibility, and the debian list count will exceed the
trouble point of a 32 bit signed value before the year is spent, but the
rest look as if they'll survive till New Years day. OTOH if Slavek has
found and fixed that buglet. yay!!!!!
Stay safe and well everybody.
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)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>