Sue, you can keep out the majority of attachments by setting the maximum
message size very low. Look at the size of a typical message and double or
triple it, and use that as the maximimum size - you'll find that most
attachments will bounce.
Merlin
(formerly Marc W. Mauss)
RRR01
Honorary CSA Consul to Cyberspace
Coram (Long Island), NY
'83 Sabre V45 "Just for Fun"
'85 Shadow VT1100C - (hers)
'86 Shadow VT1100C -- recuperating
Cordura IS a fashion statement.
> -----Original Message-----
> From: majordomo-users-owner@GreatCircle.COM
> [mailto:majordomo-users-owner@GreatCircle.COM]On Behalf Of Sue Owens
> Sent: Saturday, December 18, 1999 2:04 AM
> To: majordomo-users@GreatCircle.COM
> Subject: Eliminating Attachments
>
>
> I am a listowner, but not the server owner that configures the majordomo
> software. However, I can edit the config file for my lists on
> that server.
>
> I am interested in eliminating attachments from my lists to try
> to stop some
> of the messages containing virus attachments.
>
> I searched thru the archives and found a message in answer to my question,
> but obviously I don't know enough about this to accomplish the
> instructions
> below: I have no perl knowledge whatsoever.
>
> snip-----
> 2) add the following to the majordomo.cf file global_taboo_header field:
>
> /^Content-Type: multipart/mixed;/i
> /^Content-Type: multipart\/alternative;/i
> /^Content-Type: multipart\/signed;/i
> /^Content-Type:.*text\/html/i
> /^Content-Type:.*text\/x-vcard/i
> /^Content-Transfer-Encoding: base64/i
>
> this also catches lots of nagging annoyances like html formatted mail,
> the netscape "virtual business cards", etc.
>
> 3) put the following in global_taboo_body to make sure that rich text
> format doesn't leak past the stuff above:
>
> /begin 6\d\d winmail.dat/i
> snip-----
>
> When attempting to do so, I received the following error:
>
> The new config file was not accepted
> |# /begin 6\d\d winmail.dat/i| not a valid pattern match
> expression at line
> 342
> |# /^Content-Type: multipart/mixed;/i| not a valid pattern match
> expression
> at line 350
> |# /^Content-Type: multipart\/signed;/i| not a valid pattern match
> expression at line 351
> |# /^Content-Type:.*text\/html/i| not a valid pattern match expression at
> line 352
> |# /^Content-Type:.*text\/x-vcard/i| not a valid pattern match
> expression at
> line 353
> |# /^Content-Transfer-Encoding: base64/i| not a valid pattern match
> expression at line 354
>
> Could someone be a little more, no a lot more detailed, with an
> explanation
> where I can accomplish this or is there another way? My server
> administrator said that he was not aware of a way to accomplish
> this because
> he doesn't want to turn off attachments to all the other lists...so am I
> spinning wheels here?
>
> Thank you,
> SUE OWENS
> sueowens@jas.net
> http://www.prowebmall.com
>
Follow-Ups:
References:
|
|