From drbalaji96 at gmail.com Mon Aug 2 17:07:35 2010 From: drbalaji96 at gmail.com (Balaji Ramanathan) Date: Mon, 2 Aug 2010 10:07:35 -0500 Subject: [Mailman-Users] how to block / discard automatically a specific email from email ID Message-ID: Hello, I am running 2.0.5 version. I am getting spammed from a specific member email ID. I have removed (unsubscribed) that email ID from member list. However I get spam emails from that same ID (hotmail). It comes to me for approval. How can I automatically discard from that email ID alone and stop email notices from mailman to me? please......... drb From george.news at gmx.net Mon Aug 2 21:17:05 2010 From: george.news at gmx.net (George) Date: Mon, 02 Aug 2010 21:17:05 +0200 Subject: [Mailman-Users] Multiple domains Message-ID: <4C5719B1.8090502@gmx.net> Is there any way to handle multiple domains in Mailman 2.1.19? I have apply the patch from http://nxsy.org/139.html and this way I have a list called mydomain.com-list. The issue is that if I'm posting to mydomain.com-list at mydomain.com everything seems to work fine. However, when posting to list at mydomain.com the mail is set to quarantine. I have tried to rewrite the address on postfix (using alias) to match mydomain.com-list, but it still doesn't work. Any idea how can I make it working? Why is Mailmain complaining about "Message has implicit destination"? I'm using postfix with virtual domains, mysql and mailman. Any help is more than appreciated!! TA Jorge From waterhorse at ultrasw.com Mon Aug 2 23:57:05 2010 From: waterhorse at ultrasw.com (Paul Scott) Date: Mon, 02 Aug 2010 14:57:05 -0700 Subject: [Mailman-Users] monthly notices sent to unsubscribed addresses Message-ID: <4C573F31.1030803@ultrasw.com> Hi, I own two MailMan 2.1.13 list serves. After addresses are unsubscribed monthly list membership notices are still sent to these addresses. I just got an email from someone who has been unsubscribed for several months. TIA for any advice on fixing this. Paul Scott From drbalaji96 at gmail.com Tue Aug 3 16:21:27 2010 From: drbalaji96 at gmail.com (Balaji Ramanathan) Date: Tue, 3 Aug 2010 09:21:27 -0500 Subject: [Mailman-Users] how to block / discard automatically a specific email from email ID Message-ID: Hello, I am running 2.0.5 version. I am getting spammed from a specific member email ID. I have removed (unsubscribed) that email ID from member list. However I get spam emails from that same ID (hotmail). It comes to me for approval. How can I automatically discard from that email ID alone and stop email notices from mailman to me? please......... drb From odhiambo at gmail.com Tue Aug 3 17:12:15 2010 From: odhiambo at gmail.com (Odhiambo Washington) Date: Tue, 3 Aug 2010 18:12:15 +0300 Subject: [Mailman-Users] how to block / discard automatically a specific email from email ID In-Reply-To: References: Message-ID: On Tue, Aug 3, 2010 at 5:21 PM, Balaji Ramanathan wrote: > Hello, > I am running 2.0.5 version. > > I am getting spammed from a specific member email ID. I have removed > (unsubscribed) that email ID from member list. However I get spam emails > from that same ID (hotmail). It comes to me for approval. > > How can I automatically discard from that email ID alone and stop email > notices from mailman to me? > > Did you already take time to go (while reading) ALL the options in the Mailman's list admin interface? If you do, you will find the options there. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From mark at msapiro.net Tue Aug 3 17:28:22 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 3 Aug 2010 08:28:22 -0700 Subject: [Mailman-Users] monthly notices sent to unsubscribed addresses In-Reply-To: <4C573F31.1030803@ultrasw.com> Message-ID: Paul Scott wrote: > >I own two MailMan 2.1.13 list serves. See the FAQ at . >After addresses are unsubscribed >monthly list membership notices are still sent to these addresses. I >just got an email from someone who has been unsubscribed for several months. See the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Aug 3 17:52:09 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 3 Aug 2010 08:52:09 -0700 Subject: [Mailman-Users] Multiple domains In-Reply-To: <4C5719B1.8090502@gmx.net> Message-ID: George wrote: >Is there any way to handle multiple domains in Mailman 2.1.19? 2.1.9? See the branch at . >I have apply the patch from http://nxsy.org/139.html and this way I have >a list called mydomain.com-list. > >The issue is that if I'm posting to mydomain.com-list at mydomain.com >everything seems to work fine. However, when posting to >list at mydomain.com the mail is set to quarantine. > >I have tried to rewrite the address on postfix (using alias) to match >mydomain.com-list, but it still doesn't work. The page you refer to gives the Exim configuration to handle this. If you want to use Postfix, it's up to you to translate that to the necessary Postfix configuration. >Any idea how can I make it working? Why is Mailmain complaining about >"Message has implicit destination"? See the settings on the Mailman admin Privacy options... -> Recipient filters page. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Aug 3 18:02:54 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 3 Aug 2010 09:02:54 -0700 Subject: [Mailman-Users] how to block / discard automatically a specificemail from email ID In-Reply-To: Message-ID: Balaji Ramanathan wrote: >I am running 2.0.5 version. 2.0.5? Really? >I am getting spammed from a specific member email ID. I have removed >(unsubscribed) that email ID from member list. However I get spam emails >from that same ID (hotmail). It comes to me for approval. > >How can I automatically discard from that email ID alone and stop email >notices from mailman to me? If you mean 2.1.5, there are several ways to do this. Probably the easiest is Privacy options... -> Sender filters -> discard_these_nonmembers. If you really mean 2.0.5, I don't think there's a way to reject/discard as opposed to hold posts from a specific address. Note that 2.0.5 is over 9 years old. 2.1.5 is over 6 years old. The current release is 2.1.13 with 2.1.14 due in September. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From drbalaji96 at gmail.com Tue Aug 3 22:17:51 2010 From: drbalaji96 at gmail.com (Balaji Ramanathan) Date: Tue, 3 Aug 2010 15:17:51 -0500 Subject: [Mailman-Users] how to block / discard automatically a specificemail from email ID In-Reply-To: References: Message-ID: Unfortunately, yes I am running 2.0.5 version. Upgrading is not under my control. Could you please let me know how to block/discard a specific address? and avoid approval notices for me? say - example at hotmail.com drb On Tue, Aug 3, 2010 at 11:02 AM, Mark Sapiro wrote: > wrote: > >I am running 2.0.5 version. > > > > 2.0.5? Really? > > > >I am getting spammed from a specific member email ID. I have removed > >(unsubscribed) that email ID from member list. However I get spam emails > >from that same ID (hotmail). It comes to me for approval. > > > >How can I automatically discard from that email ID alone and stop email > >notices from mailman to me? > > > If you mean 2.1.5, there are several ways to do this. Probably the > easiest is Privacy options... -> Sender filters -> > discard_these_nonmembers. > > If you really mean 2.0.5, I don't think there's a way to reject/discard > as opposed to hold posts from a specific address. > > Note that 2.0.5 is over 9 years old. 2.1.5 is over 6 years old. The > current release is 2.1.13 with 2.1.14 due in September. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From mark at msapiro.net Tue Aug 3 23:10:43 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 3 Aug 2010 14:10:43 -0700 Subject: [Mailman-Users] how to block / discard automatically a specificemail from email ID In-Reply-To: Message-ID: Balaji Ramanathan wrote: > >Unfortunately, yes I am running 2.0.5 version. > >Upgrading is not under my control. > >Could you please let me know how to block/discard a specific address? and >avoid approval notices for me? >say - example at hotmail.com As I said, >> If you really mean 2.0.5, I don't think there's a way to reject/discard >> as opposed to hold posts from a specific address. In other words, Mailman 2.0 will hold a non-member post for approval, but I think that's all you can do. Mailman 2.0 does not have flexible, configurable ways to reject or discard messages based of the poster or other message attributes. If you can't upgrade, your only other choice, which you may not be able to do either, is to edit the Mailman/Handlers/SpamDetect.py module in your Mailman 2.0 installation. This module contains the definition KNOWN_SPAMMERS = [] If you change that to KNOWN_SPAMMERS = [ ('from', 'example at hotmail\.com'), ] that will result in any message containing a From: header the content of which matches the regexp 'example at hotmail\.com' being discarded. You can add other headers and patterns to the list, but this can only be done by editing the Mailman/Handlers/SpamDetect.py module. There is no list configuration way to do this as there is in Mailman 2.1.x. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From kremels at kreme.com Wed Aug 4 00:20:04 2010 From: kremels at kreme.com (LuKreme) Date: Tue, 3 Aug 2010 16:20:04 -0600 Subject: [Mailman-Users] how to block / discard automatically a specificemail from email ID In-Reply-To: References: Message-ID: On 3-Aug-2010, at 14:17, Balaji Ramanathan wrote: > > Unfortunately, yes I am running 2.0.5 version. > > Upgrading is not under my control. Mailman 2.0.5 is pushing ten years old. If your host is unwilling or unable to update then find another host. If this is a corporate machine where the IT department is unable or unwilling to update, then you probably need to complain to someone if you are expected to administer the lists. -- Can't stop the signal From adam-mailman at amyl.org.uk Wed Aug 4 01:20:25 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Wed, 4 Aug 2010 00:20:25 +0100 Subject: [Mailman-Users] how to block / discard automatically a specificemail from email ID In-Reply-To: References: Message-ID: <20100803232025.GS28385@hendricks.amyl.org.uk> On Tue, Aug 03, 2010 at 04:20:04PM -0600, LuKreme wrote: > On 3-Aug-2010, at 14:17, Balaji Ramanathan wrote: > > > > Unfortunately, yes I am running 2.0.5 version. > > > > Upgrading is not under my control. > > Mailman 2.0.5 is pushing ten years old. If your host is unwilling or > unable to update then find another host. If this is a corporate > machine where the IT department is unable or unwilling to update, then > you probably need to complain to someone if you are expected to > administer the lists. Spot on for my views too. Don't be dealing with this antiquated version. Really. -- The trouble with conspiracy theories is that they assume the government is organised. From joonho at a9.com Wed Aug 4 02:21:17 2010 From: joonho at a9.com (Syn, Joonho) Date: Tue, 3 Aug 2010 17:21:17 -0700 Subject: [Mailman-Users] making my mailman archives searchable on my intranet Message-ID: <34B2E7E5-43BA-4F36-9E9B-A62166D27D4B@a9.com> I"m trying to make our internal list archives searchable by my co-workers on our intranet. Anyone else out there done something similar not using Namazu? If so, what did you use and what were the pitfalls you ran across? From athomps at adf.org Wed Aug 4 02:34:47 2010 From: athomps at adf.org (Anthony R. Thompson) Date: Tue, 03 Aug 2010 20:34:47 -0400 Subject: [Mailman-Users] making my mailman archives searchable on my intranet In-Reply-To: <34B2E7E5-43BA-4F36-9E9B-A62166D27D4B@a9.com> References: <34B2E7E5-43BA-4F36-9E9B-A62166D27D4B@a9.com> Message-ID: <4C58B5A7.9070302@adf.org> On 8/3/2010 8:21 PM, Syn, Joonho wrote: > I"m trying to make our internal list archives searchable by my co-workers on our intranet. Anyone else out there done something similar not using Namazu? If so, what did you use and what were the pitfalls you ran across? Joonho, I've used Swish-E successfully for Mailman archive search. I wrote a couple of pages about some issues setting it up, at http://blog.anthonyrthompson.com/2010/02/listserv-to-mailman-installing-swish-for-archive-searching/ and http://blog.anthonyrthompson.com/2010/07/listserv-to-mailman-setting-up-archive-search/ and there is also another good page at http://wpkg.org/Integrating_Mailman_with_a_Swish-e_search_engine hope this helps, Anthony From mark at msapiro.net Wed Aug 4 03:00:32 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 3 Aug 2010 18:00:32 -0700 Subject: [Mailman-Users] making my mailman archives searchable on myintranet In-Reply-To: <4C58B5A7.9070302@adf.org> Message-ID: Anthony R. Thompson wrote: >On 8/3/2010 8:21 PM, Syn, Joonho wrote: >> I"m trying to make our internal list archives searchable by my co-workers on our intranet. Anyone else out there done something similar not using Namazu? If so, what did you use and what were the pitfalls you ran across? > >Joonho, I've used Swish-E successfully for Mailman archive search. I >wrote a couple of pages about some issues setting it up, at >http://blog.anthonyrthompson.com/2010/02/listserv-to-mailman-installing-swish-for-archive-searching/ >and >http://blog.anthonyrthompson.com/2010/07/listserv-to-mailman-setting-up-archive-search/ >and there is also another good page at >http://wpkg.org/Integrating_Mailman_with_a_Swish-e_search_engine > >hope this helps, And I use Richard Barrett's htdig integration patches. See the second half of _README at for a description of what's there, and see for installation documentation. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From george.news at gmx.net Wed Aug 4 10:47:07 2010 From: george.news at gmx.net (George) Date: Wed, 04 Aug 2010 10:47:07 +0200 Subject: [Mailman-Users] Multiple domains In-Reply-To: References: Message-ID: <4C59290B.7010900@gmx.net> On 03/08/2010 17:52, Mark Sapiro wrote: > George wrote: > >> Is there any way to handle multiple domains in Mailman 2.1.19? > > > 2.1.9? > > See the branch at. > I will. >> Any idea how can I make it working? Why is Mailmain complaining about >> "Message has implicit destination"? > > > See the settings on the Mailman admin Privacy options... -> Recipient > filters page. Yeah... Yesterday I realized that there was such an option ;) I was going to post that today as the solution, but you did it before ;) Thanks Jorge From david.weber at l-3com.com Wed Aug 4 17:40:28 2010 From: david.weber at l-3com.com (david.weber at l-3com.com) Date: Wed, 4 Aug 2010 10:40:28 -0500 Subject: [Mailman-Users] unsubscribe Message-ID: <55B858CA6C995345AF972EF652665FB70938ED3C@ARLEXCHVS01.lst.link.l-3com.com> From wgoodman at jcvi.org Wed Aug 4 22:00:43 2010 From: wgoodman at jcvi.org (Goodman, William) Date: Wed, 4 Aug 2010 16:00:43 -0400 Subject: [Mailman-Users] mail is getting misdirected Message-ID: Hi all, I'm using version 2.1.12rc1 on CentOS 5.2 64 bit and postfix-2.3.3-2. I thought I configured mailman correctly, but I have issues when list members reply to al messages, this is the issue when I post a message from mylist at lists.jcvi.org it is sent to all subscribers, however when they try to respond the users are automatically responding to mylist at jcvi.org. Why is mailman truncating the lists.jcvi.org ? Where is the configured in mailman or postfix ? Please help I need to upgrade my OS and software but now I know my list server is not working as designed. Bill From joonho at a9.com Thu Aug 5 00:17:18 2010 From: joonho at a9.com (Syn, Joonho) Date: Wed, 4 Aug 2010 15:17:18 -0700 Subject: [Mailman-Users] making my mailman archives searchable on myintranet In-Reply-To: References: Message-ID: <89C77DE1-444F-4E35-BAB7-FE3A7C5BB29F@a9.com> Thanks to you both for the great links! On Aug 3, 2010, at 6:00 PM, Mark Sapiro wrote: > Anthony R. Thompson wrote: > >> On 8/3/2010 8:21 PM, Syn, Joonho wrote: >>> I"m trying to make our internal list archives searchable by my co-workers on our intranet. Anyone else out there done something similar not using Namazu? If so, what did you use and what were the pitfalls you ran across? >> >> Joonho, I've used Swish-E successfully for Mailman archive search. I >> wrote a couple of pages about some issues setting it up, at >> http://blog.anthonyrthompson.com/2010/02/listserv-to-mailman-installing-swish-for-archive-searching/ >> and >> http://blog.anthonyrthompson.com/2010/07/listserv-to-mailman-setting-up-archive-search/ >> and there is also another good page at >> http://wpkg.org/Integrating_Mailman_with_a_Swish-e_search_engine >> >> hope this helps, > > > And I use Richard Barrett's htdig integration patches. See the second > half of _README at for a description of > what's there, and see > for installation > documentation. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > From mark at msapiro.net Thu Aug 5 01:50:50 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 4 Aug 2010 16:50:50 -0700 Subject: [Mailman-Users] mail is getting misdirected In-Reply-To: Message-ID: Goodman, William wrote: > >I'm using version 2.1.12rc1 on CentOS 5.2 64 bit and postfix-2.3.3-2. >I thought I configured mailman correctly, but I have issues when list >members reply to al messages, this is the issue when I post a message >from mylist at lists.jcvi.org it is sent to all subscribers, however when they >try to respond the users are automatically responding to mylist at jcvi.org. > >Why is mailman truncating the lists.jcvi.org ? Where is the configured in >mailman or postfix ? Please help I need to upgrade my OS and software >but now I know my list server is not working as designed. If this is Mailman doing this - e.g. you have selected reply_goes_to_list = This list - you can fix it by scrolling down to near the bottom of the admin General Options page and setting Host name this list prefers for email. (Details for host_name) to lists.jcvi.org I suspect the underlying issue is you have something like add_virtualhost('lists.jcvi.org') in mm_cfg.py. If you look at the definition of add_virtualhost() in Defaults.py, you'll see that this is equivalent to add_virtualhost('lists.jcvi.org', 'jcvi.org') and you want add_virtualhost('lists.jcvi.org', 'lists.jcvi.org') or maybe DEFAULT_URL_HOST = 'lists.jcvi.org' DEFAULT_EMAIL_HOST = 'lists.jcvi.org' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) You can make those changes and then run fix_url to fix all existing lists. If the above is not the answer, see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Alan.Rubin at nt.gov.au Thu Aug 5 02:30:52 2010 From: Alan.Rubin at nt.gov.au (Alan Rubin) Date: Thu, 5 Aug 2010 10:00:52 +0930 Subject: [Mailman-Users] can you temporarily disable individual lists? Message-ID: <45B7288BEC7648468F3309472E0F960DA55DCFE1F2@emdpb-es1.prod.main.ntgov> Hello, Is it possible to temporarily disable an individual mailing list? I'm not referring to 'emergency moderation' - this doesn't work when the current moderator may be prone to errors, etc. Regards, Alan Rubin Unix Systems Administrator Midrange Server Group, Data Centre Services Department of Business and Employment Northern Territory Government Phone: +61 (08) 8999 5111 Fax: +61 (08) 8999 7493 e-Mail: alan.rubin at nt.gov.au From mark at msapiro.net Thu Aug 5 02:54:09 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 4 Aug 2010 17:54:09 -0700 Subject: [Mailman-Users] can you temporarily disable individual lists? In-Reply-To: <45B7288BEC7648468F3309472E0F960DA55DCFE1F2@emdpb-es1.prod.main.ntgov> Message-ID: Alan Rubin wrote: > >Is it possible to temporarily disable an individual mailing list? I'm not referring to 'emergency moderation' - this doesn't work when the current moderator may be prone to errors, etc. It depends on what access you have and what you want to happen when mail is sent to the list. If your MTA uses aliases, you could remove or redirect the list's aliases. You could move the lists/LISTNAME directory somewhere else. If you are the list owner without access to the underlying installation, then No, I don't think it's possible. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Alan.Rubin at nt.gov.au Thu Aug 5 03:11:37 2010 From: Alan.Rubin at nt.gov.au (Alan Rubin) Date: Thu, 5 Aug 2010 10:41:37 +0930 Subject: [Mailman-Users] can you temporarily disable individual lists? In-Reply-To: References: <45B7288BEC7648468F3309472E0F960DA55DCFE1F2@emdpb-es1.prod.main.ntgov> Message-ID: <45B7288BEC7648468F3309472E0F960DA55DCFE1F6@emdpb-es1.prod.main.ntgov> Mark, I can get access to the web interface and the underlying OS. What happens when you move/rename the directory? I guess if we disabled the list, we don't want mail to the list to start bouncing, we just want mail to not be sent even with moderation - until the list was re-enabled. I guess a 'disabling' of the list would be like cutting out any mistakes until investigations are completed on errors or training is allowed for. Regards, Alan Rubin Unix Systems Administrator Midrange Server Group, Data Centre Services Department of Business and Employment Northern Territory Government Phone: +61 (08) 8999 5111 Fax: +61 (08) 8999 7493 e-Mail: alan.rubin at nt.gov.au -----Original Message----- From: Mark Sapiro [mailto:mark at msapiro.net] Sent: Thursday, 5 August 2010 10:24 AM To: Alan Rubin; mailman-users at python.org Subject: Re: [Mailman-Users] can you temporarily disable individual lists? Alan Rubin wrote: > >Is it possible to temporarily disable an individual mailing list? I'm not referring to 'emergency moderation' - this doesn't work when the current moderator may be prone to errors, etc. It depends on what access you have and what you want to happen when mail is sent to the list. If your MTA uses aliases, you could remove or redirect the list's aliases. You could move the lists/LISTNAME directory somewhere else. If you are the list owner without access to the underlying installation, then No, I don't think it's possible. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From ehrbar at lists.econ.utah.edu Thu Aug 5 03:44:49 2010 From: ehrbar at lists.econ.utah.edu (ehrbar) Date: Wed, 04 Aug 2010 19:44:49 -0600 Subject: [Mailman-Users] can you temporarily disable individual lists? In-Reply-To: <45B7288BEC7648468F3309472E0F960DA55DCFE1F6@emdpb-es1.prod.main.ntgov> (message from Alan Rubin on Thu, 5 Aug 2010 10:41:37 +0930) References: <45B7288BEC7648468F3309472E0F960DA55DCFE1F2@emdpb-es1.prod.main.ntgov> <45B7288BEC7648468F3309472E0F960DA55DCFE1F6@emdpb-es1.prod.main.ntgov> Message-ID: I have a different problem than Alan Rubin but maybe my solution could help you. I am using mailman with exim on a debian box for homeworks in a class. Here it is sometimes useful to have a record what the students mail in, before it is processed by mailman. For this I added the following stanza to my exim configuration: econ5080_router: driver = accept local_parts = econ5080 unseen = yes transport = mail_spool This goes before the mailman router according to the READNE-Exim4-Debian This sends a copy of all the mail sent to the econ-5080 mailing list into the file /var/mail/econ5080 After the end of the semester when I no longer need it I just delete it. I think if you leave out the "unseen = yes" line, the emails will only go into the mbox file and will not also be processed by mailman. Perhaps someone else can tell you the commands necessary so that mailman processes the emails in this mbox file. Hans. Hans G. Ehrbar http://www.econ.utah.edu/~ehrbar ehrbar at economics.utah.edu Economics Department, University of Utah (801) 908 6937 260 Central Campus Drive Rm 343 (801) 581 7481 (econ office) Salt Lake City UT 84112-9155 (801) 585 5649 (FAX) From mark at msapiro.net Thu Aug 5 04:40:12 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 4 Aug 2010 19:40:12 -0700 Subject: [Mailman-Users] can you temporarily disable individual lists? In-Reply-To: <45B7288BEC7648468F3309472E0F960DA55DCFE1F6@emdpb-es1.prod.main.ntgov> Message-ID: Alan Rubin wrote: > >I can get access to the web interface and the underlying OS. What happens when you move/rename the directory? One way or another (depending on MTA) the attempted post will be returned as undeliverable. >I guess if we disabled the list, we don't want mail to the list to start bouncing, we just want mail to not be sent even with moderation - until the list was re-enabled. I guess a 'disabling' of the list would be like cutting out any mistakes until investigations are completed on errors or training is allowed for. If you stop IncomingRunner or stop Mailman, posts will just be queued in Mailman's in/ queue until Mailman or the runner is started. This however will affect all lists, not just one. That may or may not be acceptable. If your MTA uses aliases, you could temporarily change the list posting alias to deliver to a mailbox file and then later, switch the alias back and process the mailbox to resend the mail to the list. Or if this is Postfix, you could use Postfix header_checks to put all messages that have a Received: header containing "for " in the HOLD queue and then release them later. Other MTAs may have similar abilities. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From s.watkins at nhm.ac.uk Thu Aug 5 11:54:59 2010 From: s.watkins at nhm.ac.uk (Steff Watkins) Date: Thu, 5 Aug 2010 10:54:59 +0100 Subject: [Mailman-Users] All sublists come from main list In-Reply-To: Message-ID: <8A17F10FEBA5C841956578C5AD9027D3D5A033@HOMER.nhm.ac.uk> Hi, I'm being pushed into the deep waters of making up a "list of lists" using Mailman. The user wants a number of sublists, call them X-1, X-2, X-3 which can all be emailled to by sending the email to the X list address. That shouldn't be too of a much problem (I think) although any pointers would be appreciated. However, they also want to be able to use the individual list address, eg X-1, and make it "look" like the email was 'sent to' (not just from) the parent mailing list address, X. Is there a way of substituting/masking the sublist address so that it looks like the sublist was emailled via the main/parent list address? TIA, Steff --------------- Steff Watkins Natural History Museum, Cromwell Road, London, SW7 5BD Systems programmer Email: s.watkins at nhm.ac.uk Systems Team Phone: +44 (0)20 7942 6000 opt 2 ======== Many were increasingly of the opinion that they'd all made a big mistake in coming down from the trees in the first place. And some said that even the trees had been a bad move, and that no one should ever have left the oceans. - HHGTTG From odhiambo at gmail.com Thu Aug 5 12:04:44 2010 From: odhiambo at gmail.com (Odhiambo Washington) Date: Thu, 5 Aug 2010 13:04:44 +0300 Subject: [Mailman-Users] All sublists come from main list In-Reply-To: <8A17F10FEBA5C841956578C5AD9027D3D5A033@HOMER.nhm.ac.uk> References: <8A17F10FEBA5C841956578C5AD9027D3D5A033@HOMER.nhm.ac.uk> Message-ID: On Thu, Aug 5, 2010 at 12:54 PM, Steff Watkins wrote: > Hi, > > I'm being pushed into the deep waters of making up a "list of lists" using > Mailman. > > The user wants a number of sublists, call them X-1, X-2, X-3 which can all > be emailled to by sending the email to the X list address. That shouldn't be > too of a much problem (I think) although any pointers would be appreciated. > > However, they also want to be able to use the individual list address, eg > X-1, and make it "look" like the email was 'sent to' (not just from) the > parent mailing list address, X. > > Is there a way of substituting/masking the sublist address so that it looks > like the sublist was emailled via the main/parent list address? > > I don't know much about the sublists but on the substituting/masking the sublist address, you can use the header rewriting facility of your MTA to achieve the desired result. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From cj.keist at colostate.edu Wed Aug 4 23:14:06 2010 From: cj.keist at colostate.edu (CJ Keist) Date: Wed, 04 Aug 2010 15:14:06 -0600 Subject: [Mailman-Users] mailman install problems (syntax error at line 1: `; ' unexpected) Message-ID: <4C59D81E.1000509@colostate.edu> Hi, Trying to install mailman mailman-2.1.13rc on Solaris 10x86. Getting an error when I try to do make install. I found similar post on this error on making sure using correct version of python. I have two version of python installed, there is the native python that comes with Solaris, version 2.4.6, and then I installed a newer version from Blastwave 2.6.2. It doesn't matter what version I use, still get same error with make install. setenv PATH /usr/bin:/usr/sbin:/opt/csw/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/sfw/bin ./configure --prefix=/userM/mail-services/mailman --with-python=/opt/csw/bin/python --with-cgi-gid=15 runs fine with now errors make runs with no errors. # make install Creating architecture independent directories... chmod o-r /userM/mail-services/mailman/archives/private Creating architecture dependent directories... for f in mmsitepass newlist rmlist add_members list_members remove_members clone_member update arch sync_members check_db withlist check_perms find_member version config_list list_lists dumpdb cleanarch list_admins genaliases change_pw mailmanctl qrunner inject unshunt fix_url.py convert.py transcheck b4b5-archfix list_owners msgfmt.py show_qfiles discard rb-archfix reset_pw.py export.py; \ do \ .././install-sh -c -m 755 ../build/bin/$f /userM/mail-services/mailman/bin; \ done for f in crontab.in; \ do \ .././install-sh -c -m 644 $f /userM/mail-services/mailman/cron; \ done for f in checkdbs mailpasswds senddigests gate_news nightly_gzip bumpdigests disabled cull_bad_shunt; \ do \ .././install-sh -c -m 755 ../build/cron/$f /userM/mail-services/mailman/cron; \ done for i in ./*.jpg ./*.png; \ do \ .././install-sh -c -m 644 $i /userM/mail-services/mailman/icons; \ done for d in bin cron scripts tests; \ do \ dir=/userM/mail-services/mailman/$d; \ .././install-sh -c -m 644 paths.py $dir; \ done .././install-sh -c -m 755 mailman /userM/mail-services/mailman/scripts .././install-sh -c -m 644 sitelist.cfg /userM/mail-services/mailman/data if [ -z "" -a -d /userM/mail-services/mailman/pythonlib/email ] ; \ then \ rm -rf /userM/mail-services/mailman/pythonlib/email* ; \ fi for p in ; \ do \ gunzip -c ./$p.tar.gz | (cd . ; tar xf -); \ (cd ./$p ; umask 02 ; PYTHONPATH=/userM/mail-services/mailman/pythonlib /opt/csw/bin/python setup.py --quiet install --install-lib /userM/mail-services/mailman/pythonlib --install-purelib /userM/mail-services/mailman/pythonlib --install-data /userM/mail-services/mailman/pythonlib); \ done sh: syntax error at line 1: `;' unexpected *** Error code 2 make: Fatal error: Command failed for target `install-packages' Current working directory /userM/src/mailman-2.1.13rc1/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' -- C. J. Keist Email: cj.keist at colostate.edu UNIX/Network Manager Phone: 970-491-0630 Engineering Network Services Fax: 970-491-5569 College of Engineering, CSU Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness' From dave at hamnet.org Thu Aug 5 03:10:23 2010 From: dave at hamnet.org (Dave Foran) Date: Wed, 4 Aug 2010 21:10:23 -0400 Subject: [Mailman-Users] HELP of sorts Message-ID: Group I had Mailman installed and running well on my old Fedora Core 3 box I got a new system and install CentOS 5.0 and mailman-2.1.9-4.el5.i386 is installed and working I ported all the data from /var/lib/mailman/ from the old, to the new system and it is working well to a point I tried to create a new list from the mailman/admin page and I get an error I am not authorized to create lists The only issue I see is I have 2 mailman site lists. One that was ported over and one that got created when mailman starting running on teh new system Last night I was getting a messge that Oops we have a bug while trying to get to the "menu" of public lists. That has cleared up, and now I have the issue of trying to create a new list but get the above error. ( I did create the list from the command line so I am out of the water) I thought about deleteing the 2 sitelists, taring the remaining, and maybe uninstall and reinstalling mailman, Create a new site list and un-tar the remaining back Might some one have some insight on how to proceed to correct my errors THANKS Dave --- --------------------------------------------------------------------------- Dave Foran Internet ONLY:dave at hamnet.org Cruise Missile Coordinates 41.36.46N 81.25.53W --------------------------------------------------------------------------- From jian.gao at sjgeophysics.com Thu Aug 5 23:58:39 2010 From: jian.gao at sjgeophysics.com (Jian Gao) Date: Thu, 05 Aug 2010 14:58:39 -0700 Subject: [Mailman-Users] Alias problem? Message-ID: <4C5B340F.3080004@sjgeophysics.com> I know my question has been asked before many times. I tried to google out a solution myself and struggled two days with failure. So I came here to ask and hope you can help me. I setup an email server, installed postfix, courier, mysql(virtual domain/user), clamav, spamassassin, MailScanner. I have tested and all works fine. (Server OS is Centos 5.5) Then I installed mailman by "yum install mailman". Basically followed instruction from here: http://davmp.kimanddave.com/2008/03/30/installing-mailman-to-use-https-on-centos-51/ After create the mailman list, I added two subscribers and test the mail list. The maillog shows: |Aug 5 14:00:26 mail postfix/virtual[2984]: C5C3142F01CB: to=, relay=virtual, delay=0.4, delays=0.37/0.02/0/0.01, dsn=5.1.1, status=bounced (unknown user: "mailman at mydomain.com")| It seems postfix couldn't find the alias, am I right? Here is some of my configurations: [root at mail ~]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases,hash:/etc/mailman/alias broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 header_checks = regexp:/etc/postfix/header_checks html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = mail.mydomain.com, localhost, localhost.localdomain myhostname = mail.mydomain.com mynetworks = 127.0.0.0/8 newaliases_path = /usr/bin/newaliases.postfix proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_tls_cert_file = /etc/postfix/smtpd.cert smtpd_tls_key_file = /etc/postfix/smtpd.key smtpd_use_tls = yes transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf unknown_local_recipient_reject_code = 550 virtual_alias_domains = virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf virtual_create_maildirsize = yes virtual_gid_maps = static:5000 virtual_mailbox_base = /home/vmail virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf virtual_mailbox_limit_override = yes virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf virtual_maildir_extended = yes virtual_maildir_limit_message = "The user you are trying to reach is over quota." virtual_overquota_bounce = yes virtual_uid_maps = static:5000 ============================================ [root at mail ~]# cat /etc/mailman/aliases # This file is generated by Mailman, and is kept in sync with the # binary hash file aliases.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE # unless you know what you're doing, and can keep the two files properly # in sync. If you screw it up, you're on your own. # The ultimate loop stopper address mailman-loop: /var/lib/mailman/data/owner-bounces.mbox # STANZA START: mailman # CREATED: Thu Aug 5 13:42:42 2010 mailman: "|/usr/lib/mailman/mail/mailman post mailman" mailman-admin: "|/usr/lib/mailman/mail/mailman admin mailman" mailman-bounces: "|/usr/lib/mailman/mail/mailman bounces mailman" mailman-confirm: "|/usr/lib/mailman/mail/mailman confirm mailman" mailman-join: "|/usr/lib/mailman/mail/mailman join mailman" mailman-leave: "|/usr/lib/mailman/mail/mailman leave mailman" mailman-owner: "|/usr/lib/mailman/mail/mailman owner mailman" mailman-request: "|/usr/lib/mailman/mail/mailman request mailman" mailman-subscribe: "|/usr/lib/mailman/mail/mailman subscribe mailman" mailman-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe mailman" # STANZA END: mailman ================================================= [root at mail mailman]# cat /etc/mailman/mm_cfg.py # -*- python -*- # Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. """This module contains your site-specific settings. From a brand new distribution it should be copied to mm_cfg.py. If you already have an mm_cfg.py, be careful to add in only the new settings you want. Mailman's installation procedure will never overwrite your mm_cfg.py file. The complete set of distributed defaults, with documentation, are in the file Defaults.py. In mm_cfg.py, override only those you want to change, after the from Defaults import * line (see below). Note that these are just default settings; many can be overridden via the administrator and user interfaces on a per-list or per-user basis. """ ############################################### # Here's where we get the distributed defaults. from Defaults import * import pwd, grp ################################################## # Put YOUR site-specific settings below this line. ############################################################## # Here's where we override shipped defaults with settings # # suitable for the RPM package. # MAILMAN_UID = pwd.getpwnam('mailman')[2] MAILMAN_GID = grp.getgrnam('mailman')[2] ############################################################## # Set URL and email domain names # # # Mailman needs to know about (at least) two fully-qualified domain # names (fqdn) # # 1) the hostname used in your urls (DEFAULT_URL_HOST) # 2) the hostname used in email addresses for your domain (DEFAULT_EMAIL_HOST) # # For example, if people visit your Mailman system with # "http://www.dom.ain/mailman" then your url fqdn is "www.dom.ain", # and if people send mail to your system via "yourlist at dom.ain" then # your email fqdn is "dom.ain". DEFAULT_URL_HOST controls the former, # and DEFAULT_EMAIL_HOST controls the latter. Mailman also needs to # know how to map from one to the other (this is especially important # if you're running with virtual domains). You use # "add_virtualhost(urlfqdn, emailfqdn)" to add new mappings. # Default to using the FQDN of machine mailman is running on. # If this is not correct for your installation delete the following 5 # lines that acquire the FQDN and manually edit the hosts instead. #from socket import * #try: # fqdn = getfqdn() #except: # fqdn = 'mm_cfg_has_unknown_host_domains' DEFAULT_URL_HOST = 'mail.mydomain.com' DEFAULT_EMAIL_HOST = 'mydomain.com' add_virtualhost('mail.mydomain.com', 'mydomain.com') # Because we've overriden the virtual hosts above add_virtualhost # MUST be called after they have been defined. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) ############################################################## # Put YOUR site-specific configuration below, in mm_cfg.py . # # See Defaults.py for explanations of the values. # # Note - if you're looking for something that is imported from mm_cfg, but you # didn't find it above, it's probably in Defaults.py. MTA = 'Postfix' ============================= Thanks for help. Jian From grschmidt at acm.org Fri Aug 6 06:10:45 2010 From: grschmidt at acm.org (Gary R. Schmidt) Date: Fri, 6 Aug 2010 14:10:45 +1000 Subject: [Mailman-Users] mailman install problems (syntax error at line 1: `; ' unexpected) In-Reply-To: References: Message-ID: On Thu, August 5, 2010 07:14, CJ Keist wrote: > Hi, > Trying to install mailman mailman-2.1.13rc on Solaris 10x86. > Getting an error when I try to do make install. I found similar post on > this error on making sure using correct version of python. I have two > version of python installed, there is the native python that comes with > Solaris, version 2.4.6, and then I installed a newer version from > Blastwave 2.6.2. It doesn't matter what version I use, still get same > error with make install. > > setenv PATH > /usr/bin:/usr/sbin:/opt/csw/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/sfw/bin [SNIP] Don't do this stuff in csh, use sh or bash. Set your path so that Blastwave/OpenCSW is searched first: PATH=/opt/csw/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/openwin/bin:/usr/sfw/bin export PATH Cheers, Gary B-) From mark at msapiro.net Fri Aug 6 06:48:25 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 5 Aug 2010 21:48:25 -0700 Subject: [Mailman-Users] HELP of sorts In-Reply-To: Message-ID: Dave Foran wrote: > >I ported all the data from /var/lib/mailman/ from the old, to the new >system and it is working well to a point > >I tried to create a new list from the mailman/admin page and I get an error >I am not authorized to create lists Either you did not port data/adm.pw and/or data/creator.pw or possibly (or likely if the old system was pre 2.1.5) these are in a different location. Run bin/mmsitepass to set a new site and/or list creator password. >The only issue I see is I have 2 mailman site lists. One that was ported >over and one that got created when mailman starting running on teh new >system See the FAQ at for help in determining where to move things to in the new installation. If you had two site lists, one of them (probably the ported one) was in the wrong place. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Aug 6 07:04:11 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 5 Aug 2010 22:04:11 -0700 Subject: [Mailman-Users] Alias problem? In-Reply-To: <4C5B340F.3080004@sjgeophysics.com> Message-ID: Jian Gao wrote: > >After create the mailman list, I added two subscribers and test the mail >list. The maillog shows: > >|Aug 5 14:00:26 mail postfix/virtual[2984]: C5C3142F01CB: >to=, relay=virtual, delay=0.4, >delays=0.37/0.02/0/0.01, dsn=5.1.1, status=bounced (unknown user: >"mailman at mydomain.com")| > >It seems postfix couldn't find the alias, am I right? Yes. Because postfix thinks mydomain.com is a virtual domain and you have no virtual mapping for these addresses. >Here is some of my configurations: >[root at mail ~]# postconf -n >alias_database = hash:/etc/aliases >alias_maps = hash:/etc/aliases,hash:/etc/mailman/alias >broken_sasl_auth_clients = yes >command_directory = /usr/sbin >config_directory = /etc/postfix >daemon_directory = /usr/libexec/postfix >debug_peer_level = 2 >header_checks = regexp:/etc/postfix/header_checks >html_directory = no >inet_interfaces = all >mail_owner = postfix >mailq_path = /usr/bin/mailq.postfix >manpage_directory = /usr/share/man >mydestination = mail.mydomain.com, localhost, localhost.localdomain The above does not include mydomain.com, only mail.mydomain.com so mydomain.com is not a local domain. If you want mydomain.com to be local, include it above. If mydomain.com is intended to be a virtual domain to work with Mailman/Postfix integration, you need virtual_alias_domains = mydomain.com below and you need to add "hash:/etc/mailman/" to virtual_alias_maps and you need to add POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.com'] to mm_cfg.py and run Mailman's bin/genaliases to create the virtual-mailman file. If this is not satisfactory, the FAQ at may be of interest. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From cj.keist at colostate.edu Fri Aug 6 16:32:44 2010 From: cj.keist at colostate.edu (CJ Keist) Date: Fri, 06 Aug 2010 08:32:44 -0600 Subject: [Mailman-Users] mailman install problems (syntax error at line 1: `; ' unexpected) In-Reply-To: References: Message-ID: <4C5C1D0C.5030404@colostate.edu> Thanks for the reply. See below for the solution I found. On 8/5/10 10:10 PM, Gary R. Schmidt wrote: > On Thu, August 5, 2010 07:14, CJ Keist wrote: > >> Hi, >> Trying to install mailman mailman-2.1.13rc on Solaris 10x86. >> Getting an error when I try to do make install. I found similar post on >> this error on making sure using correct version of python. I have two >> version of python installed, there is the native python that comes with >> Solaris, version 2.4.6, and then I installed a newer version from >> Blastwave 2.6.2. It doesn't matter what version I use, still get same >> error with make install. >> >> setenv PATH >> /usr/bin:/usr/sbin:/opt/csw/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/sfw/bin >> > [SNIP] > > Don't do this stuff in csh, use sh or bash. > I did try running in both sh and bash but still got same error. But I did get mailman to install. The problem was with the Makefile in the misc folder. EMAILPKG= JACODECSPKG= KOCODECSPKG= PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG) There were no packages defined. Does this mean I didn't run configure correctly? I simply commented out the for p loop: #for p in $(PACKAGES); \ #do \ #gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \ #(cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \ #done This got mailman installed and looks to be working okay. > Set your path so that Blastwave/OpenCSW is searched first: > PATH=/opt/csw/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/openwin/bin:/usr/sfw/bin > export PATH > > Cheers, > Gary B-) > > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at python.org > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: http://mail.python.org/mailman/options/mailman-users/cj.keist%40colostate.edu > -- C. J. Keist Email: cj.keist at colostate.edu UNIX/Network Manager Phone: 970-491-0630 Engineering Network Services Fax: 970-491-5569 College of Engineering, CSU Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness' From mark at msapiro.net Fri Aug 6 16:45:11 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 6 Aug 2010 07:45:11 -0700 Subject: [Mailman-Users] mailman install problems (syntax error at line1: `; ' unexpected) In-Reply-To: <4C5C1D0C.5030404@colostate.edu> Message-ID: CJ Keist wrote: >> >I did try running in both sh and bash but still got same error. >But I did get mailman to install. The problem was with the Makefile in >the misc folder. > >EMAILPKG= >JACODECSPKG= >KOCODECSPKG= > >PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG) > >There were no packages defined. Does this mean I didn't run configure >correctly? No, it means that configure found suitable email and Korean and Japanese codecs packages in the installed Python and thus didn't need to install the ones that ship with Mailman. >I simply commented out the for p loop: > > #for p in $(PACKAGES); \ > #do \ > #gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \ > #(cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) >$(PYTHON) > $(SETUPCMD)); \ > #done > >This got mailman installed and looks to be working okay. That is a perfectly acceptable workaround, but the question is why doesn't your make properly handle for p in ; do ... ; done and treat it effectively as a no-op when the for list is empty? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From s.watkins at nhm.ac.uk Fri Aug 6 19:01:54 2010 From: s.watkins at nhm.ac.uk (Steff Watkins) Date: Fri, 6 Aug 2010 18:01:54 +0100 Subject: [Mailman-Users] Try again.. Sublist addressed as umbrella list In-Reply-To: <8A17F10FEBA5C841956578C5AD9027D3D5A033@HOMER.nhm.ac.uk> Message-ID: <8A17F10FEBA5C841956578C5AD9027D3D5A179@HOMER.nhm.ac.uk> Hi all, got a configuration item I'm trying to work out. I'm setting up an umbrella list call it X-main and it is made up of two sublists, call them X-1 and X-2. Now I can send mail to X-main and it is forwarded on alright to X-1 and X-2. The problem is that the emails show as being sent from the respective sublists X-1 and X-2 and NOT from the parent list, X-main. What is the way to get the X-Main sender:/From: to pass through the X-1/X-2 sublists? Thanks, S Watkins From adam-mailman at amyl.org.uk Fri Aug 6 19:52:45 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Fri, 6 Aug 2010 18:52:45 +0100 Subject: [Mailman-Users] Try again.. Sublist addressed as umbrella list In-Reply-To: <8A17F10FEBA5C841956578C5AD9027D3D5A179@HOMER.nhm.ac.uk> References: <8A17F10FEBA5C841956578C5AD9027D3D5A033@HOMER.nhm.ac.uk> <8A17F10FEBA5C841956578C5AD9027D3D5A179@HOMER.nhm.ac.uk> Message-ID: <20100806175245.GI6003@hendricks.amyl.org.uk> On Fri, Aug 06, 2010 at 06:01:54PM +0100, Steff Watkins wrote: [ still thread-jacking, though. ] > I'm setting up an umbrella list FWIW, I gave up on umbrella lists some time ago (and now build lists progmatically). > call it X-main and it is made up of two sublists, call them X-1 and X-2. > > Now I can send mail to X-main and it is forwarded on alright to X-1 and > X-2. > > The problem is that the emails show as being sent from the respective > sublists X-1 and X-2 and NOT from the parent list, X-main. IIRC, this is 'solved' with sibling lists, and/or, using a script to auto-generate, in your example, X-main (from the list-members of X-1 and X-2). See e.g., http://wiki.list.org/x/TIA9 > What is the way to get the X-Main sender:/From: to pass through the > X-1/X-2 sublists? Another way *could* be to conditionally do some header-rewriting (for mail destined to X-1 and X-2 from X-mail.), in your MTA, or presumably, some local modification to the Mailman code-base. -- ``There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies and the other is to make it so complicated that there are no obvious deficiencies.'' (C. Hoare) From mark at msapiro.net Fri Aug 6 20:15:52 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 6 Aug 2010 11:15:52 -0700 Subject: [Mailman-Users] Try again.. Sublist addressed as umbrella list In-Reply-To: <20100806175245.GI6003@hendricks.amyl.org.uk> Message-ID: Adam McGreggor wrote: >On Fri, Aug 06, 2010 at 06:01:54PM +0100, Steff Watkins wrote: > >[ still thread-jacking, though. ] > >> I'm setting up an umbrella list > >FWIW, I gave up on umbrella lists some time ago (and now build lists >progmatically). > >> call it X-main and it is made up of two sublists, call them X-1 and X-2. >> >> Now I can send mail to X-main and it is forwarded on alright to X-1 and >> X-2. >> >> The problem is that the emails show as being sent from the respective >> sublists X-1 and X-2 and NOT from the parent list, X-main. > >IIRC, this is 'solved' with sibling lists, and/or, using a script to >auto-generate, in your example, X-main (from the list-members of X-1 >and X-2). > >See e.g., http://wiki.list.org/x/TIA9 Correct. regular_include_lists will solve this issue as will some of the other suggestions in that FAQ, but the question yesterday was a different one. Yesterday, you said >However, they also want to be able to use the individual list address, >eg X-1, and make it "look" like the email was 'sent to' (not just from) >the parent mailing list address, X. I don't know a way to do this within Mailman. Perhaps what you really want is something different. Consider a single list X with defined topics X-1 and X-2. The X-1 people are members of the X list and subscribe only to the X-1 topic and similarly for X-2. Then posts with appropriate Subject: or Keywords: headers will go only to the members subscribed to the matching topic. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From stephen at xemacs.org Sat Aug 7 06:38:09 2010 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Sat, 07 Aug 2010 13:38:09 +0900 Subject: [Mailman-Users] mailman install problems (syntax error at line1: `; ' unexpected) In-Reply-To: References: <4C5C1D0C.5030404@colostate.edu> Message-ID: <877hk3qbpq.fsf@uwakimon.sk.tsukuba.ac.jp> Mark Sapiro writes: > CJ Keist wrote: > >I simply commented out the for p loop: > > > > #for p in $(PACKAGES); \ > That is a perfectly acceptable workaround, but the question is why > doesn't your make properly handle > > for p in ; do ... ; done Because make doesn't (shouldn't) do anything with commands except substitute make variables, then pass them to the shell. Bourne shells require the tokens following "in" to constitute a list. The idiom for an empty list is the empty string. One way to handle this in GNU Make is ifeq($(PACKAGES),) PACKAGES = "" endif (Untested, IIRC -- the point is that make doesn't care about the quotation marks at all, so it passes the literal string '""' to the shell as the value of the make variable PACKAGES.) From jenred at gmail.com Fri Aug 6 20:21:25 2010 From: jenred at gmail.com (Jennifer Redman) Date: Fri, 6 Aug 2010 11:21:25 -0700 Subject: [Mailman-Users] Making dlist functionality Available to other Groups Message-ID: Hello Mailman Users, Systers has developed the ability for a user to subscribe and unsubscribe from threads via Dynamic Sub-Lists. We've have gsoc students working on bug-fixes and improvements the last two years and we'd really like to make the feature available to the larger community running 2.1.x. Right now it's a code branch on http://launchpad.net/systers that we use to update our production server via bzr. We've only tested against 2.1.10. Should we make a down-loadable .tgz of the source code? Or is it better offered as a patch to be applied against GNU MM 2.1.10? What is the easiest delivery method for those of you who might want to take a look at the functionality? You can read more here: http://systers.org/systers-dev/doku.php/good_to_know and some additional information about our changes at the bottom of this page: http://systers.org/systers-dev/doku.php/how_stuff_works_both_default_mailman_and_our_changes . Thanks, Jen From mark at msapiro.net Sat Aug 7 17:13:15 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 7 Aug 2010 08:13:15 -0700 Subject: [Mailman-Users] mailman install problems (syntax error atline1: `; ' unexpected) In-Reply-To: <877hk3qbpq.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: Stephen J. Turnbull wrote: >Mark Sapiro writes: > > CJ Keist wrote: > > > >I simply commented out the for p loop: > > > > > > #for p in $(PACKAGES); \ > > > That is a perfectly acceptable workaround, but the question is why > > doesn't your make properly handle > > > > for p in ; do ... ; done > >Because make doesn't (shouldn't) do anything with commands except >substitute make variables, then pass them to the shell. Bourne shells >require the tokens following "in" to constitute a list. The idiom for >an empty list is the empty string. > >One way to handle this in GNU Make is > >ifeq($(PACKAGES),) >PACKAGES = "" >endif > >(Untested, IIRC -- the point is that make doesn't care about the >quotation marks at all, so it passes the literal string '""' to the >shell as the value of the make variable PACKAGES.) I agree that the underlying issue is with the shell, but in at least these bash versions: GNU bash, version 3.2.49(22)-release (i686-pc-cygwin) GNU bash, version 3.2.48(1)-release (i386-apple-darwin10.0) GNU bash, version 3.1.17(1)-release (i686-redhat-linux-gnu) the construct for p in ; do echo Huh? $p ; done is accepted and does nothing. Further, since 2.1.12, the 'normal' value of PACKAGES in this Makefile is null, and this is the first report of this problem I've seen. If there are in fact versions of sh/bash that don't accept the "for p in ;" construct, then I'd like to fix this in the Makefile, but I'd like to have a way to a) see the failure, and b) test the fix. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From cj.keist at colostate.edu Sat Aug 7 17:25:19 2010 From: cj.keist at colostate.edu (CJ Keist) Date: Sat, 07 Aug 2010 09:25:19 -0600 Subject: [Mailman-Users] mailman install problems (syntax error atline1: `; ' unexpected) In-Reply-To: References: Message-ID: <4C5D7ADF.9090605@colostate.edu> If this helps. I'm on Solaris 10 10/09 s10s_u8wos_08a SPARC. This make installed failed with tcsh - version 6.12.00 bash - version 3.00.16(1) As for bourne shell, don't know how to get the version info. On 8/7/10 9:13 AM, Mark Sapiro wrote: > Stephen J. Turnbull wrote: > > >> Mark Sapiro writes: >> >>> CJ Keist wrote: >>> >> >>>> I simply commented out the for p loop: >>>> >>>> #for p in $(PACKAGES); \ >>>> >> >>> That is a perfectly acceptable workaround, but the question is why >>> doesn't your make properly handle >>> >>> for p in ; do ... ; done >>> >> Because make doesn't (shouldn't) do anything with commands except >> substitute make variables, then pass them to the shell. Bourne shells >> require the tokens following "in" to constitute a list. The idiom for >> an empty list is the empty string. >> >> One way to handle this in GNU Make is >> >> ifeq($(PACKAGES),) >> PACKAGES = "" >> endif >> >> (Untested, IIRC -- the point is that make doesn't care about the >> quotation marks at all, so it passes the literal string '""' to the >> shell as the value of the make variable PACKAGES.) >> > I agree that the underlying issue is with the shell, but in at least > these bash versions: > > GNU bash, version 3.2.49(22)-release (i686-pc-cygwin) > > GNU bash, version 3.2.48(1)-release (i386-apple-darwin10.0) > > GNU bash, version 3.1.17(1)-release (i686-redhat-linux-gnu) > > the construct > > for p in ; do echo Huh? $p ; done > > is accepted and does nothing. Further, since 2.1.12, the 'normal' value > of PACKAGES in this Makefile is null, and this is the first report of > this problem I've seen. > > If there are in fact versions of sh/bash that don't accept the "for p > in ;" construct, then I'd like to fix this in the Makefile, but I'd > like to have a way to a) see the failure, and b) test the fix. > > -- C. J. Keist Email: cj.keist at colostate.edu UNIX/Network Manager Phone: 970-491-0630 Engineering Network Services Fax: 970-491-5569 College of Engineering, CSU Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness' From geoff at QuiteLikely.com Sat Aug 7 17:42:42 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Sat, 7 Aug 2010 18:42:42 +0300 (IDT) Subject: [Mailman-Users] mailman install problems (syntax error atline1: `; ' unexpected) In-Reply-To: References: Message-ID: On Sat, 7 Aug 2010, Mark Sapiro wrote: > I agree that the underlying issue is with the shell, but in at least > these bash versions: > > GNU bash, version 3.2.49(22)-release (i686-pc-cygwin) > > GNU bash, version 3.2.48(1)-release (i386-apple-darwin10.0) > > GNU bash, version 3.1.17(1)-release (i686-redhat-linux-gnu) > > the construct > > for p in ; do echo Huh? $p ; done > > is accepted and does nothing. You can add to that: GNU bash, version 3.2.39(1)-release (i486-pc-linux-gnu) (running on Debian Lenny) GNU bash, version 4.0.38(1)-release (x86_64-redhat-linux-gnu) (running on Fedora 12) GNU bash, version 3.2.25(1)-release (i686-redhat-linux-gnu) (running on CentOS 5.5) These are all the different ones I had access to. Geoff. From stephen at xemacs.org Sat Aug 7 18:12:07 2010 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Sun, 08 Aug 2010 01:12:07 +0900 Subject: [Mailman-Users] mailman install problems (syntax error atline1: `; ' unexpected) In-Reply-To: References: <877hk3qbpq.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <8739uqqu5k.fsf@uwakimon.sk.tsukuba.ac.jp> Mark Sapiro writes: > I agree that the underlying issue is with the shell, but in at least > these bash versions: > > GNU bash, version 3.2.49(22)-release (i686-pc-cygwin) > > GNU bash, version 3.2.48(1)-release (i386-apple-darwin10.0) > > GNU bash, version 3.1.17(1)-release (i686-redhat-linux-gnu) > > the construct > > for p in ; do echo Huh? $p ; done OK, I must be remembering *very* old versions of bash or something. FWIW, dash 0.5.5, bash 4.0.1, and zsh 4.3.4 all behave as you say, too. If dash does it, I'd guess it's POSIX-ly correct, since dash is pretty minimal by design. From mark at msapiro.net Sat Aug 7 18:26:13 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 7 Aug 2010 09:26:13 -0700 Subject: [Mailman-Users] mailman install problems (syntax error atline1:`; ' unexpected) In-Reply-To: <4C5D7ADF.9090605@colostate.edu> Message-ID: ----- Original Message --------------- Subject: Re: [Mailman-Users] mailman install problems (syntax error atline1:`; ' unexpected) From: CJ Keist Date: Sat, 07 Aug 2010 09:25:19 -0600 To: Mark Sapiro Cc: "Stephen J. Turnbull" , mailman-users at python.org >If this helps. I'm on Solaris 10 10/09 s10s_u8wos_08a SPARC. This make >installed failed with > >tcsh - version 6.12.00 It can't be using tcsh because there is no 'for' at all in tcsh. >bash - version 3.00.16(1) > >As for bourne shell, don't know how to get the version info. Bourne shell is sh, but on most systems with bash, sh is just a link to bash (Bourne again shell). What does bash -c 'for p in ; do echo Huh? $p ; done' do? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From cj.keist at colostate.edu Sat Aug 7 20:15:14 2010 From: cj.keist at colostate.edu (CJ Keist) Date: Sat, 07 Aug 2010 12:15:14 -0600 Subject: [Mailman-Users] mailman install problems (syntax error atline1:`; ' unexpected) In-Reply-To: References: Message-ID: <4C5DA2B2.2080103@colostate.edu> Another update. It looks to be a make problem. The make I used was in /usr/ccs/bin. Using GNU make, in /usr/sfw/bin ran just fine. On 8/7/10 10:26 AM, Mark Sapiro wrote: > > ----- Original Message --------------- > > Subject: Re: [Mailman-Users] mailman install problems (syntax error > atline1:`; ' unexpected) > From: CJ Keist > Date: Sat, 07 Aug 2010 09:25:19 -0600 > To: Mark Sapiro > Cc: "Stephen J. Turnbull", > mailman-users at python.org > > >> If this helps. I'm on Solaris 10 10/09 s10s_u8wos_08a SPARC. This make >> installed failed with >> >> tcsh - version 6.12.00 >> > > It can't be using tcsh because there is no 'for' at all in tcsh. > > > >> bash - version 3.00.16(1) >> >> As for bourne shell, don't know how to get the version info. >> > > Bourne shell is sh, but on most systems with bash, sh is just a link to > bash (Bourne again shell). > > > What does > > bash -c 'for p in ; do echo Huh? $p ; done' > > do? > > -- C. J. Keist Email: cj.keist at colostate.edu UNIX/Network Manager Phone: 970-491-0630 Engineering Network Services Fax: 970-491-5569 College of Engineering, CSU Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness' From cj.keist at colostate.edu Sat Aug 7 20:17:31 2010 From: cj.keist at colostate.edu (CJ Keist) Date: Sat, 07 Aug 2010 12:17:31 -0600 Subject: [Mailman-Users] mailman install problems (syntax error atline1:`; ' unexpected) In-Reply-To: References: Message-ID: <4C5DA33B.40104@colostate.edu> Running the bash command came back to the prompt with no errors. On 8/7/10 10:26 AM, Mark Sapiro wrote: > bash -c 'for p in ; do echo Huh? $p ; done' > -- C. J. Keist Email: cj.keist at colostate.edu UNIX/Network Manager Phone: 970-491-0630 Engineering Network Services Fax: 970-491-5569 College of Engineering, CSU Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness' From mark at msapiro.net Sat Aug 7 23:36:09 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 7 Aug 2010 14:36:09 -0700 Subject: [Mailman-Users] mailman install problems (syntax error atline1:`; ' unexpected) In-Reply-To: <4C5DA33B.40104@colostate.edu> Message-ID: CJ Keist wrote: >Running the bash command came back to the prompt with no errors. > > >On 8/7/10 10:26 AM, Mark Sapiro wrote: >> bash -c 'for p in ; do echo Huh? $p ; done' That's the expected result. Per your immediately previous post, it seems the issue was some incompatibility with a specific (non-GNU) make. Instead of commenting the offending portion of the makefile, we could (expanding on Stephen's suggestion) make it ifneq ($(strip $(PACKAGES)),) for p in $(PACKAGES); \ do \ gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \ (cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \ done endif however, the ifneq ... endif is a GNU make construct and that itself may not work in non-GNU makes. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jian.gao at sjgeophysics.com Mon Aug 9 19:45:36 2010 From: jian.gao at sjgeophysics.com (Jian Gao) Date: Mon, 09 Aug 2010 10:45:36 -0700 Subject: [Mailman-Users] Alias problem? In-Reply-To: References: Message-ID: <4C603EC0.9070309@sjgeophysics.com> Thank you, Mark, for the help. We had a power outage last Friday so I didn't had chance to play with it. Now I rebuilt my test sever and reconfigured the Mailman. I also patched the Mailman/MTA/Postfix.py. Now I can see the improvement (no more "Unknown user") but I still has some trouble. After create the first mailman mail list, again, I send test post to mailman at mydomain.com. The log shows: Aug 9 10:05:08 mail MailScanner[2371]: New Batch: Scanning 1 messages, 881 bytes Aug 9 10:05:08 mail MailScanner[2371]: Virus and Content Scanning: Starting Aug 9 10:05:08 mail MailScanner[2371]: Requeue: E1ECD42F01D3.A461F to 7E27A42F01D2 Aug 9 10:05:08 mail postfix/qmgr[2182]: 7E27A42F01D2: from=, size=1015, nrcpt=1 (queue active) Aug 9 10:05:08 mail MailScanner[2371]: Uninfected: Delivered 1 messages Aug 9 10:05:08 mail postfix/trivial-rewrite[2523]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_mailbox_domains Aug 9 10:05:08 mail MailScanner[2371]: Deleted 1 messages from processing-database Aug 9 10:05:09 mail postfix/local[2538]: 7E27A42F01D2: to=, relay=local, delay=1.1, delays=0.96/0.02/0/0.17, dsn=2.0.0, status=sent (delivered to command: /usr/lib/mailman/mail/mailman post mailman) Aug 9 10:05:09 mail postfix/qmgr[2182]: 7E27A42F01D2: removed It seems the mail get drliverd by postfix. But when I check mail as info at mydomain.com ( this is the owner of the Mailman list) there is nothing. So I went to check the spool: [root at mail in]# ll /var/spool/mailman/in total 12 -rw-rw---- 1 apache mailman 1935 Aug 9 10:03 1281125961.361567+13f4f098b3279d920b85092212b376695b4b960c.pck -rw-rw---- 1 nobody mailman 1309 Aug 9 09:51 1281372696.8948531+615da8c239c0eea8523aef9203fd4af249567d1b.pck -rw-rw---- 1 nobody mailman 1309 Aug 9 10:05 1281373509.027688+d4f4af3b3e59ba39d7ed6a0ae2242f1eb20bab36.pck Is that means the mail stuck at there? What should I do to make the delivery to all subscribers? I am using MySQL to setup virtual domain. Should I put something in the transfer table? (I have: transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf in main.cf) Here are some of information: ------------------------------------------------------------------------------------------------------------------------------------------- [root at mail in]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases,hash:/etc/mailman/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 header_checks = regexp:/etc/postfix/header_checks html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = mail.mydomain.com, mydomain.com, localhost, localhost.localdomain myhostname = mail.mydomain.com mynetworks = 127.0.0.0/8 newaliases_path = /usr/bin/newaliases.postfix proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES recipient_delimiter = + sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_tls_cert_file = /etc/postfix/smtpd.cert smtpd_tls_key_file = /etc/postfix/smtpd.key smtpd_use_tls = yes transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf unknown_local_recipient_reject_code = 550 virtual_alias_domains = virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf virtual_create_maildirsize = yes virtual_gid_maps = static:5000 virtual_mailbox_base = /home/vmail virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf virtual_mailbox_limit_override = yes virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf virtual_maildir_extended = yes virtual_maildir_limit_message = "The user you are trying to reach is over quota." virtual_overquota_bounce = yes virtual_uid_maps = static:5000 ------------------------------------------------------------------------------------------------------------------- /etc/mailman/mm_cfg.py #from socket import * #try: # fqdn = getfqdn() #except: # fqdn = 'mm_cfg_has_unknown_host_domains' DEFAULT_URL_HOST = 'mail.mydomain.com' DEFAULT_EMAIL_HOST = 'mydomain.com' # Because we've overriden the virtual hosts above add_virtualhost # MUST be called after they have been defined. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) ############################################################## # Put YOUR site-specific configuration below, in mm_cfg.py . # # See Defaults.py for explanations of the values. # # Note - if you're looking for something that is imported from mm_cfg, but you # didn't find it above, it's probably in Defaults.py. MTA = 'Postfix' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.com'] ------------------------------------------------------------------------------------------------------ [root at mail mailman]# ll total 52 -rw-r----- 1 root mailman 41 Aug 6 10:23 adm.pw -rw-rw---- 1 root mailman 1132 Aug 6 12:55 aliases -rw-r----- 1 root mailman 12288 Aug 6 12:55 aliases.db lrwxrwxrwx 1 root mailman 34 Aug 6 10:12 mm_cfg.py -> /usr/lib/mailman/Mailman/mm_cfg.py -rw-r--r-- 1 root mailman 14114 May 24 2008 sitelist.cfg -rw-rw---- 1 root mailman 1155 Aug 6 12:55 virtual-mailman -rw-r----- 1 root mailman 12288 Aug 6 12:55 virtual-mailman.db [root at mail mailman]# cat aliases # This file is generated by Mailman, and is kept in sync with the # binary hash file aliases.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE # unless you know what you're doing, and can keep the two files properly # in sync. If you screw it up, you're on your own. # The ultimate loop stopper address mailman-loop: /var/lib/mailman/data/owner-bounces.mbox # STANZA START: mailman # CREATED: Fri Aug 6 12:55:44 2010 mailman: "|/usr/lib/mailman/mail/mailman post mailman" mailman-admin: "|/usr/lib/mailman/mail/mailman admin mailman" mailman-bounces: "|/usr/lib/mailman/mail/mailman bounces mailman" mailman-confirm: "|/usr/lib/mailman/mail/mailman confirm mailman" mailman-join: "|/usr/lib/mailman/mail/mailman join mailman" mailman-leave: "|/usr/lib/mailman/mail/mailman leave mailman" mailman-owner: "|/usr/lib/mailman/mail/mailman owner mailman" mailman-request: "|/usr/lib/mailman/mail/mailman request mailman" mailman-subscribe: "|/usr/lib/mailman/mail/mailman subscribe mailman" mailman-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe mailman" # STANZA END: mailman [root at mail mailman]# cat virtual-mailman # This file is generated by Mailman, and is kept in sync with the binary hash # file virtual-mailman.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE unless you # know what you're doing, and can keep the two files properly in sync. If you # screw it up, you're on your own. # # Note that you should already have this virtual domain set up properly in # your Postfix installation. See README.POSTFIX for details. # LOOP ADDRESSES START mailman-loop at mydomain.com mailman-loop # LOOP ADDRESSES END # STANZA START: mailman # CREATED: Fri Aug 6 12:55:44 2010 mailman at mydomain.com mailman at localhost mailman-admin at mydomain.com mailman-admin at localhost mailman-bounces at mydomain.com mailman-bounces at localhost mailman-confirm at mydomain.com mailman-confirm at localhost mailman-join at mydomain.com mailman-join at localhost mailman-leave at mydomain.com mailman-leave at localhost mailman-owner at mydomain.com mailman-owner at localhost mailman-request at mydomain.com mailman-request at localhost mailman-subscribe at mydomain.com mailman-subscribe at localhost mailman-unsubscribe at mydomain.com mailman-unsubscribe at localhost # STANZA END: mailman --------------------------------------------------------------------------------------------------------- Again, thank you for the great help. Jian On 10-08-05 10:04 PM, Mark Sapiro wrote: > Jian Gao wrote: > >> After create the mailman list, I added two subscribers and test the mail >> list. The maillog shows: >> >> |Aug 5 14:00:26 mail postfix/virtual[2984]: C5C3142F01CB: >> to=, relay=virtual, delay=0.4, >> delays=0.37/0.02/0/0.01, dsn=5.1.1, status=bounced (unknown user: >> "mailman at mydomain.com")| >> >> It seems postfix couldn't find the alias, am I right? >> > > Yes. Because postfix thinks mydomain.com is a virtual domain and you > have no virtual mapping for these addresses. > > > >> Here is some of my configurations: >> [root at mail ~]# postconf -n >> alias_database = hash:/etc/aliases >> alias_maps = hash:/etc/aliases,hash:/etc/mailman/alias >> broken_sasl_auth_clients = yes >> command_directory = /usr/sbin >> config_directory = /etc/postfix >> daemon_directory = /usr/libexec/postfix >> debug_peer_level = 2 >> header_checks = regexp:/etc/postfix/header_checks >> html_directory = no >> inet_interfaces = all >> mail_owner = postfix >> mailq_path = /usr/bin/mailq.postfix >> manpage_directory = /usr/share/man >> mydestination = mail.mydomain.com, localhost, localhost.localdomain >> > > The above does not include mydomain.com, only mail.mydomain.com so > mydomain.com is not a local domain. If you want mydomain.com to be > local, include it above. > > If mydomain.com is intended to be a virtual domain to work with > Mailman/Postfix integration, you need > > virtual_alias_domains = mydomain.com > > below and you need to add "hash:/etc/mailman/" to virtual_alias_maps > and you need to add > > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.com'] > > to mm_cfg.py and run Mailman's bin/genaliases to create the > virtual-mailman file. > > If this is not satisfactory, the FAQ at > may be of interest. > > -- Jian Gao IT Administrator SJ Geophysics Ltd. jian.gao at sjgeophysics.com Tel: (604)582-1100 From mark at msapiro.net Mon Aug 9 21:08:33 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 9 Aug 2010 12:08:33 -0700 Subject: [Mailman-Users] Alias problem? In-Reply-To: <4C603EC0.9070309@sjgeophysics.com> Message-ID: Jian Gao wrote: > >It seems the mail get drliverd by postfix. But when I check mail as >info at mydomain.com ( this is the owner of the Mailman list) there is >nothing. The owner of the mailman or of any list does not receive posts to that list unless the owner is also a member. >So I went to check the spool: >[root at mail in]# ll /var/spool/mailman/in >total 12 >-rw-rw---- 1 apache mailman 1935 Aug 9 10:03 >1281125961.361567+13f4f098b3279d920b85092212b376695b4b960c.pck >-rw-rw---- 1 nobody mailman 1309 Aug 9 09:51 >1281372696.8948531+615da8c239c0eea8523aef9203fd4af249567d1b.pck >-rw-rw---- 1 nobody mailman 1309 Aug 9 10:05 >1281373509.027688+d4f4af3b3e59ba39d7ed6a0ae2242f1eb20bab36.pck > >Is that means the mail stuck at there? What should I do to make the >delivery to all subscribers? Start Mailman (bin/mailmanctl start) >I am using MySQL to setup virtual domain. Should I put something in the >transfer table? (I have: transport_maps = >proxy:mysql:/etc/postfix/mysql-virtual_transports.cf in main.cf) Postfix successfully delivered the mail to Mailman and it appears to be queued in Mailman, so the Postfix configuration seems to be OK as is. The only issue is apparently IncomingRunner, one of 8 queue runners started by mailmanctl, and probably the other 7 too are not running. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Aug 9 21:53:53 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 9 Aug 2010 12:53:53 -0700 Subject: [Mailman-Users] Alias problem? In-Reply-To: <4C603EC0.9070309@sjgeophysics.com> Message-ID: Jian Gao wrote: > >Here are some of information: There is a non-critical issue. >------------------------------------------------------------------------------------------------------------------------------------------- >[root at mail in]# postconf -n [...] >mydestination = mail.mydomain.com, mydomain.com, localhost, >localhost.localdomain Your list domain 'mydomain.com' is now local per the above. [...] > >------------------------------------------------------------------------------------------------------------------- >/etc/mailman/mm_cfg.py > >#from socket import * >#try: ># fqdn = getfqdn() >#except: ># fqdn = 'mm_cfg_has_unknown_host_domains' > >DEFAULT_URL_HOST = 'mail.mydomain.com' >DEFAULT_EMAIL_HOST = 'mydomain.com' > ># Because we've overriden the virtual hosts above add_virtualhost ># MUST be called after they have been defined. > >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) > > >############################################################## ># Put YOUR site-specific configuration below, in mm_cfg.py . # ># See Defaults.py for explanations of the values. # > ># Note - if you're looking for something that is imported from mm_cfg, >but you ># didn't find it above, it's probably in Defaults.py. > >MTA = 'Postfix' >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.com'] Thus, the above is unnecessary. It causes Mailman to create virtual-mailman which isn't referenced in your Postfix config anyway. The fact that you added 'mydomain.com' to mydestination in Postfix makes it a local domain to Postfix. >------------------------------------------------------------------------------------------------------ >[root at mail mailman]# ll >total 52 >-rw-r----- 1 root mailman 41 Aug 6 10:23 adm.pw >-rw-rw---- 1 root mailman 1132 Aug 6 12:55 aliases >-rw-r----- 1 root mailman 12288 Aug 6 12:55 aliases.db >lrwxrwxrwx 1 root mailman 34 Aug 6 10:12 mm_cfg.py -> >/usr/lib/mailman/Mailman/mm_cfg.py >-rw-r--r-- 1 root mailman 14114 May 24 2008 sitelist.cfg >-rw-rw---- 1 root mailman 1155 Aug 6 12:55 virtual-mailman >-rw-r----- 1 root mailman 12288 Aug 6 12:55 virtual-mailman.db The virtual-mailman* files aren't needed or used. >[root at mail mailman]# cat aliases [...] >[root at mail mailman]# cat virtual-mailman ># This file is generated by Mailman, and is kept in sync with the binary >hash ># file virtual-mailman.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE >unless you ># know what you're doing, and can keep the two files properly in sync. >If you ># screw it up, you're on your own. ># ># Note that you should already have this virtual domain set up properly in ># your Postfix installation. See README.POSTFIX for details. > ># LOOP ADDRESSES START >mailman-loop at mydomain.com mailman-loop ># LOOP ADDRESSES END > ># STANZA START: mailman ># CREATED: Fri Aug 6 12:55:44 2010 >mailman at mydomain.com mailman at localhost >mailman-admin at mydomain.com mailman-admin at localhost >mailman-bounces at mydomain.com mailman-bounces at localhost >mailman-confirm at mydomain.com mailman-confirm at localhost >mailman-join at mydomain.com mailman-join at localhost >mailman-leave at mydomain.com mailman-leave at localhost >mailman-owner at mydomain.com mailman-owner at localhost >mailman-request at mydomain.com mailman-request at localhost >mailman-subscribe at mydomain.com mailman-subscribe at localhost >mailman-unsubscribe at mydomain.com mailman-unsubscribe at localhost ># STANZA END: mailman > The above is intended to be used in virtual_alias_maps in Postfix if mydomain.com is a virtual_alias_domain, but it is not. It is a local domain in Postfix so this isn't needed Remove POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.com'] from mm_cfg.py and remove the data/virtual-mailman* files as none of that is needed/used by Postfix. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jian.gao at sjgeophysics.com Mon Aug 9 23:48:56 2010 From: jian.gao at sjgeophysics.com (Jian Gao) Date: Mon, 09 Aug 2010 14:48:56 -0700 Subject: [Mailman-Users] Alias problem? In-Reply-To: References: Message-ID: <4C6077C8.6000902@sjgeophysics.com> Hi, Mark, Maybe i am wrong but I think something is not correct and I am still confused. Let roll back to the beginning stage before Mailman installed. My mail server using mysql as backend to handle virtual domain. Let say I have domain1 and domain2 exist. I also have user table in MySQL. For example: user1 at domain1.com, tester at domain1.com... (for now let's just focus on domain1.) So far my mail server handles mail correctly. I sent an email to tester at domain1.com, postfix use "relay=virtual": /Aug 9 13:47:33 mail postfix/virtual[2501]: B34C642F01CA: to=, relay=virtual, delay=1.5, delays=1.3/0.06/0/0.06, dsn=2.0.0, status=sent (delivered to maildir)/ Then, as you recommended, I add domain1.com as mydestination on main.cf, reload Postfix: /[root at mail postfix]# postconf -n | grep mydestination mydestination = mail.domain1.com, domain1.com, localhost, localhost.localdomain/ Then I test by sending email to the same tester at domain1.com, maillog shows: /Aug 9 13:55:21 mail postfix/local[2751]: 1953942F01CE: to=, relay=local, delay=2.2, delays=2.1/0.03/0/0.03, dsn=5.1.1, status=bounced (unknown user: "tester")/ What I see now is Postfix no longer looking for virtual domain. In stead, it try to deliver the mail use /"relay=local"/. Since I don't have a real tester user account on the server, so Postfix failed to deliver. All above has nothing to do with Mailman. I was configuring and testing Mailman then suddenly I realized my email server is broken. So I restored the system (I have a clonezilla image backup) and did the above test. Is this means that I should not put "domain1.com" in "mydestination="? Jian 10-08-09 12:53 PM, Mark Sapiro wrote: > Jian Gao wrote: > >> Here are some of information: >> > > There is a non-critical issue. > > > >> ------------------------------------------------------------------------------------------------------------------------------------------- >> [root at mail in]# postconf -n >> > [...] > >> mydestination = mail.mydomain.com, mydomain.com, localhost, >> localhost.localdomain >> > > Your list domain 'mydomain.com' is now local per the above. > > > [...] > >> ------------------------------------------------------------------------------------------------------------------- >> /etc/mailman/mm_cfg.py >> >> #from socket import * >> #try: >> # fqdn = getfqdn() >> #except: >> # fqdn = 'mm_cfg_has_unknown_host_domains' >> >> DEFAULT_URL_HOST = 'mail.mydomain.com' >> DEFAULT_EMAIL_HOST = 'mydomain.com' >> >> # Because we've overriden the virtual hosts above add_virtualhost >> # MUST be called after they have been defined. >> >> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >> >> >> ############################################################## >> # Put YOUR site-specific configuration below, in mm_cfg.py . # >> # See Defaults.py for explanations of the values. # >> >> # Note - if you're looking for something that is imported from mm_cfg, >> but you >> # didn't find it above, it's probably in Defaults.py. >> >> MTA = 'Postfix' >> POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.com'] >> > > Thus, the above is unnecessary. It causes Mailman to create > virtual-mailman which isn't referenced in your Postfix config anyway. > The fact that you added 'mydomain.com' to mydestination in Postfix > makes it a local domain to Postfix. > > > >> ------------------------------------------------------------------------------------------------------ >> [root at mail mailman]# ll >> total 52 >> -rw-r----- 1 root mailman 41 Aug 6 10:23 adm.pw >> -rw-rw---- 1 root mailman 1132 Aug 6 12:55 aliases >> -rw-r----- 1 root mailman 12288 Aug 6 12:55 aliases.db >> lrwxrwxrwx 1 root mailman 34 Aug 6 10:12 mm_cfg.py -> >> /usr/lib/mailman/Mailman/mm_cfg.py >> -rw-r--r-- 1 root mailman 14114 May 24 2008 sitelist.cfg >> -rw-rw---- 1 root mailman 1155 Aug 6 12:55 virtual-mailman >> -rw-r----- 1 root mailman 12288 Aug 6 12:55 virtual-mailman.db >> > > The virtual-mailman* files aren't needed or used. > > > >> [root at mail mailman]# cat aliases >> > [...] > >> [root at mail mailman]# cat virtual-mailman >> # This file is generated by Mailman, and is kept in sync with the binary >> hash >> # file virtual-mailman.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE >> unless you >> # know what you're doing, and can keep the two files properly in sync. >> If you >> # screw it up, you're on your own. >> # >> # Note that you should already have this virtual domain set up properly in >> # your Postfix installation. See README.POSTFIX for details. >> >> # LOOP ADDRESSES START >> mailman-loop at mydomain.com mailman-loop >> # LOOP ADDRESSES END >> >> # STANZA START: mailman >> # CREATED: Fri Aug 6 12:55:44 2010 >> mailman at mydomain.com mailman at localhost >> mailman-admin at mydomain.com mailman-admin at localhost >> mailman-bounces at mydomain.com mailman-bounces at localhost >> mailman-confirm at mydomain.com mailman-confirm at localhost >> mailman-join at mydomain.com mailman-join at localhost >> mailman-leave at mydomain.com mailman-leave at localhost >> mailman-owner at mydomain.com mailman-owner at localhost >> mailman-request at mydomain.com mailman-request at localhost >> mailman-subscribe at mydomain.com mailman-subscribe at localhost >> mailman-unsubscribe at mydomain.com mailman-unsubscribe at localhost >> # STANZA END: mailman >> >> > > The above is intended to be used in virtual_alias_maps in Postfix if > mydomain.com is a virtual_alias_domain, but it is not. It is a local > domain in Postfix so this isn't needed > > Remove > > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.com'] > > from mm_cfg.py and remove the data/virtual-mailman* files as none of > that is needed/used by Postfix. > > -- Jian Gao IT Administrator SJ Geophysics Ltd. jian.gao at sjgeophysics.com Tel: (604)582-1100 From mark at msapiro.net Tue Aug 10 00:13:21 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 9 Aug 2010 15:13:21 -0700 Subject: [Mailman-Users] Alias problem? In-Reply-To: <4C6077C8.6000902@sjgeophysics.com> Message-ID: Jian Gao wrote" > >Then, as you recommended, I add domain1.com as mydestination on main.cf, >reload Postfix: >/[root at mail postfix]# postconf -n | grep mydestination >mydestination = mail.domain1.com, domain1.com, localhost, >localhost.localdomain/ > >Then I test by sending email to the same tester at domain1.com, maillog shows: >/Aug 9 13:55:21 mail postfix/local[2751]: 1953942F01CE: >to=, relay=local, delay=2.2, delays=2.1/0.03/0/0.03, >dsn=5.1.1, status=bounced (unknown user: "tester")/ > >What I see now is Postfix no longer looking for virtual domain. In >stead, it try to deliver the mail use /"relay=local"/. Since I don't >have a real tester user account on the server, so Postfix failed to deliver. > >All above has nothing to do with Mailman. I was configuring and testing >Mailman then suddenly I realized my email server is broken. So I >restored the system (I have a clonezilla image backup) and did the above >test. > >Is this means that I should not put "domain1.com" in "mydestination="? Yes, this means you have a mail configuration which doesn't work well with Mailman/Postfix.. Your best and easiest solution is to use 'mail.mydomain.com' as both the web domain and the email domain for Mailman. Since this domain is already Postfix local, it will work with Mailman generated aliases and no virtual-mailman. Otherwise, see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From khillo100 at hotmail.com Tue Aug 10 01:40:38 2010 From: khillo100 at hotmail.com (Khalil Abbas) Date: Mon, 9 Aug 2010 23:40:38 +0000 Subject: [Mailman-Users] moderate using SSH.. Message-ID: hi, is there a way to view and accept or reject held messages using command line via SSH instead of opening the web interface? Thanks.. From mark at msapiro.net Tue Aug 10 02:02:57 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 9 Aug 2010 17:02:57 -0700 Subject: [Mailman-Users] moderate using SSH.. In-Reply-To: Message-ID: Khalil Abbas wrote: > >is there a way to view and accept or reject held messages using command line via SSH instead of opening the web interface? You can view the mail via bin/dumpdb data/heldmsg-LIST-NNN.pck Or, if HOLD_MESSAGES_AS_PICKLES is set to No in mm_cfg.py cat data/heldmsg-LIST-NNN.txt You can discard it with bin/discard. There is no command line tool to accept or reject a message, but it would be fairly straightforward to create one. On the other hand, you could just use lynx, links or elinks to invoke the web interface from the command shell, but this would require the web interface to be accessible at least from localhost. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From adam-mailman at amyl.org.uk Tue Aug 10 16:09:39 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Tue, 10 Aug 2010 15:09:39 +0100 Subject: [Mailman-Users] moderate using SSH.. In-Reply-To: References: Message-ID: <20100810140939.GA3860@hendricks.amyl.org.uk> On Mon, Aug 09, 2010 at 11:40:38PM +0000, Khalil Abbas wrote: > is there a way to view and accept or reject held messages using > command line via SSH instead of opening the web interface? In addition to Mark's reply, see: http://wiki.list.org/pages/viewpage.action?pageId=4030620 http://wiki.list.org/pages/viewpage.action?pageId=4030568 "command-line" is a reasonable criterion, in this instance, on which to search the wiki. -- "That is the point of quotations. One can use another's words to be insulting." -- Amanda Cross From arwhyte at umich.edu Tue Aug 10 18:32:33 2010 From: arwhyte at umich.edu (Anthony Whyte) Date: Tue, 10 Aug 2010 12:32:33 -0400 Subject: [Mailman-Users] How to send "mailman-owner" emails to more than one site admin Message-ID: <264EA677-F847-40CA-926E-D7973F9110AE@umich.edu> We are running Mailman 2.1.9 and I've included below a sample alias entries email that is sent to the mailman-owner whenever we create a new list. The question I have is how does one configure Mailman to post such alerts as that below to more than a single site administrator? Cheers, Anthony Whyte Sakai Foundation / University of Michigan ----------------------------------------------------------- Begin forwarded message: > From: mailman-owner at collab.sakaiproject.org > Date: August 10, 2010 10:45:38 AM EDT > To: mailman-owner at collab.sakaiproject.org > Subject: Mailing list creation request for list test > > The mailing list `test' has been created via the through-the-web > interface. In order to complete the activation of this mailing list, the > proper /etc/aliases (or equivalent) file must be updated. The program > `newaliases' may also have to be run. > > Here are the entries for the /etc/aliases file: > > test: "|/usr/lib/mailman/mail/mailman post test" > test-admin: "|/usr/lib/mailman/mail/mailman admin test" > test-bounces: "|/usr/lib/mailman/mail/mailman bounces test" > test-confirm: "|/usr/lib/mailman/mail/mailman confirm test" > test-join: "|/usr/lib/mailman/mail/mailman join test" > test-leave: "|/usr/lib/mailman/mail/mailman leave test" > test-owner: "|/usr/lib/mailman/mail/mailman owner test" > test-request: "|/usr/lib/mailman/mail/mailman request test" > test-subscribe: "|/usr/lib/mailman/mail/mailman subscribe test" > test-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe test" From adam-mailman at amyl.org.uk Wed Aug 11 19:33:12 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Wed, 11 Aug 2010 18:33:12 +0100 Subject: [Mailman-Users] How to send "mailman-owner" emails to more than one site admin In-Reply-To: <264EA677-F847-40CA-926E-D7973F9110AE@umich.edu> References: <264EA677-F847-40CA-926E-D7973F9110AE@umich.edu> Message-ID: <20100811173312.GK26453@hendricks.amyl.org.uk> On Tue, Aug 10, 2010 at 12:32:33PM -0400, Anthony Whyte wrote: > We are running Mailman 2.1.9 and I've included below a sample alias > entries email that is sent to the mailman-owner whenever we create a > new list. The question I have is how does one configure Mailman to > post such alerts as that below to more than a single site > administrator? Multi-member aliases, or specify the owner address as a list? > > Here are the entries for the /etc/aliases file: > > > > test: "|/usr/lib/mailman/mail/mailman post test" > > test-admin: "|/usr/lib/mailman/mail/mailman admin test" Or, indeed, automate that step, with the appropriate config in your MTA? -- "Twenty-two minutes late, badger ate a junction box at New Malden." ('The Fall and Rise of Reginald Perrin') From mark at msapiro.net Wed Aug 11 19:20:40 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 11 Aug 2010 10:20:40 -0700 Subject: [Mailman-Users] How to send "mailman-owner" emails to more than one site admin In-Reply-To: <264EA677-F847-40CA-926E-D7973F9110AE@umich.edu> References: <264EA677-F847-40CA-926E-D7973F9110AE@umich.edu> Message-ID: <48e4b18d-ade1-4ef7-b5fa-477c9e98acaa@email.android.com> "Anthony Whyte" wrote: >We are running Mailman 2.1.9 and I've included below a sample alias entries email that is sent to the mailman-owner whenever we create a new list. The question I have is how does one configure Mailman to post such alerts as that below to more than a single site administrator? Add the additional addresses to the owner or moderator fields of the mailman list. -- Mark Sapiro - mark at msapiro.net Sent from my Android phone with K-9 Mail. Please excuse my brevity. From Frank.Elsner at TU-Berlin.DE Thu Aug 12 10:05:32 2010 From: Frank.Elsner at TU-Berlin.DE (Frank Elsner) Date: Thu, 12 Aug 2010 10:05:32 +0200 Subject: [Mailman-Users] "Own" files in .../mailman/lists ? Message-ID: Hello *, for various reasons I need to save some information about a list in a file (besides the .pck file) for easy access. Will it affect mailman operation if I place this file (e.g. list.info) in .../mailman/lists directory? Or should I use a different location? Thanks in advance. --Frank Elsner From adam-mailman at amyl.org.uk Thu Aug 12 16:01:28 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Thu, 12 Aug 2010 15:01:28 +0100 Subject: [Mailman-Users] "Own" files in .../mailman/lists ? In-Reply-To: References: Message-ID: <20100812140128.GN26453@hendricks.amyl.org.uk> On Thu, Aug 12, 2010 at 10:05:32AM +0200, Frank Elsner wrote: > for various reasons I need to save some information about a list in a file > (besides the .pck file) for easy access. Will it affect mailman operation if > I place this file (e.g. list.info) in .../mailman/lists directory? > Or should I use a different location? Not really knowing how other MTAs work with Mailman, if you were to be doing that in Exim, with a router that uses a /path/to/mailman/lists directory, you may be in for some odd behaviour/mail-routing woes. I'd shove stuff elsewhere on the filesystem, but YMMV. -- "Minister if you are going to promote women just because they're the best person for the job you're going to provoke a lot of resentment throughout the whole of the civil service!" -- Humphrey Appelby, 'Yes Minister' From Frank.Elsner at TU-Berlin.DE Thu Aug 12 16:03:50 2010 From: Frank.Elsner at TU-Berlin.DE (Frank Elsner) Date: Thu, 12 Aug 2010 16:03:50 +0200 Subject: [Mailman-Users] "Own" files in .../mailman/lists ? In-Reply-To: <20100812140128.GN26453@hendricks.amyl.org.uk> References: <20100812140128.GN26453@hendricks.amyl.org.uk> Message-ID: On Thu, 12 Aug 2010 15:01:28 +0100 Adam McGreggor wrote: > On Thu, Aug 12, 2010 at 10:05:32AM +0200, Frank Elsner wrote: > > for various reasons I need to save some information about a list in a file > > (besides the .pck file) for easy access. Will it affect mailman operation if > > I place this file (e.g. list.info) in .../mailman/lists directory? > > Or should I use a different location? > > Not really knowing how other MTAs work with Mailman, if you were to be > doing that in Exim, with a router that uses a /path/to/mailman/lists > directory, you may be in for some odd behaviour/mail-routing woes. It's not for use by the MTA (exim), it's for other applications. > I'd shove stuff elsewhere on the filesystem, but YMMV. I think I will not go inti the .../mailman/lists structure. Thanks, Frank Elsner From adam-mailman at amyl.org.uk Thu Aug 12 16:12:01 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Thu, 12 Aug 2010 15:12:01 +0100 Subject: [Mailman-Users] "Own" files in .../mailman/lists ? In-Reply-To: References: <20100812140128.GN26453@hendricks.amyl.org.uk> Message-ID: <20100812141201.GO26453@hendricks.amyl.org.uk> On Thu, Aug 12, 2010 at 04:03:50PM +0200, Frank Elsner wrote: > On Thu, 12 Aug 2010 15:01:28 +0100 Adam McGreggor wrote: > > On Thu, Aug 12, 2010 at 10:05:32AM +0200, Frank Elsner wrote: > > > for various reasons I need to save some information about a list in a file > > > (besides the .pck file) for easy access. Will it affect mailman operation if > > > I place this file (e.g. list.info) in .../mailman/lists directory? > > > Or should I use a different location? > > > > Not really knowing how other MTAs work with Mailman, if you were to be > > doing that in Exim, with a router that uses a /path/to/mailman/lists > > directory, you may be in for some odd behaviour/mail-routing woes. > > It's not for use by the MTA (exim), it's for other applications. To clarify, if, perhaps, you had a line like mailman_router: ... require_files = /path/to/mailman/lists/${lc::$local_part}/config.pck (using the example provided by Nigel Metheringham, at http://exim.org/howto/mailman21.html) and say, a directory 'backups', which had a file in it, called 'config.pck', I could see exim attempting to deliver mail (should it be sent) to backups at lists.example.org, were that to be the case. Cue NDRs. (I've seen some configs, where the set-up doesn't include the 'config.pck' in the router config, just the presence of the directory) -- "A computer lets you make more mistakes faster than any invention in human history -- with the possible exceptions of handguns and tequila." -- Mitch Ratcliffe, in 'Technology Review', 1992 From auswalk at gmail.com Wed Aug 11 20:04:29 2010 From: auswalk at gmail.com (Allen Walker) Date: Wed, 11 Aug 2010 13:04:29 -0500 Subject: [Mailman-Users] URL incorrect in web interface Message-ID: <4C62E62D.1080901@gmail.com> I am running mailman on one machine which hosts several different virtual hosts. However what I configured as the "mailman" virtual host is "lists.myhost.com". Everything works fine (mail delivery, web site url management) except for one thing: in the web admin url, it's rewriting the links to "myhost.com/..." instead of "lists.myhost.com". This is causing HTTP posts when doing some admin changes to fail as it's hitting the "myhost.com" host instead of "lists.myhost.com". in my mm_cfg.py: # The name of the list Mailman uses to send password reminders # and similar. Don't change if you want mailman-owner to be # a valid local part. MAILMAN_SITE_LIST = 'mailman' #------------------------------------------------------------- # If you change these, you have to configure your http server # accordingly (Alias and ScriptAlias directives in most httpds) #DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/' DEFAULT_URL_PATTERN = 'http://%s/' PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private' IMAGE_LOGOS = '/images/mailman/' #------------------------------------------------------------- # Default domain for email addresses of newly created MLs DEFAULT_EMAIL_HOST = 'myhost.com' #------------------------------------------------------------- # Default host for web interface of newly created MLs DEFAULT_URL_HOST = 'lists.myhost.com' #------------------------------------------------------------- # Required when setting any of its arguments. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) mailman virtual host file ServerName lists.myhost.com DocumentRoot /var/www/lists ErrorLog /var/log/apache2/lists-error.log CustomLog /var/log/apache2/lists-access.log combined Options Indexes FollowSymLinks AllowOverride None Alias /pipermail/ /var/lib/mailman/archives/public/ Alias /images/mailman/ /usr/share/images/mailman/ ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm ScriptAlias /create /usr/lib/cgi-bin/mailman/create ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo ScriptAlias /options /usr/lib/cgi-bin/mailman/options ScriptAlias /private /usr/lib/cgi-bin/mailman/private ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/ From mark at msapiro.net Thu Aug 12 16:40:32 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 12 Aug 2010 07:40:32 -0700 Subject: [Mailman-Users] "Own" files in .../mailman/lists ? In-Reply-To: Message-ID: Frank Elsner wrote: > >for various reasons I need to save some information about a list in a file >(besides the .pck file) for easy access. Will it affect mailman operation if >I place this file (e.g. list.info) in .../mailman/lists directory? >Or should I use a different location? You can put your own files in mailman/lists/. The only issue is it precludes later creating a list of the same name. You can also put your own files in mailman/lists/LISTNAME/ directories without problem. You can create directories under mailman/lists/ as long as they don't contain config.pck* or config.db*, and even the standard Exim router will not be confused. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Aug 12 16:53:56 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 12 Aug 2010 07:53:56 -0700 Subject: [Mailman-Users] URL incorrect in web interface In-Reply-To: <4C62E62D.1080901@gmail.com> Message-ID: Allen Walker wrote: > I am running mailman on one machine which hosts several different >virtual hosts. However what I configured as the "mailman" virtual host >is "lists.myhost.com". Everything works fine (mail delivery, web site >url management) except for one thing: in the web admin url, it's >rewriting the links to "myhost.com/..." instead of "lists.myhost.com". >This is causing HTTP posts when doing some admin changes to fail as it's >hitting the "myhost.com" host instead of "lists.myhost.com". > >in my mm_cfg.py: > ># The name of the list Mailman uses to send password reminders ># and similar. Don't change if you want mailman-owner to be ># a valid local part. >MAILMAN_SITE_LIST = 'mailman' > >#------------------------------------------------------------- ># If you change these, you have to configure your http server ># accordingly (Alias and ScriptAlias directives in most httpds) >#DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/' >DEFAULT_URL_PATTERN = 'http://%s/' >PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private' >IMAGE_LOGOS = '/images/mailman/' > >#------------------------------------------------------------- ># Default domain for email addresses of newly created MLs >DEFAULT_EMAIL_HOST = 'myhost.com' >#------------------------------------------------------------- ># Default host for web interface of newly created MLs >DEFAULT_URL_HOST = 'lists.myhost.com' >#------------------------------------------------------------- ># Required when setting any of its arguments. >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) The above is correct. Run Mailman's bin/withlist -l -a -r fix_url to fix your existing lists. See the FAQ at . >mailman virtual host file > > > >ServerName lists.myhost.com >DocumentRoot /var/www/lists >ErrorLog /var/log/apache2/lists-error.log >CustomLog /var/log/apache2/lists-access.log combined > > > Options Indexes FollowSymLinks > AllowOverride None > > >Alias /pipermail/ /var/lib/mailman/archives/public/ >Alias /images/mailman/ /usr/share/images/mailman/ >ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin >ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb >ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm >ScriptAlias /create /usr/lib/cgi-bin/mailman/create >ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml >ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo >ScriptAlias /options /usr/lib/cgi-bin/mailman/options >ScriptAlias /private /usr/lib/cgi-bin/mailman/private >ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist >ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster >ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe >ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/ > -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From s.watkins at nhm.ac.uk Fri Aug 13 13:50:35 2010 From: s.watkins at nhm.ac.uk (Steff Watkins) Date: Fri, 13 Aug 2010 12:50:35 +0100 Subject: [Mailman-Users] Multiple mailing list admin with a single login Message-ID: <8A17F10FEBA5C841956578C5AD9027D3D5A60B@HOMER.nhm.ac.uk> Hello, is there a way to setup a user login so that once they've logged in they'd automatically have admin/moderator rights over certain selected lists without having to log in to each list individually? Thanks, Steff --------------- Steff Watkins Natural History Museum, Cromwell Road, London, SW7 5BD Systems programmer Email: s.watkins at nhm.ac.uk Systems Team Phone: +44 (0)20 7942 6000 opt 2 ======== Many were increasingly of the opinion that they'd all made a big mistake in coming down from the trees in the first place. And some said that even the trees had been a bad move, and that no one should ever have left the oceans. - HHGTTG From a.smith at ukgrid.net Fri Aug 13 15:52:51 2010 From: a.smith at ukgrid.net (a.smith at ukgrid.net) Date: Fri, 13 Aug 2010 14:52:51 +0100 Subject: [Mailman-Users] new server not archiving messages Message-ID: <20100813145251.171252qeqxoeti0w@webmail2.ukgrid.net> Hi, Ive just installed Mailman 2.1.12 to a new FreeBSD 8.1 server. I have copied across the contents of the lists directory from an existing server that I want to copy. When tested the server works, in so much as recieving mails and forward to list members but no data is stored in the archive directory. Ive checked the Defaults.py (I am using the default settings, which are identical to my old working server) and auto archive is on and everything looks setup to work. Ive had a search for similar issues and didnt really find anything helpful. One person said they?d had to log in via the GUI to every list and make some change and then save the config and then it started working. Does anyone have any suggestions as to what could cause this, or how to trouble shoot the issue further? thanks in advance! Andy. From mark at msapiro.net Fri Aug 13 17:20:18 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 13 Aug 2010 08:20:18 -0700 Subject: [Mailman-Users] new server not archiving messages In-Reply-To: <20100813145251.171252qeqxoeti0w@webmail2.ukgrid.net> References: <20100813145251.171252qeqxoeti0w@webmail2.ukgrid.net> Message-ID: <4C6562B2.1060502@msapiro.net> On 8/13/2010 6:52 AM, a.smith at ukgrid.net wrote: > Hi, > > Ive just installed Mailman 2.1.12 to a new FreeBSD 8.1 server. I have > copied across the contents of the lists directory from an existing > server that I want to copy. When tested the server works, in so much as > recieving mails and forward to list members but no data is stored in the > archive directory. Ive checked the Defaults.py (I am using the default > settings, which are identical to my old working server) and auto archive > is on and everything looks setup to work. > Ive had a search for similar issues and didnt really find anything > helpful. One person said they?d had to log in via the GUI to every list > and make some change and then save the config and then it started working. > Does anyone have any suggestions as to what could cause this, or how to > trouble shoot the issue further? Run Mailman's bin/check_perms Look in Mailman's error log -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From adam-mailman at amyl.org.uk Fri Aug 13 17:36:30 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Fri, 13 Aug 2010 16:36:30 +0100 Subject: [Mailman-Users] Multiple mailing list admin with a single login In-Reply-To: <8A17F10FEBA5C841956578C5AD9027D3D5A60B@HOMER.nhm.ac.uk> References: <8A17F10FEBA5C841956578C5AD9027D3D5A60B@HOMER.nhm.ac.uk> Message-ID: <20100813153630.GA26453@hendricks.amyl.org.uk> On Fri, Aug 13, 2010 at 12:50:35PM +0100, Steff Watkins wrote: > is there a way to setup a user login so that once they've logged in > they'd automatically have admin/moderator rights over certain selected > lists without having to log in to each list individually? Not currently, to my knowledge. Well, not as standard, without codeing. However, that's not to say there isn't at least one way to do things. For example: https://secure.mysociety.org/cvstrac/rlog?f=mysociety/lists/web-admin/lists/mailmanlogin.cgi (and other things in the mysociety/lists tree) may be of some use, but note, I've not pushed (and currently don't have the time to push) patches to a more-recent Mailman (either sources, or Debian packaged) version. It's *one* way to do things... Using the mySoc approach, it could then be down to a *Match (for Apache) directive to permit groups/users access to the various /mailman/admin/$REGEXP lists... (rather than our approach of just using one group access to all lists). -- "Actually, he's a libertarian, which, as near as I can tell, is just a Republican who doesn't believe in God." -- Sarah Vowell From a.smith at ukgrid.net Fri Aug 13 19:08:34 2010 From: a.smith at ukgrid.net (a.smith at ukgrid.net) Date: Fri, 13 Aug 2010 18:08:34 +0100 Subject: [Mailman-Users] new server not archiving messages In-Reply-To: <4C6562B2.1060502@msapiro.net> References: <20100813145251.171252qeqxoeti0w@webmail2.ukgrid.net> <4C6562B2.1060502@msapiro.net> Message-ID: <20100813180834.19957567ezmzv2ww@webmail2.ukgrid.net> Quoting Mark Sapiro : > On 8/13/2010 6:52 AM, a.smith at ukgrid.net wrote: > > > Run Mailman's bin/check_perms > > Look in Mailman's error log > Ok thanks. Id had a look in the logs before but not close enough. It was odd it had created some directories under archives but not the mbox ones. When I manually created these it has started logging the messages as expected... thanks! Andy. From adamsca at gmail.com Fri Aug 13 20:53:55 2010 From: adamsca at gmail.com (Christopher Adams) Date: Fri, 13 Aug 2010 11:53:55 -0700 Subject: [Mailman-Users] question about rotating logs from FAQ Message-ID: Hello all, I recently upgraded to the latest version of Mailman. I had been using a change in /Mailman/Logging/Logger.py to rename logfiles with the *.log extension. This was as suggested from the Mailman FAQ: http://wiki.list.org/pages/viewpage.action?pageId=4030580 So, I modified the file as specified and restarted Mailman. Here is the result. It looks like it has a problem with the punctuation in the added line (the last line). This specifically mentions version 2.1.9, so is this still doable with version 2.1.13? Traceback (most recent call last): File "./mailmanctl", line 107, in ? from Mailman import Utils File "/usr/local/mailman/Mailman/Utils.py", line 56, in ? from Mailman.Logging.Syslog import syslog File "/usr/local/mailman/Mailman/Logging/Syslog.py", line 25, in ? from Mailman.Logging.StampedLogger import StampedLogger File "/usr/local/mailman/Mailman/Logging/StampedLogger.py", line 20, in ? from Mailman.Logging.Logger import Logger File "/usr/local/mailman/Mailman/Logging/Logger.py", line 46 self.__filename \+= '.log' ^ From mark at msapiro.net Sat Aug 14 01:47:15 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 13 Aug 2010 16:47:15 -0700 Subject: [Mailman-Users] new server not archiving messages In-Reply-To: <20100813180834.19957567ezmzv2ww@webmail2.ukgrid.net> Message-ID: a.smith at ukgrid.net wrote: >> >Ok thanks. Id had a look in the logs before but not close enough. It >was odd it had created some directories under archives but not the >mbox ones. When I manually created these it has started logging the >messages as expected... When Mailman creates a list, it creates the archives/private/LISTNAME.mbox/ directory, and archiving expects it to exist. So if you move lists from another server by moving the lists/LISTNAME/ directory, but don't move the archives/private/LISTNAME*/ directories, you have to manually create the archives/private/LISTNAME.mbox/ directory. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Aug 14 02:14:48 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 13 Aug 2010 17:14:48 -0700 Subject: [Mailman-Users] question about rotating logs from FAQ In-Reply-To: Message-ID: Christopher Adams wrote: > >I recently upgraded to the latest version of Mailman. I had been using a >change in /Mailman/Logging/Logger.py to rename logfiles with the *.log >extension. This was as suggested from the Mailman FAQ: > >http://wiki.list.org/pages/viewpage.action?pageId=4030580 > >So, I modified the file as specified and restarted Mailman. Here is the >result. It looks like it has a problem with the punctuation in the added >line (the last line). This specifically mentions version 2.1.9, so is this >still doable with version 2.1.13? > >Traceback (most recent call last): > File "./mailmanctl", line 107, in ? > from Mailman import Utils > File "/usr/local/mailman/Mailman/Utils.py", line 56, in ? > from Mailman.Logging.Syslog import syslog > File "/usr/local/mailman/Mailman/Logging/Syslog.py", line 25, in ? > from Mailman.Logging.StampedLogger import StampedLogger > File "/usr/local/mailman/Mailman/Logging/StampedLogger.py", line 20, in ? > from Mailman.Logging.Logger import Logger > File "/usr/local/mailman/Mailman/Logging/Logger.py", line 46 >self.__filename \+= '.log' When that FAQ was converted from the old FAQ Wizard, the formatting got messed up. Look at it again (I think I've cleaned it up). I may also add yet another logrotate suggestion later. The basic problem above is there should not be a '\' preceding '+=' in the patch you applied. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From khillo100 at hotmail.com Mon Aug 16 03:22:31 2010 From: khillo100 at hotmail.com (Khalil Abbas) Date: Mon, 16 Aug 2010 01:22:31 +0000 Subject: [Mailman-Users] network pressure .. Message-ID: hi, I'm running a mailing list service and have a dedicated server with godaddy for that, the server sends emails thru godaddy's relay servers.. I have 38 lists on this server and all the 38 lists have about 9,000 subscribers .. but some of my customers send to their lists more than once a day.. godaddy has told me that my server is making a pressure on their network and causing them problems because its sending too much data to the relay system very fast, they said that I should find a way to distribute the emails over a period of 12 hours or more to ease the pressure on their network.. is there a way to tell mailman to distribute certain amount of messages over a certain period of time ?? Thanks.. From cpz at tuunq.com Mon Aug 16 03:36:00 2010 From: cpz at tuunq.com (Carl Zwanzig) Date: Sun, 15 Aug 2010 18:36:00 -0700 Subject: [Mailman-Users] network pressure .. In-Reply-To: References: Message-ID: <4C689600.2010609@tuunq.com> On 8/15/2010 6:22 PM, Khalil Abbas wrote: > godaddy has told me that my server is making a pressure on their network > and causing them problems because its sending too much data to the relay > system very fast, What Godaddy is telling you is that their mail servers are either underpowered or improperly configured. (Well, that is if you're mailman is reasonable configured and isn't doing full personalization.) > is there a way to tell mailman to distribute certain amount of messages > over a certain period of time ?? Did you check the FAQ and list archives for that? (But, the answer is no, not really.) z! who's having attitudes today From odhiambo at gmail.com Mon Aug 16 08:28:03 2010 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon, 16 Aug 2010 09:28:03 +0300 Subject: [Mailman-Users] network pressure .. In-Reply-To: References: Message-ID: On Mon, Aug 16, 2010 at 4:22 AM, Khalil Abbas wrote: > > hi, > > > > I'm running a mailing list service and have a dedicated server with > godaddy for that, the server sends emails thru godaddy's relay servers.. I > have 38 lists on this server and all the 38 lists have about 9,000 > subscribers .. but some of my customers send to their lists more than once a > day.. > > > > godaddy has told me that my server is making a pressure on their network > and causing them problems because its sending too much data to the relay > system very fast, they said that I should find a way to distribute the > emails over a period of 12 hours or more to ease the pressure on their > network.. > > > > is there a way to tell mailman to distribute certain amount of messages > over a certain period of time ?? > > Please run your own DNS servers on your servers. This will allow you to manage your own DNS records (PTR and MX) and you can run a dedicated mail server to handle traffic from the lists onto to the Internet. This solves your problem completely. Well, you may have to buy a server to dedicate to sending e-mails. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From andrew at hodgsonfamily.org Mon Aug 16 10:38:03 2010 From: andrew at hodgsonfamily.org (Andrew Hodgson) Date: Mon, 16 Aug 2010 09:38:03 +0100 Subject: [Mailman-Users] network pressure .. In-Reply-To: References: Message-ID: <3D928760FE9FD24A9F02C485C3F506650D2C6D4616@ELROND.hodgsonfamily.org> Khalil Abbas [khillo100 at hotmail.com] wrote: >I'm running a mailing list service and have a dedicated server with godaddy for that, the server sends emails thru godaddy's relay servers.. I have 38 lists on this >server and all the 38 lists have about 9,000 subscribers .. but some of my customers send to their lists more than once a day.. >godaddy has told me that my server is making a pressure on their network and causing them problems because its sending too much data to the relay system very >fast, they said that I should find a way to distribute the emails over a period of 12 hours or more to ease the pressure on their network.. An alternative is to let your server at Godaddy send the emails out directly via MX lookups, rather than sending it off to a smarthost. This would be an MTA configuration option, unless you specified an SMTP server directly in mm_cfg.py, in which case remove it, and Mailman will submit the messages through the MTA on localhost. Thanks. Andrew. From geoff at QuiteLikely.com Tue Aug 17 18:28:06 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Tue, 17 Aug 2010 19:28:06 +0300 (IDT) Subject: [Mailman-Users] UTF8 descriptions Message-ID: Hi, My wife is trying to set up a list for a small group of mainly Hebrew speakers. We've configured it to make the Hebrew locale available, and this seems to work. (Apparently my wife doesn't think much of the Hebrew translation, but that's another issue) The problem is that when she tried entering in Hebrew descriptions and welcome messages, she got text like this: קבוצת עבודה וניהול - כלבי נחייה. I'm guessing this is an issue with dealing with UTF8 characters being typed into the Mailman form. Is there anything I can do about this, or is this a Mailman or browser bug? Browser is IE8. Mailman is 2.1.11 running on Debian 5.0. NOte that the default list language was set to English, if that makes any difference. Would the default language need to be set to Hebrew to make these fields input correctly when the form is submitted? Thanks, Geoff. From mark at msapiro.net Tue Aug 17 18:58:04 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 17 Aug 2010 09:58:04 -0700 Subject: [Mailman-Users] UTF8 descriptions In-Reply-To: Message-ID: Geoff Shang wrote: > >The problem is that when she tried entering in Hebrew descriptions and welcome >messages, she got text like this: > >קבוצת >עבודה וניהול >- כלבי נחייה. > >I'm guessing this is an issue with dealing with UTF8 characters being typed >into the Mailman form. > >Is there anything I can do about this, or is this a Mailman or browser bug? > >Browser is IE8. Mailman is 2.1.11 running on Debian 5.0. > >NOte that the default list language was set to English, if that makes any >difference. Would the default language need to be set to Hebrew to make these >fields input correctly when the form is submitted? Either that or set the character set for English to UTF-8 if you/she has that ability. It requires putting add_language('en', 'English (USA)', 'utf-8', 'ltr') in mm_cfg.py and restarting Mailman. There is another possibility. In recent versions prior to 2.1.13, HTML entities like < or ק were escaped as &lt; or &#1511; for the web interface. If this is the issue, the underlying data are correct; they just display incorrectly in the web admin interface. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From geoff at QuiteLikely.com Wed Aug 18 02:54:15 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Wed, 18 Aug 2010 03:54:15 +0300 (IDT) Subject: [Mailman-Users] UTF8 descriptions In-Reply-To: References: Message-ID: On Tue, 17 Aug 2010, Mark Sapiro wrote: > Geoff Shang wrote: >> >> The problem is that when she tried entering in Hebrew descriptions and welcome >> messages, she got text like this: >> >> קבוצת [snip] >> NOte that the default list language was set to English, if that makes any >> difference. Would the default language need to be set to Hebrew to make these >> fields input correctly when the form is submitted? > > > Either that or set the character set for English to UTF-8 if you/she > has that ability. It requires putting > > add_language('en', 'English (USA)', 'utf-8', 'ltr') > > in mm_cfg.py and restarting Mailman. I can do this, as I am an admin on the system where this is hosted. I see now that there are entries like this in Defaults.py. So the entry in mm_cfg.py will overwrite this as it's meant to. Maybe a stupid question, but why not have it utf-8 for all of them? I mean, isn't that the whole point of unicode, that it just works everywhere? Or does it need to match the character set of the messages/templates? > There is another possibility. In recent versions prior to 2.1.13, HTML > entities like < or ק were escaped as &lt; or &#1511; > for the web interface. If this is the issue, the underlying data are > correct; they just display incorrectly in the web admin interface. No, this was wrong in Email messages too. But the default English character set is US/ASCII so that's hardly surprising. All this has led me to look at I18N, as it's not an area I've looked at before in Mailman. And I've got a couple of questions: 1. There's add_language lines for every supported language in Defaults.py, but only languages located in /etc/mailman/ are actually available. Does Mailman check for them here or is there some other Mailman glue that says which languages are actually available for use? 2. Further to this, I can only find the template files and not the messages file. Where should these be located on a Debian system? Thanks, Geoff. From mark at msapiro.net Wed Aug 18 03:41:16 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 17 Aug 2010 18:41:16 -0700 Subject: [Mailman-Users] UTF8 descriptions In-Reply-To: Message-ID: Geoff Shang wrote: > >Maybe a stupid question, but why not have it utf-8 for all of them? I >mean, isn't that the whole point of unicode, that it just works >everywhere? Or does it need to match the character set of the >messages/templates? Yes, it does need to match the character set of the messages and templates. It is still us-ascii for English just because of superstition. The character set for the translations is/was chosen by the translator, in many cases before unicode/utf-8 became generally accepted. >All this has led me to look at I18N, as it's not an area I've looked at >before in Mailman. And I've got a couple of questions: > >1. There's add_language lines for every supported language in >Defaults.py, but only languages located in /etc/mailman/ are >actually available. Does Mailman check for them here or is there some >other Mailman glue that says which languages are actually available for >use? This is all Debian packaging, possibly based on never released upstream functionality for installing only selected languages. In standard Mailman 2.1.x, all supported languages are available. The message catalogs are in $prefix/messages//LC-MESSAGES/mailman.(po|mo) and the templates are in $prefix/templates//* >2. Further to this, I can only find the template files and not the >messages file. Where should these be located on a Debian system? Look in Defaults.py/mm_cfg.py for MESSAGES_DIR. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mauncey at yahoo.com Tue Aug 17 21:57:17 2010 From: mauncey at yahoo.com (Mauncey) Date: Tue, 17 Aug 2010 12:57:17 -0700 (PDT) Subject: [Mailman-Users] Allow list subscriptions via custom form on my website Message-ID: <832585.20343.qm@web53801.mail.re2.yahoo.com> I'm trying to figure out how to allow users to subscribe to my mailing list via a custom form on my Website. Other than setting the method="post" and action="http://SERVERNAME/mailman/subscribe/LISTNAME"; and adding the fields for name and password, what else do I need to do? And, I know the web interface for subscribers is configured to require only the email field...but can I also require a first name and last name on my custom web form? From michael at levault.net Tue Aug 17 21:01:41 2010 From: michael at levault.net (Michael) Date: Tue, 17 Aug 2010 13:01:41 -0600 (MDT) Subject: [Mailman-Users] Question: How to hide members Message-ID: <56997.70.56.229.184.1282071701.LeVaultMail@www.LeVault.NET> Can someone describe how to hide the members from being disclosed when the "who" command is sent to the mailman-request at example.com. If I toggle the flag to hide members in the member area, then the member are hidden even to the list admin. What I want to do is HIDE the member list from the members, but keep it available to the list admin using the "who" command to manage the list. Thanks in advance, Michael From stf at eisenbits.homelinux.net Tue Aug 17 22:26:01 2010 From: stf at eisenbits.homelinux.net (=?UTF-8?B?U3RhbmlzxYJhdyBGaW5kZWlzZW4=?=) Date: Tue, 17 Aug 2010 22:26:01 +0200 Subject: [Mailman-Users] a user turns on his moderation flag? Message-ID: <4C6AF059.4080705@eisenbits.homelinux.net> Is it possible for an ordinary list subscriber to change (turn on) his own moderation flag? I can see one of my members having this flag on, which is strange because I don't think I ever turned it on and it was off on that member's subscription, too. Everyone else also has this flag off. > mod -- The user's personal moderation flag. If this is set, postings from them will be moderated, otherwise they will be approved. STF http://eisenbits.homelinux.net/~stf/ OpenPGP: DFD9 0146 3794 9CF6 17EA D63F DBF5 8AA8 3B31 FE8A From mark at msapiro.net Wed Aug 18 17:04:53 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 18 Aug 2010 08:04:53 -0700 Subject: [Mailman-Users] Question: How to hide members In-Reply-To: <56997.70.56.229.184.1282071701.LeVaultMail@www.LeVault.NET> Message-ID: Michael wrote: > >What I want to do is HIDE the member list from the members, but keep it >available to the list admin using the "who" command to manage the list. Mailman 2.1.10 and later do exactly what you want if the admin uses the "who password" form of the command with the list's admin or moderator password. Prior to 2.1.10 you can't do this. See the FAQ at for another option. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed Aug 18 17:10:07 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 18 Aug 2010 08:10:07 -0700 Subject: [Mailman-Users] Allow list subscriptions via custom form on mywebsite In-Reply-To: <832585.20343.qm@web53801.mail.re2.yahoo.com> Message-ID: Mauncey wrote: >I'm trying to figure out how to allow users to subscribe to my mailing list via a custom form on my Website. Other than setting the method="post" and action="http://SERVERNAME/mailman/subscribe/LISTNAME"; and adding the fields for name and password, what else do I need to do? You must have a field or other way to provide the email address. In fact, that's the only mandatory input. See the FAQ at -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed Aug 18 17:17:44 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 18 Aug 2010 08:17:44 -0700 Subject: [Mailman-Users] a user turns on his moderation flag? In-Reply-To: <4C6AF059.4080705@eisenbits.homelinux.net> Message-ID: Stanislaw Findeisen wrote: >Is it possible for an ordinary list subscriber to change (turn on) his >own moderation flag? If it were possible for anyone without the list admin or site admin password or (command shell) write access to the Mailman installation to set a user's "mod" flag, even his own, it would be a bug, but I don't think it is. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From michael at levault.net Wed Aug 18 17:16:00 2010 From: michael at levault.net (Michael) Date: Wed, 18 Aug 2010 09:16:00 -0600 (MDT) Subject: [Mailman-Users] Question: How to hide members In-Reply-To: References: <56997.70.56.229.184.1282071701.LeVaultMail@www.LeVault.NET> Message-ID: <2380.97.121.169.87.1282144560.LeVaultMail@www.LeVault.NET> Thanks Mark. Sounds like we need to upgrade to the current version. Michael Mark Sapiro wrote: > Michael wrote: >> >>What I want to do is HIDE the member list from the members, but keep it >>available to the list admin using the "who" command to manage the list. > > > Mailman 2.1.10 and later do exactly what you want if the admin uses the > "who password" form of the command with the list's admin or moderator > password. > > Prior to 2.1.10 you can't do this. See the FAQ at > for another option. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > -- From floeff at gmail.com Wed Aug 18 18:53:44 2010 From: floeff at gmail.com (Florian Effenberger) Date: Wed, 18 Aug 2010 18:53:44 +0200 Subject: [Mailman-Users] postfix-to-mailman.py and local_recipient_tables Message-ID: Hi, I run Mailman and Postfix together using postfix-to-mailman.py, and it worked without any problems. All of a sudden, Mailman lists could not be reached anymore with an "User unknown" code. After lots of digging into the problem, adding local_recipient_tables = to my main.cf solved the problem. It looks like that Postfix is not able to determine valid mailing list recipients. I'd like to avoid setting local_recipient_tables to null, as it has some drawbacks. Anyone has an idea on where the problem lies? Thanks, Florian From mark at msapiro.net Thu Aug 19 00:38:54 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 18 Aug 2010 15:38:54 -0700 Subject: [Mailman-Users] postfix-to-mailman.py and local_recipient_tables In-Reply-To: Message-ID: Florian Effenberger wrote: > >I run Mailman and Postfix together using postfix-to-mailman.py, and it >worked without any problems. All of a sudden, Mailman lists could not >be reached anymore with an "User unknown" code. After lots of digging >into the problem, adding > >local_recipient_tables = > >to my main.cf solved the problem. It looks like that Postfix is not >able to determine valid mailing list recipients. I'd like to avoid >setting local_recipient_tables to null, as it has some drawbacks. >Anyone has an idea on where the problem lies? This is really a Postfix question, not a Mailman question, but postfix_to_mailman.py is designed to work with a dedicated domain which receives all and only Mailman list mail. There needs to be an entry in Postfix's transport_maps specifying a 'mailman' transport for that domain and an entry in Postfix's master.cf defining that transport as a pipe to postfix_to_mailman.py. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From floeff at gmail.com Thu Aug 19 12:00:32 2010 From: floeff at gmail.com (Florian Effenberger) Date: Thu, 19 Aug 2010 12:00:32 +0200 Subject: [Mailman-Users] postfix-to-mailman.py and local_recipient_tables In-Reply-To: References: Message-ID: Hi Mark, > This is really a Postfix question, not a Mailman question, but > postfix_to_mailman.py is designed to work with a dedicated domain > which receives all and only Mailman list mail. > > There needs to be an entry in Postfix's transport_maps specifying a > 'mailman' transport for that domain and an entry in Postfix's > master.cf defining that transport as a pipe to postfix_to_mailman.py. I've reproduced the configuration according to various howtos, including the documentation inside the Python file, and every configuration all of a sudden throws this "User unknown" error, unless I disable the local_recipient_maps. Anyone else ever experienced these problems? I'm a bit clueless where the problem lies. :-( Florian From mark at msapiro.net Thu Aug 19 17:04:37 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 19 Aug 2010 08:04:37 -0700 Subject: [Mailman-Users] postfix-to-mailman.py and local_recipient_tables In-Reply-To: Message-ID: Florian Effenberger wrote: > >I've reproduced the configuration according to various howtos, >including the documentation inside the Python file, and every >configuration all of a sudden throws this "User unknown" error, unless >I disable the local_recipient_maps. Anyone else ever experienced these >problems? > >I'm a bit clueless where the problem lies. :-( As are we unless you at least post the output from "postconf -n", the Postfix log (maillog) entry for the reject, and the other relevant master.cf, local_recipient_maps and transport table entries. Note that while people on this list may be willing/able to help you with this, this is not really a GNU Mailman question. It is a Postfix question or possibly a Debian/Ubuntu packaging question. Based on what you have posted so far, postfix_to_mailman.py works if list mail actually gets to it (i.e. when local_recipient_maps is null) so the problem would seem to be entirely that Postfix is not routing list mail to the mailman transport (postfix_to_mailman.py). Just a wild guess - did you perhaps add the list domain to mydestination in main.cf? If so, remove it. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From floeff at gmail.com Thu Aug 19 18:22:16 2010 From: floeff at gmail.com (Florian Effenberger) Date: Thu, 19 Aug 2010 18:22:16 +0200 Subject: [Mailman-Users] postfix-to-mailman.py and local_recipient_tables In-Reply-To: References: Message-ID: Hi Mark, 2010/8/19 Mark Sapiro : > Note that while people on this list may be willing/able to help you > with this, this is not really a GNU Mailman question. It is a Postfix > question or possibly a Debian/Ubuntu packaging question. Based on what > you have posted so far, postfix_to_mailman.py works if list mail > actually gets to it (i.e. when local_recipient_maps is null) so the > problem would seem to be entirely that Postfix is not routing list > mail to the mailman transport (postfix_to_mailman.py). > > Just a wild guess - did you perhaps add the list domain to > mydestination in main.cf? If so, remove it. due to your posting, I did some slight tweakings: I removed the lists domain from mydestination, adding it to relay_domains. Then I was able to remove the empty local_recipient_maps - the result is that for all domains except lists unknown users are reported immediately during the SMTP session. Thanks a lot! I don't know where the problem comes from, but I'll check upstream (it's a FusionForge installation). Thanks again, Florian From adamsca at gmail.com Thu Aug 19 21:23:37 2010 From: adamsca at gmail.com (Christopher Adams) Date: Thu, 19 Aug 2010 12:23:37 -0700 Subject: [Mailman-Users] question about log entry of posting to list from list owner Message-ID: Hello all, I have noticed in my mailman logs an entry like this, which comes repeatedly, and not just for one particular list. My question is, what is posting to the list from the listname-owner that is causing this? Aug 19 12:13:16 2010 (12806) post to yspnetwork from listname-owner at mydomain.com size=3047, message-id=< mailman.245.1282239915.26781.listname at mydomain.com>, 1 failures -- Christopher Adams adamsca at gmail.com From mark at msapiro.net Fri Aug 20 02:13:23 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 19 Aug 2010 17:13:23 -0700 Subject: [Mailman-Users] question about log entry of posting to list fromlist owner In-Reply-To: Message-ID: Christopher Adams wrote: > >I have noticed in my mailman logs an entry like this, which comes >repeatedly, and not just for one particular list. My question is, what is >posting to the list from the listname-owner that is causing this? > >Aug 19 12:13:16 2010 (12806) post to yspnetwork from >listname-owner at mydomain.com size=3047, message-id=< >mailman.245.1282239915.26781.listname at mydomain.com>, 1 failures That's from the post log. There should also be a message in the smtp-failure log of form 'delivery to %(recipient)s failed with code %(failcode)d: %(failmsg)s' giving more specific information about the failed recipient and reason. The sender and message-id in the log message you quote indicate that this is a Mailman generated message, not a post, possibly a notice of a held post or a response to a message to listname-request, etc. Most likely the original messages are spam and Mailman is sending some response to the sender of the spam and your MTA is rejecting the response recipient. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From scott at 916networks.com Fri Aug 20 19:48:52 2010 From: scott at 916networks.com (Scott Race) Date: Fri, 20 Aug 2010 10:48:52 -0700 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: References: Message-ID: Hello, I am running Mailman 2.1.13 on a new server (no live lists yet), server OS is RHEL5. I have one test list configured and was working fine before installing htdig 3.2.0b6. Applied both the indexing (444879) patch followed by the htdig (444884) patch to my 2.1.13 source directory, ran ./configure --with-cgi-gid=apache (as my install complains if I do not), then make and make install. First issue - after doing this, I am unable to post new messages to my test list. I see the email comes into the server via maillog log, but no post, nothing in mailq. Nothing is /mailman/logs/error either. Not sure where it's going. Second - htdig seems like it's almost there, but when I run a search, I get: htsearch detected an error. Unable to read word database file '/usr/local/mailman/archives/private/mailman_project/htdig/db.words.db' Did you run htdig? I'm assuming I just need to run /usr/bin/rundig, which I have. Checkd the permissions against a post Mark had a little while back, mailman:mailman is what my db directory and files are set to. htsearch returns same error above from command line (about did you run htdig). Rebooted server just to see, no effect. Ran /cron/nightly_htdig -v mailman_project and it actually worked, returned: htdig'ing archive of list: mailman_project now, only problem is when I do a search - it returns a blank page. Thanks in advance for anyone's help, been working on this for awhile and feel like I'm pretty close. Thanks. Scott From scott at 916networks.com Fri Aug 20 19:55:56 2010 From: scott at 916networks.com (Scott Race) Date: Fri, 20 Aug 2010 10:55:56 -0700 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig References: Message-ID: Also, if I create a new list, no emails go out to the list owner to confirm the list creation, etc... Thanks. -----Original Message----- From: Scott Race Sent: Friday, August 20, 2010 10:49 AM To: mailman-users at python.org Subject: Mailman and htdig - issues after installing htdig Hello, I am running Mailman 2.1.13 on a new server (no live lists yet), server OS is RHEL5. I have one test list configured and was working fine before installing htdig 3.2.0b6. Applied both the indexing (444879) patch followed by the htdig (444884) patch to my 2.1.13 source directory, ran ./configure --with-cgi-gid=apache (as my install complains if I do not), then make and make install. First issue - after doing this, I am unable to post new messages to my test list. I see the email comes into the server via maillog log, but no post, nothing in mailq. Nothing is /mailman/logs/error either. Not sure where it's going. Second - htdig seems like it's almost there, but when I run a search, I get: htsearch detected an error. Unable to read word database file '/usr/local/mailman/archives/private/mailman_project/htdig/db.words.db' Did you run htdig? I'm assuming I just need to run /usr/bin/rundig, which I have. Checkd the permissions against a post Mark had a little while back, mailman:mailman is what my db directory and files are set to. htsearch returns same error above from command line (about did you run htdig). Rebooted server just to see, no effect. Ran /cron/nightly_htdig -v mailman_project and it actually worked, returned: htdig'ing archive of list: mailman_project now, only problem is when I do a search - it returns a blank page. Thanks in advance for anyone's help, been working on this for awhile and feel like I'm pretty close. Thanks. Scott From joonho at a9.com Fri Aug 20 20:04:06 2010 From: joonho at a9.com (Syn, Joonho) Date: Fri, 20 Aug 2010 11:04:06 -0700 Subject: [Mailman-Users] main page location? Message-ID: <71AFC08C-FE21-42EC-928A-F5F1A1684A77@a9.com> Hi All, I'm trying to make a small edit to the page at http://myhost.com/mailman/listinfo (the page with all my lists listed out with the description). Where can I find the html file for this page? From mark at msapiro.net Fri Aug 20 20:41:24 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 20 Aug 2010 11:41:24 -0700 Subject: [Mailman-Users] main page location? In-Reply-To: <71AFC08C-FE21-42EC-928A-F5F1A1684A77@a9.com> References: <71AFC08C-FE21-42EC-928A-F5F1A1684A77@a9.com> Message-ID: <2be00c45-0997-41c0-a053-7fd6e346026f@email.android.com> "Syn, Joonho" wrote: >Hi All, >I'm trying to make a small edit to the page at http://myhost.com/mailman/listinfo (the page with all my lists listed out with the description). Where can I find the html file for this page? There is no html template for that page. It is built on the fly by the listinfo cgi script. -- Mark Sapiro - mark at msapiro.net Sent from my Android phone with K-9 Mail. Please excuse my brevity. From joonho at a9.com Fri Aug 20 20:43:11 2010 From: joonho at a9.com (Syn, Joonho) Date: Fri, 20 Aug 2010 11:43:11 -0700 Subject: [Mailman-Users] main page location? In-Reply-To: <2be00c45-0997-41c0-a053-7fd6e346026f@email.android.com> References: <71AFC08C-FE21-42EC-928A-F5F1A1684A77@a9.com> <2be00c45-0997-41c0-a053-7fd6e346026f@email.android.com> Message-ID: <3A3976DC-0463-4C9D-8FF6-52BFB740DA0F@a9.com> Is there a way to customize the text there? On Aug 20, 2010, at 11:41 AM, Mark Sapiro wrote: > > > "Syn, Joonho" wrote: > >> Hi All, >> I'm trying to make a small edit to the page at http://myhost.com/mailman/listinfo (the page with all my lists listed out with the description). Where can I find the html file for this page? > > > > There is no html template for that page. It is built on the fly by the listinfo cgi script. > > > -- > Mark Sapiro - mark at msapiro.net > Sent from my Android phone with K-9 Mail. Please excuse my brevity. From mark at msapiro.net Fri Aug 20 20:45:09 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 20 Aug 2010 11:45:09 -0700 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: References: Message-ID: "Scott Race" wrote: >Also, if I create a new list, no emails go out to the list owner to confirm the list creation, etc... >Thanks. Have you started mailmanctl? -- Mark Sapiro - mark at msapiro.net Sent from my Android phone with K-9 Mail. Please excuse my brevity. From mark at msapiro.net Fri Aug 20 20:54:44 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 20 Aug 2010 11:54:44 -0700 Subject: [Mailman-Users] main page location? In-Reply-To: <3A3976DC-0463-4C9D-8FF6-52BFB740DA0F@a9.com> References: <71AFC08C-FE21-42EC-928A-F5F1A1684A77@a9.com> <2be00c45-0997-41c0-a053-7fd6e346026f@email.android.com> <3A3976DC-0463-4C9D-8FF6-52BFB740DA0F@a9.com> Message-ID: "Syn, Joonho" wrote: >Is there a way to customize the text there? Only by editing the source code. -- Mark Sapiro - mark at msapiro.net Sent from my Android phone with K-9 Mail. Please excuse my brevity. From scott at 916networks.com Fri Aug 20 23:24:06 2010 From: scott at 916networks.com (Scott Race) Date: Fri, 20 Aug 2010 14:24:06 -0700 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: References: Message-ID: Thank you Mark - looks like mailmanctl was not started, all is well after the start. However if I reboot I have to start mailmanctl manually now before mailman will work, thought something should make it autostart? And my last challenge is with htdig 3.2.0b6 - the search box is there, I can run /cron/nightly_htdig -v mailman_project from command line and it works - returns: htdig'ing archive of list: mailman_project Now, only problem is when I do a search - it just returns a blank page. I found a post in the mailman archives but did not see a resolution posted. thanks again! Scott -----Original Message----- From: Mark Sapiro [mailto:mark at msapiro.net] Sent: Friday, August 20, 2010 11:45 AM To: Scott Race; Scott Race; mailman-users at python.org Subject: Re: [Mailman-Users] Mailman and htdig - issues after installing htdig "Scott Race" wrote: >Also, if I create a new list, no emails go out to the list owner to confirm the list creation, etc... >Thanks. Have you started mailmanctl? -- Mark Sapiro - mark at msapiro.net Sent from my Android phone with K-9 Mail. Please excuse my brevity. From scott at 916networks.com Sat Aug 21 00:27:17 2010 From: scott at 916networks.com (Scott Race) Date: Fri, 20 Aug 2010 15:27:17 -0700 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: References: Message-ID: Hi Karl, Yes, I do have the mailman_project.conf file in the location show below, here it is - also, it's owned by root:mailman with 664 permissions: database_dir: /usr/local/mailman/archives/private/mailman_project/htdig start_url: http://lists2.cacities.org/mailman/htdig/mailman_project/ limit_urls_to: ${start_url} local_urls: http://lists2.cacities.org/mailman/htdig/mailman_project/=/usr/local/mailman/archives/private/mailman_project/ local_urls_only: true url_part_aliases: http://lists2.cacities.org/mailman/htdig/mailman_project/ *mm-htdig* script_name: http://lists2.cacities.org/mailman/mmsearch/mailman_project noindex_end: noindex_start: exclude_urls: /cgi-bin/ .cgi bad_extensions: .wav .gz .z .sit .au .zip .tar .hqx .exe .com .gif \ thanks Scott -----Original Message----- From: Karl Zander [mailto:kwz-mm at commpartners.com] Sent: Friday, August 20, 2010 3:25 PM To: Scott Race; mailman-users at python.org Subject: Re: [Mailman-Users] Mailman and htdig - issues after installing htdig On Fri, 20 Aug 2010 10:48:52 -0700 Scott Race wrote: >Second - htdig seems like it's almost there, but when I run a search, I get: > >htsearch detected an error. > >Unable to read word database file '/usr/local/mailman/archives/private/mailman_project/htdig/db.words.db' >Did you run htdig? > >I'm assuming I just need to run /usr/bin/rundig, which I have. Checkd the permissions against a post Mark had a little while back, mailman:mailman is what my db directory and files are set to. > >htsearch returns same error above from command line (about did you run htdig). > >Rebooted server just to see, no effect. > >Ran /cron/nightly_htdig -v mailman_project and it actually worked, returned: >htdig'ing archive of list: mailman_project > >now, only problem is when I do a search - it returns a blank page. Are there any messages in the archive? Is there anything unique you can search for? Do you have a htdig conf file for the list in /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf What's in mailman_project.conf? --Karl From kwz-mm at commpartners.com Sat Aug 21 00:44:37 2010 From: kwz-mm at commpartners.com (Karl Zander) Date: Fri, 20 Aug 2010 18:44:37 -0400 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: References: Message-ID: On Fri, 20 Aug 2010 15:27:17 -0700 Scott Race wrote: >Hi Karl, >Yes, I do have the mailman_project.conf file in the location show below, here it is - also, it's owned by root:mailman with 664 permissions: OK... > >> >>Unable to read word database file '/usr/local/mailman/archives/private/mailman_project/htdig/db.words.db' >>Did you run htdig? Do you see any of the db. files in /usr/local/mailman/archives/private/mailman_project/htdig You should have db.docdb db.docs.index db.wordlist db.words.db And after the cron script runs, you should also have rundig_last_run --Karl From kwz-mm at commpartners.com Sat Aug 21 01:05:41 2010 From: kwz-mm at commpartners.com (Karl Zander) Date: Fri, 20 Aug 2010 19:05:41 -0400 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: References: Message-ID: On Fri, 20 Aug 2010 15:54:21 -0700 Scott Race wrote: >Yes, I have: > >db.docdb >db.docs.index >db.excerpts >db.metaphone.db >db.soundex.db >db.words.db >db.words.db_weacmpr >mailman_project.conf >rundig_last_run (date stamped today at 10:46am when I ran the cron script) > >Running htsearch from command line gives me: > >[root at list bin]# htsearch -c /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf >Enter value for words: test >Content-type: text/html > >Enter value for format: short >[root at lists2 bin]# Do you have a message in the archives with the word "test"? That's pretty generic. I am trying to recall if htdig would omit that. Can you send a message to the list with some unique content? Even Lorem Ipsum would do. May some quotes for Shakespeare. Rerun the cron script. Do you see the search form on your list archives when you log into your list URL? --Karl From kwz-mm at commpartners.com Sat Aug 21 00:25:14 2010 From: kwz-mm at commpartners.com (Karl Zander) Date: Fri, 20 Aug 2010 18:25:14 -0400 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: References: Message-ID: On Fri, 20 Aug 2010 10:48:52 -0700 Scott Race wrote: >Second - htdig seems like it's almost there, but when I run a search, I get: > >htsearch detected an error. > >Unable to read word database file '/usr/local/mailman/archives/private/mailman_project/htdig/db.words.db' >Did you run htdig? > >I'm assuming I just need to run /usr/bin/rundig, which I have. Checkd the permissions against a post Mark had a little while back, mailman:mailman is what my db directory and files are set to. > >htsearch returns same error above from command line (about did you run htdig). > >Rebooted server just to see, no effect. > >Ran /cron/nightly_htdig -v mailman_project and it actually worked, returned: >htdig'ing archive of list: mailman_project > >now, only problem is when I do a search - it returns a blank page. Are there any messages in the archive? Is there anything unique you can search for? Do you have a htdig conf file for the list in /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf What's in mailman_project.conf? --Karl From mark at msapiro.net Sat Aug 21 03:14:35 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 20 Aug 2010 18:14:35 -0700 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: References: Message-ID: <4C6F287B.5060605@msapiro.net> On 8/20/2010 2:24 PM, Scott Race wrote: > Thank you Mark - looks like mailmanctl was not started, all is well > after the start. However if I reboot I have to start mailmanctl > manually now before mailman will work, thought something should make > it autostart? In the download directory after ./configure, there is a shell script misc/mailman. See this file and the instructions at the beginning. > And my last challenge is with htdig 3.2.0b6 - the search box is > there, I can run /cron/nightly_htdig -v mailman_project from command > line and it works - returns: htdig'ing archive of list: > mailman_project > > Now, only problem is when I do a search - it just returns a blank > page. I found a post in the mailman archives but did not see a > resolution posted. What is the URL of the returned page? What is in your apache error log and Mailman's error log? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From scott at 916networks.com Sat Aug 21 06:04:06 2010 From: scott at 916networks.com (Scott Race) Date: Fri, 20 Aug 2010 21:04:06 -0700 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: <4C6F287B.5060605@msapiro.net> References: <4C6F287B.5060605@msapiro.net> Message-ID: Thanks, the instructions from the mailman script fixed that issue. For the htdig, the URL it goes to after you hit the search button is: http://lists2.mydomain.org/mailman/mmsearch/mailman_project It's just blank, the title is the URL. Was expecting at least a "No results found" type page. /var/logs/httpd/error shows nothing except a missing favicon.ico, no other errors at all. /usr/local/mailman/logs/error doesn't give anything for tonight, last errors in the log are from this morning when I was troubleshooting: Aug 20 10:36:13 2010 (3918) htsearch for list: mailman_project, existatus: 1 Aug 20 10:44:01 2010 (3951) htsearch for list: mailman_project, existatus: 1 Aug 20 10:48:08 2010 (3983) htsearch for list: mailman_project, cause: cgi, detail: -5-Field count -4- fields: Aug 20 10:52:43 2010 (4013) IOError reading list extension: [Errno 20] Not a directory: '/usr/local/mailman/archives/private/mailman_project.mbox/mailman_project.mbox/extend.py' -----Original Message----- From: Mark Sapiro [mailto:mark at msapiro.net] Sent: Friday, August 20, 2010 6:15 PM To: Scott Race Cc: mailman-users at python.org Subject: Re: [Mailman-Users] Mailman and htdig - issues after installing htdig On 8/20/2010 2:24 PM, Scott Race wrote: > Thank you Mark - looks like mailmanctl was not started, all is well > after the start. However if I reboot I have to start mailmanctl > manually now before mailman will work, thought something should make > it autostart? In the download directory after ./configure, there is a shell script misc/mailman. See this file and the instructions at the beginning. > And my last challenge is with htdig 3.2.0b6 - the search box is > there, I can run /cron/nightly_htdig -v mailman_project from command > line and it works - returns: htdig'ing archive of list: > mailman_project > > Now, only problem is when I do a search - it just returns a blank > page. I found a post in the mailman archives but did not see a > resolution posted. What is the URL of the returned page? What is in your apache error log and Mailman's error log? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From scott at 916networks.com Sat Aug 21 06:07:59 2010 From: scott at 916networks.com (Scott Race) Date: Fri, 20 Aug 2010 21:07:59 -0700 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: References: Message-ID: Any search returns the same blank page, I did try a few more posts and searched for the term 'error' and my name. Rerunning the cron script now gives the following, even though I sent a post about 1 minute before running the cron script and it posted to the list.... [root at lists2 cron]# ./nightly_htdig -v mailman_project Skipping htdig for list; no recent posts: mailman_project -----Original Message----- From: Karl Zander [mailto:kwz-mm at commpartners.com] Sent: Friday, August 20, 2010 4:06 PM To: Scott Race Cc: mailman-users at python.org Subject: Re: [Mailman-Users] Mailman and htdig - issues after installing htdig On Fri, 20 Aug 2010 15:54:21 -0700 Scott Race wrote: >Yes, I have: > >db.docdb >db.docs.index >db.excerpts >db.metaphone.db >db.soundex.db >db.words.db >db.words.db_weacmpr >mailman_project.conf >rundig_last_run (date stamped today at 10:46am when I ran the cron script) > >Running htsearch from command line gives me: > >[root at list bin]# htsearch -c /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf >Enter value for words: test >Content-type: text/html > >Enter value for format: short >[root at lists2 bin]# Do you have a message in the archives with the word "test"? That's pretty generic. I am trying to recall if htdig would omit that. Can you send a message to the list with some unique content? Even Lorem Ipsum would do. May some quotes for Shakespeare. Rerun the cron script. Do you see the search form on your list archives when you log into your list URL? --Karl From KevinC at uca.edu Fri Aug 20 21:45:40 2010 From: KevinC at uca.edu (Kevin Carmical) Date: Fri, 20 Aug 2010 14:45:40 -0500 Subject: [Mailman-Users] Admin web interface doesn't show migrated lists Message-ID: <4C6E9518.1BF6.004B.1@uca.edu> Hello all. I'm migrating existing lists from a mailman 2.1.4 install on Suse 9 to a mailman 2.1.12 install on Suse 11. After installing mailman and integrating apache and postfix, I tested with a temporary list and it worked fine, both from CLI and through the web interface. I then copied the lists from my old install, ran checkperms and fixed problems until clean. I also ran genaliases to create the correct alias entries for the migrated lists. Mailman can see those old lists and recognizes them as valid. List_lists shows them all with no problem. The web interface, though, only shows lists that I've created natively on the new install. Something isn't communicating the presence of the migrated lists into Apache for display in the web interface. I've checked the needed ScriptAlias and other alias lines needed in the httpd.conf. New lists show up and can be created/deleted easily, but the migrated lists from the old install aren't visible. Can someone explain to me how apache gets the contents of the lists as displayed in the web interface? I think if I knew how that is *supposed* to work when normal, it might give me an idea of where to look for the problem. Of course, if you happen to know specifically why this isn't working, I'll certainly take that, too. :-) Thanks, K Kevin Carmical Network Support UCA BBA 107 501-450-3107 From mark at msapiro.net Sat Aug 21 15:12:57 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 21 Aug 2010 06:12:57 -0700 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: References: Message-ID: <4C6FD0D9.8090100@msapiro.net> On 8/20/2010 9:07 PM, Scott Race wrote: > Any search returns the same blank page, I did try a few more posts > and searched for the term 'error' and my name. See below: > Rerunning the cron script now gives the following, even though I sent > a post about 1 minute before running the cron script and it posted to > the list.... > > [root at lists2 cron]# ./nightly_htdig -v mailman_project Skipping htdig > for list; no recent posts: mailman_project This should only occur if there is no archives/private/mailman_project/yyyy-Month/ directory with a mod time more recent than archives/private/mailman_project/htdig/rundig_last_run. When you post, is the post archived? Does the mod time of archives/private/mailman_project/2010-August get updated? >> Running htsearch from command line gives me: >> >> [root at list bin]# htsearch -c >> /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf >> >> Enter value for words: test >> Content-type: text/html >> This is normal/correct to here. >> Enter value for format: short [root at lists2 bin]# This should produce some HTML output following your input of 'short'. There is some problem with htsearch or the mailman_project.conf file. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Aug 21 15:21:40 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 21 Aug 2010 06:21:40 -0700 Subject: [Mailman-Users] Admin web interface doesn't show migrated lists In-Reply-To: <4C6E9518.1BF6.004B.1@uca.edu> Message-ID: Kevin Carmical wrote: > >Mailman can see those old lists and recognizes them as valid. List_lists shows them all with no problem. The web interface, though, only shows lists that I've created natively on the new install. Something isn't communicating the presence of the migrated lists into Apache for display in the web interface. I've checked the needed ScriptAlias and other alias lines needed in the httpd.conf. New lists show up and can be created/deleted easily, but the migrated lists from the old install aren't visible. See step 4 near the end of the FAQ at and/or the FAQ at , particularly the "Existing versus new lists" section. >Can someone explain to me how apache gets the contents of the lists as displayed in the web interface? I think if I knew how that is *supposed* to work when normal, it might give me an idea of where to look for the problem. Of course, if you happen to know specifically why this isn't working, I'll certainly take that, too. :-) See the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From scott at 916networks.com Mon Aug 23 23:23:16 2010 From: scott at 916networks.com (Scott Race) Date: Mon, 23 Aug 2010 14:23:16 -0700 Subject: [Mailman-Users] Mailman and htdig - blank search page In-Reply-To: <4C6FD0D9.8090100@msapiro.net> References: <4C6FD0D9.8090100@msapiro.net> Message-ID: I think I am having a problem with the htdig seach templates. On my old installation, I had a bunch of .html files in /etc/htdig - short.html, wrapper.html, etc....those files do not exist on my new installation. I copied them over from the old server to the new, rebooted, but same issue with a blank search page. I checked the /etc/htdig/htdig.conf file and it says the common directory is /usr/share/htdig - that directory does not exist for me. So I hacked my .conf file in /usr/local/mailman/htdig to point directly to the templates that I copied over: template_map: Long long /etc/htdig/long.html \ Short short /etc/htdig/short.html template_name: short I do indeed get search results now. The results are not pretty - images don't appear and a few other problems - but - I get something. Any basic tips to fix my templates or maybe what might be wrong with my common_dir variable? Thanks! -----Original Message----- From: Mark Sapiro [mailto:mark at msapiro.net] Sent: Saturday, August 21, 2010 6:13 AM To: Scott Race Cc: Karl Zander; mailman-users at python.org Subject: Re: [Mailman-Users] Mailman and htdig - issues after installing htdig On 8/20/2010 9:07 PM, Scott Race wrote: > Any search returns the same blank page, I did try a few more posts > and searched for the term 'error' and my name. See below: > Rerunning the cron script now gives the following, even though I sent > a post about 1 minute before running the cron script and it posted to > the list.... > > [root at lists2 cron]# ./nightly_htdig -v mailman_project Skipping htdig > for list; no recent posts: mailman_project This should only occur if there is no archives/private/mailman_project/yyyy-Month/ directory with a mod time more recent than archives/private/mailman_project/htdig/rundig_last_run. When you post, is the post archived? Does the mod time of archives/private/mailman_project/2010-August get updated? >> Running htsearch from command line gives me: >> >> [root at list bin]# htsearch -c >> /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf >> >> Enter value for words: test >> Content-type: text/html >> This is normal/correct to here. >> Enter value for format: short [root at lists2 bin]# This should produce some HTML output following your input of 'short'. There is some problem with htsearch or the mailman_project.conf file. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Aug 24 06:12:17 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 Aug 2010 21:12:17 -0700 Subject: [Mailman-Users] Mailman and htdig - blank search page In-Reply-To: References: <4C6FD0D9.8090100@msapiro.net> Message-ID: <4C7346A1.9090609@msapiro.net> On 8/23/2010 2:23 PM, Scott Race wrote: > I think I am having a problem with the htdig seach templates. On my > old installation, I had a bunch of .html files in /etc/htdig - > short.html, wrapper.html, etc....those files do not exist on my new > installation. IIRC, I had the same problem when I updated htdig from 3.1.6 to 3.2.0b6 > I copied them over from the old server to the new, rebooted, but same > issue with a blank search page. I checked the /etc/htdig/htdig.conf > file and it says the common directory is /usr/share/htdig - that > directory does not exist for me. > > So I hacked my .conf file in /usr/local/mailman/htdig to point > directly to the templates that I copied over: > > > template_map: Long long /etc/htdig/long.html \ Short short > /etc/htdig/short.html > > template_name: short > > > I do indeed get search results now. The results are not pretty - > images don't appear and a few other problems - but - I get > something. > > Any basic tips to fix my templates or maybe what might be wrong with > my common_dir variable? You need a common_dir. It doesn't matter what its name is. Mine is /opt/www/share/htdig, but what ever it is it needs to contain things similar to mine [mark at sbh16 ~]$ ls -l /opt/www/share/htdig total 6072 -rw-r--r-- 1 root root 76 Dec 26 2008 bad_words -rw-r--r-- 1 root root 922950 Dec 26 2008 english.0 -rw-r--r-- 1 root root 5756 Dec 26 2008 english.aff -rw-r--r-- 1 root root 190 Dec 26 2008 footer.html -rw-r--r-- 1 root root 877 Dec 26 2008 header.html -rw-r--r-- 1 root root 194 Dec 26 2008 long.html -rw-r--r-- 1 root root 1390 Dec 26 2008 nomatch.html -rw-r--r-- 1 root root 2228224 Dec 26 2008 root2word.db -rw-r--r-- 1 root root 67 Dec 26 2008 short.html -rw-r--r-- 1 root root 14480 Dec 26 2008 synonyms -rw-r--r-- 1 root root 90112 Dec 26 2008 synonyms.db -rw-r--r-- 1 root root 1261 Dec 26 2008 syntax.html -rw-r--r-- 1 root root 2899968 Dec 26 2008 word2root.db -rw-r--r-- 1 root root 1087 Dec 26 2008 wrapper.html [mark at sbh16 ~]$ You also need the graphics in the directory accessed by HTDIG_FILES_URL. In my case, this directory is /opt/www/htdocs/htdig/, HTDIG_FILES_URL is the default '/htdig/' and I have Alias /htdig/ "/opt/www/htdocs/htdig/" in httpd.conf. The contents of this directory are [mark at sbh16 ~]$ ls -l /opt/www/htdocs/htdig/ total 124 -rw-r--r-- 1 root root 781 Dec 26 2008 button10.gif -rw-r--r-- 1 root root 1527 Dec 26 2008 button10.png -rw-r--r-- 1 root root 755 Dec 26 2008 button1.gif -rw-r--r-- 1 root root 1428 Dec 26 2008 button1.png -rw-r--r-- 1 root root 785 Dec 26 2008 button2.gif -rw-r--r-- 1 root root 1518 Dec 26 2008 button2.png -rw-r--r-- 1 root root 745 Dec 26 2008 button3.gif -rw-r--r-- 1 root root 1404 Dec 26 2008 button3.png -rw-r--r-- 1 root root 786 Dec 26 2008 button4.gif -rw-r--r-- 1 root root 1534 Dec 26 2008 button4.png -rw-r--r-- 1 root root 780 Dec 26 2008 button5.gif -rw-r--r-- 1 root root 1519 Dec 26 2008 button5.png -rw-r--r-- 1 root root 791 Dec 26 2008 button6.gif -rw-r--r-- 1 root root 1538 Dec 26 2008 button6.png -rw-r--r-- 1 root root 796 Dec 26 2008 button7.gif -rw-r--r-- 1 root root 1522 Dec 26 2008 button7.png -rw-r--r-- 1 root root 784 Dec 26 2008 button8.gif -rw-r--r-- 1 root root 1529 Dec 26 2008 button8.png -rw-r--r-- 1 root root 784 Dec 26 2008 button9.gif -rw-r--r-- 1 root root 1526 Dec 26 2008 button9.png -rw-r--r-- 1 root root 587 Dec 26 2008 buttonl.gif -rw-r--r-- 1 root root 1328 Dec 26 2008 buttonl.png -rw-r--r-- 1 root root 576 Dec 26 2008 buttonr.gif -rw-r--r-- 1 root root 1329 Dec 26 2008 buttonr.png -rw-r--r-- 1 root root 1822 Dec 26 2008 htdig.gif -rw-r--r-- 1 root root 2857 Dec 26 2008 htdig.png -rw-r--r-- 1 root root 1315 Dec 26 2008 search.html -rw-r--r-- 1 root root 53 Dec 26 2008 star_blank.gif -rw-r--r-- 1 root root 151 Dec 26 2008 star_blank.png -rw-r--r-- 1 root root 89 Dec 26 2008 star.gif -rw-r--r-- 1 root root 195 Dec 26 2008 star.png [mark at sbh16 ~]$ In addition, you need a template from which the individual archives/private/LIST/htdig/LIST.conf files are made. The patches install this in $prefix/templates/en/htdig.conf.txt. I do not change this but rather make a sitewide edited template in $prefix/templates/site/en/htdig.conf.txt. Attached is a patch to make my version. The differences between my version and the base are - addition of common_dir - adjust to suit - removal of redundant slash following %(htdig_url)s - collapsing of the button1.gif through button10.gif names to button%%d.gif Note that editing this template only affects subsequently created lists or archives subsequently rebuilt with "bin/arch --wipe". For existing lists, you either have to rebuild the archive or edit the $var-prefix/archives/private/LIST/htdig/LIST.conf file. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: htdig_conf.txt.patch.txt URL: From s_angelov at filibeto.org Mon Aug 23 16:55:43 2010 From: s_angelov at filibeto.org (Stoyan Angelov) Date: Mon, 23 Aug 2010 17:55:43 +0300 Subject: [Mailman-Users] disable a mailing list Message-ID: <4C728BEF.9030900@filibeto.org> hello all, i want to temporary disable one of my mailing lists while keeping the archives available. i run mailman 2.1.12 with sendmail. i was thinking about doing the following: . remove the appropriate aliases from /path/to/aliases (redirecting the -owner of the affected list to some real address) . move the /path/to/mailman/lists/ directory to a temporary location is this the proper way to disable a list? is there anything else that needs to be done? greetings, Stoyan From mark at msapiro.net Tue Aug 24 17:28:54 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 24 Aug 2010 08:28:54 -0700 Subject: [Mailman-Users] disable a mailing list In-Reply-To: <4C728BEF.9030900@filibeto.org> Message-ID: Stoyan Angelov wrote: > >i want to temporary disable one of my mailing lists while keeping the >archives available. i run mailman 2.1.12 with sendmail. i was thinking >about doing the following: > >. remove the appropriate aliases from /path/to/aliases (redirecting the >-owner of the affected list to some real address) >. move the /path/to/mailman/lists/ directory to a >temporary location > >is this the proper way to disable a list? is there anything else that >needs to be done? Yes, that is a good way to temporarily disable a list. I think you could actually leave the aliases in place (except for maybe changing the -owner alias), and the pipe to the mail/mailman wrapper will fail resulting in a reject to the sender. You should test to see if you think the reject is appropriate. You can do this by creating an alias like bogus: "|/path/to/mail/mailman post bogus" and sending a message to that address. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From geoff at QuiteLikely.com Thu Aug 26 18:51:05 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Thu, 26 Aug 2010 19:51:05 +0300 (IDT) Subject: [Mailman-Users] Do spam filters work on the owner address? Message-ID: Hi, I've just started to help administer a mailing list which is receiving spam to its owner address. On my system in the Mailman aliases file, I see entries like this: foo-owner: "|/var/lib/mailman/mail/mailman owner foo" This of course means that owner Email has to pass through Mailman in order to be delivered. So what I want to know is, are anti-spam filters applied to such mail? I don't have admin access to the machine that runs the list, though I know people who do. But the spam seems to be being addressed from the same sorts of domains, so if I can see something that can be used as a spam filter, I'd like to know if I can just add it to the list spam filters or if I need to go bug the admin of the system to get it filtered up-stream. Geoff. From mark at msapiro.net Thu Aug 26 20:13:52 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 26 Aug 2010 11:13:52 -0700 Subject: [Mailman-Users] Do spam filters work on the owner address? In-Reply-To: Message-ID: Geoff Shang wrote: > >On my system in the Mailman aliases file, I see entries like this: > >foo-owner: "|/var/lib/mailman/mail/mailman owner foo" > >This of course means that owner Email has to pass through Mailman in order >to be delivered. > >So what I want to know is, are anti-spam filters applied to such mail? Yes. Owner mail is processed through the OWNER_PIPELINE list of handlers which does not include things like moderation, member checks, misc holds, content filtering, etc. but does include SpamDetect so Privacy options... -> Spam filters -> header_filter_rules are applied. Note that bounce_matching_headers is not applied to -owner mail as it is processed by the Hold handler which is not in OWNER_PIPELINE. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From curtis at backupcentral.com Fri Aug 27 05:15:57 2010 From: curtis at backupcentral.com (W. Curtis Preston) Date: Thu, 26 Aug 2010 20:15:57 -0700 Subject: [Mailman-Users] Cannot set digest mode via URL Message-ID: Hello all. I'm a long time Mailman user, and am the person behind the Mailman/Joomla bridge mentioned in this Wiki article: http://wiki.list.org/pages/viewpage.action?pageId=4030527 The "bridge" is a PHP script that runs inside my CMS (Joomla) that figures out the user's name and email address, gets the list of mailing lists, and then subscribes them to the mailing list(s) they specify, including setting them to digest mode if they ask. I do this by using the URL interface to Joomla and then doing a "file_get_contents("$url"," FALSE")" in PHP to execute the URL with the appropriate admin password. For example, to subscribe someone I use the following URL: http:///mailman/admin/ /members/add?subscribe_or_invite=0&send_welcome_msg_to_this_batch=0¬ification_to_list_owner=0&subscribees_upload= &adminpw= This works fine (has for a few years now), and we actually documented several of these URLs here: http://wiki.list.org/pages/viewpage.action?pageId=4030567 The one I'm having a problem with is the one to set someone to digest mode. First you have to subscribe them, then you would issue the following URL: http:///mailman/admin//members?user=& _digest=1&setmemberopts_btn=Submit%20Your%20Changes&allmodbit_val=0& _language=en&_nodupes=1&adminpw= This has also worked for a few years, but I just found out that it isn't working. I can set someone to digest mode by manually accessing that same page, but the URL no longer does the job. When I issue the URL manually in my browser, instead of setting the user to digest mode and returning me to the screen with the user on it, it returns me to the /members page, displaying a list of users. Thinking maybe Mailman wants an option that I'm not setting, I even made a longer list of every option that is on the page, and that didn't work: http:// /mailman/admin//members?user=&_unsub=0&_mod=0&_hide=0&_nomail=0&_ack=0&_notmetoo=0&_nodupes=0&_digest=1&_plain=0&_language=en&setmemberopts_btn=Submit%20Your%20Changes&allmodbit_val=0&adminpw= I am running the Cpanel version of Mailman, version 2.1.3, which I'm surprised to learn is actually more recent than the version running this mailing list (2.1.2)! Any idea of what's going wrong or how I can troubleshoot this thing? Thanks in advance for any ideas. From geoff at QuiteLikely.com Fri Aug 27 14:44:12 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Fri, 27 Aug 2010 15:44:12 +0300 (IDT) Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: References: Message-ID: On Thu, 26 Aug 2010, W. Curtis Preston wrote: > I am running the Cpanel version of Mailman, version 2.1.3, which I'm > surprised to learn is actually more recent than the version running this > mailing list (2.1.2)! The version that runs this list is 2.1.12. Did you perhaps mean 2.1.13 or did you actually mean 2.1.3? If it's really 2.1.3, it's rather old. Geoff. From curtis at backupcentral.com Fri Aug 27 18:46:00 2010 From: curtis at backupcentral.com (W. Curtis Preston) Date: Fri, 27 Aug 2010 09:46:00 -0700 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: References: Message-ID: Sorry, typo. It's 2.1.13. On Fri, Aug 27, 2010 at 5:44 AM, Geoff Shang wrote: > On Thu, 26 Aug 2010, W. Curtis Preston wrote: > > I am running the Cpanel version of Mailman, version 2.1.3, which I'm >> surprised to learn is actually more recent than the version running this >> mailing list (2.1.2)! >> > > The version that runs this list is 2.1.12. Did you perhaps mean 2.1.13 or > did you actually mean 2.1.3? > > If it's really 2.1.3, it's rather old. > > Geoff. > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at python.org > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: > http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: > http://mail.python.org/mailman/options/mailman-users/curtis%40backupcentral.com > From adamsca at gmail.com Fri Aug 27 19:49:03 2010 From: adamsca at gmail.com (Christopher Adams) Date: Fri, 27 Aug 2010 10:49:03 -0700 Subject: [Mailman-Users] bounce message w/no discernable addresses Message-ID: Can someone help me interpret exactly what this means? Aug 27 09:31:08 2010 (14241) libs-or: bounce message w/no discernable addresses: <4B77CBB77F52BF41BEE2C397760565BD0885365C at xxx.xxx.xxx.xx.local> Aug 27 09:31:08 2010 (14241) libs-or: forwarding unrecognized, message-id: <4B77CBB77F52BF41BEE2C397760565BD0885365C at xxx.xxx.xxx.xx.local> From terri at zone12.com Fri Aug 27 20:21:49 2010 From: terri at zone12.com (Terri Oda) Date: Fri, 27 Aug 2010 14:21:49 -0400 Subject: [Mailman-Users] bounce message w/no discernable addresses In-Reply-To: References: Message-ID: <4C78023D.9040803@zone12.com> I'm going to guess that something got sent to libs-or-bounces but it doesn't make any sense (i.e. it's not a normal bounce message and has no discernible address at all). It's almost certainly malformed spam, but I suppose it could be a messed up vacation mail or something else from one of your subscribers. Terri Christopher Adams wrote: > Can someone help me interpret exactly what this means? > > Aug 27 09:31:08 2010 (14241) libs-or: bounce message w/no discernable > addresses: <4B77CBB77F52BF41BEE2C397760565BD0885365C at xxx.xxx.xxx.xx.local> > Aug 27 09:31:08 2010 (14241) libs-or: forwarding unrecognized, message-id: > <4B77CBB77F52BF41BEE2C397760565BD0885365C at xxx.xxx.xxx.xx.local> > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at python.org > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: http://mail.python.org/mailman/options/mailman-users/terri%40zone12.com > > From odhiambo at gmail.com Fri Aug 27 21:54:26 2010 From: odhiambo at gmail.com (Odhiambo Washington) Date: Fri, 27 Aug 2010 22:54:26 +0300 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: <4C6FD0D9.8090100@msapiro.net> References: <4C6FD0D9.8090100@msapiro.net> Message-ID: On Sat, Aug 21, 2010 at 4:12 PM, Mark Sapiro wrote: > On 8/20/2010 9:07 PM, Scott Race wrote: > > Any search returns the same blank page, I did try a few more posts > > and searched for the term 'error' and my name. > > > See below: > > > > Rerunning the cron script now gives the following, even though I sent > > a post about 1 minute before running the cron script and it posted to > > the list.... > > > > [root at lists2 cron]# ./nightly_htdig -v mailman_project Skipping htdig > > for list; no recent posts: mailman_project > > > This should only occur if there is no > archives/private/mailman_project/yyyy-Month/ directory with a mod time > more recent than archives/private/mailman_project/htdig/rundig_last_run. > When you post, is the post archived? Does the mod time of > archives/private/mailman_project/2010-August get updated? > > > > >> Running htsearch from command line gives me: > >> > >> [root at list bin]# htsearch -c > >> > /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf > >> > >> Enter value for words: test > >> Content-type: text/html > >> > > > This is normal/correct to here. > > > >> Enter value for format: short [root at lists2 bin]# > > > This should produce some HTML output following your input of 'short'. > There is some problem with htsearch or the mailman_project.conf file. > > I have been following this thread and had hoped to find a solution to my problem, but seems it's ended without the answer I expected:-) In my situation (several live lists), I get this error when I make a search for a word I am very sure is there: htdig Archives Access Failure search failed -12- If you want to make another attempt to access a list archive then go via the list users information page. If this problem persists then please e-mail the following information to the mailman at lists.kictanet.or.ke: http://lists.kictanet.or.ke/pipermail/kictanet/ /mailman/mmsearch/kictanet Here is the page (it is public anyway): http://lists.kictanet.or.ke/pipermail/kictanet/ What could be the cause?? I have Mailman-2.1.13. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From scott at 916networks.com Fri Aug 27 22:30:12 2010 From: scott at 916networks.com (Scott Race) Date: Fri, 27 Aug 2010 13:30:12 -0700 Subject: [Mailman-Users] Moved to new server - new mail not showing up in moderation In-Reply-To: References: <4C6FD0D9.8090100@msapiro.net> Message-ID: Hello, First, thanks for all the help with the htdig issues I had - finally resolved them, will post back shortly on what I found and did to correct. I am migrating lists from and old Debian server to a new Red Hat server, in the middle of it now and all lists are down til I can figure this out. I was able to move the lists successfully, the archives come up, they are searchable, list config works, etc. When posting to the list from a subscribed email, I receive an email back that the post is in moderation, which we expect. However, the message never reaches the moderation queue. Ive searched through the /mailman/logs and /var/log/maillog and havent found anything that jumps out at me. Rebooted the server and made sure mailmanctl was running?.any ideas on something I can check? I feel lke I am missing something simple. FYI - new lists works fine, its just the migrated lists. Thanks! Scott From geoff at QuiteLikely.com Fri Aug 27 23:06:33 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Sat, 28 Aug 2010 00:06:33 +0300 (IDT) Subject: [Mailman-Users] bounce message w/no discernable addresses In-Reply-To: References: Message-ID: On Fri, 27 Aug 2010, Christopher Adams wrote: > Aug 27 09:31:08 2010 (14241) libs-or: bounce message w/no discernable > addresses: <4B77CBB77F52BF41BEE2C397760565BD0885365C at xxx.xxx.xxx.xx.local> > Aug 27 09:31:08 2010 (14241) libs-or: forwarding unrecognized, message-id: > <4B77CBB77F52BF41BEE2C397760565BD0885365C at xxx.xxx.xxx.xx.local> I'm guessing this means that a message has been received by the bounce address for a list, but the bounce processing can't figure out what it is. This would be for one of three reasons IMHO: 1. It's an actual bounce, but Mailman doesn't recognise the bounce format and can't figure out which address(s) bounced. Mailman is regularly updated with code to support more bounce formats, but there's probably some out there that it still doesn't know. 2. It's spam sent directly to the bounce address. 3. It's a message from an actual list member that has been sent to the bounce address, instead of the list itself or the owner address. Not sure exactly why but I've seen this a number of times. If your list is configured to have unrecognised bounce messages forwarded to the list owner, you should be seeing copies of these messages. In my opinion, this is a good option to have turned on unless you're seeing a lot of these. IMHO, the log fragment suggests that this option is actually on, so presumably you (or the list owner if it's not you) have already seen whatever this is. If you really want to know what it is, you should be able to find the relevant message ID in the mail server logs. Geoff. From scott at 916networks.com Fri Aug 27 23:12:04 2010 From: scott at 916networks.com (Scott Race) Date: Fri, 27 Aug 2010 14:12:04 -0700 Subject: [Mailman-Users] Moved to new server - new mail not showing up in moderation In-Reply-To: References: <4C6FD0D9.8090100@msapiro.net> Message-ID: Actually - this might be resolved. I am not sure what was causing it - I did find the DEFAULT_HOST in the Defaults.py set to the old server name - thought that would have been overriden by my correct entries in mm_cfg.py - but fixed and restarted the mailmanctl process and it appears to be working fine... -----Original Message----- From: mailman-users-bounces+scott=916networks.com at python.org [mailto:mailman-users-bounces+scott=916networks.com at python.org] On Behalf Of Scott Race Sent: Friday, August 27, 2010 1:30 PM To: mailman-users at python.org Subject: [Mailman-Users] Moved to new server - new mail not showing up in moderation Hello, First, thanks for all the help with the htdig issues I had - finally resolved them, will post back shortly on what I found and did to correct. I am migrating lists from and old Debian server to a new Red Hat server, in the middle of it now and all lists are down til I can figure this out. I was able to move the lists successfully, the archives come up, they are searchable, list config works, etc. When posting to the list from a subscribed email, I receive an email back that the post is in moderation, which we expect. However, the message never reaches the moderation queue. Ive searched through the /mailman/logs and /var/log/maillog and havent found anything that jumps out at me. Rebooted the server and made sure mailmanctl was running?.any ideas on something I can check? I feel lke I am missing something simple. FYI - new lists works fine, its just the migrated lists. Thanks! Scott ------------------------------------------------------ Mailman-Users mailing list Mailman-Users at python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/scott%40916networks.com From mark at msapiro.net Sat Aug 28 05:57:01 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 27 Aug 2010 20:57:01 -0700 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: Message-ID: Odhiambo Washington wrote: >I have been following this thread and had hoped to find a solution to my >problem, but seems it's ended without the answer I expected:-) >In my situation (several live lists), I get this error when I make a search >for a word I am very sure is there: > > > >htdig Archives Access Failure search failed -12- [...] >What could be the cause?? It means that the search form data were posted to the mmsearch wrapper and then to the mmsearch.py script which in turn set up a 2-way pipe to the htsearch command configured in Defaults.py/mm_cfg.py as HTDIG_HTSEARCH_PATH to actually perform the search, and htsearch terminated normally (exit status = 0) but wrote no output to the pipe. what happens if you run /path/to/htsearch \ -c /path/to/archives/private/kictanet/htdig/kictanet.conf It should prompt for "words" which is your search word, then output a "Content-type: text/html" header followed by an empty line, then prompt for "format" (enter Short or Long), and finally output the html result. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Aug 28 06:09:47 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 27 Aug 2010 21:09:47 -0700 Subject: [Mailman-Users] Moved to new server - new mail not showing up in moderation In-Reply-To: References: <4C6FD0D9.8090100@msapiro.net> Message-ID: <4C788C0B.9030706@msapiro.net> On 8/27/2010 2:12 PM, Scott Race wrote: > Actually - this might be resolved. I am not sure what was causing it > - I did find the DEFAULT_HOST in the Defaults.py set to the old > server name - thought that would have been overriden by my correct > entries in mm_cfg.py - but fixed and restarted the mailmanctl process > and it appears to be working fine... There is no DEFAULT_HOST setting. If you mean DEFAULT_HOST_NAME, this should be set to None in Defaults.py and not changed in mm_cfg.py. If you mean DEFAULT_URL_HOST, the value in mm_cfg.py overrides that in Defaults.py provided the mm_cfg.py setting is followed by add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST), but changing any of these should not affect an existing list. See the FAQs at and . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brad at shub-internet.org Sat Aug 28 07:27:06 2010 From: brad at shub-internet.org (Brad Knowles) Date: Sat, 28 Aug 2010 00:27:06 -0500 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: References: Message-ID: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> On Aug 27, 2010, at 11:46 AM, W. Curtis Preston wrote: > Sorry, typo. It's 2.1.13. Are you sure it's 2.1.13, and not something like 2.1.11-cp3? In all the versions I've ever seen cPanel release, they've always included a dash and then their internal version identifier for their modified code. If they are now shipping something and calling it 2.1.13 and it's not exactly the same code that we provide from , then I think it's time we had the PSF and/or FSF lawyers give them a call -- and speaking as a member of the Mailman Cabal, I will make sure to carry through on that, if necessary. -- Brad Knowles LinkedIn Profile: From curtis at backupcentral.com Sat Aug 28 07:35:00 2010 From: curtis at backupcentral.com (W. Curtis Preston) Date: Fri, 27 Aug 2010 22:35:00 -0700 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> Message-ID: What I know is that the bottom of the screen where it displays the version number says 2.1.13 and nothing more. Any thoughts on my URL problem? Any chance you have a "real" 2.1.13 install out there we can test it on? On Fri, Aug 27, 2010 at 10:27 PM, Brad Knowles wrote: > On Aug 27, 2010, at 11:46 AM, W. Curtis Preston wrote: > > > Sorry, typo. It's 2.1.13. > > Are you sure it's 2.1.13, and not something like 2.1.11-cp3? In all the > versions I've ever seen cPanel release, they've always included a dash and > then their internal version identifier for their modified code. > > If they are now shipping something and calling it 2.1.13 and it's not > exactly the same code that we provide from < > http://www.list.org/download.html>, then I think it's time we had the PSF > and/or FSF lawyers give them a call -- and speaking as a member of the > Mailman Cabal, I will make sure to carry through on that, if necessary. > > -- > Brad Knowles > LinkedIn Profile: > > From brad at shub-internet.org Sat Aug 28 07:43:49 2010 From: brad at shub-internet.org (Brad Knowles) Date: Sat, 28 Aug 2010 00:43:49 -0500 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> Message-ID: <0BC5AA5C-1C52-432D-8869-824BD68879D7@shub-internet.org> On Aug 28, 2010, at 12:35 AM, W. Curtis Preston wrote: > What I know is that the bottom of the screen where it displays the version number says 2.1.13 and nothing more. > > Any thoughts on my URL problem? Any chance you have a "real" 2.1.13 install out there we can test it on? I'm sure that Mark and Barry have "real" 2.1.13 systems out there that this could be tested with, but I do not currently have access to such myself, at least not in any kind of publicly accessible place. I am sorely tempted to log onto mail.python.org and do the upgrade right then and there, and make sure that we eat our own dogfood. However, I really should coordinate this with the guys who've been doing the day-to-day administration of mail.python.org for the past several months. Let me see how quickly we can get that upgrade done. -- Brad Knowles LinkedIn Profile: From curtis at backupcentral.com Sat Aug 28 08:07:12 2010 From: curtis at backupcentral.com (W. Curtis Preston) Date: Fri, 27 Aug 2010 23:07:12 -0700 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <0BC5AA5C-1C52-432D-8869-824BD68879D7@shub-internet.org> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <0BC5AA5C-1C52-432D-8869-824BD68879D7@shub-internet.org> Message-ID: Waiting with bated breath. ;) On Fri, Aug 27, 2010 at 10:43 PM, Brad Knowles wrote: > On Aug 28, 2010, at 12:35 AM, W. Curtis Preston wrote: > > > What I know is that the bottom of the screen where it displays the > version number says 2.1.13 and nothing more. > > > > Any thoughts on my URL problem? Any chance you have a "real" 2.1.13 > install out there we can test it on? > > I'm sure that Mark and Barry have "real" 2.1.13 systems out there that this > could be tested with, but I do not currently have access to such myself, at > least not in any kind of publicly accessible place. > > I am sorely tempted to log onto mail.python.org and do the upgrade right > then and there, and make sure that we eat our own dogfood. However, I > really should coordinate this with the guys who've been doing the day-to-day > administration of mail.python.org for the past several months. Let me see > how quickly we can get that upgrade done. > > -- > Brad Knowles > LinkedIn Profile: > > From measl at mfn.org Sat Aug 28 08:25:58 2010 From: measl at mfn.org (J.A. Terranson) Date: Sat, 28 Aug 2010 01:25:58 -0500 (CDT) Subject: [Mailman-Users] Odd problem changing admins and mods passwords Message-ID: Greetings, I just changed a list from a bunch of admins to an admin and a bunch of moderators, by following the instructions (pretty simple actually). Just to be sure...: 1. Changed the site and creator passwords using shell commands 2. Logged in to list with soon to be stale admin passwd 3. Moved the mods from "administrators" to "moderators" 4. At password screen, entered new admin password 5. At password screen, entered new mod password 6. Tested that both new sets of credentials work as expected 7. Tested old (original) admin password, and to my horror, it works on both admin and on moderator screens! What did I miss? Thanks, as always! //Alif -- "Never belong to any party, always oppose privileged classes and public plunderers, never lack sympathy with the poor, always remain devoted to the public welfare, never be satisfied with merely printing news, always be drastically independent, never be afraid to attack wrong, whether by predatory plutocracy or predatory poverty." Joseph Pulitzer, 1907 Speech From measl at mfn.org Sat Aug 28 09:00:34 2010 From: measl at mfn.org (J.A. Terranson) Date: Sat, 28 Aug 2010 02:00:34 -0500 (CDT) Subject: [Mailman-Users] * Never Mind* (was: Odd problem changing passwords) In-Reply-To: References: Message-ID: And my apologies to the late Emily Littella while I'm at it :-) I had switched windows winthout realizing it: I'm an idiot! Have a great weekend everyone, //Alif -- "Never belong to any party, always oppose privileged classes and public plunderers, never lack sympathy with the poor, always remain devoted to the public welfare, never be satisfied with merely printing news, always be drastically independent, never be afraid to attack wrong, whether by predatory plutocracy or predatory poverty." Joseph Pulitzer, 1907 Speech From rb211 at tds.net Sat Aug 28 11:24:40 2010 From: rb211 at tds.net (William Bagwell) Date: Sat, 28 Aug 2010 05:24:40 -0400 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> Message-ID: <201008280524.40963.rb211@tds.net> On Saturday 28 August 2010, Brad Knowles wrote: > Are you sure it's 2.1.13, and not something like 2.1.11-cp3? ?In all > the versions I've ever seen cPanel release, they've always included a > dash and then their internal version identifier for their modified > code. I can confirm that a cPanel Mailman install that recently was 2.1.11.cp3 is now showing 2.1.13 in the headers. > If they are now shipping something and calling it 2.1.13 and it's not > exactly the same code that we provide from > , then I think it's time we had the > PSF and/or FSF lawyers give them a call -- and speaking as a member of > the Mailman Cabal, I will make sure to carry through on that, if > necessary. I think Mark has seen their code and is working to have a better relationship with them... Ah, see this post. http://www.mail-archive.com/mailman-users%40python.org/msg56847.html Please don't threaten to sue them! I want Mailman 3.0 and the only way I,m going to get to use it is through cPanel. -- William From odhiambo at gmail.com Sat Aug 28 11:58:29 2010 From: odhiambo at gmail.com (Odhiambo Washington) Date: Sat, 28 Aug 2010 12:58:29 +0300 Subject: [Mailman-Users] Mailman and htdig - issues after installing htdig In-Reply-To: References: Message-ID: On Sat, Aug 28, 2010 at 6:57 AM, Mark Sapiro wrote: > Odhiambo Washington wrote: > > >I have been following this thread and had hoped to find a solution to my > >problem, but seems it's ended without the answer I expected:-) > >In my situation (several live lists), I get this error when I make a > search > >for a word I am very sure is there: > > > > > > > >htdig Archives Access Failure search failed -12- > [...] > >What could be the cause?? > > > It means that the search form data were posted to the mmsearch wrapper > and then to the mmsearch.py script which in turn set up a 2-way pipe > to the htsearch command configured in Defaults.py/mm_cfg.py as > HTDIG_HTSEARCH_PATH to actually perform the search, and htsearch > terminated normally (exit status = 0) but wrote no output to the pipe. > > what happens if you run > > /path/to/htsearch \ > -c /path/to/archives/private/kictanet/htdig/kictanet.conf > > It should prompt for "words" which is your search word, then output a > "Content-type: text/html" header followed by an empty line, then > prompt for "format" (enter Short or Long), and finally output the html > result. > > Reading your response closely, I checked my mm_cfg.py and realized that my HTDIG_HTSEARCH_PATH was pointing to a non-existent path. Once I corrected this, the search started to work. However I had issues with broken icons which I also managed to fix. Apparently htdig installs its icons to /usr/local/www/icons/htdig/ so I just copied those to /usr/local/www/icons/, fixed any references in htdig.conf added an appropriate Redirect rule in Apache configuration: RedirectPermanent /htdig /icons These are as a result of how htdig installs on FreeBSD. Looking at the Makefile for the port, I see it was configured to put these things at the "wrong" places, i.e. --with-image-dir=${PREFIX}/www/icons/htdig \ --with-image-url-prefix=/icons/htdig Thank you so much, because my searches now work. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From mark at msapiro.net Sat Aug 28 16:24:35 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 28 Aug 2010 07:24:35 -0700 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: Message-ID: W. Curtis Preston wrote: >First you have to subscribe them, then you would issue the following URL: > >http:///mailman/admin//members?user=& > >_digest=1&setmemberopts_btn=Submit%20Your%20Changes&allmodbit_val=0& >_language=en&_nodupes=1&adminpw= > > >This has also worked for a few years, but I just found out that it isn't >working. This changed in Mailman 2.1.10. The "key" is no longer the raw email address. It is quoted by urllib.quote(). The NEWS file contains the following under 2.1.10 "Bug fixes and other patches". - The admin Membership List pages have been changed in that the email address which forms a part of the various CGI data keys is now urllib.quote()ed. This allows changing options for and unsubbing an address which contains a double-quote character, but it may require changes to scripts that screen-scrape the web admin interface to produce a membership list so they will report an unquoted address. What this means in your case is that in your URL above must have "@" changed to "%40" and othar characters not in the set [-_.a-z0-9] must be similarly encoded. I think the php function rawurlencode() will do what you need. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Aug 28 17:05:51 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 28 Aug 2010 08:05:51 -0700 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <0BC5AA5C-1C52-432D-8869-824BD68879D7@shub-internet.org> Message-ID: Brad Knowles wrote: > >I'm sure that Mark and Barry have "real" 2.1.13 systems out there that this could be tested with, but I do not currently have access to such myself, at least not in any kind of publicly accessible place. > >I am sorely tempted to log onto mail.python.org and do the upgrade right then and there, and make sure that we eat our own dogfood. However, I really should coordinate this with the guys who've been doing the day-to-day administration of mail.python.org for the past several months. Let me see how quickly we can get that upgrade done. Brad, Just FYI, 2.1.14 is going to be released next month. You might want to wait. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Aug 28 17:15:52 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 28 Aug 2010 08:15:52 -0700 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <201008280524.40963.rb211@tds.net> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <201008280524.40963.rb211@tds.net> Message-ID: <4C792828.3010709@msapiro.net> On 8/28/2010 2:24 AM, William Bagwell wrote: > > I can confirm that a cPanel Mailman install that recently was 2.1.11.cp3 > is now showing 2.1.13 in the headers. Thanks for the confirmation. > I think Mark has seen their code and is working to have a better > relationship with them... Ah, see this post. > http://www.mail-archive.com/mailman-users%40python.org/msg56847.html I would love to have a better relationship with the cPanel Mailman folks, but I have none. They don't acknowledge me at all. Anything I know about cPanel Mailman internals is via code provided to me by 3rd parties. > Please don't threaten to sue them! I want Mailman 3.0 and the only way I,m > going to get to use it is through cPanel. All we would ask is that they continue their past practice of identifying their modified Mailman as, e.g. 2.1.13-cp1 so that we know what we're dealing with. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brad at shub-internet.org Sat Aug 28 17:32:15 2010 From: brad at shub-internet.org (Brad Knowles) Date: Sat, 28 Aug 2010 10:32:15 -0500 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <4C792828.3010709@msapiro.net> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <201008280524.40963.rb211@tds.net> <4C792828.3010709@msapiro.net> Message-ID: <33F0EECC-5902-4CFA-AF0C-6F89A0828243@shub-internet.org> On Aug 28, 2010, at 10:15 AM, Mark Sapiro wrote: > I would love to have a better relationship with the cPanel Mailman > folks, but I have none. They don't acknowledge me at all. Anything I > know about cPanel Mailman internals is via code provided to me by 3rd > parties. I recently bought a MacOS X Server box with Snow Leopard pre-installed. At least we will now have first-hand access to the changes that Apple has made, and we can see what it would take to have better integration there -- if we want it. >> Please don't threaten to sue them! I want Mailman 3.0 and the only way I,m >> going to get to use it is through cPanel. > > All we would ask is that they continue their past practice of > identifying their modified Mailman as, e.g. 2.1.13-cp1 so that we know > what we're dealing with. I was thinking more of a Cease & Desist nastygram from the lawyers, myself. If they're not shipping plain-jane real-deal 2.1.13 but are misidentifying what they are shipping as this version, then I'm pretty sure that would be construed to be a misrepresentation on their part, and would be actionable in court. I'm tempted to use the FSF lawyers instead of seeing if we can go through PSF, since the FSF lawyers have recently had some fairly public successes, and they might be more inclined to help try to find all the ways in which we can go after them. After that, we might think about whether or not we can, or should, go after Apple. Both companies are shipping our code with extensive modifications, and so far as I know neither of them has released their changes, as required by the GNU license. -- Brad Knowles LinkedIn Profile: From brad at shub-internet.org Sat Aug 28 17:33:40 2010 From: brad at shub-internet.org (Brad Knowles) Date: Sat, 28 Aug 2010 10:33:40 -0500 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: References: Message-ID: <694CB038-9BF4-4E29-A2BD-1D441922F8CE@shub-internet.org> On Aug 28, 2010, at 10:05 AM, Mark Sapiro wrote: > Just FYI, 2.1.14 is going to be released next month. You might want to > wait. I've been totally out of the loop for way too long. I need to get back up to speed and see what is changing and how that might affect our operations for python.org. Thanks for the heads-up! -- Brad Knowles LinkedIn Profile: From geoff at QuiteLikely.com Sat Aug 28 17:45:40 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Sat, 28 Aug 2010 18:45:40 +0300 (IDT) Subject: [Mailman-Users] CPanel Mailman (was Re: Cannot set digest mode via URL) In-Reply-To: <4C792828.3010709@msapiro.net> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <201008280524.40963.rb211@tds.net> <4C792828.3010709@msapiro.net> Message-ID: On Sat, 28 Aug 2010, Mark Sapiro wrote: > On 8/28/2010 2:24 AM, William Bagwell wrote: >> >> I can confirm that a cPanel Mailman install that recently was 2.1.11.cp3 >> is now showing 2.1.13 in the headers. > > > Thanks for the confirmation. I can also confirm that a site which was previously running Mailman 2.1.12.cp3 (in fact the site I sent Mark a diff from) now seems to be running 2.1.13 with no cp designation. From what I know of the operation, I think it highly unlikely that the hoster would have changed from using CPanel, and the list pages are still using the virtual host form used by CPanel Mailman. Here is a publicly-accessible listinfo page: http://blindtech-list.info/mailman/listinfo/blindtech_blindtech-list.info Geoff. From srb at umich.edu Sat Aug 28 17:47:10 2010 From: srb at umich.edu (Steve Burling) Date: Sat, 28 Aug 2010 11:47:10 -0400 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <33F0EECC-5902-4CFA-AF0C-6F89A0828243@shub-internet.org> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <201008280524.40963.rb211@tds.net> <4C792828.3010709@msapiro.net> <33F0EECC-5902-4CFA-AF0C-6F89A0828243@shub-internet.org> Message-ID: <586BB53B97FACBEDA6B024AB@srb.icpsr.umich.edu> --On August 28, 2010 10:32:15 AM -0500 Brad Knowles wrote: > After that, we might think about whether or not we can, or should, go > after Apple. Both companies are shipping our code with extensive > modifications, and so far as I know neither of them has released their > changes, as required by the GNU license. To which I reply: For what it's worth, I dif'd Apple's Mailman code against the stock code at one point, and I wouldn't describe the changes as extensive. The primary change was the addition of a version of 'mailmanctl start' that wouldn't daemonize, in order to work properly with Apple's launchd. -- Steve Burling University of Michigan, ICPSR Voice: +1 734 615.3779 330 Packard Street FAX: +1 734 647.8700 Ann Arbor, MI 48104-2910 From lstone19 at stonejongleux.com Sat Aug 28 19:21:09 2010 From: lstone19 at stonejongleux.com (Larry Stone) Date: Sat, 28 Aug 2010 12:21:09 -0500 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <586BB53B97FACBEDA6B024AB@srb.icpsr.umich.edu> Message-ID: On 8/28/10 10:47 AM, Steve Burling at srb at umich.edu wrote: > --On August 28, 2010 10:32:15 AM -0500 Brad Knowles > wrote: > >> After that, we might think about whether or not we can, or should, go >> after Apple. Both companies are shipping our code with extensive >> modifications, and so far as I know neither of them has released their >> changes, as required by the GNU license. > > To which I reply: > > For what it's worth, I dif'd Apple's Mailman code against the stock code at > one point, and I wouldn't describe the changes as extensive. The primary > change was the addition of a version of 'mailmanctl start' that wouldn't > daemonize, in order to work properly with Apple's launchd. I know I've mentioned this before but worth repeating. I run Mailman built from source on Mac OS X Client. Startup was a problem because of daemonizing but more or less solved by having launchd run a script that ran 'mailmanctl start' and then waited a second before exiting. Trying to run 'mailmanctl start' directly from the launchd plist tended to fail due to the launchd process exiting before mailman could daemonize. Since it daemonizes, launchd can't monitor it (it's 'Run at Load' and then launchd is out of the picture) so I deal with Mailman dying on me by having an hourly cron job that checks for the proper number of qrunners and sends me mail if it's wrong (Mailman is far, far from mission critical in my environment). -- Larry Stone lstone19 at stonejongleux.com http://www.stonejongleux.com/ From brad at shub-internet.org Sat Aug 28 20:15:21 2010 From: brad at shub-internet.org (Brad Knowles) Date: Sat, 28 Aug 2010 13:15:21 -0500 Subject: [Mailman-Users] Commercial distributions of Mailman & GPL In-Reply-To: <87hbie4qmw.fsf@uwakimon.sk.tsukuba.ac.jp> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <201008280524.40963.rb211@tds.net> <4C792828.3010709@msapiro.net> <33F0EECC-5902-4CFA-AF0C-6F89A0828243@shub-internet.org> <87hbie4qmw.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <8203A12A-0DD0-47BE-AD10-7A3FDDD56BDB@shub-internet.org> On Aug 28, 2010, at 12:02 PM, Stephen J. Turnbull wrote: >> I'm tempted to use the FSF lawyers instead of seeing if we can go >> through PSF, since the FSF lawyers have recently had some fairly >> public successes, and they might be more inclined to help try to >> find all the ways in which we can go after them. > > AFAIK much of Mailman is owned by the FSF, and maybe none by the PSF. > So only the FSF would have standing anyway. It's currently licensed under the GPL, but as a project written in Python, I wonder if we might also be able to make the case that the PSF lawyers could be brought in. Even if we could, I would be inclined to go with the FSF lawyers first. > Technically for GPLv2, a commercial distributor should be distributing > source on the same media that they distribute the installer, so this > might not be enough to be in compliance. But the code is publicly > available, and realistically, this is as much as we want to ask for. It's Python, so unless they're doing a pre-compiled bytecode distribution, they are distributing the source on the same media as the installer -- the source is all they've got. It's not executable code until Python gets its hands on it and turns it into bytecode, and then keeps a cached copy of that bytecode around so that it doesn't need to go through this process again, unless the source is changed. -- Brad Knowles LinkedIn Profile: From geoff at QuiteLikely.com Sat Aug 28 20:51:36 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Sat, 28 Aug 2010 21:51:36 +0300 (IDT) Subject: [Mailman-Users] Commercial distributions of Mailman & GPL In-Reply-To: <8203A12A-0DD0-47BE-AD10-7A3FDDD56BDB@shub-internet.org> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <201008280524.40963.rb211@tds.net> <4C792828.3010709@msapiro.net> <33F0EECC-5902-4CFA-AF0C-6F89A0828243@shub-internet.org> <87hbie4qmw.fsf@uwakimon.sk.tsukuba.ac.jp> <8203A12A-0DD0-47BE-AD10-7A3FDDD56BDB@shub-internet.org> Message-ID: On Sat, 28 Aug 2010, Brad Knowles wrote: > It's Python, so unless they're doing a pre-compiled bytecode > distribution, Certainlyin the case of CPanel, they're not. > they are distributing the source on the same media as the > installer -- the source is all they've got. Which means of course that they aren't guilty of not providing source code to their customers, but rather of not providing it to non-customers. Geoff. From stephen at xemacs.org Sat Aug 28 21:25:32 2010 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Sun, 29 Aug 2010 04:25:32 +0900 Subject: [Mailman-Users] Commercial distributions of Mailman & GPL In-Reply-To: <8203A12A-0DD0-47BE-AD10-7A3FDDD56BDB@shub-internet.org> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <201008280524.40963.rb211@tds.net> <4C792828.3010709@msapiro.net> <33F0EECC-5902-4CFA-AF0C-6F89A0828243@shub-internet.org> <87hbie4qmw.fsf@uwakimon.sk.tsukuba.ac.jp> <8203A12A-0DD0-47BE-AD10-7A3FDDD56BDB@shub-internet.org> Message-ID: <87eidi4k0j.fsf@uwakimon.sk.tsukuba.ac.jp> Brad Knowles writes: > It's Python, so unless they're doing a pre-compiled bytecode > distribution, they are distributing the source on the same media as > the installer -- the source is all they've got. Not quite. The full source as defined by the GPL includes any build scripts such as checkperms, Makefiles, and setup.py. You're also supposed to say something about the changes you've made, which Apple does quite precisely by supplying a diff. I'm not sure what infrastructure (eg, Xcode) might be required, but presumably you can build exactly what they distribute, just as they do. That is a substantially more stringent requirement than "you've got the Python sources" in many cases, and that is what the GPL requires. From tmz at pobox.com Sun Aug 29 16:59:10 2010 From: tmz at pobox.com (Todd Zullinger) Date: Sun, 29 Aug 2010 10:59:10 -0400 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> Message-ID: <20100829145910.GG4925@inocybe.localdomain> Brad Knowles wrote: > If they are now shipping something and calling it 2.1.13 and it's > not exactly the same code that we provide from > , then I think it's time we had > the PSF and/or FSF lawyers give them a call -- and speaking as a > member of the Mailman Cabal, I will make sure to carry through on > that, if necessary. Red Hat and most other Linux distributions ship Mailman with various patches, making it very much "not exactly the same code" and the GPL license explicitly grants this freedom. Are you suggesting that trademark guidelines be applied, similar to what Mozilla does for Firefox?? I'm not arguing that if a distributor patches Mailman and changes core behavior to the point that it causes confusion for users and potentially sullies Mailman's reputation that it's fine and should be left alone. Just trying to see what grounds on which you want the lawyers to complain. ? Because of those trademark restrictions, Debian ships the firefox code with their patches under the name Iceweasel. -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed. -- Albert Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 542 bytes Desc: not available URL: From brad at shub-internet.org Mon Aug 30 00:24:58 2010 From: brad at shub-internet.org (Brad Knowles) Date: Sun, 29 Aug 2010 17:24:58 -0500 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <20100829145910.GG4925@inocybe.localdomain> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <20100829145910.GG4925@inocybe.localdomain> Message-ID: <93841744-F23C-4406-BE97-04745E6E961C@shub-internet.org> On Aug 29, 2010, at 9:59 AM, Todd Zullinger wrote: > I'm not arguing that if a distributor patches Mailman and changes core > behavior to the point that it causes confusion for users and > potentially sullies Mailman's reputation that it's fine and should be > left alone. Just trying to see what grounds on which you want the > lawyers to complain. If a vendor is changing where files are stored and nothing else, then I don't think there's anything to complain about -- all code may need a certain amount of customization to fit into a different filesystem structure. I think that we can account for those kinds of changes with nothing more than different sets of parameters that go into the configuration file. If they can share those kinds of changes with us, we may be able to incorporate them into an upcoming version of the code we release, so that next time one of their customers may be able to upgrade with a command that is basically just "./configure; ./install; /path/to/mailmanctl restart". That would be a win-win-win scenario -- a win for the customer, a win for the vendor, and a win for us. However, if a vendor is changing underlying application functionality, that would be something I would be much more concerned about. If it's just keeping the code from daemonizing when they do a "mailmanctl start", I think that's something we could accommodate with a future version of our code -- and then we can get back to that win-win-win scenario mentioned above. If there's more to it than that, then I would definitely be inclined to be much tougher in my response. -- Brad Knowles LinkedIn Profile: From brad at shub-internet.org Mon Aug 30 00:34:34 2010 From: brad at shub-internet.org (Brad Knowles) Date: Sun, 29 Aug 2010 17:34:34 -0500 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <20100829145910.GG4925@inocybe.localdomain> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <20100829145910.GG4925@inocybe.localdomain> Message-ID: On Aug 29, 2010, at 9:59 AM, Todd Zullinger wrote: > I'm not arguing that if a distributor patches Mailman and changes core > behavior to the point that it causes confusion for users and > potentially sullies Mailman's reputation that it's fine and should be > left alone. Just trying to see what grounds on which you want the > lawyers to complain. Oh, and for me, it has nothing to do with sullying our reputation. It has much more to do with crippling our ability to support our customers, because experience has taught us that many of these vendors want to ship code without providing any of the actual support costs. If they're going to externalize onto us (a non-profit, unpaid, volunteer organization) all of their customer support costs for this part of their commercial package that they may sell for large sums of money, then as I see it they owe us one of two things: 1. Payment of money and other significant physical resources to provide the customer support that they are unable or unwilling to provide themselves 2. At least contribute all their code changes back to us so that our additional cost is minimized to support all their customers that they are unable or unwilling to support themselves Otherwise, in my mind, they are quite literally stealing from the community, and they should suffer the criminal and civil court consequences. This is not to say that all vendors necessarily want to externalize all their support costs onto us, but that there are significant numbers of vendors who want to ship sewage out the door and put a hefty price tag on it, and they do everything they possibly can to make sure that none of their customers can come back to them and actually receive adequate support for the effluent that was delivered. In those cases, the collateral damage to the community is a very real cost that we all have to bear our part of, just so that the company can make good on their get-rich-quick scheme, which they perpetrate at the expense of everyone else. -- Brad Knowles LinkedIn Profile: From stephen at xemacs.org Mon Aug 30 02:50:33 2010 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Mon, 30 Aug 2010 09:50:33 +0900 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <93841744-F23C-4406-BE97-04745E6E961C@shub-internet.org> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <20100829145910.GG4925@inocybe.localdomain> <93841744-F23C-4406-BE97-04745E6E961C@shub-internet.org> Message-ID: <877hj853fq.fsf@uwakimon.sk.tsukuba.ac.jp> Brad Knowles writes: > If there's more to it than that, then I would definitely be > inclined to be much tougher in my response. Under the GPL, you don't have any grounds for anything except the kind of campaign that might open you up to a libel suit as long as they're distributing source with the binary versions. The GPL doesn't require that version numbers be munged by downstream, and I don't think you can trademark a version number. I don't like cPanel's way of operating, and I agree that Apple's interaction with the open source community *outside of Darwin* takes a lot more out than it puts back in. Still, the GPL doesn't give any cause for action AFAICS. From tmz at pobox.com Mon Aug 30 03:19:29 2010 From: tmz at pobox.com (Todd Zullinger) Date: Sun, 29 Aug 2010 21:19:29 -0400 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <877hj853fq.fsf@uwakimon.sk.tsukuba.ac.jp> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <20100829145910.GG4925@inocybe.localdomain> <93841744-F23C-4406-BE97-04745E6E961C@shub-internet.org> <877hj853fq.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <20100830011929.GL4925@inocybe.localdomain> Stephen J. Turnbull wrote: > Under the GPL, you don't have any grounds for anything except the > kind of campaign that might open you up to a libel suit as long as > they're distributing source with the binary versions. The GPL > doesn't require that version numbers be munged by downstream, and I > don't think you can trademark a version number. > > I don't like cPanel's way of operating, and I agree that Apple's > interaction with the open source community *outside of Darwin* takes > a lot more out than it puts back in. Still, the GPL doesn't give > any cause for action AFAICS. Agreed. I think the main alternative is using trademarks, like Mozilla does. That's not very popular with the very folks that do support open source code well though. Debian doesn't ship Firefox because of this. And Fedora sometimes has to work harder than they should to get patches accepted upstream before they can be shipped as part of the distro. I tend to think that solution causes more harm than good, no matter how well-intentioned it may be. -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A common mistake people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -- Douglas Adams -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 542 bytes Desc: not available URL: From curtis at backupcentral.com Mon Aug 30 05:43:41 2010 From: curtis at backupcentral.com (W. Curtis Preston) Date: Sun, 29 Aug 2010 20:43:41 -0700 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <20100829145910.GG4925@inocybe.localdomain> Message-ID: On Sun, Aug 29, 2010 at 3:34 PM, Brad Knowles wrote: > > Oh, and for me, it has nothing to do with sullying our reputation. It has > much more to do with crippling our ability to support our customers, because > experience has taught us that many of these vendors want to ship code > without providing any of the actual support costs. > > If they're going to externalize onto us (a non-profit, unpaid, volunteer > organization) all of their customer support costs for this part of their > commercial package that they may sell for large sums of money, then as I see > it they owe us one of two things: > Brad you bring up a good point that I don't think everyone is aware of. Those of using a "commercial distro" of Mailman should get our support for said installation said group. I suppose if I was doing something normal, I would. However, I didn't even think to ask them because I figured the answer would be "You're trying to do WHAT?" Well, that's not supported... But you know what? I never even asked, so I think I will. From stephen at xemacs.org Mon Aug 30 07:33:40 2010 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Mon, 30 Aug 2010 14:33:40 +0900 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <20100830011929.GL4925@inocybe.localdomain> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <20100829145910.GG4925@inocybe.localdomain> <93841744-F23C-4406-BE97-04745E6E961C@shub-internet.org> <877hj853fq.fsf@uwakimon.sk.tsukuba.ac.jp> <20100830011929.GL4925@inocybe.localdomain> Message-ID: <8762ys4qbv.fsf@uwakimon.sk.tsukuba.ac.jp> Todd Zullinger writes: > Agreed. I think the main alternative is using trademarks, like > Mozilla does. That's not very popular with the very folks that do > support open source code well though. Sure, but that still doesn't help with the problem at hand. AFAIK we haven't registered any trademarks. From marcos.gonzalez.cruz at gmail.com Mon Aug 30 14:32:10 2010 From: marcos.gonzalez.cruz at gmail.com (marcos gonzalez) Date: Mon, 30 Aug 2010 14:32:10 +0200 Subject: [Mailman-Users] My first post, problems with a mailman list url Message-ID: Hi! Im a administrator that mounted a mailman list inside my mail server, and I discovered and strange problem with a list. My urls are good but not for all lists, If I go to the pending request page, when I mark "submit al data" button the url link redirects to a bad domain. To understand me: http://mail.domain.com/cgi-bin/mailman/admindb/list and checking I pass to http://domain.com/cgi-bin/mailman/admindb/list Anyone had similar problem? How I can repair ? Thanks From mark at msapiro.net Mon Aug 30 22:22:39 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 30 Aug 2010 13:22:39 -0700 Subject: [Mailman-Users] My first post, problems with a mailman list url In-Reply-To: Message-ID: marcos gonzalez wrote: > >Im a administrator that mounted a mailman list inside my mail server, and I >discovered and strange problem with a list. My urls are good but not for all >lists, If I go to the pending request page, when I mark "submit al data" >button the url link redirects to a bad domain. To understand me: > >http://mail.domain.com/cgi-bin/mailman/admindb/list > >and checking I pass to > >http://domain.com/cgi-bin/mailman/admindb/list > >Anyone had similar problem? How I can repair ? Put the following in mm_cfg.py DEFAULT_URL_HOST = 'mail.domain.com' (or whatever the web domain is) DEFAULT_EMAIL_HOST = 'domain.com' (or whatever the email domain is) VIRTUAL_HOSTS.clear() (optional to remove Defaults.py add_virtualhost()) add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) Then run Mailman's bin/withlist -l -a -r fix_url Search the FAQ at for "fix_url" to see much more. Note that if the bad lists were created with bin/newlist LIST at domain.com this is wrong. This notation is deprecated and counterintuitive and should not be used. See bin/newlist --help -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brad at shub-internet.org Mon Aug 30 22:39:00 2010 From: brad at shub-internet.org (Brad Knowles) Date: Mon, 30 Aug 2010 15:39:00 -0500 Subject: [Mailman-Users] Cannot set digest mode via URL In-Reply-To: <877hj853fq.fsf@uwakimon.sk.tsukuba.ac.jp> References: <92AEA513-B26A-4F11-9F6F-31FA9AD35A07@shub-internet.org> <20100829145910.GG4925@inocybe.localdomain> <93841744-F23C-4406-BE97-04745E6E961C@shub-internet.org> <877hj853fq.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <7E99F9E8-ABC8-4A82-A57E-62892815CA26@shub-internet.org> On Aug 29, 2010, at 7:50 PM, Stephen J. Turnbull wrote: > I don't like cPanel's way of operating, and I agree that Apple's > interaction with the open source community *outside of Darwin* takes a > lot more out than it puts back in. Still, the GPL doesn't give any > cause for action AFAICS. If there are no courses of action open to us in the courts in these matters, then in such cases I might be inclined to think that a suitably crafted and executed PR campaign would be an alternative to be considered. But setting aside all of the things in this thread that have been said so far, I would like to point out that I have not made any irrevocable decisions on the matter, and I have yet to take any actual action. I've spoken about what my tendencies and inclinations would be, nothing more. -- Brad Knowles LinkedIn Profile: From rruivo at dei.uc.pt Tue Aug 31 17:10:16 2010 From: rruivo at dei.uc.pt (Ricardo Ruivo) Date: Tue, 31 Aug 2010 16:10:16 +0100 Subject: [Mailman-Users] Ban_list Message-ID: <4C7D1B58.3000309@dei.uc.pt> Dear all, there is any option to notify, by email, the user when he attempts to subscibe and list and his email bellow to ban_list? Another question. It is possible to configure the following message (thats appers when a ban_list users attens to subscribe by web interface that mailling list) so Subscription results The email address you supplied is banned from this mailing list. If you think this restriction is erroneous, please contact the list owners at [EMAIL]. Thanks in advanced. -- Ricardo Ruivo System Administrator SIC - Servi?o de Inform?tica e Comunica??es Department of Informatics Engineering Faculty of Science and Technology University of Coimbra | Portugal My PGP Public Key is available at: http://pgp.dei.uc.pt:11371/pks/lookup?op=get&search=0x7D4F6A4C -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From fcombernous at kezia.com Tue Aug 31 09:55:26 2010 From: fcombernous at kezia.com (Fabien COMBERNOUS) Date: Tue, 31 Aug 2010 09:55:26 +0200 Subject: [Mailman-Users] Bad/Invalid email address Message-ID: <4C7CB56E.6070808@kezia.com> Hello, I'm using a domain name in my LAN. This domain is used only in my LAN and it is a root domain, ie no dot added. A mail is foo at domain, not foo at domain.lan. We mailman does not want to subscribe mail like foo at domain ? Regards, -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com *Tel: +33 (0) 467 992 986* Kezia Group From razvan at rosedu.org Tue Aug 31 08:08:01 2010 From: razvan at rosedu.org (Razvan Deaconescu) Date: Tue, 31 Aug 2010 09:08:01 +0300 Subject: [Mailman-Users] Resident messages for moderation after removing Mailman Message-ID: <4C7C9C41.8080008@rosedu.org> Hi! I've encountered a problem regarding pending messages for the internal mailman list for Mailman. Each day at 8:00AM, as Mailman admin/owner I was getting a message with the subject "6 Mailman moderator request(s) waiting". The message mentioned accessing the URL "http://${hostname}/cgi-bin/mailman/admindb/mailman". However, accessing it (and typing in the requested password) revealed no pending posts (such as those described in the message). The latest message was dated 28th of December 2009 (quite a while ago). About a week ago I decided to uninstall the Mailman instance but that message is still sent each day at 8:00AM. I've reinstalled it, accessed the above URL, but there are still no pending posts. I've done a recursive grep in /var/lib/mailman (I'm using Debian) for parts of the message (but found nothing). I've checked all cron entries (/etc/cron*, /var/spool/cron/crontabs/*) but found nothing relevant. Could someone please point me to where those pending requests are held and how can I get rid of them and stop that message from being delivered? Many thanks, Razvan