From majordomo-users-owner@greatcircle.com Sat May 10 11:34:55 2008 X-Greylist: delayed 401 seconds by postgrey-1.24 at mycroft; Sat, 10 May 2008 11:34:54 PDT Received: from smtp114.sbc.mail.mud.yahoo.com (smtp114.sbc.mail.mud.yahoo.com [68.142.198.213]) by mycroft.greatcircle.com (Postfix) with SMTP id B962A498368 for ; Sat, 10 May 2008 11:34:54 -0700 (PDT) Received: (qmail 52197 invoked from network); 10 May 2008 18:19:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:From:To:Subject:Date:MIME-Version:Content-Type:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=1yGT78wd9Rg61sROhSo7rpmmGvZkflYX8aTIlVghD38C30noGvKDE46RO/jFs2m/hMgG6vjGvklxRMmj/8iwEQzallu1eQOPFY6hnJAmbMWqPt+tfyv/InD+QqVhaS1jptVhaI1hb6JsQ/4+Z5rgXqPBbjQG+0YE/lmqAkMWVh0= ; Received: from unknown (HELO DESKTOPPRO) (pattersontj@sbcglobal.net@69.151.152.217 with login) by smtp114.sbc.mail.mud.yahoo.com with SMTP; 10 May 2008 18:19:35 -0000 X-YMail-OSG: 1pBCLoAVM1lRbCMN3jyIkYB6fK6z0gZpN8uVSFjA9fclHDgNoso.2s9p19.57JGebmp0zG7BHEFWVOVDyufX725WSgha7bvdStnenwQwKvdW16IYhlS86Q0Of7KWSaP114M- X-Yahoo-Newman-Property: ymail-3 Message-ID: <00fe01c8b2ca$52d88a80$6400a8c0@DESKTOPPRO> From: "Tom Patterson" To: Subject: Majordomo and Demime using Postfix Date: Sat, 10 May 2008 13:19:01 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00FB_01C8B2A0.697F6FD0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Archive-Number: 200805/1 X-Sequence-Number: 5721 This is a multi-part message in MIME format. ------=_NextPart_000_00FB_01C8B2A0.697F6FD0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have been unable to get demime to work with my mailing list which = operates with postfix and do not see any solutions in the archives. I have been operating lists on a server with sendmail, and demime has = worked fine on that server, but I am now moving to a new one. What I am using on the new server is: Majordomo 1.94.5 Perl 5.8.8 Operating system: Fedora 6 Mailer: Postfix Is there information available for postfix? -Tom ------=_NextPart_000_00FB_01C8B2A0.697F6FD0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have been unable to get demime to work with my = mailing=20 list which operates with postfix and do not see any solutions in the=20 archives.
 
I have been operating lists on a server with = sendmail, and=20 demime has worked fine on that server, but I am now moving to a new=20 one.
 
What I am using on the new server = is:
Majordomo 1.94.5
Perl 5.8.8
Operating system: Fedora 6
 Mailer: Postfix
 
Is there information available for = postfix?
 
-Tom
------=_NextPart_000_00FB_01C8B2A0.697F6FD0-- From majordomo-users-owner@greatcircle.com Sat May 10 16:10:49 2008 X-Greylist: delayed 1824 seconds by postgrey-1.24 at mycroft; Sat, 10 May 2008 16:10:47 PDT Received: from huntingcow.cyberthugs.com (mail.cyberthugs.com [74.39.192.241]) by mycroft.greatcircle.com (Postfix) with ESMTP id 01C444983E2 for ; Sat, 10 May 2008 16:10:47 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by huntingcow.cyberthugs.com (Postfix) with ESMTP id 411ABB381D8; Sat, 10 May 2008 22:31:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at cyberthugs.com Received: from huntingcow.cyberthugs.com ([127.0.0.1]) by localhost (huntingcow.cyberthugs.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id C1Ln+RmWPNMc; Sat, 10 May 2008 18:31:32 -0400 (EDT) Received: from huntingcow.cyberthugs.com (huntingcow.cyberthugs.com [127.0.0.1]) by huntingcow.cyberthugs.com (Postfix) with ESMTP id 0E6D5B381CE; Sat, 10 May 2008 18:31:32 -0400 (EDT) Received: (from ddewey@localhost) by huntingcow.cyberthugs.com (8.13.4/8.13.4/Submit) id m4AMVVUd003400; Sat, 10 May 2008 18:31:31 -0400 From: Dave Dewey Date: Sat, 10 May 2008 18:31:31 -0400 To: Tom Patterson Cc: Majordomo-Users@GreatCircle.COM Subject: Re: Majordomo and Demime using Postfix Message-ID: <20080510223131.GA2732@huntingcow.cyberthugs.com> References: <00fe01c8b2ca$52d88a80$6400a8c0@DESKTOPPRO> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00fe01c8b2ca$52d88a80$6400a8c0@DESKTOPPRO> User-Agent: Mutt/1.5.12-2006-07-14 X-Archive-Number: 200805/2 X-Sequence-Number: 5722 Quoting Tom Patterson (pattersontj@sbcglobal.net): > > I have been unable to get demime to work with my mailing list which > operates with postfix and do not see any solutions in the archives. > > > > I have been operating lists on a server with sendmail, and demime has > worked fine on that server, but I am now moving to a new one. > > Here's an old example that worked for me. I've used demime and postfix for years with majordomo and mailman. listname.listdomain.com: "|/usr/lib/majordomo/demime '|/usr/lib/majordomo/resend -l listname -C /usr/lib/majordomo/majordomo-listdomain.com.cf -h listname.com listname.listdomain.com-outgoing'" Note the placement of the various quotation marks, they are important. From majordomo-users-owner@greatcircle.com Sat May 10 16:42:09 2008 Received: from smtp108.sbc.mail.mud.yahoo.com (smtp108.sbc.mail.mud.yahoo.com [68.142.198.207]) by mycroft.greatcircle.com (Postfix) with SMTP id 860054983DF for ; Sat, 10 May 2008 16:42:08 -0700 (PDT) Received: (qmail 28691 invoked from network); 10 May 2008 23:33:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:From:To:Cc:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=GbO14O0lqpGxpKO8xOX8koSpJdWklRc4y/8eGCK4C930RROsc9Ff7EP2Aq1rU8OudNqdKIdGRSrslMIS0JA2yjF4zeByzCi0nPk/fCij5rFNERl18/+kPe9296VpuOEFLB6lz5bB3Dv4yM3APJpuoVOQydqmKsX9fzrvWkDXSaw= ; Received: from unknown (HELO DESKTOPPRO) (pattersontj@sbcglobal.net@69.151.152.217 with login) by smtp108.sbc.mail.mud.yahoo.com with SMTP; 10 May 2008 23:33:29 -0000 X-YMail-OSG: CkfOjPAVM1mfke53NZiLgsHADW0xBPkw24ZypB8Yx2RJvuYyJBFiTJ2Aks6VYZbYXcqoodY.WcIzX5IzmpZiTEepZoquDG.NyoMcdFNaw.OwEIdZE55i.vzSVAncAnk- X-Yahoo-Newman-Property: ymail-3 Message-ID: <01da01c8b2f6$2c6e3c60$6400a8c0@DESKTOPPRO> From: "Tom Patterson" To: "Dave Dewey" Cc: References: <00fe01c8b2ca$52d88a80$6400a8c0@DESKTOPPRO> <20080510223131.GA2732@huntingcow.cyberthugs.com> Subject: Re: Majordomo and Demime using Postfix Date: Sat, 10 May 2008 18:32:54 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Archive-Number: 200805/3 X-Sequence-Number: 5723 Thanks Dave, Let me try this one for a little bit and see if I can get it working. If I have any questions, I will get back with you. -Tom ----- Original Message ----- From: "Dave Dewey" To: "Tom Patterson" Cc: Sent: Saturday, May 10, 2008 5:31 PM Subject: Re: Majordomo and Demime using Postfix > Quoting Tom Patterson (pattersontj@sbcglobal.net): > >> >> I have been unable to get demime to work with my mailing list which >> operates with postfix and do not see any solutions in the archives. >> >> >> >> I have been operating lists on a server with sendmail, and demime has >> worked fine on that server, but I am now moving to a new one. >> >> > > Here's an old example that worked for me. I've used demime and > postfix for years with majordomo and mailman. > > listname.listdomain.com: "|/usr/lib/majordomo/demime > '|/usr/lib/majordomo/resend -l listname -C > /usr/lib/majordomo/majordomo-listdomain.com.cf -h listname.com > listname.listdomain.com-outgoing'" > > Note the placement of the various quotation marks, they are important. From majordomo-users-owner@greatcircle.com Sat May 10 18:47:40 2008 Received: from smtp113.sbc.mail.mud.yahoo.com (smtp113.sbc.mail.mud.yahoo.com [68.142.198.212]) by mycroft.greatcircle.com (Postfix) with SMTP id D28AA4983EA for ; Sat, 10 May 2008 18:47:39 -0700 (PDT) Received: (qmail 34709 invoked from network); 11 May 2008 01:39:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:From:To:Cc:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=rJBSY1Rk1dWNYZFb2VSBQ001+C4XdbJBPhhrNIMgXjHDMRhlcgQCNHg3lHfD83Kje3IY0AUxmrJIBd9div2bWRPy3KrbyKSnynmMPJacijx4t9i0TM8kIxA/Q1SDduIk/Mbvw4VABqeR+0yCYdqujEtqEFYTeOVMk62j+LOyes8= ; Received: from unknown (HELO DESKTOPPRO) (pattersontj@sbcglobal.net@69.151.152.217 with login) by smtp113.sbc.mail.mud.yahoo.com with SMTP; 11 May 2008 01:39:00 -0000 X-YMail-OSG: sfbfH3kVM1lF5eVWR9EHoZ3pSjeWU7tRgSDB_svIdLE0BwR1eKEXOeO1G1bKYhH4atqP75apSe4dUL5pK50OhPKSX9D48q_NOjeFzmULtAKFeFdQ5TiDdYogT9oiSjvUf1j46L3MGFdqTG7dqDIB6hqf X-Yahoo-Newman-Property: ymail-3 Message-ID: <028f01c8b307$b5206040$6400a8c0@DESKTOPPRO> From: "Tom Patterson" To: "Dave Dewey" Cc: References: <00fe01c8b2ca$52d88a80$6400a8c0@DESKTOPPRO> <20080510223131.GA2732@huntingcow.cyberthugs.com> Subject: Re: Majordomo and Demime using Postfix Date: Sat, 10 May 2008 20:38:25 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Archive-Number: 200805/4 X-Sequence-Number: 5724 Dave, Thank you very much. That got it working. I had been almost ready to give up on it, but thankfully I thought of this mailing list. I had not been able to find the solution elsewhere on the internet. Just for general information for others on the list, following is the alias for my list. #mylist list aliases mylist: "|/usr/local/majordomo/demime '|/usr/local/majordomo/resend -l mylist -C /usr/local/majordomo/majordomo.cf -h domain.com mylist-outgoing'" mylist-outgoing: ":include:/usr/local/majordomo/lists/mylist" mylist-request: "|/usr/local/majordomo/wrapper majordomo -l mylist" owner-mylist: pattersontj@sbcglobal.net mylist-owner: owner-mylist mylist-approval: owner-mylist -Tom ----- Original Message ----- From: "Dave Dewey" To: "Tom Patterson" Cc: Sent: Saturday, May 10, 2008 5:31 PM Subject: Re: Majordomo and Demime using Postfix > Quoting Tom Patterson (pattersontj@sbcglobal.net): > >> >> I have been unable to get demime to work with my mailing list which >> operates with postfix and do not see any solutions in the archives. >> >> >> >> I have been operating lists on a server with sendmail, and demime has >> worked fine on that server, but I am now moving to a new one. >> >> > > Here's an old example that worked for me. I've used demime and > postfix for years with majordomo and mailman. > > listname.listdomain.com: "|/usr/lib/majordomo/demime > '|/usr/lib/majordomo/resend -l listname -C > /usr/lib/majordomo/majordomo-listdomain.com.cf -h listname.com > listname.listdomain.com-outgoing'" > > Note the placement of the various quotation marks, they are important. From majordomo-users-owner@greatcircle.com Tue May 13 14:03:43 2008 Received: from fmailhost01.isp.att.net (fmailhost01.isp.att.net [207.115.11.51]) by mycroft.greatcircle.com (Postfix) with ESMTP id B3CD74B0050 for ; Tue, 13 May 2008 14:03:42 -0700 (PDT) Received: from [127.0.0.1] (adsl-068-209-223-242.sip.jan.bellsouth.net[68.209.223.242]) by isp.att.net (frfwmhc01) with ESMTP id <20080513205148H01000hh1pe>; Tue, 13 May 2008 20:51:49 +0000 X-Originating-IP: [68.209.223.242] Message-ID: <4829FF48.70404@bellsouth.net> Date: Tue, 13 May 2008 15:51:20 -0500 From: Adam Williams User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: majordomo-users@greatcircle.com Subject: disabling attachments Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200805/5 X-Sequence-Number: 5725 is there a way to disable attachments for some/all email lists with majordomo? From majordomo-users-owner@greatcircle.com Tue May 13 16:42:19 2008 Received: from fmailhost01.isp.att.net (fmailhost06.isp.att.net [204.127.217.106]) by mycroft.greatcircle.com (Postfix) with ESMTP id 27D41498441 for ; Tue, 13 May 2008 16:42:19 -0700 (PDT) Received: from [127.0.0.1] (adsl-068-209-223-242.sip.jan.bellsouth.net[68.209.223.242]) by isp.att.net (frfwmhc06) with ESMTP id <20080513233320H06003u41ce>; Tue, 13 May 2008 23:33:21 +0000 X-Originating-IP: [68.209.223.242] Message-ID: <482A2527.4040403@bellsouth.net> Date: Tue, 13 May 2008 18:32:55 -0500 From: Adam Williams User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Daniel Liston CC: majordomo-users@greatcircle.com Subject: Re: disabling attachments References: <4829FF48.70404@bellsouth.net> <482A216D.5050609@sonny.org> In-Reply-To: <482A216D.5050609@sonny.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200805/6 X-Sequence-Number: 5726 Daniel Liston wrote: > 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. > My work has 150 users, and staff will send attachments to everyone on the lists. Attachments can be anywhere from a few k to a couple of megabytes, and management doesn't want any email deleted, ever (we are an archival/educational/library government institution) so take a few megs per email x 150 users you suddenly have several hundred to 1G of email per mass message that I have to save, forever, to hard drive and tape. Sending monthly notices won't help clueless users that don't care what the policy is. i want them to send their attachments to the webmaster who will then put them on the website somewhere and send them a link they can email to everyone. > 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. I don't want to be a moderator for internal lists. We are a government institution so there's nothing I can really do to punish bad users. > > 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 stripmime looks cool, I'll play around with it tomorrow, thanks. From majordomo-users-owner@greatcircle.com Tue May 13 18:25:28 2008 X-Greylist: delayed 7203 seconds by postgrey-1.24 at mycroft; Tue, 13 May 2008 18:25:27 PDT Received: from mail.sonny.com (mail.sonny.com [70.58.223.141]) by mycroft.greatcircle.com (Postfix) with ESMTP id 93356498449 for ; Tue, 13 May 2008 18:25:27 -0700 (PDT) Received: from [10.11.51.157] (72-255-61-69.client.stsn.net [72.255.61.69]) by mail.sonny.com (iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)) with ESMTPA id <0K0T00302XUAYN@mail.sonny.com> for majordomo-users@greatcircle.com; Tue, 13 May 2008 18:13:28 -0500 (CDT) Date: Tue, 13 May 2008 19:17:01 -0400 From: Daniel Liston Subject: Re: disabling attachments In-reply-to: <4829FF48.70404@bellsouth.net> To: Adam Williams Cc: majordomo-users@greatcircle.com Message-id: <482A216D.5050609@sonny.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) References: <4829FF48.70404@bellsouth.net> X-Archive-Number: 200805/7 X-Sequence-Number: 5727 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? > From majordomo-users-owner@greatcircle.com Tue May 13 19:05:12 2008 Received: from mail.sonny.com (mail.sonny.com [70.58.223.141]) by mycroft.greatcircle.com (Postfix) with ESMTP id 9E84A49843D for ; Tue, 13 May 2008 19:05:11 -0700 (PDT) Received: from [10.11.51.157] (72-255-61-69.client.stsn.net [72.255.61.69]) by mail.sonny.com (iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)) with ESMTPA id <0K0U0040758F0X@mail.sonny.com> for majordomo-users@greatcircle.com; Tue, 13 May 2008 20:53:12 -0500 (CDT) Date: Tue, 13 May 2008 21:56:45 -0400 From: Daniel Liston Subject: Re: disabling attachments In-reply-to: <482A2527.4040403@bellsouth.net> To: Adam Williams Cc: majordomo-users@greatcircle.com Message-id: <482A46DD.3080800@sonny.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) References: <4829FF48.70404@bellsouth.net> <482A216D.5050609@sonny.org> <482A2527.4040403@bellsouth.net> X-Archive-Number: 200805/8 X-Sequence-Number: 5728 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. >> >> 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 From majordomo-users-owner@greatcircle.com Tue May 13 21:10:59 2008 X-Greylist: delayed 1724 seconds by postgrey-1.24 at mycroft; Tue, 13 May 2008 21:10:59 PDT Received: from yoda.wrenkasky.com (esson.net [216.102.129.43]) by mycroft.greatcircle.com (Postfix) with ESMTP id 08BB4498448 for ; Tue, 13 May 2008 21:10:58 -0700 (PDT) Received: from EDS.esson.net (eds.wrenkasky.com [10.10.10.11]) (authenticated bits=0) by yoda.wrenkasky.com (8.14.2/8.14.2) with ESMTP id m4E3X9wC005216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 13 May 2008 20:33:14 -0700 Message-Id: <200805140333.m4E3X9wC005216@yoda.wrenkasky.com> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 13 May 2008 20:33:12 -0700 To: Adam Williams , majordomo-users@greatcircle.com From: Ed Kasky Subject: Re: disabling attachments In-Reply-To: <4829FF48.70404@bellsouth.net> References: <4829FF48.70404@bellsouth.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Received-SPF: pass (yoda.wrenkasky.com: 10.10.10.11 is authenticated by a trusted mechanism) X-Archive-Number: 200805/9 X-Sequence-Number: 5729 The one way I know is to use demime. Works just fine here. I have heard that the author is no longer active but the last release was 1.1d HTH Ed At 01:51 PM Tuesday, 5/13/2008, Adam Williams wrote -=> >is there a way to disable attachments for some/all email lists with majordomo? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Randomly Generated Quote (1137 of 1412): The only problem with seeing too much is that it makes you insane. -- Phaedrus From majordomo-users-owner@greatcircle.com Tue May 13 23:05:17 2008 X-Greylist: delayed 561 seconds by postgrey-1.24 at mycroft; Tue, 13 May 2008 23:04:05 PDT Received: from smtp2.stanford.edu (smtp2.Stanford.EDU [171.67.20.25]) by mycroft.greatcircle.com (Postfix) with ESMTP id 49ADB510002 for ; Tue, 13 May 2008 23:04:05 -0700 (PDT) Received: from smtp2.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id C245865A331; Tue, 13 May 2008 22:45:44 -0700 (PDT) Received: from tantivy.tantivy.net (tantivy.Stanford.EDU [171.66.118.251]) by smtp2.stanford.edu (Postfix) with ESMTP id 02C6365A201; Tue, 13 May 2008 22:45:43 -0700 (PDT) Received: from tantivy.tantivy.net (techie@localhost.tantivy.net [127.0.0.1]) by tantivy.tantivy.net (8.13.8/8.13.8) with ESMTP id m4E5jS99079405; Tue, 13 May 2008 22:45:43 -0700 (PDT) (envelope-from techie@tantivy.tantivy.net) Received: (from techie@localhost) by tantivy.tantivy.net (8.13.8/8.13.8/Submit) id m4E5jRMQ079402; Tue, 13 May 2008 22:45:27 -0700 (PDT) (envelope-from techie) From: Bob Vaughan Message-Id: <200805140545.m4E5jRMQ079402@tantivy.tantivy.net> Subject: Re: disabling attachments In-Reply-To: <482A46DD.3080800@sonny.org> To: Daniel Liston Date: Tue, 13 May 2008 22:45:27 -0700 (PDT) CC: Adam Williams , majordomo-users@greatcircle.com X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200805/10 X-Sequence-Number: 5730 > > > 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? --