On 10/31/00, at 9:15am -0600, Dan Liston <dliston@netscape.com> wrote:
>What I have done is look through my message archives (pine and netscape
>folders), and find headers that indicate attachments. These are the filters
>I have put in place to avoid attachments on my majordomo server.
>$global_taboo_headers = <<'END';
>/^content-type:.*html/i
>/^content-type:.*rich/i
>/^Content-Type:.*application/i
>/^Content-Type:.*multipart/i
>/^X-MS-Attachment:/i
>/^Content-Disposition:\s+attachment/i
>/^Content-Transfer-Encoding:\s+base64/i
I've been using most of these on several lists. However, I've been having
trouble writing a Regular Expression that would catch any uuencoded file in the
body of a message. I wrote something to catch WINMAIL.DAT (something stuck in
by an old Microsoft application; I have no idea what it was). But I've been
told that there's a general format or identification for uuencoded files that
should be trappable.
Any thoughts?
>Keep in mind, that these filters also bounce digitally signed messages
>and messages with attached vCards to the list-owner for approval.
We asked folks to turn off vcards as attachments are generally banned.
References:
|
|