Re: disabling attachments
Bob Vaughan <[email protected]> Tue, 13 May 2008 22:45:27 -0700 (PDT)
| Newsgroups | gmane.mail.majordomo.general |
|---|---|
| Message-ID | <[email protected]> |
> > > 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: [email protected] 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? --