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
|
|