Great Circle Associates Majordomo-Users
(May 2008)
 

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

Subject: Re: disabling attachments
From: Daniel Liston <dliston @ sonny . org>
Date: Tue, 13 May 2008 19:17:01 -0400
To: Adam Williams <adam_williams @ bellsouth . net>
Cc: majordomo-users @ greatcircle . com
In-reply-to: <4829FF48 . 70404 @ bellsouth . net>
References: <4829FF48 . 70404 @ bellsouth . net>
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

No, not by default anyway.  First, you should make your no
attachments policy known by sending a once/month message to
the list from the owner/moderator.

Second, restrict posting to your list only by members of the
list, or better yet, require moderator approval for postings.
Violators of the policy can then be dealt with while preserving
the pure ASCII content of your distributions.

Third, and probably the most important way to do this is to
demime or stripmime all mail coming into your list.  Attachments
are really just text appended to the body of your messages, with
some boundaries and headers added to tell mail user agents how
to deal with the message.  Removing anything that is not a pattern
match for "Content-Type: text/plain" is a sure fire way to kill off
any attachments the message may have had.  Removing contents of a
message body after "Begin [octal number] [filename]" will get rid
of the rest of any possible attachments.

Using a moderator and restricted posting policies, the third choice
is a manual process.  Without a moderator, you can automate some or
all of this with add-ons.

http://www.phred.org/~alex/stripmime.html
I can't find a working link to demime right now.

Dan Liston

Adam Williams wrote:
is there a way to disable attachments for some/all email lists with majordomo?



Follow-Ups:
References:
Indexed By Date Previous: Re: disabling attachments
From: Adam Williams <adam_williams @ bellsouth . net>
Next: Re: disabling attachments
From: Daniel Liston <dliston @ sonny . org>
Indexed By Thread Previous: disabling attachments
From: Adam Williams <adam_williams @ bellsouth . net>
Next: Re: disabling attachments
From: Adam Williams <adam_williams @ bellsouth . net>