Groups | Search | Server Info | Login | Register


Groups > comp.mail.mime > #44

do you use the formail program?

From Eli the Bearded <*@eli.users.panix.com>
Newsgroups comp.mail.misc, comp.mail.mime
Subject do you use the formail program?
Date 2018-10-24 21:53 +0000
Organization Some absurd concept
Message-ID <eli$1810241752@qaz.wtf> (permalink)

Cross-posted to 2 groups.

Show all headers | View raw


Do you use the formail program? If so maybe you could help test
something.

In a fit of frustration with RFC-2047 MIME encoded words, I added
code to formail that will decode them. (It cannot encode them, at
least yet.)

MIME words, if you don't know, are the things that look like this:

  =?CHARSET?Q?Quoted=2Dprintable_content?=

That are frequently used in Subject: and From: lines (and rarely in
other headers) to encode non-ASCII content in a 7-bit safe way. 

In my modified formail, everything works as in a stock 3.22 version
except that an additional flag has been added. When you use that
flag to specify an acceptable charset, formail will decode words
matching that charset on read, and all further actions with the content
will operate on the decoded version. 

This is beta quality code and I'm looking for people to test it and
flush out any problems with it.

https://github.com/Eli-the-Bearded/procmail-formail

Note that this contains a complete procmail source package, but only
the formail program (and manpage) has been modified.

  git clone https://github.com/Eli-the-Bearded/procmail-formail
  cd procmail-formail
  make
  cp new/formail $YOUR_PREFERED_BIN_LOCATION
  cp new/formail.1 $YOUR_PREFERED_MAN_LOCATION

And add "-M charset" to flags to activate the decoder.

(I'm also vaguely aware there have been security patches to the
procmail package since 3.22 came out in 2001 which are not incorporated
here.)

Elijah
------
procmail was clearly written by someone who hates whitespace in code

Back to comp.mail.mime | Previous | NextNext in thread | Find similar


Thread

do you use the formail program? Eli the Bearded <*@eli.users.panix.com> - 2018-10-24 21:53 +0000
  Re: do you use the formail program? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-10-26 05:57 +0000
  Re: do you use the formail program? Grant Taylor <gtaylor@tnetconsulting.net> - 2018-10-31 16:04 -0600
    Re: do you use the formail program? Eli the Bearded <*@eli.users.panix.com> - 2018-11-01 18:54 +0000

csiph-web