Great Circle Associates Majordomo-Users
(May 2008)
 

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

Subject: Re: disabling attachments
From: Bob Vaughan <techie @ tantivy . net>
Date: Tue, 13 May 2008 22:45:27 -0700 (PDT)
To: Daniel Liston <dliston @ sonny . org>
Cc: Adam Williams <adam_williams @ bellsouth . net>, majordomo-users @ greatcircle . com
In-reply-to: <482A46DD . 3080800 @ sonny . org>

> 
> 
> Being the moderator does not require punishing bad users, that's just
> a perk. :)  Having a moderated list just gives a single point of entry
> for messgages to be approved, stripped, changed to plain text, provide
> a URL for files, before passing the message on to the entire distribution.

Yes, but a lot more work, which kind of goes against the original reason
for the creation of majordomo. :-)


Here's an example for demime. Note that this strips attachments and HTML from
both the list and the -request alias.



# Test alias (run by majordomo) and template for new majordomo-controlled
# mailing lists.
#
test-owner:             user @
 example .
 com
test-approval:          test-owner
test-digest-approval:   test-owner
owner-test-dist:        test-owner
owner-test-digest:      test-owner
owner-test:             test-owner
#
test-request:           "|/usr/local/majordomo/demime - |/usr/local/majordomo/wrapper majordomo -l test"
#
test-digest-request:    "|/usr/local/majordomo/demime - |/usr/local/majordomo/wrapper majordomo -l test-digest"
#
test-dist:              :include:/usr/local/majordomo/lists/test,
                        "|/usr/local/majordomo/wrapper archive -f /home/system/test/test-archive -a -D",
			"|/usr/local/majordomo/wrapper digest -r -C -l test-digest test-digest-dist,nobody"
#
test:                   "|/usr/local/majordomo/demime '|/usr/local/majordomo/wrapper resend -l test -h mail.example.com test-dist,nobody'"
#
test-digest:            test
#
test-digest-dist:       :include:/usr/local/majordomo/lists/test-digest
#
	

> 
> >>
> >> http://www.phred.org/~alex/stripmime.html
> >>
> > stripmime looks cool, I'll play around with it tomorrow, thanks.
> > 
> 
> Thank Alex for writing it.  I just googled for it. ;)  There's a lot
> that can be done with procmail too, if you really want to get creative.
> 
> Dan Liston
> 

-- 
               -- Welcome My Son, Welcome To The Machine --
Bob Vaughan  | techie @ tantivy.net 		  |
	     | P.O. Box 19792, Stanford, Ca 94309 |
-- I am Me, I am only Me, And no one else is Me, What could be simpler? --


References:
Indexed By Date Previous: Re: disabling attachments
From: Ed Kasky <ed @ esson . net>
Next:
From: (nil)
Indexed By Thread Previous: Re: disabling attachments
From: Daniel Liston <dliston @ sonny . org>
Next: Re: disabling attachments
From: Ed Kasky <ed @ esson . net>