From: Mike Nolan Subject: Re: Disallow 'Content-type: text/html' To: SmartList@informatik.rwth-aachen.de Date: Tue, 28 Apr 1998 13:46:26 -0500 (CDT) X-Mailer: ELM [version 2.4 PL25] > *Without* restarting the debate regarding the advisability or otherwise > of restricting list submissions to plain text, can someone mail me the > appropriate magic to either send submissions containing 'Content-type: > text/html' to /dev/null or to return them to sender with an appropriate > message. Here's how I do it, this is in rc.local.s10 # check for HTML MIME segment and reject submission if found # :0 B * Content-Type: text/html { :0 c html.reject :0 fh | formail -i"From: $listreq" -kbrtA"X-Loop: $listaddr" ; cat html.txt :0 ! $sendmailOPT -t } At present I save rejected HTML posts so that I can contact the author, and I also send the following rejection notice right away: Your post has been rejected because it has been composed in HTML. HTML formatted posts generally do not add any useful content to the discussion. Further, the formatting process inteferes with the digesting process, and cause some subscribers to have problems reading your message. Generally there is also a plain text segment that contains the identical information, resulting in a waste of net resources. Usually the creation of an HTML segment in addition to a plaintext segment is the result of how your mail program is configured, often it is because a default option has not been turned off. Please revise your mail program to disable submissions in HTML when sending to this list. (This rejection has nothing to do with whether or not you included a URL link in your message, it has to do with how your mail program attempted to format that message.) -- Mike Nolan, List Manager nolan@tssi.com