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
--
Please do not email me anything that you are not comfortable also sharing with the NSA,
CIA ...