Re: html filtering
-----BEGIN PGP SIGNED MESSAGE-----
On Fri, Aug 02, 2002 at 04:10:48PM -0300, Marcelo Chiapparini wrote:
> it is possible to filter away any html file attached to a message using
(Modify to suit, what follows is a portion of my .procmailrc)
# Explain to HTML senders why I'm not even bothering.
* !^X-Loop: MAILER-DAEMON@ursine.dyndns.org
| (formail -rk -i "From: MAILER-DAEMON@ursine.dyndns.org" -A "X-Loop: MAILER-DAEMON@ursine.dyndns.org";\
cat ~/text/html ) | $SENDMAIL -t -oi
You can just as easily replace everything from the | on with simply
/dev/null and you'll never see or hear from it again.
~/text/html contains the following...
Your message was in, or contained, HTML. Mail sent by HTML will not
be considered for reading. Sending in HTML is resource intensive
often consuming far more resources than necissary to get the job done,
and assumes that the recipient's mail reader is braindamaged enough to
parse potentially bugged HTML in this day and age.
Please disable HTML in your mail program before attempting to resend
your message. If you need help, please see
This is an automated response, no human has seen your message.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
-----END PGP SIGNATURE-----