Great Circle Associates Majordomo-Users
(June 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Help stopping HTML, RTF and ATTACHMENTS from being sent to my list.
From: Harald Tveit Alvestrand <Harald . Alvestrand @ maxware . no>
Date: Wed, 17 Jun 1998 08:34:40 +0200
To: aufgang @ shemesh . co . il, Majordomo-Users @ GreatCircle . COM, Majordomo-Workers @ GreatCircle . COM
In-reply-to: <35859733.3AF2@shemesh.co.il>

(how did you get the error messages? Mine don't.....)

You have to enclose each pattern in slashes, possibly with a trailing
modifier:

/<html>/i rather than <html>

(the trailing i means "ignore case")

This will stop all messages about HTML, probably...the RIGHT way to stop
HTML-only messages is:

taboo_headers <<END
/^Content-type: text\/html/i
END

The backslash is needed because the slash terminates the regexp.
Majordomo doesn't know about MIME attachments, so you have to match the
header in the body:

taboo_body <<END
/^Content-type: text\/html/i
END

Or, something which will catch a few more, but looks stranger:

/^Content-type:\s*text\s^*\/html/i

Similar things for RTF, once you find out what the people sending to
your lists call RTF.....

                Harald A

-- 
Harald Tveit Alvestrand, Maxware, Norway
Harald.Alvestrand@maxware.no



Follow-Ups:
References:
Indexed By Date Previous: Re: Can Majordomo be installed on Windows NT server?
From: Jeffrey Goldberg <J.Goldberg@Cranfield.ac.uk>
Next: Re: European character set with approve password
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Indexed By Thread Previous: Help stopping HTML, RTF and ATTACHMENTS from being sent to my list.
From: Daniel Aufgang <aufgang@shemesh.co.il>
Next: Re: Help stopping HTML, RTF and ATTACHMENTS from being sent to my list.
From: Ben Smithurst <ben@scientia.demon.co.uk>

Google
 
Search Internet Search www.greatcircle.com