From: Matthias A. <mat...@gm...> - 2020-05-28 14:58:19
|
Am 26.05.20 um 12:36 schrieb Richard Kimber via Fetchmail-users: > I'm running fetchmail -> procmail -> local directories read by Claws on > Ubuntu 20.04 > > I'm having some problems filtering email messages by Subject using > procmail > > "Normal" text Subjects of the form: > Subject: News on Coronavirus > are no problem. But there are a lot of messages nowadays that are > displayed in Claws as: > > Subject: Update from GOV.UK – Coronavirus Statutory Sick Pay ... etc > > but where the subject in the message itself is actually in the form: > > Subject: > =?UTF-8?Q?Update_from_GOV.UK_=E2=80=93_Coronavirus_Statutory_Sick_P?= > =?UTF-8?Q?ay_Rebate_Scheme:_service_availability_and_issues?= > (the above is all one line) > > Does anyone know if there is some generic way of ensuring that messages > are passed to procmail in the "normal" format so that I may reliably and > straightforwardly construct procmail matching rules (i.e. without > having to inspect the message source each time)? This has been a normal format since 1993 or so (RFC 1522, now RFC 2047). Everyone just stop using that unmaintained (for almost 20 years) pile of design garbage called procmail. Procmail wasn't palatable in 1990, and isn't in 2020. reformime (part of maildrop) can help with decoding, but I do not know if it would do character set conversions into the current locale. Also someone tell Ubuntu to update fetchmail to at least 6.4.4 everywhere... |