Re: Procmail filtering question

Peter Pentchev <[email protected]>
Newsgroups gmane.mail.fetchmail.user
Message-ID <[email protected]>
On Wed, May 27, 2020 at 12:39:57PM +0100, Richard Kimber via Fetchmail-users wrote:
> On Wed, 27 May 2020 14:33:40 +0300
> Peter Pentchev <[email protected]> wrote:
> 
> > ...but the whole point is that this encoding means that the subject
> > contains non-ASCII characters. There is no way to convert them to
> > ASCII.
> 
> But if it's utf-8 can't you use something like:
> konwert utf8-ascii

Even if you do something like this, even if you manage to figure out
a way to deal with characters that *do not exist* in the US-ASCII
character set (yeah, I can see that konwert may have some limited
capabilities of approximating them, but that sounds quite weird to me);
even if you manage to do that, you will not have the original message.
If you feed the modified message to procmail and it stashes it into some
mailbox/folder/whatever or passes it to another program, you will *not*
have the message that the sender wanted you to have. In some cases this
might not be so bad ("I don't care if a spam message has an extra quote
or not"), but in others, like verifying OpenPGP or S/MIME signatures,
it might be, how do I put it, bad :)

G'luck,
Peter

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

_______________________________________________
Fetchmail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fetchmail-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAl7OUv4ACgkQZR7vsCUn
3xOV7xAAjpw9K+TLUwDYLMzTRXryIP1MQHCR9e2ZPbwkgmCwI2E2EbAXnu5sSX2L
XnrUcoNWqSaSeF+oJXWxsOLSlUL5OREN2/1U054tmcDMQBoyiPWM4OOr1MS0uPkQ
qnsBKRQdZhvI69yZP9Ny6ApAB8/aO6n1X8zc2rDsrShxwOBp1uRBJ6I56A8M8nZr
FNT4VVxZaR3qymBAYAJIkiTOPn6AxCZ57Dq4bhOhzeCPS1v9Ai7DzpLs5DOne1M3
19G+vUub+7BFW5MJ2KHhxSB8iPDOdMFc+a/8cNWtznCdqlk4bfdAQMgaiGVvv6/5
mE2k9Ot2DWiELC2DlDlUC/kodmYJXVdcRCcjcV4vGQxxudwf2HOgs0ZpEmxF9uCF
cYz1p5WXPgh38j3RvTI8bH1MH45I6Oy1VZqoRpeKGfQmufzpuUOSa20mvlXhax7O
gfG6m/Kk9fO9Lv9zVGBP+xRApIVbLXzp+umhzjDRaM0wjHUy1LmfPks724kCXXZf
wtFtRXxufWHWuJ9oCRI8PGFZn985QOr+Pvn3ObBmAqw8qeB5CzGlOCxva9KreKx6
COO4X4XaeeDKcTJ1ZE7fq2m9qCE/koy1LzownRcOqJYHDSYeAPh75gqM7a1phxXz
uhtxYqa4hph0KxNMBe+iPf/WmxfKbvVe362SVEFzrD8/AfmjimI=
=UzJ9
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.