[Esa-l] Deny ALL HTML

John D. Hardin jhardin at wolfenet.com
Sat Apr 21 18:58:12 PDT 2001

On Sun, 22 Apr 2001, Jason Jordan wrote:

> Any ideas on how to do this?
> I think procmail is the answer but am I reinventing the wheel?  
> Is this something John's procmail script can do?

Perhaps something like this in your local-rules script:

:0 b
* 1^1 ^Content-Type:.*text/html
* 1^1 <(html|head|body)>
	... the code to add the X-Security poisoning headers ...

There are also lots of rules on the procmail list that bounce or strip
HTML from multipart/alternative messages. You might want to look
through the procmail FAQ and the other resources ar


 John Hardin KA7OHZ   ICQ#15735746   http://www.wolfenet.com/~jhardin/
 jhardin at wolfenet.com      pgpk -a finger://gonzo.wolfenet.com/jhardin
  768: 0x41EA94F5 - A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76 
 1024: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
  An entitlement beneficiary is a person or special interest group
  who didn't earn your money, but demands the right to take your
  money because they *want* it.
                                  -- John McKay, _The Welfare State:
                                     No Mercy for the Middle Class_
   1291 days until the Presidential Election

More information about the esd-l mailing list