Great Circle Associates Majordomo-Users
(September 1998)
 

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

Subject: Re: message size restriction.
From: bill @ ecology . bio . dfo . ca (Bill Silvert)
Date: Mon, 14 Sep 1998 10:15:01 -0300 (ADT)
To: Majordomo-Users @ GreatCircle . COM (Majordomo Users)

merlin@A470.demon.co.uk (Darren Rees) writes:

>Mark Lewis wrote
>
>     >  i'm running qmail on linux redhat 5.1 box with majordomo 1.94.4
>     >  is there a way of restricting the size of an email that majordomo would
>     >  handle? 
>
>You could run list messages through a script which politely rejects them
>if the script finds file attachments you wish to reject.

Actually taboo-body does this quite well. Just bounce any message that
includes any of the usual attachment headers. For example:

/^\s*Content-Disposition: attachment/
/^\s*Content-Transfer-Encoding: base64/
/^\s*Content-Type: application/
/^\s*MIME BASE64/i
/^\s*begin 4/
/^\s*begin 6/
/^\s*begin 7/

Bill

-- 
Bill Silvert, Habitat Ecology Section, Bedford Institute of Oceanography,
P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2, Tel. (902)426-1577
http://www.mar.dfo-mpo.gc.ca/science/mesd/he/staff/silvert/silvert.html

Indexed By Date Previous: Re: using @filename
From: Dave Barr <barr@cis.ohio-state.edu>
Next: Re: authentication (fwd)
From: Rich Pieri <rich.pieri@prescienttech.com>
Indexed By Thread Previous: Re: message size restriction.
From: "St.Einar" <st.einar@bigfoot.com>
Next: Taboo or not Taboo?
From: "St.Einar" <st.einar@bigfoot.com>

Google
 
Search Internet Search www.greatcircle.com