X-ORIGINAL-NEWSGROUPS: comp.mail.misc,comp.mail.headers,comp.mail.mime
I don't subscribe to .headers, but .mime is deader than this group.
In comp.mail.misc, Dario Niedermann <
[email protected]> wrote:
Sometimes you'll get an email - without attachments, just text - and
that email is base64-encoded for no good reason. Spammers have been
known to do that in order to bypass spam filters. Mailing list soft-
ware has been unwisely configured to send out encoded messages. Or clueless users tweaked their client the wrong way...
The end results:
1. any rule in your mail processing chain matching on message body
will fail;
2. ungreppable messages end up in your stored email.
`debbie' was written to address this specific problem. [...]
See <https://www.darioniedermann.it/sw/debbie.html> for more info.
"You don't have permission to access /sw/archives/debbie-1.0.tbz on this server."
Here's how I've been doing it for years:
:r! cat ~/.procmail.base64
# inline decode non-multiparts that are base64
:0
* ^MIME-Version: 1.0
* ^Content-Type: *text/
* ^Content-Transfer-Encoding:[ ]*base64
{
# 'b' body, 'f' filter, 'w' wait to check exit code
:0bfw
| /usr/local/bin/mmencode -b -u;echo
# 'a' and also (but only if above exit code indicated success),
# 'h' headers, 'f' filter
:0ahf
| formail -R Content-Transfer-Encoding X-Orig-Content-Transfer-Encoding
}
The mmencode program has gotten pretty obscure these days. Modern Linux
users probably want to switch in "/usr/bin/base64 -d". mmencode has the advantage of also being able to encode/decode quoted-printable.
gopher://darioniedermann.it/ <> https://www.darioniedermann.it/
Your gopher software page clearly gets updated a lot less frequently
than your web one.
Elijah
------
has another recipe file for detaching attachments
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)