Possible solution tested.
this code save for now in the tests.
#First, see if is quoted-printable and then convert.
:0fW
* ^Content-Transfer-Encoding: quoted-printable
| emil -f 2 -l 2 -u -C ISO-8859-1 -F RFC822 -H 8bit -T 8bit
:0 Afhw
| formail -I "Content-Transfer-Encoding: 8bit" \
-I "X-Converted: Quoted-Printable to 8bit"
# Now filter
SHELL=/bin/sh
:0HB
* ! ? /usr/local/etc/blockmail/blockmail.pl
{
EXITCODE=77
:0
/var/mail/attach # drop to /var/mail/attach
}
Blockmail is writen in perl, so, the extensions is edited inside.
He support Base64 and some oders too and using a client mail i sended
html using Quoted-Printable and Base64. In two cases, filter take
effect.
2008/8/19 josias gonçalves <josiaslg(_at_)bsd(_dot_)com(_dot_)br>:
is a program to convert messages in MIME and other extensions.
http://www.mathematik.uni-ulm.de/help/emil/
2008/8/19 LuKreme <kremels(_at_)kreme(_dot_)com>:
On 19-Aug-2008, at 11:48, josias gonçalves wrote:
:0fW
* ^Content-Transfer-Encoding: QUOTED-PRINTABLE
| emil -f 2 -l 2 -u -C ISO-8859-1 -F RFC822 -H 8bit -T 8bit
:0 Afhw
| formail -I "Content-Transfer-Encoding: 8bit" \
-I "X-Converted: Quoted-Printable to 8bit"
$ emil
-bash: emil: command not found
--
Q: Does anyone know how many LOCs were in the Space Shuttle'
codebase?
A: 45. It was written in perl (paraphrased Slashdot discussion)
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail