From deansuhr at deansuhr.us Wed Dec 1 00:28:13 2010 From: deansuhr at deansuhr.us (Dean Suhr) Date: Tue, 30 Nov 2010 15:28:13 -0800 Subject: [Mailman-Users] Mailman - trouble creating a second list at an existing virtual host In-Reply-To: Message-ID: > [...] >> Will I always have to manually post entries into virtual-mailman or is that >> supposed to happen somewhere along the way? Is there a terminal command >> line I missed or could have run in addition to cause this to happen >> automatically? > On 11/29/10 6:28 PM, "Mark Sapiro" wrote: > It should happen automatically. I suspect it didn't in your case > because of certain case-sensitivities which are really bugs. If you > make all your domain names in mm_cfg.py, i.e. DEFAULT_URL_HOST, > DEFAULT_EMAIL_HOST, additional domains in add_virtualhost() and > domains in POSTFIX_STYLE_VIRTUAL_DOMAINS, all lower case and use all > lower case in -u options to newlist or fix_url. Everything should work. > > The underlying bug is that domains in add_virtualhost() directives are > lower-cased by Mailman but are matched case-sensitively to > POSTFIX_STYLE_VIRTUAL_DOMAINS so if the POSTFIX_STYLE_VIRTUAL_DOMAINS > domains are mixed or upper case, they don't match. > > If you make everything lower case and run fix_url with a lower case -u > domain and then run genaliases, you should be OK. > > Note that manually editing virtual-mailman is unsafe because if > genaliases is ever run, your changes will be lost. Thanks again Mark. Yes, I contributed to the problem because I like to use MLDfamily (mixed case) in the user viewable emails and tend to follow that behind the scenes. Right now I have manually entered the aliases into virtual-mailman. You indicated this could be a problem with the next run of genaliases. The original list and the new one are both at lists.MLDfamily.org. (note CAPS). I ran genaliases and the list remained intact with entries updated in virtual-mailman. Should I stand down and assume my rickety path to functionality will hold up - or should I delete the list and start over? If I start over I would not want to upset the apple cart on the original list at lists.MLDfamily.org so I would use that mixed case virtual host for the re-creation of the new list. I promise if I ever add any new virtual domains everything will be lower case! Thanks, Dean -- Dean Suhr President MLD Foundation 21345 Miles Drive West Linn, OR 97068-2878 USA 1+503-656-4808 or 1-800-617-8387 Complete MLD information at: www.MLDfoundation.org Celebrating our tenth year of serving families! Please watch this awareness video and pass it along: http://mldfoundation.org/awareness-video.html From mark at msapiro.net Wed Dec 1 01:51:59 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 30 Nov 2010 16:51:59 -0800 Subject: [Mailman-Users] Mailman - trouble creating a second list at anexisting virtual host In-Reply-To: Message-ID: Dean Suhr wrote: > >Yes, I contributed to the problem because I like to use MLDfamily (mixed >case) in the user viewable emails and tend to follow that behind the scenes. > >Right now I have manually entered the aliases into virtual-mailman. You >indicated this could be a problem with the next run of genaliases. Yes, because genaliases will remove all entries from aliases and virtual-mailman and then rebuild aliases for all lists and virtual-mailman for only those lists whose host_name is found in POSTFIX_STYLE_VIRTUAL_DOMAINS. The above is the key here. If your domains are mixed case in add_virtualhost() and POSTFIX_STYLE_VIRTUAL_DOMAINS, creating the list and possibly running fix_url will produce a list with its host_name attribute lower cased which will not match POSTFIX_STYLE_VIRTUAL_DOMAINS and thus will not create virtual-mailman entries. If however you then manually change host_name on the list admin General Options page (or via config_list) to match the case of the domain in POSTFIX_STYLE_VIRTUAL_DOMAINS and run genaliases, that will create the virtual-mailman entries. >The original list and the new one are both at lists.MLDfamily.org. (note >CAPS). > >I ran genaliases and the list remained intact with entries updated in >virtual-mailman. Should I stand down and assume my rickety path to >functionality will hold up - or should I delete the list and start over? Presumably, you did what I suggest above, i.e., change the case of the list's host_name before running genaliases. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From daviddoria at gmail.com Wed Dec 1 15:21:50 2010 From: daviddoria at gmail.com (David Doria) Date: Wed, 1 Dec 2010 09:21:50 -0500 Subject: [Mailman-Users] Phrase count Message-ID: I am interested in counting the number of times a phrase has occurred on a mailing list in a given time period. For example, I want to know how many times the word "example" occurred from 2008 - 2009. Is it possible to do this? Thanks, David From Ralf.Hildebrandt at charite.de Wed Dec 1 16:40:27 2010 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Wed, 1 Dec 2010 16:40:27 +0100 Subject: [Mailman-Users] Phrase count In-Reply-To: References: Message-ID: <20101201154026.GD20375@charite.de> * David Doria : > I am interested in counting the number of times a phrase has occurred > on a mailing list in a given time period. For example, I want to know > how many times the word "example" occurred from 2008 - 2009. Is it > possible to do this? You could analyse the archives for that. Usually, the archives are stored as an mbox. So use your favourite tools on that -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de From Ralf.Hildebrandt at charite.de Wed Dec 1 16:41:12 2010 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Wed, 1 Dec 2010 16:41:12 +0100 Subject: [Mailman-Users] pending request email unreadable In-Reply-To: <23A9B7CAD2EEE64F8FC5BF1E8AB5345F0CAD20@csr-exch.Intranet.Collanaud.Qc.Ca> References: <23A9B7CAD2EEE64F8FC5BF1E8AB5345F0CAD20@csr-exch.Intranet.Collanaud.Qc.Ca> Message-ID: <20101201154111.GE20375@charite.de> * Guillaume Chartrand : > Hi, I receive some pending request for a list who I'm the administrator and moderator and in the message body on the web interface is unreadable, it's just something like that > Sm9saSBib25uZXQgZGUgbGFpbmUgbGFpc3PDqSBwb3VyIG1vcnQgYXUgZGVybmllciBJbnRlckNB > Q0Ugw6AgQ2hpY291dGltaS4gSWwgZXN0IGJydW4gZXQgYmVpZ2UgYXZlYyBkZXMgb3JlaWxsZXMg > ZXQgZGVzIGxhbmnDqHJlcyBwb3VyIGF0dGFjaGVyIGF1IGNvdeKApi4NClF1ZWxxdeKAmXVuIGEg > Z2Vsw6kgZGVzIG9yZWlsbGVzIGxlIHdlZWstZW5kIGRlcm5pZXI/Pz8/DQoNCk1hbm9uIExhcGll > cnJlDQpNYW5vbiBMYXBpZXJyZQ0KYWdlbnRlIGRlIG1pbGlldSBldCByZXNwb25zYWJsZSBkZSBs > J2Vudmlyb25uZW1lbnQNCmNvbnNlaWwgZGUgdmllIMOpdHVkaWFudGUNCkPDqWdlcCBkZSBjaGlj That's encoded text. > But if I approved this message it's send in readable format for all the > user list. Why this can happens? I can't verify if it's appropriate > content and I need to approve it to see it, it's not useful. Usually you get a copy in your email; that one should be readable. -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de From daviddoria at gmail.com Wed Dec 1 16:43:37 2010 From: daviddoria at gmail.com (David Doria) Date: Wed, 1 Dec 2010 10:43:37 -0500 Subject: [Mailman-Users] Phrase count In-Reply-To: <20101201154026.GD20375@charite.de> References: <20101201154026.GD20375@charite.de> Message-ID: > You could analyse the archives for that. Usually, the archives are > stored as an mbox. So use your favourite tools on that > > -- > Ralf Hildebrandt Hi Ralf, Is it possible to download the entire archive as one file? I see that they are broken down into months: http://www.vtk.org/pipermail/vtkusers/ Thanks, David From Ralf.Hildebrandt at charite.de Wed Dec 1 16:46:18 2010 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Wed, 1 Dec 2010 16:46:18 +0100 Subject: [Mailman-Users] Phrase count In-Reply-To: References: <20101201154026.GD20375@charite.de> Message-ID: <20101201154618.GF20375@charite.de> * David Doria : > Is it possible to download the entire archive as one file? > I see that they are broken down into months: > http://www.vtk.org/pipermail/vtkusers/ wget is your friend. wget -r -l1 --no-parent-nd -A.txt.gz http://www.vtk.org/pipermail/vtkusers/ or something like that -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de From andrew at hodgsonfamily.org Wed Dec 1 16:49:11 2010 From: andrew at hodgsonfamily.org (Andrew Hodgson) Date: Wed, 1 Dec 2010 15:49:11 +0000 Subject: [Mailman-Users] Phrase count In-Reply-To: References: <20101201154026.GD20375@charite.de> Message-ID: <3D928760FE9FD24A9F02C485C3F506650D3720B9F6@ELROND.hodgsonfamily.org> David Doria wrote: [...] >Hi Ralf, >Is it possible to download the entire archive as one file? >I see that they are broken down into months: >http://www.vtk.org/pipermail/vtkusers/ To get the .mbox file directly you will need to access the server and download the file as a privileged user. It may be quite large due to the size of the archive. Alternatively you could use a crawl tool on the archives page like Wget or similar if you don't have access to the host. Thanks. Andrew. From Ralf.Hildebrandt at charite.de Wed Dec 1 16:50:39 2010 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Wed, 1 Dec 2010 16:50:39 +0100 Subject: [Mailman-Users] Phrase count In-Reply-To: <20101201154618.GF20375@charite.de> References: <20101201154026.GD20375@charite.de> <20101201154618.GF20375@charite.de> Message-ID: <20101201155038.GG20375@charite.de> * Ralf Hildebrandt : > * David Doria : > > > Is it possible to download the entire archive as one file? > > I see that they are broken down into months: > > http://www.vtk.org/pipermail/vtkusers/ > > wget is your friend. > > wget -r -l1 --no-parent-nd -A.txt.gz http://www.vtk.org/pipermail/vtkusers/ > or something like that wget -r -l1 --no-parent -nd -A.txt.gz http://www.vtk.org/pipermail/vtkusers/ sorry. -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de From adam-mailman at amyl.org.uk Wed Dec 1 16:56:53 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Wed, 1 Dec 2010 15:56:53 +0000 Subject: [Mailman-Users] Phrase count In-Reply-To: References: <20101201154026.GD20375@charite.de> Message-ID: <20101201155653.GE6970@hendricks.amyl.org.uk> On Wed, Dec 01, 2010 at 10:43:37AM -0500, David Doria wrote: > Is it possible to download the entire archive as one file? > I see that they are broken down into months: > http://www.vtk.org/pipermail/vtkusers/ http://lists.example.org/mailman/private/example-list.mbox/example-list.mbox, perhaps? (works for me). -- "How can you make good ideas sound so bad?" "I'm an engineer." -- Scott Adams From mark at msapiro.net Wed Dec 1 16:56:56 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 01 Dec 2010 07:56:56 -0800 Subject: [Mailman-Users] pending request email unreadable In-Reply-To: <23A9B7CAD2EEE64F8FC5BF1E8AB5345F0CAD20@csr-exch.Intranet.Collanaud.Qc.Ca> References: <23A9B7CAD2EEE64F8FC5BF1E8AB5345F0CAD20@csr-exch.Intranet.Collanaud.Qc.Ca> Message-ID: <4CF67048.1080205@msapiro.net> On 11/30/2010 7:45 AM, Guillaume Chartrand wrote: > Hi, I receive some pending request for a list who I'm the administrator and moderator and in the message body on the web interface is unreadable, it's just something like that > Sm9saSBib25uZXQgZGUgbGFpbmUgbGFpc3PDqSBwb3VyIG1vcnQgYXUgZGVybmllciBJbnRlckNB > Q0Ugw6AgQ2hpY291dGltaS4gSWwgZXN0IGJydW4gZXQgYmVpZ2UgYXZlYyBkZXMgb3JlaWxsZXMg > ZXQgZGVzIGxhbmnDqHJlcyBwb3VyIGF0dGFjaGVyIGF1IGNvdeKApi4NClF1ZWxxdeKAmXVuIGEg > Z2Vsw6kgZGVzIG9yZWlsbGVzIGxlIHdlZWstZW5kIGRlcm5pZXI/Pz8/DQoNCk1hbm9uIExhcGll > cnJlDQpNYW5vbiBMYXBpZXJyZQ0KYWdlbnRlIGRlIG1pbGlldSBldCByZXNwb25zYWJsZSBkZSBs > J2Vudmlyb25uZW1lbnQNCmNvbnNlaWwgZGUgdmllIMOpdHVkaWFudGUNCkPDqWdlcCBkZSBjaGlj In older releases, base64 and quoted-printable encoded message bodies were not decoded for display in the admindb interface. This is a bug . It was fiuxed in Mailman 2.1.4. > But if I approved this message it's send in readable format for all the user list. Why this can happens? I can't verify if it's appropriate content and I need to approve it to see it, it's not useful. > > I use mailman 2.1.6 on red hat 4 server with sendmail server and ASSP server to block spam. Some test message appears fine and some other is unreadable. Install Mailman 2.1.14 from source. If you are using a RedHat package, see the FAQ at and the mailman-developers post linked therefrom before you do this. Alternatively, you can copy the base64 encoded text and paste it into a stand alone decoder. Or, as Ralf suggests, if you set admin_immed_notify to Yes for the list, you will get an email notice of the held post which should be readable. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From andrew at hodgsonfamily.org Wed Dec 1 17:02:51 2010 From: andrew at hodgsonfamily.org (Andrew Hodgson) Date: Wed, 1 Dec 2010 16:02:51 +0000 Subject: [Mailman-Users] Phrase count In-Reply-To: <20101201155653.GE6970@hendricks.amyl.org.uk> References: <20101201154026.GD20375@charite.de> <20101201155653.GE6970@hendricks.amyl.org.uk> Message-ID: <3D928760FE9FD24A9F02C485C3F506650D3720B9F7@ELROND.hodgsonfamily.org> Adam McGreggor wrote: [...] >http://lists.example.org/mailman/private/example-list.mbox/example-list.mbox, perhaps? >(works for me). Luckily that doesn't work here, I don't believe you should be able to directly download the mbox files like that. Andrew. From mark at msapiro.net Wed Dec 1 17:04:27 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 1 Dec 2010 08:04:27 -0800 Subject: [Mailman-Users] Phrase count In-Reply-To: <3D928760FE9FD24A9F02C485C3F506650D3720B9F6@ELROND.hodgsonfamily.org> Message-ID: Andrew Hodgson wrote: >David Doria wrote: > >>Is it possible to download the entire archive as one file? >>I see that they are broken down into months: >>http://www.vtk.org/pipermail/vtkusers/ > >To get the .mbox file directly you will need to access the server and download the file as a privileged user. It may be quite large due to the size of the archive. You don't need shell/privileged access to the server to get the archive mbox. You just need to be a list member. Authenticate for private archive access by going to a URL like and logging in. Then get . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From andrew at hodgsonfamily.org Wed Dec 1 17:10:11 2010 From: andrew at hodgsonfamily.org (Andrew Hodgson) Date: Wed, 1 Dec 2010 16:10:11 +0000 Subject: [Mailman-Users] Phrase count In-Reply-To: References: <3D928760FE9FD24A9F02C485C3F506650D3720B9F6@ELROND.hodgsonfamily.org> Message-ID: <3D928760FE9FD24A9F02C485C3F506650D3720B9F8@ELROND.hodgsonfamily.org> Mark Sapiro wrote: [...] >Andrew Hodgson wrote: >>David Doria wrote: >> >>>Is it possible to download the entire archive as one file? >>>I see that they are broken down into months: >>>http://www.vtk.org/pipermail/vtkusers/ >> >>To get the .mbox file directly you will need to access the server and download the file as a privileged user. It may be quite large due to the >size of the archive. >You don't need shell/privileged access to the server to get the archive mbox. You just need to be a list member. >Authenticate for private archive access by going to a URL like and logging in. Then get >. Ah, didn't realise that was possible, disregard my previous message on this subject. Authentication was the key point. Andrew. From adam-mailman at amyl.org.uk Wed Dec 1 17:12:43 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Wed, 1 Dec 2010 16:12:43 +0000 Subject: [Mailman-Users] Phrase count In-Reply-To: <3D928760FE9FD24A9F02C485C3F506650D3720B9F7@ELROND.hodgsonfamily.org> References: <20101201154026.GD20375@charite.de> <20101201155653.GE6970@hendricks.amyl.org.uk> <3D928760FE9FD24A9F02C485C3F506650D3720B9F7@ELROND.hodgsonfamily.org> Message-ID: <20101201161243.GF6970@hendricks.amyl.org.uk> On Wed, Dec 01, 2010 at 04:02:51PM +0000, Andrew Hodgson wrote: > I don't believe you should be able to directly download the mbox files like that. Why ever not? What's so different about grabbing one mbox at once, rather than however many iterations/scraping? -- "They accused us of suppressing freedom of expression. This was a lie and we could not let them publish it." -- Nelba Blandon (Nicaraguan Interior Ministry Director of Censorship) From andrew at hodgsonfamily.org Wed Dec 1 17:15:15 2010 From: andrew at hodgsonfamily.org (Andrew Hodgson) Date: Wed, 1 Dec 2010 16:15:15 +0000 Subject: [Mailman-Users] Phrase count In-Reply-To: <20101201161243.GF6970@hendricks.amyl.org.uk> References: <20101201154026.GD20375@charite.de> <20101201155653.GE6970@hendricks.amyl.org.uk> <3D928760FE9FD24A9F02C485C3F506650D3720B9F7@ELROND.hodgsonfamily.org> <20101201161243.GF6970@hendricks.amyl.org.uk> Message-ID: <3D928760FE9FD24A9F02C485C3F506650D3720B9FB@ELROND.hodgsonfamily.org> Adam McGreggor wrote: [...] >>On Wed, Dec 01, 2010 at 04:02:51PM +0000, Andrew Hodgson wrote: >> I don't believe you should be able to directly download the mbox files like that. >Why ever not? What's so different about grabbing one mbox at once, rather than however many iterations/scraping? The point that I didn't grasp was that you needed to log into the private archives before you could in fact do this. From your message I mistakenly thought that you could just directly grab the mbox without authentication. Sorry about that. Andrew. From daviddoria at gmail.com Wed Dec 1 17:27:00 2010 From: daviddoria at gmail.com (David Doria) Date: Wed, 1 Dec 2010 11:27:00 -0500 Subject: [Mailman-Users] Phrase count In-Reply-To: <3D928760FE9FD24A9F02C485C3F506650D3720B9FB@ELROND.hodgsonfamily.org> References: <20101201154026.GD20375@charite.de> <20101201155653.GE6970@hendricks.amyl.org.uk> <3D928760FE9FD24A9F02C485C3F506650D3720B9F7@ELROND.hodgsonfamily.org> <20101201161243.GF6970@hendricks.amyl.org.uk> <3D928760FE9FD24A9F02C485C3F506650D3720B9FB@ELROND.hodgsonfamily.org> Message-ID: Great, thanks everyone. I got the mbox file, now I just need to construct clever queries :) Thanks, David From scott.e.thomson at gmail.com Wed Dec 1 18:10:32 2010 From: scott.e.thomson at gmail.com (Scott Thomson) Date: Wed, 1 Dec 2010 12:10:32 -0500 Subject: [Mailman-Users] Removing Illegal address from config.db? Message-ID: Hey Folks, Somehow an address is present in my config.db file for one of my lists that is two email addresses mated into the same entry (ie "user1 at domain1.comuser2 @domain2.com"). The entry doesn't show up in the membership list nor does it show up if you list_members for the list. I only know its there because one of my cron jobs turns it up, I was only able to manually find it by greping some of the config files till I turned up a match. I can't remove it from the command line as the command line tools don't recognize it as a member, nor can I remove it using the mass unsubscribe option from the admin page for the same reason. We're on Mailman 2.1.9, we've been using mailman for a long time, so its very likely that the bad address was created in a previous version and carried over. So, I'm not sure what my best option is, there are only 38 members of the list, are we better off recreating the list or is there a way to recreate the subscriber list easily? We also have searchable HTdig archives, so recreating the list includes recreating that archive as well. Thanks for any help you can offer. Scott From mark at msapiro.net Wed Dec 1 18:29:29 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 1 Dec 2010 09:29:29 -0800 Subject: [Mailman-Users] Removing Illegal address from config.db? In-Reply-To: Message-ID: Scott Thomson wrote: > >Somehow an address is present in my config.db file for one of my lists that >is two email addresses mated into the same entry (ie "user1 at domain1.comuser2 >@domain2.com"). The entry doesn't show up in the membership list nor does >it show up if you list_members for the list. I only know its there because >one of my cron jobs turns it up, I was only able to manually find it by >greping some of the config files till I turned up a match. I can't remove >it from the command line as the command line tools don't recognize it as a >member, nor can I remove it using the mass unsubscribe option from the admin >page for the same reason. > >We're on Mailman 2.1.9, we've been using mailman for a long time, so its >very likely that the bad address was created in a previous version and >carried over. First of all, if you're on Mailman 2.1.9, you should remove all lists/*/config.db* files from your installation. These are left over from Mailman 2.0.x and contain obsolete data, but if present could be used if a config.pck becomes corrupt. The current files are the lists/*/config.pck* files. >So, I'm not sure what my best option is, there are only 38 members of the >list, are we better off recreating the list or is there a way to recreate >the subscriber list easily? We also have searchable HTdig archives, so >recreating the list includes recreating that archive as well. > >Thanks for any help you can offer. Run bin/dumpdb lists/LISTNAME/config.pck If the bad address is in that output, you can see in what attribute(s) it exists and modify them manually with bin/withlist. Also, see the FAQ at . If the bad address exists only in a config.db file, just remove the file, but you may also need to see what apparently obsolete cron job is accessing that file and why. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From clefler at gmail.com Thu Dec 2 05:15:04 2010 From: clefler at gmail.com (Christian Lefler) Date: Wed, 1 Dec 2010 23:15:04 -0500 Subject: [Mailman-Users] admin help Message-ID: <003c01cb91d7$80a6ead0$81f4c070$@com> I just started a new mailing list and its great. I would like to know how to keep subscribers from getting to any screen where they can manage their settings or post to the list. Basically I want to manage the list entirely myself where subscribers simply receive emails and cannot respond. Thanks for any help, Christian From guillaume.chartrand at Collanaud.Qc.Ca Wed Dec 1 18:02:12 2010 From: guillaume.chartrand at Collanaud.Qc.Ca (Guillaume Chartrand) Date: Wed, 1 Dec 2010 17:02:12 +0000 Subject: [Mailman-Users] pending request email unreadable In-Reply-To: <4CF67048.1080205@msapiro.net> References: <23A9B7CAD2EEE64F8FC5BF1E8AB5345F0CAD20@csr-exch.Intranet.Collanaud.Qc.Ca> <4CF67048.1080205@msapiro.net> Message-ID: <23A9B7CAD2EEE64F8FC5BF1E8AB5345F0CB8E7@csr-exch.Intranet.Collanaud.Qc.Ca> The admin_immed_notify is already set to Yes. The moderator receive a notification that they had pending request but on the notification they don't have the email who's moderated. I will try to upgrade to other version like Mark Sapiro saids Thank you ---------------------------- Guillaume Chartrand Technicien informatique C?gep r?gional de Lanaudi?re -----Message d'origine----- De?: Mark Sapiro [mailto:mark at msapiro.net] Envoy??: 1 d?cembre 2010 10:57 ??: Guillaume Chartrand Objet?: Re: [Mailman-Users] pending request email unreadable On 11/30/2010 7:45 AM, Guillaume Chartrand wrote: > Hi, I receive some pending request for a list who I'm the > administrator and moderator and in the message body on the web > interface is unreadable, it's just something like that > Sm9saSBib25uZXQgZGUgbGFpbmUgbGFpc3PDqSBwb3VyIG1vcnQgYXUgZGVybmllciBJbn > RlckNB > Q0Ugw6AgQ2hpY291dGltaS4gSWwgZXN0IGJydW4gZXQgYmVpZ2UgYXZlYyBkZXMgb3JlaW > xsZXMg > ZXQgZGVzIGxhbmnDqHJlcyBwb3VyIGF0dGFjaGVyIGF1IGNvdeKApi4NClF1ZWxxdeKAmX > VuIGEg > Z2Vsw6kgZGVzIG9yZWlsbGVzIGxlIHdlZWstZW5kIGRlcm5pZXI/Pz8/DQoNCk1hbm9uIE > xhcGll > cnJlDQpNYW5vbiBMYXBpZXJyZQ0KYWdlbnRlIGRlIG1pbGlldSBldCByZXNwb25zYWJsZS > BkZSBs > J2Vudmlyb25uZW1lbnQNCmNvbnNlaWwgZGUgdmllIMOpdHVkaWFudGUNCkPDqWdlcCBkZS > BjaGlj In older releases, base64 and quoted-printable encoded message bodies were not decoded for display in the admindb interface. This is a bug . It was fiuxed in Mailman 2.1.4. > But if I approved this message it's send in readable format for all the user list. Why this can happens? I can't verify if it's appropriate content and I need to approve it to see it, it's not useful. > > I use mailman 2.1.6 on red hat 4 server with sendmail server and ASSP server to block spam. Some test message appears fine and some other is unreadable. Install Mailman 2.1.14 from source. If you are using a RedHat package, see the FAQ at and the mailman-developers post linked therefrom before you do this. Alternatively, you can copy the base64 encoded text and paste it into a stand alone decoder. Or, as Ralf suggests, if you set admin_immed_notify to Yes for the list, you will get an email notice of the held post which should be readable. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan . From mark at msapiro.net Thu Dec 2 07:39:50 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 01 Dec 2010 22:39:50 -0800 Subject: [Mailman-Users] pending request email unreadable In-Reply-To: <23A9B7CAD2EEE64F8FC5BF1E8AB5345F0CB8E7@csr-exch.Intranet.Collanaud.Qc.Ca> References: <23A9B7CAD2EEE64F8FC5BF1E8AB5345F0CAD20@csr-exch.Intranet.Collanaud.Qc.Ca> <4CF67048.1080205@msapiro.net> <23A9B7CAD2EEE64F8FC5BF1E8AB5345F0CB8E7@csr-exch.Intranet.Collanaud.Qc.Ca> Message-ID: <4CF73F36.80306@msapiro.net> On 12/1/2010 9:02 AM, Guillaume Chartrand wrote: > The admin_immed_notify is already set to Yes. The moderator receive a notification that they had pending request but on the notification they don't have the email who's moderated. The list admins and moderators always receive a daily summary of held messages and other requests. This does not include the text of the messages. When admin_immed_notify is set to Yes, they also receive a message each time a post is held. This is sent at the time the post is received by the list and held and it contains the actual held message as an attachment, and it should be viewable in decoded form in most MUAs. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rgm at htt-consult.com Thu Dec 2 15:35:57 2010 From: rgm at htt-consult.com (Robert Moskowitz) Date: Thu, 02 Dec 2010 09:35:57 -0500 Subject: [Mailman-Users] Help in understanding Mailman setup Message-ID: <4CF7AECD.8000904@htt-consult.com> I have been plowing through the Mailman documentation and trying some things on a test system and need lots of help. First my system is Fedora 12 with Postfix and an SQL database for the users, virtual domains, forwarders, and transport. See: http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-fedora-12-x86_64 So I installed Mailman, ran the script to set its password, then the modified the config file to support virtual host (http:/mailman.domain.com/mailman) and postfix. After this, I could run the script that created the mailman list that then prints a bunch of entries to add to /etc/aliases. I am having major problems with these aliases. I don't know how to put commands in the SQL database (perhaps it SHOULD work with the forwarder table) and the SQL virtual domain setup is NOT working with what Mailman is expecting and these aliases commands. So that is one problem I am not figuring out. But I went and created a second list via the http://...../mailman/create URL. Where is the information about this list kept? I can't find it. No changes were made to /etc/aliases for this new list. Perhaps if I saw what a web created list needed I might figure out a way to get things integrated. I have asked over on the postfix list if anyone there is running Postfix with SQL and mailman and so far only one person has piped up siging the praises of Postfix with the SQL backend, but nothing on Mailman. So I need a bit of help here... From mark at msapiro.net Thu Dec 2 16:45:50 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 2 Dec 2010 07:45:50 -0800 Subject: [Mailman-Users] Help in understanding Mailman setup In-Reply-To: <4CF7AECD.8000904@htt-consult.com> Message-ID: Robert Moskowitz wrote: > >First my system is Fedora 12 with Postfix and an SQL database for the >users, virtual domains, forwarders, and transport. See: >http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-fedora-12-x86_64 > >So I installed Mailman, ran the script to set its password, then the >modified the config file to support virtual host >(http:/mailman.domain.com/mailman) and postfix. After this, I could run >the script that created the mailman list that then prints a bunch of >entries to add to /etc/aliases. I am having major problems with these >aliases. I don't know how to put commands in the SQL database (perhaps >it SHOULD work with the forwarder table) and the SQL virtual domain >setup is NOT working with what Mailman is expecting and these aliases >commands. So that is one problem I am not figuring out. See below. >But I went and created a second list via the http://...../mailman/create >URL. Where is the information about this list kept? I can't find it. >No changes were made to /etc/aliases for this new list. Perhaps if I >saw what a web created list needed I might figure out a way to get >things integrated. All of a list's configuration and membership date is in Mailman's lists/LISTNAME/ directory in a Python pickle file named config.pck. You should see both a mailman/ directory and a / directory, ewch containing config.pck, config.pck.last and possibly a few other files. You may be thinking that the 'mailman' list data is in the file data/sitelist.cfg. That is not the case. The data/sitelist.cfg is a suggestion intended to be used as input to config_list for the site list because normal defaults may not be appropriate for the site list. I.e., bin/config_list -i data/sitelist.cfg mailman >I have asked over on the postfix list if anyone there is running Postfix >with SQL and mailman and so far only one person has piped up siging the >praises of Postfix with the SQL backend, but nothing on Mailman. So I >need a bit of help here... Mailman's aliases must be processed by Postfix's local delivery module. If you are dealing with them manually, they can be put in /etc/aliases, or Mailman/Postfix can be configured to generate them automatically. However, this assumes that the delivery module for the domain is Postfix local delivery. If you have put something in main.cf that uses some other delivery for the mailman.domain.com domain. In that case, you may find the FAQ at of interest. If you need further help, please post the output of 'postconf -n', the relevant parts of main.cf and the delivery status message from the Postfix log or the received DSN when you attempt to mail to a list address. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From b19141 at anl.gov Thu Dec 2 17:20:23 2010 From: b19141 at anl.gov (Barry Finkel) Date: Thu, 2 Dec 2010 10:20:23 -0600 (CST) Subject: [Mailman-Users] Setting an Address Enclosed in Apostrophes Message-ID: <20101202162023.3581642C41@britaine.cis.anl.gov> I have a script that I use to add an address to accept_these_nonmembers It uses "mlist.accept_these_nonmembers.append('$1')" Is there a way I can invoke this C-shell script so that the address is surrounded by apostrophes? I want the resulting address to be 'user at example.com' I tried invoking my script ..... 'user at example.com' but that did not preserve the apostrophes. I am not sure if this is a C-shell question, or a Mailman-python question, or both. Thanks. ---------------------------------------------------------------------- Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 240, Room 5.B.8 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 From mark at msapiro.net Thu Dec 2 18:11:16 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 2 Dec 2010 09:11:16 -0800 Subject: [Mailman-Users] Setting an Address Enclosed in Apostrophes In-Reply-To: <20101202162023.3581642C41@britaine.cis.anl.gov> Message-ID: Barry Finkel wrote: >I have a script that I use to add an address to > > accept_these_nonmembers > >It uses > > "mlist.accept_these_nonmembers.append('$1')" > >Is there a way I can invoke this C-shell script so that >the address is surrounded by apostrophes? I want the resulting >address to be > > 'user at example.com' > >I tried invoking my script > > ..... 'user at example.com' > >but that did not preserve the apostrophes. I am not sure if this >is a C-shell question, or a Mailman-python question, or both. You could try invoking your script as ..... \\\'user at example.com\\\' This will cause $1 to be \'user at example.com\' and mlist.accept_these_nonmembers.append('\'user at example.com\'') should do what you want. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rgm at htt-consult.com Fri Dec 3 00:32:20 2010 From: rgm at htt-consult.com (Robert Moskowitz) Date: Thu, 02 Dec 2010 18:32:20 -0500 Subject: [Mailman-Users] Help in understanding Mailman setup In-Reply-To: References: Message-ID: <4CF82C84.2010505@htt-consult.com> Major success. See below. On 12/02/2010 10:45 AM, Mark Sapiro wrote: > Robert Moskowitz wrote: > >> First my system is Fedora 12 with Postfix and an SQL database for the >> users, virtual domains, forwarders, and transport. See: >> http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-fedora-12-x86_64 >> >> So I installed Mailman, ran the script to set its password, then the >> modified the config file to support virtual host >> (http:/mailman.domain.com/mailman) and postfix. After this, I could run >> the script that created the mailman list that then prints a bunch of >> entries to add to /etc/aliases. I am having major problems with these >> aliases. I don't know how to put commands in the SQL database (perhaps >> it SHOULD work with the forwarder table) and the SQL virtual domain >> setup is NOT working with what Mailman is expecting and these aliases >> commands. So that is one problem I am not figuring out. >> > > See below. > > > >> But I went and created a second list via the http://...../mailman/create >> URL. Where is the information about this list kept? I can't find it. >> No changes were made to /etc/aliases for this new list. Perhaps if I >> saw what a web created list needed I might figure out a way to get >> things integrated. >> > > All of a list's configuration and membership date is in Mailman's > lists/LISTNAME/ directory in a Python pickle file named config.pck. > You should see both a mailman/ directory and a/ > directory, ewch containing config.pck, config.pck.last and possibly a > few other files. > On this fedora 12 system I finally found the directory at: /var/lib/mailman/lists Is there a 'good' way to list the content of the config.pck file? special characters in it. > You may be thinking that the 'mailman' list data is in the file > data/sitelist.cfg. That is not the case. The data/sitelist.cfg is a > suggestion intended to be used as input to config_list for the site > list because normal defaults may not be appropriate for the site list. > I.e., > > bin/config_list -i data/sitelist.cfg mailman > > > >> I have asked over on the postfix list if anyone there is running Postfix >> with SQL and mailman and so far only one person has piped up siging the >> praises of Postfix with the SQL backend, but nothing on Mailman. So I >> need a bit of help here... >> > > Mailman's aliases must be processed by Postfix's local delivery module. > If you are dealing with them manually, they can be put in > /etc/aliases, or Mailman/Postfix can be configured to generate them > automatically. However, this assumes that the delivery module for the > domain is Postfix local delivery. If you have put something in main.cf > that uses some other delivery for the mailman.domain.com domain. In > that case, you may find the FAQ at of > interest. > this is the same as the doc files I have been reading. So I studied postfix a bit more and took a plunge and got most things working. Rather I got the list I created with the web interface working, but not the mailman list I created with the script in the beginning. Now that might have been because I did not have other things set up right. I have one test user subscribed to both the 'mailman' and the 'newlist' lists. The 'newlist' works. But with the 'mailman' list I get the error: : mail for mailman.htt-consult.com loops back to myself Note this is the same domain as newlist at mailman.htt-consult.com And mailman.htt-consult.com is a virtual host name. > If you need further help, please post the output of 'postconf -n', the > relevant parts of main.cf and the delivery status message from the > Postfix log or the received DSN when you attempt to mail to a list > address. When I first ran the '.../newlist mailman' it created the mailman list and printed out lines to add to /etc/aliases and then to run newaliases. Now when I ran this I had NOT added the MTA line to the mm_cfg.py file and that might have been why it was printed in this manner? Anyway below is my current mm_cfg.py and output from 'postconf -n'. I am planning on doing a rebuild of the system and see if I can get through in one go-around a complete system build. If I can, then I can move my mail folders over from the running system and go live with the new. If not, well some more fiddling until I can try again.... mm-cfg.py (comment lines pulled for compactness): # -*- python -*- from Defaults import * import pwd, grp MAILMAN_UID = pwd.getpwnam('mailman')[2] MAILMAN_GID = grp.getgrnam('mailman')[2] from socket import * try: fqdn = getfqdn() except: fqdn = 'mm_cfg_has_unknown_host_domains' DEFAULT_URL_HOST = 'mailman.htt-consult.com' DEFAULT_EMAIL_HOST = 'mailman.htt-consult.com' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) POSTFIX_STYLE_VIRTUAL_DOMAINS = 'mailman.htt-consult.com' MTA = 'Postfix' 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 content_filter = amavis:[127.0.0.1]:10024 daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = klovia.htt-consult.com, localhost, localhost.localdomain myhostname = klovia.htt-consult.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.6.5/README_FILES receive_override_options = no_address_mappings sample_directory = /usr/share/doc/postfix-2.6.5/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_sasl_authenticated_header = 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, hash:/etc/mailman/virtual-mailman 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 From mark at msapiro.net Fri Dec 3 01:21:55 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 2 Dec 2010 16:21:55 -0800 Subject: [Mailman-Users] Help in understanding Mailman setup In-Reply-To: <4CF82C84.2010505@htt-consult.com> Message-ID: Robert Moskowitz wrote: >Major success. See below. > [...] >On this fedora 12 system I finally found the directory at: > >/var/lib/mailman/lists See the FAQ at . >Is there a 'good' way to list the content of the config.pck file? >special characters in it. /usr/lib/mailman/bin/dumpdb /var/lib/mailman/lists/LISTNAME/config.pck [...] >this is the same as the doc files I have been reading. So I studied >postfix a bit more and took a plunge and got most things working. >Rather I got the list I created with the web interface working, but not >the mailman list I created with the script in the beginning. Now that >might have been because I did not have other things set up right. > >I have one test user subscribed to both the 'mailman' and the 'newlist' >lists. The 'newlist' works. But with the 'mailman' list I get the error: > >: mail for mailman.htt-consult.com >loops back to myself > >Note this is the same domain as newlist at mailman.htt-consult.com And >mailman.htt-consult.com is a virtual host name. I'm guessing you followed the Postfix integration instructions as indicated by the below, but you had previously created the 'mailman' list so its virtual mappings are not in virtual-mailman. Run as root or mailman /usr/lib/mailman/bin/genaliases to rebuild the aliases and virtual-mailman files from the current config. >> If you need further help, please post the output of 'postconf -n', the >> relevant parts of main.cf and the delivery status message from the >> Postfix log or the received DSN when you attempt to mail to a list >> address. > >When I first ran the '.../newlist mailman' it created the mailman list >and printed out lines to add to /etc/aliases and then to run >newaliases. Now when I ran this I had NOT added the MTA line to the >mm_cfg.py file and that might have been why it was printed in this >manner? Anyway below is my current mm_cfg.py and output from 'postconf >-n'. I am planning on doing a rebuild of the system and see if I can >get through in one go-around a complete system build. If I can, then I >can move my mail folders over from the running system and go live with >the new. If not, well some more fiddling until I can try again.... > >mm-cfg.py (comment lines pulled for compactness): > [...] > >DEFAULT_URL_HOST = 'mailman.htt-consult.com' >DEFAULT_EMAIL_HOST = 'mailman.htt-consult.com' > >VIRTUAL_HOSTS.clear() >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) > >POSTFIX_STYLE_VIRTUAL_DOMAINS = 'mailman.htt-consult.com' The above is a problem. It needs to be a sequence of domains, not a single domain. This needs to be fixed before running genaliases. Make it POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mailman.htt-consult.com'] The square brackets are important. >MTA = 'Postfix' > > >postconf -n: > [...] This looks OK to me. The important things are the mailman entries in alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases and virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/etc/mailman/virtual-mailman However, you probably also want recipient_delimiter = + if you are ever going to enable any VERP options in Mailman. -- 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 Dec 3 17:23:57 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Fri, 3 Dec 2010 16:23:57 +0000 Subject: [Mailman-Users] admin help In-Reply-To: <003c01cb91d7$80a6ead0$81f4c070$@com> References: <003c01cb91d7$80a6ead0$81f4c070$@com> Message-ID: <20101203162357.GY6970@hendricks.amyl.org.uk> On Wed, Dec 01, 2010 at 11:15:04PM -0500, Christian Lefler wrote: > I just started a new mailing list and its great. I would like to know how > to keep subscribers from getting to any screen by "screen" I'm assuming that you mean "web page". > where they can manage their settings or post to the list. That's entirely down to your HTTPD configuration -- and how you wish to control access. And, perhaps more important to end-user, how you will provide mechanisms for unsubscriptions. > Basically I want to manage the list entirely > myself where subscribers simply receive emails and cannot respond. Search for 'announce' on http://wiki.list.org -- "Twenty-two minutes late, badger ate a junction box at New Malden." ('The Fall and Rise of Reginald Perrin') From adam-mailman at amyl.org.uk Fri Dec 3 17:57:30 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Fri, 3 Dec 2010 16:57:30 +0000 Subject: [Mailman-Users] admin help In-Reply-To: References: <003c01cb91d7$80a6ead0$81f4c070$@com> <20101203162357.GY6970@hendricks.amyl.org.uk> Message-ID: <20101203165730.GA6970@hendricks.amyl.org.uk> On Fri, Dec 03, 2010 at 11:30:56AM -0500, Gary Mort wrote: > I'd say it should also be fairly important to him as well considering > current spam legislation and the penalties associated with not providing an > opt out mechanism. Your Jurisdiction May Vary. (YJMV) -- "In this world there are only two tragedies. One is not getting what one wants, and the other is getting it. " -- Mr Dumby, (Lady Windermere's Fan) From garyamort at gmail.com Fri Dec 3 17:30:56 2010 From: garyamort at gmail.com (Gary Mort) Date: Fri, 3 Dec 2010 11:30:56 -0500 Subject: [Mailman-Users] admin help In-Reply-To: <20101203162357.GY6970@hendricks.amyl.org.uk> References: <003c01cb91d7$80a6ead0$81f4c070$@com> <20101203162357.GY6970@hendricks.amyl.org.uk> Message-ID: On Fri, Dec 3, 2010 at 11:23 AM, Adam McGreggor wrote: > On Wed, Dec 01, 2010 at 11:15:04PM -0500, Christian Lefler wrote: > > I just started a new mailing list and its great. I would like to know > how > > to keep subscribers from getting to any screen > > by "screen" I'm assuming that you mean "web page". > > > where they can manage their settings or post to the list. > > That's entirely down to your HTTPD configuration -- and how you wish > to control access. > > And, perhaps more important to end-user, how you will provide > mechanisms for unsubscriptions. > > I'd say it should also be fairly important to him as well considering current spam legislation and the penalties associated with not providing an opt out mechanism. From knabe at 4j.lane.edu Fri Dec 3 17:48:06 2010 From: knabe at 4j.lane.edu (Troy Knabe) Date: Fri, 03 Dec 2010 08:48:06 -0800 Subject: [Mailman-Users] Self Subscription Failing Message-ID: We use mailman primarily for internal mail lists, but recently I had a request for an external lists that users could subscribe/unsubscribe to via email listname-join, etc. When I send to listname-join I see an entry in the subscribe log for listname: pending emailaddress, but the user never receives the confirmation email. Dec 3 07:57:42 mx2 sendmail[22248]: oB3Fve9T022246: to="|/usr/local/mailman/mail/mailman join foo", ctladdr= (47/0), delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=3327, dsn=2.0.0, stat=Sent From mark at msapiro.net Fri Dec 3 19:09:43 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 3 Dec 2010 10:09:43 -0800 Subject: [Mailman-Users] Self Subscription Failing In-Reply-To: Message-ID: Troy Knabe wrote: > >When I send to listname-join I see an entry in the subscribe log for >listname: pending emailaddress, but the user never receives the confirmation >email. > >Dec 3 07:57:42 mx2 sendmail[22248]: oB3Fve9T022246: >to="|/usr/local/mailman/mail/mailman join foo", >ctladdr= (47/0), delay=00:00:01, xdelay=00:00:00, >mailer=prog, pri=3327, dsn=2.0.0, stat=Sent The above log message is the delivery to Mailman of the original mail to foo-join at domain.com. We know that that succeeded because there is now a pending subscription waiting for confirmation per the subscribe log. This log entry is written immediately after sending the confirmation request email. So, what's in the sendmail (or other outgoing MTA) log for that confirmation request message from Mailman? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From knabe at 4j.lane.edu Fri Dec 3 19:35:47 2010 From: knabe at 4j.lane.edu (Troy Knabe) Date: Fri, 03 Dec 2010 10:35:47 -0800 Subject: [Mailman-Users] Self Subscription Failing In-Reply-To: Message-ID: There is no other entry in the mta log. That was the last log entry regarding this transaction. -Troy On 12/3/10 10:09 AM, "Mark Sapiro" wrote: >Troy Knabe wrote: >> >>When I send to listname-join I see an entry in the subscribe log for >>listname: pending emailaddress, but the user never receives the >>confirmation >>email. >> >>Dec 3 07:57:42 mx2 sendmail[22248]: oB3Fve9T022246: >>to="|/usr/local/mailman/mail/mailman join foo", >>ctladdr= (47/0), delay=00:00:01, xdelay=00:00:00, >>mailer=prog, pri=3327, dsn=2.0.0, stat=Sent > > >The above log message is the delivery to Mailman of the original mail >to foo-join at domain.com. We know that that succeeded because there is >now a pending subscription waiting for confirmation per the subscribe >log. This log entry is written immediately after sending the >confirmation request email. > >So, what's in the sendmail (or other outgoing MTA) log for that >confirmation request message from Mailman? > >-- >Mark Sapiro The highway is for gamblers, >San Francisco Bay Area, California better use your sense - B. Dylan > From phanh at canby.k12.or.us Fri Dec 3 19:32:30 2010 From: phanh at canby.k12.or.us (Hung Phan) Date: Fri, 3 Dec 2010 10:32:30 -0800 Subject: [Mailman-Users] Subscription messages don't send out Message-ID: <8762392B-960A-49FB-8ECF-33D117A732CB@canby.k12.or.us> Hello, We found that our Mailman doesn't send out the subscription confirmation messages for some lists but not all lists. The subscribe and smtp logs have the correspondence entries reflect the subscription and the confirmation message send out. In the exim log, we found this: 2010-12-02 12:26:12 1POFjI-0000ff-J2 <= listserv_test-bounces at mailman.domain H=localhost (localhost.localdomain) [127.0.0.1] P=esmtp S=2059 id=mailman.0.1291321571.2582.listserv_test at mailman.domain 2010-12-02 12:10:32 1POFU7-0000EJ-1n ** testuser-owner at canby.k12.or.us R=dnslookup T=remote_smtp: SMTP error from remote mail server after RCPT TO:: host canby.k12.or.us.s9a1.psmtp.com [74.125.148.10]: 550-5.1.1 The email account that you tried to reach does not exist. Please try\n550-5.1.1 double-checking the recipient's email address for typos or\n550-5.1.1 unnecessary spaces. Learn more at\n550 5.1.1 http://mail.google.com/support/bin/answer.py?answer=6596 u3si2832748ybe.73 2010-12-02 12:26:13 1POFjJ-0000fi-Ly <= <> R=1POFjI-0000ff-J2 U=exim P=local S=3394 2010-12-02 12:26:13 1POFjI-0000ff-J2 Completed 2010-12-02 12:26:14 1POFjJ-0000fi-Ly => listserv_test R=mailman_router T=mailman_transport 2010-12-02 12:26:14 1POFjJ-0000fi-Ly Completed This testuser at canby.k12.or.us exists and able send/receive email without issue. Thank you for any advice From mark at msapiro.net Fri Dec 3 20:12:00 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 3 Dec 2010 11:12:00 -0800 Subject: [Mailman-Users] Self Subscription Failing In-Reply-To: Message-ID: Troy Knabe wrote: >There is no other entry in the mta log. That was the last log entry >regarding this transaction. It would not be regarding this transaction. This transaction ended with the pipe to "|/usr/local/mailman/mail/mailman join foo". The confirmation would be a totally separate transaction beginning a second or so later, probably with the same time stamp as the subscribe log entry, for a message from foo-bounces at domain.com (or possibly foo-bounces+user=example.com at domain.com if VERPed) with a mailman generated message id like . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Dec 3 20:26:12 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 3 Dec 2010 11:26:12 -0800 Subject: [Mailman-Users] Subscription messages don't send out In-Reply-To: <8762392B-960A-49FB-8ECF-33D117A732CB@canby.k12.or.us> Message-ID: Hung Phan wrote: > >We found that our Mailman doesn't send out the subscription confirmation messages for some lists but not all lists. The subscribe and smtp logs have the correspondence entries reflect the subscription and the confirmation message send out. In the exim log, we found this: > >2010-12-02 12:26:12 1POFjI-0000ff-J2 <= listserv_test-bounces at mailman.domain H=localhost (localhost.localdomain) [127.0.0.1] P=esmtp S=2059 id=mailman.0.1291321571.2582.listserv_test at mailman.domain >2010-12-02 12:10:32 1POFU7-0000EJ-1n ** testuser-owner at canby.k12.or.us R=dnslookup T=remote_smtp: SMTP error from remote mail server after RCPT TO:: host canby.k12.or.us.s9a1.psmtp.com [74.125.148.10]: 550-5.1.1 The email account that you tried to reach does not exist. Please try\n550-5.1.1 double-checking the recipient's email address for typos or\n550-5.1.1 unnecessary spaces. Learn more at\n550 5.1.1 http://mail.google.com/support/bin/answer.py?answer=6596 u3si2832748ybe.73 >2010-12-02 12:26:13 1POFjJ-0000fi-Ly <= <> R=1POFjI-0000ff-J2 U=exim P=local S=3394 >2010-12-02 12:26:13 1POFjI-0000ff-J2 Completed >2010-12-02 12:26:14 1POFjJ-0000fi-Ly => listserv_test R=mailman_router T=mailman_transport >2010-12-02 12:26:14 1POFjJ-0000fi-Ly Completed > >This testuser at canby.k12.or.us exists and able send/receive email without issue. Yes, but the message is being sent to testuser-owner at canby.k12.or.us and the MX at canby.k12.or.us.s9a1.psmtp.com (postini ?) and that MX doesn't know how to deliver to that address. The problem is your list is configured with umbrella_list = Yes so all administrative messages for member at example.com are sent to member-owner at example.com (or whatever umbrella_member_suffix is set to). -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From knabe at 4j.lane.edu Fri Dec 3 21:53:37 2010 From: knabe at 4j.lane.edu (Troy Knabe) Date: Fri, 3 Dec 2010 12:53:37 -0800 Subject: [Mailman-Users] Self Subscription Failing In-Reply-To: References: Message-ID: <19199690-BF31-4BBD-943B-F1F0F1392AEB@4j.lane.edu> Dec 3 08:25:39 mx2 sendmail[24159]: oB3GPd7A024159: from=, size=766, class=0, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1] And localhost is in /etc/hosts. -Troy On Dec 3, 2010, at 11:12 AM, Mark Sapiro wrote: > Troy Knabe wrote: > >> There is no other entry in the mta log. That was the last log entry >> regarding this transaction. > > > It would not be regarding this transaction. This transaction ended with > the pipe to "|/usr/local/mailman/mail/mailman join foo". > > The confirmation would be a totally separate transaction beginning a > second or so later, probably with the same time stamp as the subscribe > log entry, for a message from foo-bounces at domain.com (or possibly > foo-bounces+user=example.com at domain.com if VERPed) with a mailman > generated message id like . > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > From mark at msapiro.net Sat Dec 4 00:04:10 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 03 Dec 2010 15:04:10 -0800 Subject: [Mailman-Users] Self Subscription Failing In-Reply-To: <19199690-BF31-4BBD-943B-F1F0F1392AEB@4j.lane.edu> References: <19199690-BF31-4BBD-943B-F1F0F1392AEB@4j.lane.edu> Message-ID: <4CF9776A.1010709@msapiro.net> On 12/3/2010 12:53 PM, Troy Knabe wrote: > Dec 3 08:25:39 mx2 sendmail[24159]: oB3GPd7A024159: from=, size=766, class=0, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1] > > And localhost is in /etc/hosts. And what are the rest of the log messages for this queue id (oB3GPd7A024159). In particular, the one showing the disposition of the message? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From joemailgroups at gmail.com Sun Dec 5 06:04:47 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Sat, 04 Dec 2010 21:04:47 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. Message-ID: Hello, All. I've just set up my first Mailman mailing list in OS X Server. It sends mail as welcome notifications were received by several different members subscribed to the mailing list. However, it doesn't seem to be receiving e-mail. All attempts I've made have resulted in Delivery Failure Notifications. This is the text returned with this Delivery Failure Notifications: > Delivery to the following recipient failed permanently: > > list at 3domain.com > > Technical details of permanent failure: > Google tried to deliver your message, but it was rejected by the recipient > domain. We recommend contacting the other email provider for further > information about the cause of this error. The error that the other server > returned was: 550 550 5.1.1 : Recipient address rejected: > User unknown in virtual alias table (state 14). What could be the cause ? In order for a Mailman list to work properly do I need to create an account for it in Workgroup Manager with its e-mail address ? Sorry if this is a simple question but I am not an IT specialist and don't have any experience with Mailman. Thank you in advance, Joe From mark at msapiro.net Sun Dec 5 17:36:27 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 5 Dec 2010 08:36:27 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: JRC Groups wrote: > >This is the text returned with this Delivery Failure Notifications: > >> Delivery to the following recipient failed permanently: >> >> list at 3domain.com >> >> Technical details of permanent failure: >> Google tried to deliver your message, but it was rejected by the recipient >> domain. We recommend contacting the other email provider for further >> information about the cause of this error. The error that the other server >> returned was: 550 550 5.1.1 : Recipient address rejected: >> User unknown in virtual alias table (state 14). > >What could be the cause ? If your MTA is Postfix, you don't have entries for list at domain.com and the list-* administrative addresses in a virtual_alias_maps file. If it's some other MTA you have the equivalent issue. >In order for a Mailman list to work properly do I need to create an account >for it in Workgroup Manager with its e-mail address ? No. If you are using Apple's package, this is really a question for Apple, but we can try to help. If the MTA is Postfix, post the output from "sudo postconf -n". Also include a listing of the contents of Mailman's mm_cfg.py. Did you create the list with Mailman's bin/newlist, Mailman's web interface or Apple's GUI? See and its subsections 6.1.1 and 6.1.2. Also see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rgm at htt-consult.com Mon Dec 6 07:04:38 2010 From: rgm at htt-consult.com (Robert Moskowitz) Date: Mon, 06 Dec 2010 01:04:38 -0500 Subject: [Mailman-Users] Trying again from the start -- Re: Help in understanding Mailman setup In-Reply-To: References: Message-ID: <4CFC7CF6.5060505@htt-consult.com> I have totally rebuilt my system and am trying to 'Do It Right The First Time' (DIRTFT). Not quite succeeding. See below, I am hung up with no /etc/mailman/virtual-mailman On 12/02/2010 07:21 PM, Mark Sapiro wrote: > Robert Moskowitz wrote: > >> On this fedora 12 system I finally found the directory at: >> >> > > [...] > >> this is the same as the doc files I have been reading. So I studied >> postfix a bit more and took a plunge and got most things working. >> Rather I got the list I created with the web interface working, but not >> the mailman list I created with the script in the beginning. Now that >> might have been because I did not have other things set up right. >> >> I have one test user subscribed to both the 'mailman' and the 'newlist' >> lists. The 'newlist' works. But with the 'mailman' list I get the error: >> >> : mail for mailman.htt-consult.com >> loops back to myself >> >> Note this is the same domain as newlist at mailman.htt-consult.com And >> mailman.htt-consult.com is a virtual host name. >> > > I'm guessing you followed the Postfix integration instructions as > indicated by the below, but you had previously created the 'mailman' > list so its virtual mappings are not in virtual-mailman. > This time I 'thought' I had everything together. I had my mm_cfg.py configured as before; I had copied it from the system before the reinstall and just overwrote what was there. I modified /etc/postfix/main.cf as instructed. I was able to run the: /usr/lib/mailman/bin/newlist mailman And it created the /etc/mailman/aliases and aliases.db files. But no virtual-mailman files. Ooops. I did not setup a SQL table entry for my virtual host: mailman.htt-consult.com. I went back and added this to the domain table and ran the > Run as root or mailman > > /usr/lib/mailman/bin/genaliases > > to rebuild the aliases and virtual-mailman files from the current > config. > But still no virtual-mailman. Also I am not getting the URL http://mailman.htt-consult.com/mailman to work. I **THINK** I have properly merged the Amahi template with the mailman.conf files in /etc/httpd/conf.d/ But either I still have it wrong, or the lack of the virtual-mailman files is impacting this as well. So do I delete the mailman list (how?) and try again??? > > >>> If you need further help, please post the output of 'postconf -n', the >>> relevant parts of main.cf and the delivery status message from the >>> Postfix log or the received DSN when you attempt to mail to a list >>> address. >>> >> When I first ran the '.../newlist mailman' it created the mailman list >> and printed out lines to add to /etc/aliases and then to run >> newaliases. Now when I ran this I had NOT added the MTA line to the >> mm_cfg.py file and that might have been why it was printed in this >> manner? Anyway below is my current mm_cfg.py and output from 'postconf >> -n'. I am planning on doing a rebuild of the system and see if I can >> get through in one go-around a complete system build. If I can, then I >> can move my mail folders over from the running system and go live with >> the new. If not, well some more fiddling until I can try again.... >> >> mm-cfg.py (comment lines pulled for compactness): >> >> > [...] > >> DEFAULT_URL_HOST = 'mailman.htt-consult.com' >> DEFAULT_EMAIL_HOST = 'mailman.htt-consult.com' >> >> VIRTUAL_HOSTS.clear() >> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >> >> POSTFIX_STYLE_VIRTUAL_DOMAINS = 'mailman.htt-consult.com' >> > > The above is a problem. It needs to be a sequence of domains, not a > single domain. This needs to be fixed before running genaliases. Make > it > > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mailman.htt-consult.com'] > > The square brackets are important. > > > >> MTA = 'Postfix' >> >> >> postconf -n: >> >> > [...] > > This looks OK to me. The important things are the mailman entries in > > alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases > > and > > virtual_alias_maps = > proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, > mysql:/etc/postfix/mysql-virtual_email2email.cf, > hash:/etc/mailman/virtual-mailman > > However, you probably also want > > recipient_delimiter = + > > if you are ever going to enable any VERP options in Mailman. I got this right this time... I think :) From joemailgroups at gmail.com Mon Dec 6 07:22:15 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Sun, 05 Dec 2010 22:22:15 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: On 12/5/10 8:36 AM, "Mark Sapiro" wrote: > JRC Groups wrote: >> >> This is the text returned with this Delivery Failure Notifications: >> >>> Delivery to the following recipient failed permanently: >>> >>> list at 3domain.com >>> >>> Technical details of permanent failure: >>> Google tried to deliver your message, but it was rejected by the recipient >>> domain. We recommend contacting the other email provider for further >>> information about the cause of this error. The error that the other server >>> returned was: 550 550 5.1.1 : Recipient address rejected: >>> User unknown in virtual alias table (state 14). >> >> What could be the cause ? > > > If your MTA is Postfix, you don't have entries for list at domain.com and > the list-* administrative addresses in a virtual_alias_maps file. > > If it's some other MTA you have the equivalent issue. > > >> In order for a Mailman list to work properly do I need to create an account >> for it in Workgroup Manager with its e-mail address ? > > > No. > > If you are using Apple's package, this is really a question for Apple, > but we can try to help. If the MTA is Postfix, post the output from > "sudo postconf -n". Also include a listing of the contents of > Mailman's mm_cfg.py. I am posting the output from "sudo postconf -n" in a following post to keep it separate from my answers here for clarity's sake. I tried to find the mm_cfg.py file but couldn't locate it. A spotlight search in OS X returned no entries under this name. Even a spotlight search under mailman returned no entries. Where would this file be located ? > Did you create the list with Mailman's bin/newlist, Mailman's web > interface or Apple's GUI? I created the list using Apple's GUI and then used Mailman's web interface to configure and change some settings according to the needs of the list I created. > See and its > subsections 6.1.1 and 6.1.2. Also see the FAQ at > . Thank you, Joe From joemailgroups at gmail.com Mon Dec 6 07:26:46 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Sun, 05 Dec 2010 22:26:46 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: On 12/5/10 8:36 AM, "Mark Sapiro" wrote: > If you are using Apple's package, this is really a question for Apple, > but we can try to help. If the MTA is Postfix, post the output from > "sudo postconf -n". Also include a listing of the contents of > Mailman's mm_cfg.py. Output from the "sudo postconf -n" command: alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases biff = no command_directory = /usr/sbin config_directory = /etc/postfix content_filter = smtp-amavis:[127.0.0.1]:10024 daemon_directory = /usr/libexec/postfix debug_peer_level = 2 enable_server_options = yes header_checks = pcre:/etc/postfix/custom_header_checks html_directory = /usr/share/doc/postfix/html inet_interfaces = all mail_owner = _postfix mailbox_size_limit = 0 mailbox_transport = dovecot mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man message_size_limit = 0 mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = main.private mydomain_fallback = localhost mynetworks = 127.0.0.0/8,192.168.2.0/24 newaliases_path = /usr/bin/newaliases owner_request_special = no queue_directory = /private/var/spool/postfix readme_directory = /usr/share/doc/postfix recipient_delimiter = + relayhost = sample_directory = /usr/share/doc/postfix/examples sendmail_path = /usr/sbin/sendmail setgid_group = _postdrop smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit smtpd_enforce_tls = no smtpd_helo_required = yes smtpd_helo_restrictions = reject_invalid_helo_hostname reject_non_fqdn_helo_hostname smtpd_pw_server_security_options = login,cram-md5 smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination check_policy_service unix:private/policy permit smtpd_sasl_auth_enable = yes smtpd_tls_CAfile = /etc/certificates/dentserv.main.private.F73718CA2507E8DBBF5C75FF9DF888A6F3E0 2A28.chain.pem smtpd_tls_cert_file = /etc/certificates/dentserv.main.private.F73718CA2507E8DBBF5C75FF9DF888A6F3E0 2A28.cert.pem smtpd_tls_exclude_ciphers = SSLv2, aNULL, ADH, eNULL smtpd_tls_key_file = /etc/certificates/dentserv.main.private.F73718CA2507E8DBBF5C75FF9DF888A6F3E0 2A28.key.pem smtpd_tls_loglevel = 0 smtpd_use_pw_server = yes smtpd_use_tls = no tls_random_source = dev:/dev/urandom unknown_local_recipient_reject_code = 550 virtual_alias_domains = $virtual_alias_maps hash:/etc/postfix/virtual_domains virtual_alias_maps = hash:/etc/postfix/virtual_users From ctoomey at gmail.com Sun Dec 5 23:29:58 2010 From: ctoomey at gmail.com (Chris Toomey) Date: Sun, 5 Dec 2010 14:29:58 -0800 Subject: [Mailman-Users] htdig integration patches to be updated for 2.1.14? Message-ID: Hi, I'd like to do a fresh install of mailman with the htdig integration as described at http://www.mail-archive.com/mailman-users at python.org/msg11713.html . However, the 2 patches were last updated for mailman 2.1.10 and mailman's now up to version 2.1.14. Can somebody update those patches for 2.1.14, or should I just go with 2.1.10? Also, I've not been able to find any documentation on the changes made in each mailman release so it's hard to tell what I'd be giving up in going w/ 2.1.10 -- can someone point me to where that release info. is? thx, Chris From vadiveldotnet at gmail.com Mon Dec 6 07:26:09 2010 From: vadiveldotnet at gmail.com (M.Vadivel Kumar) Date: Mon, 6 Dec 2010 11:56:09 +0530 Subject: [Mailman-Users] how to configure in rhel inbuilt sendmail with mailman Message-ID: Dear Friends how to configure in rhel inbuilt sendmail with mailman i install sendmail with mailman it's working i create lists but i cant send mail from sendmail please tell me the steps -- Regards M.Vadivel Kumar Mobile : 9894448512 From mark at msapiro.net Mon Dec 6 17:28:47 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 6 Dec 2010 08:28:47 -0800 Subject: [Mailman-Users] Trying again from the start -- Re: Help in understandingMailman setup In-Reply-To: <4CFC7CF6.5060505@htt-consult.com> Message-ID: Robert Moskowitz wrote: >I have totally rebuilt my system and am trying to 'Do It Right The First >Time' (DIRTFT). > >Not quite succeeding. See below, I am hung up with no >/etc/mailman/virtual-mailman [...] >This time I 'thought' I had everything together. I had my mm_cfg.py >configured as before; I had copied it from the system before the >reinstall and just overwrote what was there. I modified >/etc/postfix/main.cf as instructed. I was able to run the: > >/usr/lib/mailman/bin/newlist mailman > >And it created the /etc/mailman/aliases and aliases.db files. But no >virtual-mailman files. Ooops. I did not setup a SQL table entry for my >virtual host: mailman.htt-consult.com. I went back and added this to >the domain table and ran the > > >> Run as root or mailman >> >> /usr/lib/mailman/bin/genaliases >> >> to rebuild the aliases and virtual-mailman files from the current >> config. >> > > >But still no virtual-mailman. The lack of the virtual host definition in Postfix would have no effect on whether or not Mailman creates the virtual-mailman file. Mailman creates virtual-mailman if and only if there is a list or lists with a host_name that matches one of the POSTFIX_STYLE_VIRTUAL_DOMAINS entries. >Also I am not getting the URL >http://mailman.htt-consult.com/mailman to work. I **THINK** I have >properly merged the Amahi template with the mailman.conf files in >/etc/httpd/conf.d/ But either I still have it wrong, or the lack of the >virtual-mailman files is impacting this as well. This is strictly a web server configuration issue. it has nothing to do with virtual-mailman which affects only Postfix. >So do I delete the mailman list (how?) and try again??? You can delete lists with Mailman's bin/rmlist, but you don't need to. Once you get mm_cfg.py correct, you can run bin/genaliases to create virtual-mailman. If you make changes to DEFAULT_EMAIL_HOST, you may first need to run bin/withlist -l -r fix_url mailman to fix the mailman list's host_name. [...] >>> DEFAULT_URL_HOST = 'mailman.htt-consult.com' >>> DEFAULT_EMAIL_HOST = 'mailman.htt-consult.com' >>> >>> VIRTUAL_HOSTS.clear() >>> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >>> >>> POSTFIX_STYLE_VIRTUAL_DOMAINS = 'mailman.htt-consult.com' >>> >> >> The above is a problem. It needs to be a sequence of domains, not a >> single domain. This needs to be fixed before running genaliases. Make >> it >> >> POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mailman.htt-consult.com'] >> >> The square brackets are important. >> >> >> >>> MTA = 'Postfix' Did you make the above change to POSTFIX_STYLE_VIRTUAL_DOMAINS? If not, that explains the lack of virtual-mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From donald.teed at gmail.com Mon Dec 6 17:50:42 2010 From: donald.teed at gmail.com (D G Teed) Date: Mon, 6 Dec 2010 12:50:42 -0400 Subject: [Mailman-Users] query moderation bit in a list Message-ID: Hello, We need to lookup who is not moderated in a list with a large membership. Is there a simple command line query to handle that? I have a feeling we looked this up before, but can't find any notes on it nor previous questions in this support list. --Donald From mark at msapiro.net Mon Dec 6 18:18:48 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 06 Dec 2010 09:18:48 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: References: Message-ID: <4CFD1AF8.7020702@msapiro.net> On 12/5/2010 10:22 PM, JRC Groups wrote: > > I am posting the output from "sudo postconf -n" in a following post to keep > it separate from my answers here for clarity's sake. I tried to find the > mm_cfg.py file but couldn't locate it. A spotlight search in OS X returned > no entries under this name. Even a spotlight search under mailman returned > no entries. Where would this file be located ? According to the FAQ at , it should be /usr/share/mailman/Mailman/mm_cfg.py. If it's not there, I don't know where it might be. >> Did you create the list with Mailman's bin/newlist, Mailman's web >> interface or Apple's GUI? > > I created the list using Apple's GUI and then used Mailman's web interface > to configure and change some settings according to the needs of the list I > created. I don't know how Apple's GUI creates lists, but if it created entries for the list in /var/mailman/data/aliases it should also create virtual mappings in /var/mailman/data/virtual-mailman and that file should be referenced in Postfix main.cf virtual_alias_maps, e.g. virtual_alias_maps = hash:/etc/postfix/virtual_users, hash:/var/mailman/data/virtual-mailman If virtual-mailman is not created, there is something missing from mm_cfg.py. There should be POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain.com'] in mm_cfg.py. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Dec 6 18:52:31 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 6 Dec 2010 09:52:31 -0800 Subject: [Mailman-Users] query moderation bit in a list In-Reply-To: Message-ID: D G Teed wrote: > >We need to lookup who is not moderated in a list with a large membership. > >Is there a simple command line query to handle that? See -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From donald.teed at gmail.com Mon Dec 6 19:25:27 2010 From: donald.teed at gmail.com (D G Teed) Date: Mon, 6 Dec 2010 14:25:27 -0400 Subject: [Mailman-Users] query moderation bit in a list In-Reply-To: References: Message-ID: On Mon, Dec 6, 2010 at 1:52 PM, Mark Sapiro wrote: > D G Teed wrote: > > > >We need to lookup who is not moderated in a list with a large membership. > > > >Is there a simple command line query to handle that? > > > See > > Thanks, that was perfect. Finding who doesn't have moderation is easy from there. A diff between this output and list_members output. --Donald From mark at msapiro.net Mon Dec 6 19:34:58 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 6 Dec 2010 10:34:58 -0800 Subject: [Mailman-Users] query moderation bit in a list In-Reply-To: Message-ID: D G Teed wrote: >On Mon, Dec 6, 2010 at 1:52 PM, Mark Sapiro wrote: > >> D G Teed wrote: >> > >> >We need to lookup who is not moderated in a list with a large membership. >> > >> >Is there a simple command line query to handle that? >> >> >> See >> >> > >Thanks, that was perfect. Finding who doesn't have moderation is easy from >there. A diff between this output and list_members output. Or you can just use the -u or --unset option to the script. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rgm at htt-consult.com Mon Dec 6 20:34:53 2010 From: rgm at htt-consult.com (Robert Moskowitz) Date: Mon, 06 Dec 2010 14:34:53 -0500 Subject: [Mailman-Users] Trying again from the start -- Re: Help in understandingMailman setup In-Reply-To: References: Message-ID: <4CFD3ADD.9000408@htt-consult.com> I did an yum erase mailman, then install mailman. Made sure that the virtual host was defined in postfix. Emptied out the /etc/mailman/aliases and ran the script again to make the mailman list and this time I got the virtual-mailman file. But still no web interface. See below. On 12/06/2010 11:28 AM, Mark Sapiro wrote: > Robert Moskowitz wrote: > > >> Also I am not getting the URL >> http://mailman.htt-consult.com/mailman to work. I **THINK** I have >> properly merged the Amahi template with the mailman.conf files in >> /etc/httpd/conf.d/ But either I still have it wrong, or the lack of the >> virtual-mailman files is impacting this as well. >> > > This is strictly a web server configuration issue. it has nothing to do > with virtual-mailman which affects only Postfix. Pulling out my hair on this one. I copied the content of /etc/http/conf.d/mailman.conf into the block in /etc/http/conf.d/1004-mailman.conf and renamed mailman.conf. All my other virtual host URLs are working. Not this one. And I had THIS working with no trouble on my pervious build attempt. I **THINK** I created the .conf right, and I don't THINK I did anything else to get it working! ARGH!!! No error messages. It just waits a while, and then goes to the site's main URL instead of the virtual host. From mark at msapiro.net Mon Dec 6 20:42:43 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 6 Dec 2010 11:42:43 -0800 Subject: [Mailman-Users] htdig integration patches to be updated for 2.1.14? In-Reply-To: Message-ID: Chris Toomey wrote: > >Can somebody update those patches for 2.1.14, or should I just go with >2.1.10? Also, I've not been able to find any documentation on the changes >made in each mailman release so it's hard to tell what I'd be giving up in >going w/ 2.1.10 -- can someone point me to where that release info. is? There is a set of patches against the 2.1.14 base at . You can see the release by release changes in the NEWS file either in the 2.1.14 tarball or at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Dec 6 20:59:17 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 6 Dec 2010 11:59:17 -0800 Subject: [Mailman-Users] Trying again from the start -- Re: Help in understandingMailmansetup In-Reply-To: <4CFD3ADD.9000408@htt-consult.com> Message-ID: Robert Moskowitz wrote: > >I copied the content of /etc/http/conf.d/mailman.conf into the > block in >/etc/http/conf.d/1004-mailman.conf and renamed mailman.conf. All my >other virtual host URLs are working. Not this one. And I had THIS >working with no trouble on my pervious build attempt. I **THINK** I >created the .conf right, and I don't THINK I did anything else to get it >working! ARGH!!! > >No error messages. It just waits a while, and then goes to the site's >main URL instead of the virtual host. What exact Mailman related directives do you have in this VirtualHost block? Are there any other VirtualHost blocks in /etc/httpd/conf/httpd.conf or /etc/httpd/conf.d/*.conf that might conflict with this one? Note also that you indicate the path as /etc/http/conf.d/ which may be a typo in your email or may be correct, but the usual path is /etc/httpd/conf.d/. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rgm at htt-consult.com Mon Dec 6 21:21:53 2010 From: rgm at htt-consult.com (Robert Moskowitz) Date: Mon, 06 Dec 2010 15:21:53 -0500 Subject: [Mailman-Users] Trying again from the start -- Re: Help in understandingMailmansetup In-Reply-To: References: Message-ID: <4CFD45E1.2070208@htt-consult.com> On 12/06/2010 02:59 PM, Mark Sapiro wrote: > Robert Moskowitz wrote: > >> I copied the content of /etc/http/conf.d/mailman.conf into the >> block in >> /etc/http/conf.d/1004-mailman.conf and renamed mailman.conf. All my >> other virtual host URLs are working. Not this one. And I had THIS >> working with no trouble on my pervious build attempt. I **THINK** I >> created the .conf right, and I don't THINK I did anything else to get it >> working! ARGH!!! >> >> No error messages. It just waits a while, and then goes to the site's >> main URL instead of the virtual host. >> > > What exact Mailman related directives do you have in this VirtualHost > block? > > Are there any other VirtualHost blocks in /etc/httpd/conf/httpd.conf or > /etc/httpd/conf.d/*.conf that might conflict with this one? > I renamed mailman.conf to mailman.conf.rpm The line in /etc/httpd/conf/httpd.conf that loads the virtual hosts is: Include conf.d/*.conf There is no 'mailman' string in any of the conf files but the one below, /etc/httpd/conf.d/1004-mailman.conf > Note also that you indicate the path as /etc/http/conf.d/ which may be > a typo in your email or may be correct, but the usual path is > /etc/httpd/conf.d/. Yes a typo. And here it is. ServerName mailman # # httpd configuration settings for use with mailman. # ScriptAlias mailman.htt-consult.com/mailman/ /usr/lib/mailman/cgi-bin/ AllowOverride None Options ExecCGI Order allow,deny Allow from all Alias mailman.htt-consult.com/pipermail/ /var/lib/mailman/archives/public/ Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny Allow from all AddDefaultCharset Off # Uncomment the following line, replacing www.example.com with your server's # name, to redirect queries to /mailman to the listinfo page (recommended). RedirectMatch ^/mailman[/]*$ http://mailman.htt-consult.com/mailman/listinfo ErrorLog /var/hda/web-apps/mailman/logs/error_log CustomLog /var/hda/web-apps/mailman/logs/access_log combined env=!dontlog From mark at msapiro.net Mon Dec 6 21:34:51 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 6 Dec 2010 12:34:51 -0800 Subject: [Mailman-Users] Trying again from the start -- Re: Help in understandingMailmansetup In-Reply-To: <4CFD45E1.2070208@htt-consult.com> Message-ID: Robert Moskowitz wrote: > > > > ServerName mailman > ># ># httpd configuration settings for use with mailman. ># > >ScriptAlias mailman.htt-consult.com/mailman/ /usr/lib/mailman/cgi-bin/ I am not an expert on named virtual hosts, but I think the above should be ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ [...] > >Alias mailman.htt-consult.com/pipermail/ /var/lib/mailman/archives/public/ And I think the above should be Alias /pipermail/ /var/lib/mailman/archives/public/ -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Dec 6 21:48:23 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 6 Dec 2010 12:48:23 -0800 Subject: [Mailman-Users] Trying again from the start -- Re: Help inunderstandingMailmansetup In-Reply-To: Message-ID: Mark Sapiro wrote: >Robert Moskowitz wrote: >> >> >> >> ServerName mailman Same caveat as below, but I also think this should be ServerName mailman.htt-consult.com >># >># httpd configuration settings for use with mailman. >># >> >>ScriptAlias mailman.htt-consult.com/mailman/ /usr/lib/mailman/cgi-bin/ > > >I am not an expert on named virtual hosts, but I think the above should >be > >ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ > > > >[...] >> >>Alias mailman.htt-consult.com/pipermail/ /var/lib/mailman/archives/public/ > > >And I think the above should be > >Alias /pipermail/ /var/lib/mailman/archives/public/ > >-- >Mark Sapiro The highway is for gamblers, >San Francisco Bay Area, California better use your sense - B. Dylan > >------------------------------------------------------ >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/mark%40msapiro.netple.com -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Dec 6 22:05:06 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 06 Dec 2010 13:05:06 -0800 Subject: [Mailman-Users] how to configure in rhel inbuilt sendmail with mailman In-Reply-To: References: Message-ID: <4CFD5002.5000208@msapiro.net> On 12/5/2010 10:26 PM, M.Vadivel Kumar wrote: > > how to configure in rhel inbuilt sendmail with mailman > i install sendmail with mailman it's working i create lists but i cant send > mail from sendmail > please tell me the steps Can you send mail from the Mailman machine via the sendmail command? Can you "telnet localhost 25" from the Mailman machine and receive a reply from sendmail? If sendmail is configured to listen on port 25 and relay mail from localhost, it should work for outbound mail from Mailman, and it should work with standard list aliases for inbound mail to Mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rgm at htt-consult.com Mon Dec 6 22:05:57 2010 From: rgm at htt-consult.com (Robert Moskowitz) Date: Mon, 06 Dec 2010 16:05:57 -0500 Subject: [Mailman-Users] Trying again from the start -- Re: Help in understandingMailmansetup In-Reply-To: References: Message-ID: <4CFD5035.4020801@htt-consult.com> On 12/06/2010 03:34 PM, Mark Sapiro wrote: > Robert Moskowitz wrote: > >> >> >> ServerName mailman >> >> # >> # httpd configuration settings for use with mailman. >> # >> >> ScriptAlias mailman.htt-consult.com/mailman/ /usr/lib/mailman/cgi-bin/ >> > > I am not an expert on named virtual hosts, but I think the above should > be > > ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ > This does not work either. I am fairly sure that I had it wtih the full virtual host URL last time. Somewhere you HAVE to provide the URL name. Hmmmm.... Looking again at Squirrelmail, I see it uses ServerAlias, not ScriptAlias. But changing this and reloading httpd does not make any difference. I also tried making the ServerName the full fqdn, but then I got the Apache test page. So that is not the answer either. It is frustrating because this part I HAD working. > > > [...] > >> Alias mailman.htt-consult.com/pipermail/ /var/lib/mailman/archives/public/ >> > > And I think the above should be > > Alias /pipermail/ /var/lib/mailman/archives/public/ > > From rgm at htt-consult.com Mon Dec 6 22:23:46 2010 From: rgm at htt-consult.com (Robert Moskowitz) Date: Mon, 06 Dec 2010 16:23:46 -0500 Subject: [Mailman-Users] Trying again from the start -- Re: Help inunderstandingMailmansetup In-Reply-To: References: Message-ID: <4CFD5462.1@htt-consult.com> On 12/06/2010 03:48 PM, Mark Sapiro wrote: > Mark Sapiro wrote: > > >> Robert Moskowitz wrote: >> >>> >>> >>> ServerName mailman >>> > > Same caveat as below, but I also think this should be > > ServerName mailman.htt-consult.com > > > >>> # >>> # httpd configuration settings for use with mailman. >>> # >>> >>> ScriptAlias mailman.htt-consult.com/mailman/ /usr/lib/mailman/cgi-bin/ >>> >> >> I am not an expert on named virtual hosts, but I think the above should >> be >> >> ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ >> What I just tried is: ServerName mailman ServerAlias mailman.htt-consult.com ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ RedirectMatch ^/mailman[/]*$ http://mailman.htt-consult.com/mailman/listinfo And now I get: Bug in Mailman version 2.1.12 We're sorry, we hit a bug! And it tells me to look in the Mailman error logs. I see errors in the /var/hda/web-apps/mailman/logs/error_log. I will have to move it over to this system via a USB drive... So progress! >> >> >> [...] >> >>> Alias mailman.htt-consult.com/pipermail/ /var/lib/mailman/archives/public/ >>> >> >> And I think the above should be >> >> Alias /pipermail/ /var/lib/mailman/archives/public/ >> >> -- >> Mark Sapiro The highway is for gamblers, >> San Francisco Bay Area, California better use your sense - B. Dylan >> >> ------------------------------------------------------ >> 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/mark%40msapiro.net >> From adam-mailman at amyl.org.uk Mon Dec 6 22:25:15 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Mon, 6 Dec 2010 21:25:15 +0000 Subject: [Mailman-Users] Trying again from the start -- Re: Help in understandingMailmansetup In-Reply-To: <4CFD45E1.2070208@htt-consult.com> References: <4CFD45E1.2070208@htt-consult.com> Message-ID: <20101206212515.GA26570@hendricks.amyl.org.uk> On Mon, Dec 06, 2010 at 03:21:53PM -0500, Robert Moskowitz wrote: > On 12/06/2010 02:59 PM, Mark Sapiro wrote: >> What exact Mailman related directives do you have in this VirtualHost >> block? > > ServerName mailman change that to a FQDN (mailman.example.org). > ScriptAlias mailman.htt-consult.com/mailman/ /usr/lib/mailman/cgi-bin/ Change that to ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ > > AllowOverride None > Options ExecCGI > Order allow,deny > Allow from all > If you're not going to ScriptAlias (admin,admindb,confirm,create...) &c, keep that, if you will ScriptAlias each, it's possibly superflous. > Alias mailman.htt-consult.com/pipermail/ /var/lib/mailman/archives/public/ Alias /pipermail/ /var/lib/mailman/archives/public/ > > Options Indexes MultiViews FollowSymLinks Do you need Multiviews? > AllowOverride None > Order allow,deny > Allow from all > AddDefaultCharset Off > > ErrorLog /var/hda/web-apps/mailman/logs/error_log > CustomLog /var/hda/web-apps/mailman/logs/access_log combined > "apachectl configtest" may be your friend, here, too -- "In Lent she ate onion soup and gave up drink; but otherwise she must have drunk the maximum compatible with survival and sanity." (Telegraph Obit of Jennifer Paterson, one of the 'Two Fat Ladies') From rgm at htt-consult.com Mon Dec 6 22:31:27 2010 From: rgm at htt-consult.com (Robert Moskowitz) Date: Mon, 06 Dec 2010 16:31:27 -0500 Subject: [Mailman-Users] Trying again from the start -- Re: Help inunderstandingMailmansetup In-Reply-To: <4CFD5462.1@htt-consult.com> References: <4CFD5462.1@htt-consult.com> Message-ID: <4CFD562F.3080202@htt-consult.com> On 12/06/2010 04:23 PM, Robert Moskowitz wrote: > On 12/06/2010 03:48 PM, Mark Sapiro wrote: >> Mark Sapiro wrote: >> >>> Robert Moskowitz wrote: >>>> >>>> >>>> ServerName mailman >> >> Same caveat as below, but I also think this should be >> >> ServerName mailman.htt-consult.com >> >> >>>> # >>>> # httpd configuration settings for use with mailman. >>>> # >>>> >>>> ScriptAlias mailman.htt-consult.com/mailman/ /usr/lib/mailman/cgi-bin/ >>> >>> I am not an expert on named virtual hosts, but I think the above should >>> be >>> >>> ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ > > What I just tried is: > > ServerName mailman > ServerAlias mailman.htt-consult.com > ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ > RedirectMatch ^/mailman[/]*$ > http://mailman.htt-consult.com/mailman/listinfo > > > And now I get: > > Bug in Mailman version 2.1.12 > > We're sorry, we hit a bug! > > And it tells me to look in the Mailman error logs. I see errors in > the /var/hda/web-apps/mailman/logs/error_log. I will have to move it > over to this system via a USB drive... > > So progress! Here is the error_log: [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- Mailman Version: 2.1.12 -----] [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- Traceback ------] [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] Traceback (most recent call last): [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File "/usr/lib/mailman/scripts/driver", line 85, in run_main [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] immediate=1) [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File "/usr/lib/mailman/Mailman/Logging/StampedLogger.py", line 52, in __init__ [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] Logger.__init__(self, category, nofail, immediate) [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File "/usr/lib/mailman/Mailman/Logging/Logger.py", line 50, in __init__ [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] self.__get_f() [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File "/usr/lib/mailman/Mailman/Logging/Logger.py", line 68, in __get_f [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 1) [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File "/usr/lib/python2.6/codecs.py", line 865, in open [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] file = __builtin__.open(filename, mode, buffering) [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] IOError: [Errno 13] Permission denied: '/var/log/mailman/error' [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- Python Information -----] [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] sys.version = 2.6.2 (r262:71600, Jun 4 2010, 18:28:04) [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [GCC 4.4.3 20100127 (Red Hat 4.4.3-4)] [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] sys.executable = /usr/bin/python [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] sys.prefix = /usr [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] sys.exec_prefix = /usr [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] sys.path = /usr [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] sys.platform = linux2 [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- Environment Variables -----] [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tHTTP_COOKIE: locale=en [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tSERVER_SOFTWARE: Apache/2.2.15 (Fedora) [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tSCRIPT_NAME: /mailman/listinfo [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tSERVER_SIGNATURE:
Apache/2.2.15 (Fedora) Server at mailman.htt-consult.com Port 80
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tREQUEST_METHOD: GET [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tHTTP_KEEP_ALIVE: 300 [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tSERVER_PROTOCOL: HTTP/1.1 [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tQUERY_STRING: [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tHTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7 [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tHTTP_USER_AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.5.15-1.fc12 Firefox/3.5.15 [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tHTTP_CONNECTION: keep-alive [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tSERVER_NAME: mailman.htt-consult.com [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tREMOTE_ADDR: 208.83.67.149 [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tSERVER_PORT: 80 [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tSERVER_ADDR: 208.83.67.149 [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tDOCUMENT_ROOT: /var/www/html [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tPYTHONPATH: /usr/lib/mailman [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tSCRIPT_FILENAME: /usr/lib/mailman/cgi-bin/listinfo [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tSERVER_ADMIN: root at localhost [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tHTTP_HOST: mailman.htt-consult.com [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tREQUEST_URI: /mailman/listinfo [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tHTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tGATEWAY_INTERFACE: CGI/1.1 [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tREMOTE_PORT: 59673 [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tHTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5 [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tHTTP_ACCEPT_ENCODING: gzip,deflate Note this system is double NATTED so I can build the system then move it to its planned network location and IP address. So the system currently accessable with that IP address is NOT the system I am working on. And the DNS info is only on my internal view, not reachable yet (I HOPE!). I wonder if these problems are due to my erasing then reinstalling mailman? From adam-mailman at amyl.org.uk Mon Dec 6 23:14:08 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Mon, 6 Dec 2010 22:14:08 +0000 Subject: [Mailman-Users] Trying again from the start -- Re: Help inunderstandingMailmansetup In-Reply-To: <4CFD562F.3080202@htt-consult.com> References: <4CFD5462.1@htt-consult.com> <4CFD562F.3080202@htt-consult.com> Message-ID: <20101206221408.GD8672@hendricks.amyl.org.uk> On Mon, Dec 06, 2010 at 04:31:27PM -0500, Robert Moskowitz wrote: > [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] IOError: [Errno 13] Permission denied: '/var/log/mailman/error' Is probably what I'd fix first, from that Trackback. -- "a moat is an effective barrier, especially if you manage water levels so an area in the middle is very shallow over gooey mud. A moat is also much prettier than a wall or razor wire" -- Dan Holdsworth From mark at msapiro.net Mon Dec 6 23:16:52 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 6 Dec 2010 14:16:52 -0800 Subject: [Mailman-Users] Trying again from the start -- Re: Help inunderstandingMailmansetup In-Reply-To: <4CFD562F.3080202@htt-consult.com> Message-ID: Robert Moskowitz wrote: > >Here is the error_log: > >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] >@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- Mailman >Version: 2.1.12 -----] >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- >Traceback ------] >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] Traceback >(most recent call last): >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >"/usr/lib/mailman/scripts/driver", line 85, in run_main >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] immediate=1) >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >"/usr/lib/mailman/Mailman/Logging/StampedLogger.py", line 52, in __init__ >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] >Logger.__init__(self, category, nofail, immediate) >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >"/usr/lib/mailman/Mailman/Logging/Logger.py", line 50, in __init__ >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] self.__get_f() >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >"/usr/lib/mailman/Mailman/Logging/Logger.py", line 68, in __get_f >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 1) >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >"/usr/lib/python2.6/codecs.py", line 865, in open >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] file = >__builtin__.open(filename, mode, buffering) >[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] IOError: >[Errno 13] Permission denied: '/var/log/mailman/error' The mailman user can't create or write the /var/log/mailman/error log file. Try running Mailman's bin/checkperms -f as root. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rgm at htt-consult.com Tue Dec 7 00:55:30 2010 From: rgm at htt-consult.com (Robert Moskowitz) Date: Mon, 06 Dec 2010 18:55:30 -0500 Subject: [Mailman-Users] Trying again from the start -- Re: Help inunderstandingMailmansetup In-Reply-To: <20101206221408.GD8672@hendricks.amyl.org.uk> References: <4CFD5462.1@htt-consult.com> <4CFD562F.3080202@htt-consult.com> <20101206221408.GD8672@hendricks.amyl.org.uk> Message-ID: <4CFD77F2.3010403@htt-consult.com> On 12/06/2010 05:14 PM, Adam McGreggor wrote: > On Mon, Dec 06, 2010 at 04:31:27PM -0500, Robert Moskowitz wrote: > >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] IOError: [Errno 13] Permission denied: '/var/log/mailman/error' >> > Is probably what I'd fix first, from that Trackback. Through trail and error, user apache needed access. Should user apache be added to the mailman group, as the files seem to have root:mailman or mailman:mailman as their owners? I am going to move on to testing out subscriptions, creating another list, and sending messages, then do one more rebuild to see that I have everything right. From rgm at htt-consult.com Tue Dec 7 00:59:57 2010 From: rgm at htt-consult.com (Robert Moskowitz) Date: Mon, 06 Dec 2010 18:59:57 -0500 Subject: [Mailman-Users] Trying again from the start -- Re: Help inunderstandingMailmansetup In-Reply-To: References: Message-ID: <4CFD78FD.4080504@htt-consult.com> On 12/06/2010 05:16 PM, Mark Sapiro wrote: > Robert Moskowitz wrote: > >> Here is the error_log: >> >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] >> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- Mailman >> Version: 2.1.12 -----] >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- >> Traceback ------] >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] Traceback >> (most recent call last): >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >> "/usr/lib/mailman/scripts/driver", line 85, in run_main >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] immediate=1) >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >> "/usr/lib/mailman/Mailman/Logging/StampedLogger.py", line 52, in __init__ >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] >> Logger.__init__(self, category, nofail, immediate) >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >> "/usr/lib/mailman/Mailman/Logging/Logger.py", line 50, in __init__ >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] self.__get_f() >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >> "/usr/lib/mailman/Mailman/Logging/Logger.py", line 68, in __get_f >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 1) >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >> "/usr/lib/python2.6/codecs.py", line 865, in open >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] file = >> __builtin__.open(filename, mode, buffering) >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] IOError: >> [Errno 13] Permission denied: '/var/log/mailman/error' >> > > The mailman user can't create or write the /var/log/mailman/error log > file. Try running Mailman's bin/checkperms -f as root. I was getting ready to reply no such command. But I dug a bit and found check_perms. Nice tool! Thanks! From rgm at htt-consult.com Tue Dec 7 01:15:54 2010 From: rgm at htt-consult.com (Robert Moskowitz) Date: Mon, 06 Dec 2010 19:15:54 -0500 Subject: [Mailman-Users] Up and runningRe: Trying again from the start -- Re: Help inunderstandingMailmansetup In-Reply-To: References: Message-ID: <4CFD7CBA.8060606@htt-consult.com> Thanks for the help! Now hopefully I have a full set of notes. And this time I will copy ALL the files from /etc /httpd, /mailman, and /postfix and I will have enough guidance for this to go right start to running. Then I can turn it over to some others on the Amahi that have expressed interest. On 12/06/2010 05:16 PM, Mark Sapiro wrote: > Robert Moskowitz wrote: > >> Here is the error_log: >> >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] >> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- Mailman >> Version: 2.1.12 -----] >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- >> Traceback ------] >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] Traceback >> (most recent call last): >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >> "/usr/lib/mailman/scripts/driver", line 85, in run_main >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] immediate=1) >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >> "/usr/lib/mailman/Mailman/Logging/StampedLogger.py", line 52, in __init__ >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] >> Logger.__init__(self, category, nofail, immediate) >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >> "/usr/lib/mailman/Mailman/Logging/Logger.py", line 50, in __init__ >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] self.__get_f() >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >> "/usr/lib/mailman/Mailman/Logging/Logger.py", line 68, in __get_f >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 1) >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] File >> "/usr/lib/python2.6/codecs.py", line 865, in open >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] file = >> __builtin__.open(filename, mode, buffering) >> [Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] IOError: >> [Errno 13] Permission denied: '/var/log/mailman/error' >> > > The mailman user can't create or write the /var/log/mailman/error log > file. Try running Mailman's bin/checkperms -f as root. > > From mark at msapiro.net Tue Dec 7 01:30:35 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 6 Dec 2010 16:30:35 -0800 Subject: [Mailman-Users] Trying again from the start -- Re: Help inunderstandingMailmansetup In-Reply-To: <4CFD77F2.3010403@htt-consult.com> Message-ID: Robert Moskowitz wrote: > >Through trail and error, user apache needed access. > >Should user apache be added to the mailman group, as the files seem to >have root:mailman or mailman:mailman as their owners? The way this is supposed to work is all the files in /usr/lib/mailman/cgi-bin/ are compiled wrappers that are supposed to be group 'mailman' and SETGID. Thus, when they are invoked through Apache's ScriptAlias, they run with effective group 'mailman'. See the FAQ at for more detail. You should not add user 'apache' to the 'mailman' group. This could potentially give public access to things which aren't public. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rgm at htt-consult.com Tue Dec 7 02:03:17 2010 From: rgm at htt-consult.com (Robert Moskowitz) Date: Mon, 06 Dec 2010 20:03:17 -0500 Subject: [Mailman-Users] Trying again from the start -- Re: Help inunderstandingMailmansetup In-Reply-To: References: Message-ID: <4CFD87D5.4010403@htt-consult.com> On 12/06/2010 07:30 PM, Mark Sapiro wrote: > Robert Moskowitz wrote: > >> Through trail and error, user apache needed access. >> >> Should user apache be added to the mailman group, as the files seem to >> have root:mailman or mailman:mailman as their owners? >> > > The way this is supposed to work is all the files in > /usr/lib/mailman/cgi-bin/ are compiled wrappers that are supposed to > be group 'mailman' and SETGID. Thus, when they are invoked through > Apache's ScriptAlias, they run with effective group 'mailman'. See the > FAQ at for more detail. > > You should not add user 'apache' to the 'mailman' group. This could > potentially give public access to things which aren't public. Ah, OK got it.... Well hopefully one more time to get it right the first time... :) From rgm at htt-consult.com Tue Dec 7 16:19:48 2010 From: rgm at htt-consult.com (Robert Moskowitz) Date: Tue, 07 Dec 2010 10:19:48 -0500 Subject: [Mailman-Users] Permission problems with /etc/mailman/*.db Message-ID: <4CFE5094.3090207@htt-consult.com> This is a clean install on Fedora 12, which provides Mailman 2.1.12 This time my cookbook seemed to be all in order. Everything was going great. Mailman list created and user added, message sent, then I locked up the Mailman list so it would not be available to viewers once I moved this box to a public network. Then I went to create my first list via /mailman/create. I got a bug. On checking the error_log, I see that create does not have permissions to /etc/mailman/aliases.db I go over to /etc/mailman, and I see that both aliases and virtual-mailman were updated, but NOT the .db files. The permissions on the .db files is 640, not 660! How come? So I ran check_perm -f as Mark recommended for the last permission problem (that I caused, but this time it was straight install stuff), and it fixed a number of errors: # /usr/lib/mailman/bin/check_perms -f /usr/lib/mailman/cron bad group (has: root, expected mailman) (fixing) directory permissions must be 02775: /usr/lib/mailman/cron (fixing) /usr/lib/mailman/Mailman bad group (has: root, expected mailman) (fixing) directory permissions must be 02775: /usr/lib/mailman/Mailman (fixing) /usr/lib/mailman/Mailman/mm_cfg.pyc bad group (has: root, expected mailman) (fixing) Warning: Private archive directory is other-executable (o+x). This could allow other users on your system to read private archives. If you're on a shared multiuser system, you should consult the installation manual on how to fix this. /etc/mailman/aliases.db owned by root (must be owned by mailman (fixing) /etc/mailman/aliases.db permissions must be 066x (got 0100640) (fixing) /etc/mailman/virtual-mailman.db owned by root (must be owned by mailman (fixing) /etc/mailman/virtual-mailman.db permissions must be 066x (got 0100640) (fixing) Problems found: 9 Re-run as mailman (or root) with -f flag to fix That is a LOT of errors for just installing with yum and running the mailman mmsitepass and newlist scripts! Now this is Fedora 12 with is eol, so we IF the problem is Fedora's packaging, we probably won't get it fixed here. But what about Fedora 13 & 14? I won't be working with 13 for mailman. I will be working on a Fedora 14 migration probably around February, so I can't check this out there for a while. I hope I won't encounter this little supprise then... But other than this little speed bump, I GOT IT UP AND RUNNING!!!! THANK YOU for your help. I know have to configure all the users in the SQL database (not really that hard), then rsync to mail from the old server to the new (after stopping mail on the old), then switch the servers out. I could be in production tonight. From bercken at xs4all.net Tue Dec 7 15:52:51 2010 From: bercken at xs4all.net (Ruud van den Bercken) Date: Tue, 7 Dec 2010 15:52:51 +0100 Subject: [Mailman-Users] Problems with hostnames Message-ID: <2A391AB0993F445A93B6113075C2583D@bak> Hi, On my debian leny I run the mailman 2.1.11 stable version in english language. I have different hostnames pointing to the server. Lets say, default is domain1. When I create a newlist and login to de admin-interface, I change the hostname to domain2. When the system sends mail to recipients (using postfix), it use only the default domain1 hostname in the links in the message. How could I change this/fix this so message sended to the users with links in it, points to the configured second domainname, domain2? Regards, Ruud From ctoomey at gmail.com Mon Dec 6 22:58:40 2010 From: ctoomey at gmail.com (Chris Toomey) Date: Mon, 6 Dec 2010 13:58:40 -0800 Subject: [Mailman-Users] htdig integration patches to be updated for 2.1.14? In-Reply-To: References: Message-ID: Great, thanks Mark. Will you or someone else be updating the sourceforge patches with these? Would be nice to keep the patches for various mm versions consolidated there. Chris On Mon, Dec 6, 2010 at 11:42 AM, Mark Sapiro wrote: > Chris Toomey wrote: > > > >Can somebody update those patches for 2.1.14, or should I just go with > >2.1.10? Also, I've not been able to find any documentation on the changes > >made in each mailman release so it's hard to tell what I'd be giving up in > >going w/ 2.1.10 -- can someone point me to where that release info. is? > > > There is a set of patches against the 2.1.14 base at > . > > You can see the release by release changes in the NEWS file either in > the 2.1.14 tarball or at > > >. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From ptomblin at xcski.com Tue Dec 7 16:03:59 2010 From: ptomblin at xcski.com (Paul Tomblin) Date: Tue, 7 Dec 2010 10:03:59 -0500 Subject: [Mailman-Users] Interesting problem with gmail users Message-ID: Note: this is NOT the frequently asked question about why GMail users don't see their own posts. I run a bunch of mailman mailing lists, and I'm subscribed to those lists from my GMail account. I also set up a filter to tag the posts from those mailing lists. However, the messages from some other GMail users on those mailing lists show a banner that says "Due to a filter you created, this message was not sent to Spam. Edit Filters". Other GMail users do not show that banner. The ones who do show the banner show it consistently for every message they send to the list (although not on messages they send me directly) and the ones who do not show the banner never show it. I've never seen it for a non-GMail address. I suspect it has something to do with the way GMail puts a DKIM-Signature and DomainKey-Signature on outgoing mail. Something Mailman is doing is making the signatures invalid. As a matter of fact, doing a "Show original" on a couple of the flagged messages seems to confirm that, with messages like Authentication-Results: mx.google.com; spf=pass (google.com: domain of geeks-bounces at list.xcski.com designates 69.164.214.240 as permitted sender) smtp.mail=geeks-bounces at list.xcski.com; dkim=neutral (body hash did not verify) header.i=@gmail.com So what are my options here? Can I strip out the DKIM headers within Mailman? Or should I just configure my mailserver to add a DKIM header? -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin From ruud at ruudux.nl Tue Dec 7 15:53:42 2010 From: ruud at ruudux.nl (Ruud) Date: Tue, 7 Dec 2010 15:53:42 +0100 Subject: [Mailman-Users] Problems with different hostnames Message-ID: <01FC2697FC784191A41AC236E5E6E9F0@bak> Hi, On my debian leny I run the mailman 2.1.11 stable version in english language. I have different hostnames pointing to the server. Lets say, default is domain1. When I create a newlist and login to de admin-interface, I change the hostname to domain2. When the system sends mail to recipients (using postfix), it use only the default domain1 hostname in the links in the message. How could I change this/fix this so message sended to the users with links in it, points to the configured second domainname, domain2? Regards, Ruud From mark at msapiro.net Tue Dec 7 18:47:13 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 7 Dec 2010 09:47:13 -0800 Subject: [Mailman-Users] Problems with different hostnames In-Reply-To: <01FC2697FC784191A41AC236E5E6E9F0@bak> Message-ID: Ruud wrote: > >On my debian leny I run the mailman 2.1.11 stable version in english >language. > >I have different hostnames pointing to the server. Lets say, default is >domain1. When I create a newlist and login to de admin-interface, I change >the hostname to domain2. > >When the system sends mail to recipients (using postfix), it use only the >default domain1 hostname in the links in the message. This is because there are two list attributes that contain the domain. They are host_name and web_page_url, and web_page_url is not visible in the admin GUI. >How could I change this/fix this so message sended to the users with links >in it, points to the configured second domainname, domain2? You need to add a second domain/host in mm_cfg.py add_virtualhost('domain2.tld', 'domain2.tld') Then you fix the list by running the Mailman command bin/withlist -l -r fix_url LISTNAME -u domain2.tld Also, 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 Dec 7 18:50:04 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 7 Dec 2010 09:50:04 -0800 Subject: [Mailman-Users] Problems with hostnames In-Reply-To: <2A391AB0993F445A93B6113075C2583D@bak> Message-ID: Ruud van den Bercken wrote: > >I have different hostnames pointing to the server. Lets say, default is >domain1. When I create a newlist and login to de admin-interface, I change >the hostname to domain2. > >When the system sends mail to recipients (using postfix), it use only the >default domain1 hostname in the links in the message. > >How could I change this/fix this so message sended to the users with links >in it, points to the configured second domainname, domain2? See the reply 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 Dec 7 19:13:13 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 7 Dec 2010 10:13:13 -0800 Subject: [Mailman-Users] Interesting problem with gmail users In-Reply-To: Message-ID: Paul Tomblin wrote: > >I suspect it has something to do with the way GMail puts a >DKIM-Signature and DomainKey-Signature on outgoing mail. Something >Mailman is doing is making the signatures invalid. If your list adds msg_header or msg_footer, that almost certainly breaks the signatures. If your list makes no alterations to the message body or subject or reply-to headers, it shouldn't break the signatures, but certain Python email library transformations over which Mailman has no control may break them anyway. >As a matter of >fact, doing a "Show original" on a couple of the flagged messages >seems to confirm that, with messages like > >Authentication-Results: mx.google.com; spf=pass (google.com: domain of >geeks-bounces at list.xcski.com designates 69.164.214.240 as permitted >sender) smtp.mail=geeks-bounces at list.xcski.com; dkim=neutral (body >hash did not verify) header.i=@gmail.com > >So what are my options here? Can I strip out the DKIM headers within >Mailman? Or should I just configure my mailserver to add a DKIM >header? Beginning in Mailman 2.1.7, these signatures were removed. Beginning in Mailman 2.1.10, this removal was made conditional on the new mm_cfg.py setting REMOVE_DKIM_HEADERS which defaults to No. So, assuming your Mailman is 2.1.10 or later, you can configure it to remove the headers by putting REMOVE_DKIM_HEADERS = Yes in mm_cfg.py. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Dec 7 19:27:13 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 07 Dec 2010 10:27:13 -0800 Subject: [Mailman-Users] htdig integration patches to be updated for 2.1.14? In-Reply-To: References: Message-ID: <4CFE7C81.5030402@msapiro.net> Chris Toomey wrote: > Great, thanks Mark. Will you or someone else be updating the sourceforge > patches with these? Would be nice to keep the patches for various mm > versions consolidated there. The SourceForge tracker is no longer used for Mailman. The current tracker is at Launchpad. The specific patches are at and . I have added a comment to these entries pointing to the later patches at and . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From ptomblin at xcski.com Tue Dec 7 20:40:28 2010 From: ptomblin at xcski.com (Paul Tomblin) Date: Tue, 7 Dec 2010 14:40:28 -0500 Subject: [Mailman-Users] Interesting problem with gmail users In-Reply-To: References: Message-ID: On Tue, Dec 7, 2010 at 1:13 PM, Mark Sapiro wrote: > REMOVE_DKIM_HEADERS = Yes Well, that worked in the sense that their messages no longer have the DKIM headers and the Authentication-Results header doesn't mention any problems: Authentication-Results: mx.google.com; spf=pass (google.com: domain of geeks-bounces at list.xcski.com designates 69.164.214.240 as permitted sender) smtp.mail=geeks-bounces at list.xcski.com However, those two users are still showing that banner "Due to a filter you created, this message was not sent to Spam. Edit Filters". I guess it's just a Google thing now, not a Mailman problem. But if anybody on the list has any insight into that banner and how to get rid of it, I'd like to hear it. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin From brad at shub-internet.org Wed Dec 8 00:17:46 2010 From: brad at shub-internet.org (Brad Knowles) Date: Tue, 7 Dec 2010 17:17:46 -0600 Subject: [Mailman-Users] Interesting problem with gmail users In-Reply-To: References: Message-ID: On Dec 7, 2010, at 1:40 PM, Paul Tomblin wrote: > However, those two users are still showing that banner "Due to a > filter you created, this message was not sent to Spam. Edit Filters". > I guess it's just a Google thing now, not a Mailman problem. But if > anybody on the list has any insight into that banner and how to get > rid of it, I'd like to hear it. Google knows better than you do what kinds of headers they're supposed to see on messages that claims to be coming from senders on Gmail. If you don't have those headers on your e-mail (maybe your mailing list management software removed them), then that would be likely to cause problems. -- Brad Knowles LinkedIn Profile: From carl at transitionus.org Wed Dec 8 01:05:28 2010 From: carl at transitionus.org (Carl Shuller) Date: Tue, 7 Dec 2010 16:05:28 -0800 Subject: [Mailman-Users] Moving administrative information to bottom of digest Message-ID: Take the digest from this list for example: Send Mailman-Users mailing list submissions to mailman-users at python.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman/listinfo/mailman-users or, via email, send a message with subject or body 'help' to mailman-users-request at python.org You can reach the person managing the list at mailman-users-owner at python.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Mailman-Users digest..." Is there a way to configure Mailman so this information is at the bottom of the digest? Thanks. Carl From mark at msapiro.net Wed Dec 8 03:13:48 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 7 Dec 2010 18:13:48 -0800 Subject: [Mailman-Users] Moving administrative information to bottom ofdigest In-Reply-To: Message-ID: Carl Shuller wrote: >Take the digest from this list for example: > >Send Mailman-Users mailing list submissions to > mailman-users at python.org > >To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/mailman-users >or, via email, send a message with subject or body 'help' to > mailman-users-request at python.org > >You can reach the person managing the list at > mailman-users-owner at python.org > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Mailman-Users digest..." > > >Is there a way to configure Mailman so this information is at the bottom of >the digest? Thanks. There are two ways to do this, neither of which is a configuration setting per se. The first way is to modify the code in Mailman/Handlers/ToDigest.py to move the addition of mastheadtxt and the masthead MIME part to the end of the digests. The second way is to make a list/domain/site specific masthead.txt template which is empty (See the FAQ at ). This will remove the masthead from the plain format digest, but leave an empty MIME part in the MIME digest. Then you could add the masthead information to digest_footer. Either of these methods requires access to the server's Mailman file system to either edit the handler or install the template. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From joemailgroups at gmail.com Wed Dec 8 03:40:52 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Tue, 07 Dec 2010 18:40:52 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: <4CFD1AF8.7020702@msapiro.net> Message-ID: Mark, Thank you for your help and for taking the time to answer my questions. Some questions and answers below next to your responses. On 12/6/10 9:18 AM, "Mark Sapiro" wrote: > On 12/5/2010 10:22 PM, JRC Groups wrote: >> >> I am posting the output from "sudo postconf -n" in a following post to keep >> it separate from my answers here for clarity's sake. I tried to find the >> mm_cfg.py file but couldn't locate it. A spotlight search in OS X returned >> no entries under this name. Even a spotlight search under mailman returned >> no entries. Where would this file be located ? > > > According to the FAQ at , it should be > /usr/share/mailman/Mailman/mm_cfg.py. If it's not there, I don't know > where it might be. I found it. The following are the contents of the /usr/share/mailman/Mailman/mm_cfg.py file I was able to display using the cat command: # -*- 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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 * ################################################## # Put YOUR site-specific settings below this line. MTA = 'Postfix' DEFAULT_EMAIL_HOST = 'dentserv.main.private' DEFAULT_URL_HOST = 'dentserv.main.private' >>> Did you create the list with Mailman's bin/newlist, Mailman's web >>> interface or Apple's GUI? >> >> I created the list using Apple's GUI and then used Mailman's web interface >> to configure and change some settings according to the needs of the list I >> created. > > > I don't know how Apple's GUI creates lists, but if it created entries > for the list in /var/mailman/data/aliases it should also create virtual > mappings in /var/mailman/data/virtual-mailman and that file should be > referenced in Postfix main.cf virtual_alias_maps, e.g. > > virtual_alias_maps = hash:/etc/postfix/virtual_users, > hash:/var/mailman/data/virtual-mailman > > If virtual-mailman is not created, there is something missing from > mm_cfg.py. There should be > > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain.com'] > > in mm_cfg.py. I've tried Apple but it has become quite clear that they are neither properly equipped nor interested in resolving the problems with Mailman (or with OS X Server for that matter). Can you guide me on how to correct these problems ? Thank you in advance for your help, Joe From mark at msapiro.net Wed Dec 8 17:13:20 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 8 Dec 2010 08:13:20 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: JRC Groups wrote: > >############################################### ># Here's where we get the distributed defaults. > >from Defaults import * > >################################################## ># Put YOUR site-specific settings below this line. >MTA = 'Postfix' >DEFAULT_EMAIL_HOST = 'dentserv.main.private' >DEFAULT_URL_HOST = 'dentserv.main.private' > Assuming that all your Mailman lists are/will be in the domain.com domain and that mail will be sent to addresses like LIST at domain.com and web access to mailman will be via URLs beginning 'http://www.domain.com/' (if this will be 'http://domain.com/', drop the 'www.' below), change the above two lines to DEFAULT_EMAIL_HOST = 'domain.com' DEFAULT_URL_HOST = 'www.domain.com' and add VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) The original error and your postconf -n post indicate that domain.com is not local in Postfix. Thus you also need to add here POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain.com'] After editing mm_cfg.py as above, run sudo /usr/share/mailman/bin/withlist -l -a -r fix_url followed by sudo /usr/share/mailman/bin/genaliases This should fix the mailman side of things, but I'm a bit confused. I think this will create/update the files aliases. aliases.db, virtual-mailman and virtual-mailman.db in the directory /usr/share/mailman/data/. My confusion is that your postconf -n had alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases which says Mailman's aliases are in /var/mailman/data. This could be incorrect, or /var/mailman/data/ or /var/mailman/data/aliases* could be symlinks or Mailman might be configured with var-prefix = /var/mailman which would put the aliases* and virtual-mailman* files in /var/mailman/data/. I will assume the latter which means you should add hash:/var/mailman/data/virtual-mailman to virtual_alias_maps in Postfix main.cf to make it virtual_alias_maps = hash:/etc/postfix/virtual_users, hash:/var/mailman/data/virtual-mailman and then reload the Postfix service. In any case, the hash:/var/mailman/data/aliases in alias_maps and hash:/var/mailman/data/virtual-mailman in virtual_alias_maps should point to the files updated by Mailman's genaliases above. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Robert.Schwartz at cas-inc.com Wed Dec 8 15:54:08 2010 From: Robert.Schwartz at cas-inc.com (Schwartz, Robert - IS) Date: Wed, 8 Dec 2010 08:54:08 -0600 Subject: [Mailman-Users] unsubscribe request Message-ID: <60109845CFBCA042AA05AFDD8F5A5CFFB6E57D8F@CAS-XCH-MB01.CAS.com> How can I add an unsubscribe request to the bottom of all emails sent out? Example: "To unsubscribe select this link" From Robert.Schwartz at cas-inc.com Wed Dec 8 15:52:40 2010 From: Robert.Schwartz at cas-inc.com (Schwartz, Robert - IS) Date: Wed, 8 Dec 2010 08:52:40 -0600 Subject: [Mailman-Users] Spam emails Message-ID: <60109845CFBCA042AA05AFDD8F5A5CFFB6E57D8A@CAS-XCH-MB01.CAS.com> Recently I've started receiving spam messages submitted to by mailing list. How can I reject all email not submitted by members without having to add them to a list? Robert P. Schwartz CAS Group of Wyle Inc. 100 Quality Circle Huntsville, AL 35806 Phone: 256.922.4203 Fax: 256.922.4243 E-mail: robert.schwartz at wyle.com From geoff at QuiteLikely.com Wed Dec 8 17:28:37 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Wed, 8 Dec 2010 18:28:37 +0200 (IST) Subject: [Mailman-Users] Spam emails In-Reply-To: <60109845CFBCA042AA05AFDD8F5A5CFFB6E57D8A@CAS-XCH-MB01.CAS.com> References: <60109845CFBCA042AA05AFDD8F5A5CFFB6E57D8A@CAS-XCH-MB01.CAS.com> Message-ID: On Wed, 8 Dec 2010, Schwartz, Robert - IS wrote: > Recently I've started receiving spam messages submitted to by mailing > list. How can I reject all email not submitted by members without > having to add them to a list? Set the generic non-member action to discard. It's in privacy/sender filters. All non-members who aren't in any of the other non-member lists on that page will have their posts discarded. You can also set it to reject, but this will cause a rejection note to be sent, and if this mail is in fact spam it will probably cause backscatter, so use discard unless it's actual people doing the posting. Geoff. From cpz at tuunq.com Wed Dec 8 17:21:39 2010 From: cpz at tuunq.com (Carl Zwanzig) Date: Wed, 08 Dec 2010 08:21:39 -0800 Subject: [Mailman-Users] Spam emails In-Reply-To: <60109845CFBCA042AA05AFDD8F5A5CFFB6E57D8A@CAS-XCH-MB01.CAS.com> References: <60109845CFBCA042AA05AFDD8F5A5CFFB6E57D8A@CAS-XCH-MB01.CAS.com> Message-ID: <4CFFB093.7000104@tuunq.com> On 12/8/2010 6:52 AM, Schwartz, Robert - IS wrote: > Recently I've started receiving spam messages submitted to by mailing > list. How can I reject all email not submitted by members without having > to add them to a list? There's an admin check box to reject & discard non-member messages. Check the FAQ for more details. (That'll answer you other question, too). Also, are you spam-filtering before the email gets to mailman? It's a good idea. z! From Robert.Schwartz at cas-inc.com Wed Dec 8 16:55:42 2010 From: Robert.Schwartz at cas-inc.com (Schwartz, Robert - IS) Date: Wed, 8 Dec 2010 09:55:42 -0600 Subject: [Mailman-Users] How to add a footer to every user? Message-ID: <60109845CFBCA042AA05AFDD8F5A5CFFB6E57F30@CAS-XCH-MB01.CAS.com> I would like to know how to add a footer to every user in my list and I want to let everybody in my list unsubscribe just clicking over a link that I will add in to the footer. How do you set this up in the web interface? From Robert.Schwartz at cas-inc.com Wed Dec 8 18:08:08 2010 From: Robert.Schwartz at cas-inc.com (Schwartz, Robert - IS) Date: Wed, 8 Dec 2010 11:08:08 -0600 Subject: [Mailman-Users] Footer shows up as attachment Message-ID: <60109845CFBCA042AA05AFDD8F5A5CFFB6E5815B@CAS-XCH-MB01.CAS.com> I'm adding a footer to every email to allow user to unsubscribe. It is showing up as an attachment. I've set Should Mailman convert text/html parts to plain text? This conversion happens after MIME attachments have been stripped. To yes. But this is not working. When I post to this website my message is sent back with a footer to unsubscribe which is exactly what I want. Robert From mark at msapiro.net Wed Dec 8 18:06:28 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 8 Dec 2010 09:06:28 -0800 Subject: [Mailman-Users] unsubscribe request In-Reply-To: <60109845CFBCA042AA05AFDD8F5A5CFFB6E57D8F@CAS-XCH-MB01.CAS.com> Message-ID: Schwartz, Robert - IS wrote: >How can I add an unsubscribe request to the bottom of all emails sent out? Example: "To unsubscribe select this link" Without modifying code or creating your own CGI, PHP, etc. process to do the unsubscribe, you can't have a one-click unsubscribe that doesn't require confirmation. What this list and others do is something like the following which takes you to a page with an unsubscribe button which requires confirmation by email or login to unsubscribe without confirmation. >Unsubscribe: http://mail.python.org/mailman/options/mailman-users/user%40example.com The above is created with the text Unsubscribe: %(user_optionsurl)s in msg_footer. You could make this, e.g.. Unsubscribe: http://mail.python.org/mailman/options/mailman-users/user%40example.com?login-unsub=Unsubscribe to do the equivalent of clicking the Unsubscribe button on the options login page by putting Unsubscribe: %(user_optionsurl)s?login-unsub=Unsubscribe in msg_footer. Either of the above require the list to be personalized in order to work, and they can't be used with digest_footer because digests aren't personalized. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed Dec 8 18:10:32 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 8 Dec 2010 09:10:32 -0800 Subject: [Mailman-Users] How to add a footer to every user? In-Reply-To: <60109845CFBCA042AA05AFDD8F5A5CFFB6E57F30@CAS-XCH-MB01.CAS.com> Message-ID: Schwartz, Robert - IS wrote: >I would like to know how to add a footer to every user in my list and I want to let everybody in my list unsubscribe just clicking over a link that I will add in to the footer. >How do you set this up in the web interface? See the reply to your "unsubscribe request" post 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 Dec 8 18:24:02 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 8 Dec 2010 09:24:02 -0800 Subject: [Mailman-Users] Footer shows up as attachment In-Reply-To: <60109845CFBCA042AA05AFDD8F5A5CFFB6E5815B@CAS-XCH-MB01.CAS.com> Message-ID: Schwartz, Robert - IS wrote: >I'm adding a footer to every email to allow user to unsubscribe. It is showing up as an attachment. I've set Should Mailman convert text/html parts to plain text? This conversion happens after MIME attachments have been stripped. To yes. But this is not working. When I post to this website my message is sent back with a footer to unsubscribe which is exactly what I want. See the FAQ at . To accomplish this with content filtering, you also need to set "Should Mailman collapse multipart/alternative to its first part content?" to Yes, and even that may not work with all posts depending on their original MIME structure. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed Dec 8 18:38:16 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 8 Dec 2010 09:38:16 -0800 Subject: [Mailman-Users] Footer shows up as attachment In-Reply-To: <60109845CFBCA042AA05AFDD8F5A5CFFB6E9F258@CAS-XCH-MB01.CAS.com> Message-ID: Schwartz, Robert - IS wrote: >It is set to yes. I'll try submitting the message as plain text. In reply to: > >See the FAQ at . > >To accomplish this with content filtering, you also need to set "Should >Mailman collapse multipart/alternative to its first part content?" to >Yes, and even that may not work with all posts depending on their >original MIME structure. Posting plain text only will work, but if this is a discussion list, you can't control what others post. You may need to remove all HTML rather than converting it by putting something like multipart text/plain in pass_mime_types (i.e., no text/html), and setting an appropriate filter_action to handle HTML only posts. Or you can try the mimedefang method referenced in the above FAQ. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From joemailgroups at gmail.com Wed Dec 8 21:01:13 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Wed, 08 Dec 2010 12:01:13 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: Mark, I am extremely grateful that you took the time to help me with this issue. In order for me to make the changes you recommended please allow me to ask some truly basic questions since I have no experience with Unix or editing system files. Is there a simpler way than Terminal (command line) to edit these files and then resave them ? Something along the lines of a text editor. Or do I need to use Terminal to do it ? In this case, if Terminal is necessary, can you guide on how to take a step by step approach to getting it done ? I have never edited a file (specially a system file) in Terminal before and don't know how to go about it. On 12/8/10 8:13 AM, "Mark Sapiro" wrote: > JRC Groups wrote: >> >> ############################################### >> # Here's where we get the distributed defaults. >> >> from Defaults import * >> >> ################################################## >> # Put YOUR site-specific settings below this line. >> MTA = 'Postfix' >> DEFAULT_EMAIL_HOST = 'dentserv.main.private' >> DEFAULT_URL_HOST = 'dentserv.main.private' >> > > > Assuming that all your Mailman lists are/will be in the domain.com > domain and that mail will be sent to addresses like LIST at domain.com > and web access to mailman will be via URLs beginning > 'http://www.domain.com/' (if this will be 'http://domain.com/', drop > the 'www.' below), change the above two lines to Yes. The lists will all be associated with one single domain. I have the server set up for virtual hosting and the domain used for the lists is one of the virtual domains (not the primary domain). All lists will be set up under one single domain. At the moment I have only one list set up. I am trying to have it working right before I attempt to create other lists. > DEFAULT_EMAIL_HOST = 'domain.com' > DEFAULT_URL_HOST = 'www.domain.com' > > and add > > VIRTUAL_HOSTS.clear() > add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) Where exactly do I add it ? Right below the two lines above ? > The original error and your postconf -n post indicate that domain.com > is not local in Postfix. Thus you also need to add here > > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain.com'] Where exactly do I add this line ? Is the location of the line in the file important or relevant ? > After editing mm_cfg.py as above, run > > sudo /usr/share/mailman/bin/withlist -l -a -r fix_url > > followed by > > sudo /usr/share/mailman/bin/genaliases > > This should fix the mailman side of things, but I'm a bit confused. > > I think this will create/update the files aliases. aliases.db, > virtual-mailman and virtual-mailman.db in the directory > /usr/share/mailman/data/. > > My confusion is that your postconf -n had > > alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases > > which says Mailman's aliases are in /var/mailman/data. This could be > incorrect, or /var/mailman/data/ or /var/mailman/data/aliases* could > be symlinks or Mailman might be configured with var-prefix = > /var/mailman which would put the aliases* and virtual-mailman* files > in /var/mailman/data/. > > I will assume the latter which means you should add > hash:/var/mailman/data/virtual-mailman to virtual_alias_maps in > Postfix main.cf to make it > > virtual_alias_maps = hash:/etc/postfix/virtual_users, > hash:/var/mailman/data/virtual-mailman How do add it ? > and then reload the Postfix service. In OS X's Server Admin there is an option under the Mail tab that allows Mail services to be stopped and then restarted again. Will this reload Postfix as you recommend ? > In any case, the hash:/var/mailman/data/aliases in alias_maps and > hash:/var/mailman/data/virtual-mailman in virtual_alias_maps should > point to the files updated by Mailman's genaliases above. How do I verify if it is doing it ? Thank you again for your help. Joe From mark at msapiro.net Thu Dec 9 00:51:18 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 8 Dec 2010 15:51:18 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: JRC Groups wrote: > >I am extremely grateful that you took the time to help me with this issue. >In order for me to make the changes you recommended please allow me to ask >some truly basic questions since I have no experience with Unix or editing >system files. > >Is there a simpler way than Terminal (command line) to edit these files and >then resave them ? Something along the lines of a text editor. Or do I need >to use Terminal to do it ? You can edit the files with the TextEdit application, but there may be serious issues with permissions or even navigating to the files in Finder or the TextEdit open dialog. I suggest you do the following: To change the postfix main.cf file, use the postconf command's -e option as in > sudo postconf -e "virtual_alias_maps = hash:/etc/postfix/virtual_users, hash:/var/mailman/data/virtual-mailman" (above command is all on one line) See "man postconf" for details. To edit mm_cfg.py, in terminal you can do > sudo /Applications/TextEdit.app/Comtents/MacOS/TextEdit /usr/share/mailman/Mailman/mm_cfg.py (above command is all on one line) This will open the file in TextEdit in a way that you can save your changes. There may be better ways to do this. For example, on my Mac I have a 'root' user I can log on to. I would log on as this user and open terminal and then invoke the 'vi' editor on the files, but I can't explain how to use 'vi' as simply as I can explain the above. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From lstone19 at stonejongleux.com Thu Dec 9 01:05:44 2010 From: lstone19 at stonejongleux.com (Larry Stone) Date: Wed, 08 Dec 2010 18:05:44 -0600 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: On 12/8/10 2:01 PM, JRC Groups at joemailgroups at gmail.com wrote: > Is there a simpler way than Terminal (command line) to edit these files and > then resave them ? Something along the lines of a text editor. Or do I need > to use Terminal to do it ? > > In this case, if Terminal is necessary, can you guide on how to take a step > by step approach to getting it done ? I have never edited a file (specially > a system file) in Terminal before and don't know how to go about it. This is somewhat off-topic for the Mailman list but if you want to do any sort of advanced system administration on a Macintosh, you need, IMHO, to be familiar with Unix shell commands and related utility. The Mac OS X Terminal program just creates a shell process and window where you then execute shell commands. At a minimum, you need to be familiar with certain basic commands like ls (directory) and commands for creating (touch among others), renaming/MoVing (mv), and deleting/ReMoving (rm) files and directories (mkdir, mv, and rmdir respectively). You also need to be familiar with one of the standard text editors (vi or emacs) as well as commands for dealing with file ownership (chown) and permissions (chmod). -- Larry Stone lstone19 at stonejongleux.com http://www.stonejongleux.com/ From joemailgroups at gmail.com Thu Dec 9 01:45:16 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Wed, 08 Dec 2010 16:45:16 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: Mark, Again I can't thank you enough for all your help. I've done some research and received some advice from others on how to accomplish this with BBEdit which I have found to be a superbly simple and efficient way to accomplish this. I download the free trial demo and used it to edit mm_cfg.py file following your recommendations. I also ran the two sudo commands as you suggested. This is the output from the Terminal window: > Last login: Tue Dec 7 18:19:11 on ttys000 > dentserv:~ locadmin$ sudo /usr/share/mailman/bin/withlist -l -a -r fix_url > Password: > Importing fix_url... > Running fix_url.fix_url()... > Loading list implants (locked) > Saving list > Loading list mailman (locked) > Saving list > Finalizing > dentserv:~ locadmin$ sudo /usr/share/mailman/bin/genaliases > dentserv:~ locadmin$ I am trying as I type this to continue with the second part of your recommendations. Where exactly do I find the Postfix main.cf file so that I can edit it also ? On a different note, why is the clock on top of the terminal window above displaying Dec 7 18:19:11 when it is now Dec 8, 4:41 pm here in California ? The clock on the menu bar of the server computer has the proper time but the Terminal window seems to be almost a day behind. Could this be a problem ? Thanks again, Joe On 12/8/10 3:51 PM, "Mark Sapiro" wrote: > JRC Groups wrote: >> >> I am extremely grateful that you took the time to help me with this issue. >> In order for me to make the changes you recommended please allow me to ask >> some truly basic questions since I have no experience with Unix or editing >> system files. >> >> Is there a simpler way than Terminal (command line) to edit these files and >> then resave them ? Something along the lines of a text editor. Or do I need >> to use Terminal to do it ? > > > You can edit the files with the TextEdit application, but there may be > serious issues with permissions or even navigating to the files in > Finder or the TextEdit open dialog. > > I suggest you do the following: > > To change the postfix main.cf file, use the postconf command's -e > option as in > >> sudo postconf -e "virtual_alias_maps = hash:/etc/postfix/virtual_users, >> hash:/var/mailman/data/virtual-mailman" > > (above command is all on one line) See "man postconf" for details. > > To edit mm_cfg.py, in terminal you can do > >> sudo /Applications/TextEdit.app/Comtents/MacOS/TextEdit >> /usr/share/mailman/Mailman/mm_cfg.py > > (above command is all on one line) This will open the file in TextEdit > in a way that you can save your changes. > > There may be better ways to do this. For example, on my Mac I have a > 'root' user I can log on to. I would log on as this user and open > terminal and then invoke the 'vi' editor on the files, but I can't > explain how to use 'vi' as simply as I can explain the above. From chris.tandiono at gmail.com Thu Dec 9 01:48:55 2010 From: chris.tandiono at gmail.com (Chris Tandiono) Date: Wed, 08 Dec 2010 16:48:55 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: References: Message-ID: On Wed, 08 Dec 2010 16:45:16 -0800, JRC Groups wrote: > On a different note, why is the clock on top of the terminal window above > displaying Dec 7 18:19:11 when it is now Dec 8, 4:41 pm here in > California ? > The clock on the menu bar of the server computer has the proper time but > the > Terminal window seems to be almost a day behind. Could this be a problem > ? That's the "last login" date, i.e., the last date you logged in, which evidently was about a day ago. If you open up Terminal again it'll have changed to some time today. Also, might I recommend iTerm instead of Terminal? I can never get end and home to work properly in Terminal; they scroll up and down instead (which is fine for most Mac OS X apps, but the point of the Terminal is to be UNIX-y). They work in iTerm. Chris From joemailgroups at gmail.com Thu Dec 9 01:58:00 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Wed, 08 Dec 2010 16:58:00 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: Mark, I located the Postfix's main.cf file in /private/etc/postfix/main.cf and made the change you recommended. I then stopped Main services and restarted it. What is the best way to test if the list is now working properly ? Also, I followed a discussion on another forum where a new user reported having problems with OS X Server in regards to archives. According to him after using Mailman for a while he went to check for logs and archives only to found nothing there. What is the best way to set up Mailman now so that I have logs and (most importantly) archives of all posts that I can search in the future ? He also mentioned something about making the list private so that its contents wouldn't be search, found and indexed by search engines like Google. Is this even a possibility and in case it is what steps should I take to ensure the contents of my lists will remain private and only visible to those that are members ? Thank you again, Joe From mark at msapiro.net Thu Dec 9 02:16:53 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 8 Dec 2010 17:16:53 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: Chris Tandiono wrote: > >That's the "last login" date, i.e., the last date you logged in, which >evidently was about a day ago. Correct. >If you open up Terminal again it'll have >changed to some time today. No. In order to change the "last login" time, you have to actually log off and back on again. Simply quitting and reopening terminal won't do it. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 9 02:26:09 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 8 Dec 2010 17:26:09 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: JRC Groups wrote: > >What is the best way to test if the list is now working properly ? Try to send a message to the list or maybe send a message with subject "help" to the list-request address. >Also, I followed a discussion on another forum where a new user reported >having problems with OS X Server in regards to archives. According to him >after using Mailman for a while he went to check for logs and archives only >to found nothing there. What is the best way to set up Mailman now so that I >have logs and (most importantly) archives of all posts that I can search in >the future ? Try running sudo /usr/share/mailman/bin/check_perms -f If it runs cleanly (don't worry about the warning about archives/private being world searchable) logging and archiving should work. Also make sure your list's Mailman web admin Archiving Options -> Archive messages? setting is Yes. >He also mentioned something about making the list private so >that its contents wouldn't be search, found and indexed by search engines >like Google. Is this even a possibility and in case it is what steps should >I take to ensure the contents of my lists will remain private and only >visible to those that are members ? On the same Archiving Options page set archive_private to private, and yes, if archive_private is public, the archives are world accessible via the web (at least assuming the host is reachable), and will be indexed in search engines. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 9 02:44:48 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 08 Dec 2010 17:44:48 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: References: Message-ID: <4D003490.3090003@msapiro.net> Mark Sapiro wrote: > Chris Tandiono wrote: > >>If you open up Terminal again it'll have >>changed to some time today. > > > No. In order to change the "last login" time, you have to actually log > off and back on again. Simply quitting and reopening terminal won't do > it. Nevermind! Chris is correct. I'm not sure what I did wrong when I checked this, but quitting and reopening terminal is sufficient to update the displayed "last login" time. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From joemailgroups at gmail.com Thu Dec 9 02:51:16 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Wed, 08 Dec 2010 17:51:16 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: On 12/8/10 5:26 PM, "Mark Sapiro" wrote: > JRC Groups wrote: >> >> What is the best way to test if the list is now working properly ? > > Try to send a message to the list or maybe send a message with subject > "help" to the list-request address. I sent the message and this is what the log in Server Admin shows: Dec 8 17:48:13 dentserv postfix/smtpd[37996]: NOQUEUE: reject: RCPT from mail-gw0-f52.google.com[74.125.83.52]: 450 4.7.1 : Recipient address rejected: Service is unavailable; from= to= proto=ESMTP helo= Dec 8 17:48:13 dentserv postfix/smtpd[37996]: disconnect from mail-gw0-f52.google.com[74.125.83.52] >> Also, I followed a discussion on another forum where a new user reported >> having problems with OS X Server in regards to archives. According to him >> after using Mailman for a while he went to check for logs and archives only >> to found nothing there. What is the best way to set up Mailman now so that I >> have logs and (most importantly) archives of all posts that I can search in >> the future ? > > > Try running > > sudo /usr/share/mailman/bin/check_perms -f > > If it runs cleanly (don't worry about the warning about > archives/private being world searchable) logging and archiving should > work. I ran it and the following is the output: dentserv:~ locadmin$ sudo /usr/share/mailman/bin/check_perms -f Password: Warning: Private archive directory is other-executable (o+x). This could allow other users on your system to read private archives. If you're on a shared multiuser system, you should consult the installation manual on how to fix this. /private/var/mailman/data/virtual-mailman.db owned by root (must be owned by _mailman (fixing) /private/var/mailman/data/virtual-mailman.db permissions must be 066x (got 0100640) (fixing) Problems found: 2 Re-run as _mailman (or root) with -f flag to fix > Also make sure your list's Mailman web admin Archiving Options -> > Archive messages? setting is Yes. I made the changes. >> He also mentioned something about making the list private so >> that its contents wouldn't be search, found and indexed by search engines >> like Google. Is this even a possibility and in case it is what steps should >> I take to ensure the contents of my lists will remain private and only >> visible to those that are members ? > > > On the same Archiving Options page set archive_private to private, and > yes, if archive_private is public, the archives are world accessible > via the web (at least assuming the host is reachable), and will be > indexed in search engines. Thank you, Mark. I am glad I've caught that before launching the list as it will hold discussions that are required to be maintained private and confidential (HIPAA law). Thank you, Mark. From mark at msapiro.net Thu Dec 9 03:07:37 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 8 Dec 2010 18:07:37 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: JRC Groups wrote: > >I sent the message and this is what the log in Server Admin shows: > >Dec 8 17:48:13 dentserv postfix/smtpd[37996]: NOQUEUE: reject: RCPT from >mail-gw0-f52.google.com[74.125.83.52]: 450 4.7.1 >: Recipient address rejected: Service is >unavailable; from= >to= proto=ESMTP helo= >Dec 8 17:48:13 dentserv postfix/smtpd[37996]: disconnect from >mail-gw0-f52.google.com[74.125.83.52] This is Apple Postfix's greylisting at work. googlemail should retry the send after a few minutes and it should succeed. See, e.g., . >> Try running >> >> sudo /usr/share/mailman/bin/check_perms -f >> >> If it runs cleanly (don't worry about the warning about >> archives/private being world searchable) logging and archiving should >> work. > >I ran it and the following is the output: > >dentserv:~ locadmin$ sudo /usr/share/mailman/bin/check_perms -f >Password: >Warning: Private archive directory is other-executable (o+x). > This could allow other users on your system to read private >archives. > If you're on a shared multiuser system, you should consult the > installation manual on how to fix this. This is the warning I meant to ignore. >/private/var/mailman/data/virtual-mailman.db owned by root (must be owned by >_mailman (fixing) >/private/var/mailman/data/virtual-mailman.db permissions must be 066x (got >0100640) (fixing) >Problems found: 2 >Re-run as _mailman (or root) with -f flag to fix You already ran it via sudo with -f so the problems with virtual-mailman.db should be fixed now. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From listeyon at metu.edu.tr Thu Dec 9 08:29:18 2010 From: listeyon at metu.edu.tr (Liste Yoneticisi) Date: Thu, 09 Dec 2010 09:29:18 +0200 Subject: [Mailman-Users] Search tool for Mailman Archives Message-ID: <4D00854E.8020408@metu.edu.tr> Hello; I am trying to implement a search tool for Mailman Archives. In our system, there are more than 400 lists, and the size of their archives vary, since there are more than 10 years old lists addition to new lists. There are several alternatives. htdig, xapian etc. Which one do you recommend? Is there a practical tool which I can just install and implement, or is there an additional patch need? Thank you very much. Evrim AKMAN From odhiambo at gmail.com Thu Dec 9 13:08:00 2010 From: odhiambo at gmail.com (Odhiambo Washington) Date: Thu, 9 Dec 2010 15:08:00 +0300 Subject: [Mailman-Users] Search tool for Mailman Archives In-Reply-To: <4D00854E.8020408@metu.edu.tr> References: <4D00854E.8020408@metu.edu.tr> Message-ID: On Thu, Dec 9, 2010 at 10:29 AM, Liste Yoneticisi wrote: > Hello; > > I am trying to implement a search tool for Mailman Archives. > > In our system, there are more than 400 lists, and the size of their > archives vary, since there are more than 10 years old lists addition to new > lists. > > There are several alternatives. > htdig, xapian etc. > > There is no harm in installing and testing all of them until you find one you are happy with. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! From ptomblin at xcski.com Thu Dec 9 13:49:47 2010 From: ptomblin at xcski.com (Paul Tomblin) Date: Thu, 9 Dec 2010 07:49:47 -0500 Subject: [Mailman-Users] Search tool for Mailman Archives In-Reply-To: <4D00854E.8020408@metu.edu.tr> References: <4D00854E.8020408@metu.edu.tr> Message-ID: On Thu, Dec 9, 2010 at 2:29 AM, Liste Yoneticisi wrote: > In our system, there are more than 400 lists, and the size of their archives > vary, since there are more than 10 years old lists addition to new lists. > > There are several alternatives. > htdig, xapian etc. If you find one that allows you to still use the mailman login system so that only members of a list can view the archives, please let me know. I looked at a few archive searchers, but it appears they all either make the list archives public, or you can do a htaccess thing which will require you to change the password every time somebody leaves the list and tell all the current members the new password, etc. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin From listeyon at metu.edu.tr Thu Dec 9 13:52:26 2010 From: listeyon at metu.edu.tr (Liste Yoneticisi) Date: Thu, 09 Dec 2010 14:52:26 +0200 Subject: [Mailman-Users] Search tool for Mailman Archives In-Reply-To: References: <4D00854E.8020408@metu.edu.tr> Message-ID: <4D00D10A.9000005@metu.edu.tr> I meant private archives, which can be reached after submiting an e-mail and password. 09.12.2010 14:49, Paul Tomblin yazm??: > On Thu, Dec 9, 2010 at 2:29 AM, Liste Yoneticisi wrote: >> In our system, there are more than 400 lists, and the size of their archives >> vary, since there are more than 10 years old lists addition to new lists. >> >> There are several alternatives. >> htdig, xapian etc. > > If you find one that allows you to still use the mailman login system > so that only members of a list can view the archives, please let me > know. I looked at a few archive searchers, but it appears they all > either make the list archives public, or you can do a htaccess thing > which will require you to change the password every time somebody > leaves the list and tell all the current members the new password, > etc. > > From adam-mailman at amyl.org.uk Thu Dec 9 14:12:02 2010 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Thu, 9 Dec 2010 13:12:02 +0000 Subject: [Mailman-Users] Search tool for Mailman Archives In-Reply-To: References: <4D00854E.8020408@metu.edu.tr> Message-ID: <20101209131202.GP8672@hendricks.amyl.org.uk> On Thu, Dec 09, 2010 at 07:49:47AM -0500, Paul Tomblin wrote: > I looked at a few archive searchers, but it appears they all > either make the list archives public, or you can do a htaccess thing > which will require you to change the password every time somebody > leaves the list and tell all the current members the new password, > etc. One could, always, re-implement the login system &c, but there's still the scope that authentication methods probably won't prevent (authorized) people from taking copies of the data, for example. -- "Tony Blair has made 'morale boosting' visits to the wives of servicemen serving in the Gulf." -- BBC News From chris at westnet.com Thu Dec 9 14:40:43 2010 From: chris at westnet.com (Christopher X. Candreva) Date: Thu, 9 Dec 2010 08:40:43 -0500 (EST) Subject: [Mailman-Users] Search tool for Mailman Archives In-Reply-To: <4D00854E.8020408@metu.edu.tr> References: <4D00854E.8020408@metu.edu.tr> Message-ID: On Thu, 9 Dec 2010, Liste Yoneticisi wrote: > Hello; > > I am trying to implement a search tool for Mailman Archives. I've always liked swish for indexing web sites and mailing list archives http://www.swish-e.org/ ========================================================== Chris Candreva -- chris at westnet.com -- (914) 948-3162 WestNet Internet Services of Westchester http://www.westnet.com/ From fmouse-mailman at fmp.com Thu Dec 9 14:59:48 2010 From: fmouse-mailman at fmp.com (Lindsay Haisley) Date: Thu, 09 Dec 2010 07:59:48 -0600 Subject: [Mailman-Users] Search tool for Mailman Archives In-Reply-To: References: <4D00854E.8020408@metu.edu.tr> Message-ID: <1291903188.1674.31.camel@localhost.localdomain> On Thu, 2010-12-09 at 07:49 -0500, Paul Tomblin wrote: > If you find one that allows you to still use the mailman login system > so that only members of a list can view the archives, please let me > know. I looked at a few archive searchers, but it appears they all > either make the list archives public, or you can do a htaccess thing > which will require you to change the password every time somebody > leaves the list and tell all the current members the new password, > etc. About three years ago I worked out a complete system for integrating Namazu with Mailman, and it's still successfully in use on my production servers. You can find it at . This is the guts of the system. I've subsequently added the ability to mailman to read the index.html file in the Pipermail archive in a PHP context which allows the use of an accessory list of lists which are authorized to use the namazu search, while others don't offer this ability. There are a few glitches in this, since the integration of namazu and mailman is imperfect by nature. Keep in mind that all this was written three years ago, for a previous version of Mailman. Additionally, Namazu's date sort is, or was, dependent on the file dates in the pipermail structure, rather than parsing dates from files, so if you move your archives to a new system the date sort becomes quite broken if the file creation dates are munged. This is a namazu issue. The author of Namazu struggles with English, and I have no knowledge of Japanese, so I wasn't able to get very far in resolving this. I put quite a lot of work into this project, but have moved on and am doing other things, so if someone with the knowledge and skills to do so wants to grab it and run with it, updating it and improving it, please have at. I've forgotten a lot of the details that went into the design of this, although the project contains a lot of documentation which I wrote at the time, so if you have problems, read the code and figure it out if you can. Don't ask me for support. Just make any necessary changes or improvements, send them to me, and I'll post them to the collection on the web server. -- Lindsay Haisley | "In an open world, | PGP public key FMP Computer Services | who needs Windows | available at 512-259-1190 | or Gates" | http://pubkeys.fmp.com http://www.fmp.com | | From leonard at vivisimo.com Thu Dec 9 14:48:29 2010 From: leonard at vivisimo.com (Roger D. Leonard) Date: Thu, 9 Dec 2010 07:48:29 -0600 Subject: [Mailman-Users] DEFAULT_GENERIC_NONMEMBER_ACTION not working Message-ID: <90153CA257B60541A3B8699C1CCCC1131306BF5818@AUSP01VMBX30.collaborationhost.net> Hi, I recently set up a mailman server for internal use and as list owner I am getting confirmation emails for every posting even though I set DEFAULT_GENERIC_NONMEMBER_ACTION = 0 in all the lists and restarted mailman. I'm missing something here. How do I get it to accept all emails from non-members without list owner intervention? Thanks From tobias at koopmann-mail.de Wed Dec 8 19:36:02 2010 From: tobias at koopmann-mail.de (Tobias Koopmann) Date: Wed, 8 Dec 2010 19:36:02 +0100 Subject: [Mailman-Users] Apache/Browser/Cookie-Problem? Message-ID: <002f01cb9706$c48d65b0$4da83110$@koopmann-mail.de> Hello there, i'm relativ new to Mailman. Now I've got following Software working Apache + Mailman 2.1.13 + Postfix on Ubuntu 10.04 LTS Apache-configuration: # Sample configuration for Debian mailman with Apache # We can find mailman here: #ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/ # And the public archives: Alias /pipermail/ /var/lib/mailman/archives/public/ # Logos: Alias /images/mailman/ /usr/share/images/mailman/ # Use this if you don't want the "cgi-bin" component in your URL: # In case you want to access mailman through a shorter URL you should enable # this: ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/ # In this case you need to set the DEFAULT_URL_PATTERN in # /etc/mailman/mm_cfg.py to http://%s/mailman/ for the cookie # authentication code to work. Note that you need to change the base # URL for all the already-created lists as well. AllowOverride None Options ExecCGI AddHandler cgi-script .cgi Order allow,deny Allow from all Options Indexes FollowSymlinks AllowOverride None Order allow,deny Allow from all AllowOverride None Order allow,deny Allow from all Now my Problem is the following: After a user subscribes to a mailinglist and opens the confirmation link and clicks the confirmation button hes got redirected to an "Enter confirmation cookie"-Page. But after entering the confirmation cookie nothing happens, the same page is shown again. Other ActionButtons also don't work. By the way I redirect all Requests on Port 80 to 443. So all actions happens over https. I hope that's no problem... Greetz. Tobias From mark at msapiro.net Thu Dec 9 16:07:53 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Dec 2010 07:07:53 -0800 Subject: [Mailman-Users] Search tool for Mailman Archives In-Reply-To: <4D00854E.8020408@metu.edu.tr> Message-ID: Liste Yoneticisi wrote: > >Is there a practical tool which I can just install and implement, or is >there an additional patch need? See the FAQ at For public archives you could just install a search engine along side Mailman or use one of the public archiving sites with search capability. To privately search private archves or to integrate searching (e.g. a search form on the archive TOC pages) requires patches in Mailman 2.1. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 9 16:21:10 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Dec 2010 07:21:10 -0800 Subject: [Mailman-Users] Search tool for Mailman Archives In-Reply-To: <1291903188.1674.31.camel@localhost.localdomain> Message-ID: Lindsay Haisley wrote: > >Additionally, >Namazu's date sort is, or was, dependent on the file dates in the >pipermail structure, rather than parsing dates from files, so if you >move your archives to a new system the date sort becomes quite broken if >the file creation dates are munged. See the script at (mirrored at ) for a way to set the file times by parsing dates from the files. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 9 16:26:02 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Dec 2010 07:26:02 -0800 Subject: [Mailman-Users] Search tool for Mailman Archives In-Reply-To: Message-ID: Paul Tomblin wrote: > >If you find one that allows you to still use the mailman login system >so that only members of a list can view the archives, please let me >know. Lindsay Haisley has replied with one. See the patches at and for another. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 9 16:38:34 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Dec 2010 07:38:34 -0800 Subject: [Mailman-Users] DEFAULT_GENERIC_NONMEMBER_ACTION not working In-Reply-To: <90153CA257B60541A3B8699C1CCCC1131306BF5818@AUSP01VMBX30.collaborationhost.net> Message-ID: Roger D. Leonard wrote: > >I recently set up a mailman server for internal use and as list owner I am getting confirmation emails for every posting even though I set DEFAULT_GENERIC_NONMEMBER_ACTION = 0 in all the lists and restarted mailman. DEFAULT_GENERIC_NONMEMBER_ACTION is the default setting for newly created lists. Changing it has no effect on any existing list. Go to the web admin interface Privacy options... -> Sender filters and set generic_nonmember_action to Accept or use bin/config_list to set generic_nonmember_action = 0 for the list. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 9 16:43:21 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Dec 2010 07:43:21 -0800 Subject: [Mailman-Users] Apache/Browser/Cookie-Problem? In-Reply-To: <002f01cb9706$c48d65b0$4da83110$@koopmann-mail.de> Message-ID: Tobias Koopmann wrote: > >Now my Problem is the following: >After a user subscribes to a mailinglist and opens the confirmation link and >clicks the confirmation button hes got redirected to an "Enter confirmation >cookie"-Page. But after entering the confirmation cookie nothing happens, >the same page is shown again. > >Other ActionButtons also don't work. > >By the way I redirect all Requests on Port 80 to 443. So all actions happens >over https. I hope that's no problem... That is exactly the problem. The redirect loses all the POST data. See the FAQ at for instructions on changing the scheme from http to https in Mailman URLs. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From leonard at vivisimo.com Thu Dec 9 17:16:21 2010 From: leonard at vivisimo.com (Roger D. Leonard) Date: Thu, 9 Dec 2010 10:16:21 -0600 Subject: [Mailman-Users] DEFAULT_GENERIC_NONMEMBER_ACTION not working In-Reply-To: References: <90153CA257B60541A3B8699C1CCCC1131306BF5818@AUSP01VMBX30.collaborationhost.net> Message-ID: <90153CA257B60541A3B8699C1CCCC1131306BF585D@AUSP01VMBX30.collaborationhost.net> Thanks mark, I did that and it still does it. looking at the config shows it as 0 as well. I even restarted mailman. that's what has me baffled. see output of config_list attached. is there another setting I need to change? thanks roger -----Original Message----- From: Mark Sapiro [mailto:mark at msapiro.net] Sent: Thursday, December 09, 2010 10:39 AM To: Roger D. Leonard; mailman-users at python.org Subject: Re: [Mailman-Users] DEFAULT_GENERIC_NONMEMBER_ACTION not working Roger D. Leonard wrote: > >I recently set up a mailman server for internal use and as list owner I am getting confirmation emails for every posting even though I set DEFAULT_GENERIC_NONMEMBER_ACTION = 0 in all the lists and restarted mailman. DEFAULT_GENERIC_NONMEMBER_ACTION is the default setting for newly created lists. Changing it has no effect on any existing list. Go to the web admin interface Privacy options... -> Sender filters and set generic_nonmember_action to Accept or use bin/config_list to set generic_nonmember_action = 0 for the list. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 9 17:30:22 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Dec 2010 08:30:22 -0800 Subject: [Mailman-Users] DEFAULT_GENERIC_NONMEMBER_ACTION not working In-Reply-To: <90153CA257B60541A3B8699C1CCCC1131306BF585D@AUSP01VMBX30.collaborationhost.net> Message-ID: Roger D. Leonard wrote: > >I did that and it still does it. looking at the config shows it as 0 as well. >I even restarted mailman. that's what has me baffled. see output of config_list >attached. is there another setting I need to change? For what reason are the messages being held? What does the "confirmation email" you receive say? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From leonard at vivisimo.com Thu Dec 9 17:34:09 2010 From: leonard at vivisimo.com (Roger D. Leonard) Date: Thu, 9 Dec 2010 10:34:09 -0600 Subject: [Mailman-Users] DEFAULT_GENERIC_NONMEMBER_ACTION not working In-Reply-To: References: <90153CA257B60541A3B8699C1CCCC1131306BF585D@AUSP01VMBX30.collaborationhost.net> Message-ID: <90153CA257B60541A3B8699C1CCCC1131306BF586E@AUSP01VMBX30.collaborationhost.net> Heres a message from another list that just did it. The Havana-internal at lists.vivisimo.com mailing list has 1 request(s) waiting for your consideration at: http://lists.vivisimo.com/mailman/admindb/havana-internal Please attend to this at your earliest convenience. This notice of pending requests, if any, will be sent out daily. Pending posts: From: trac at hav-secureci.vivisimo.com on Wed Dec 8 20:43:36 2010 Subject: Re: [HAVANA] #206: Corrupt sqlite database after server crash Cause: Message has implicit destination -----Original Message----- From: Mark Sapiro [mailto:mark at msapiro.net] Sent: Thursday, December 09, 2010 11:30 AM To: Roger D. Leonard; mailman-users at python.org Subject: RE: [Mailman-Users] DEFAULT_GENERIC_NONMEMBER_ACTION not working Roger D. Leonard wrote: > >I did that and it still does it. looking at the config shows it as 0 as well. >I even restarted mailman. that's what has me baffled. see output of config_list >attached. is there another setting I need to change? For what reason are the messages being held? What does the "confirmation email" you receive say? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 9 17:46:38 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Dec 2010 08:46:38 -0800 Subject: [Mailman-Users] DEFAULT_GENERIC_NONMEMBER_ACTION not working In-Reply-To: <90153CA257B60541A3B8699C1CCCC1131306BF586E@AUSP01VMBX30.collaborationhost.net> Message-ID: Roger D. Leonard wrote: >Heres a message from another list that just did it. [...] >Pending posts: >From: trac at hav-secureci.vivisimo.com on Wed Dec 8 20:43:36 2010 >Subject: Re: [HAVANA] #206: Corrupt sqlite database after server crash >Cause: Message has implicit destination This message was held because the list was not explicitly addressed in a To: or Cc: header of the post. See the settings require_explicit_destination and acceptable_aliases on the Privacy options... -> Recipient filters page. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From geoff at QuiteLikely.com Thu Dec 9 21:34:46 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Thu, 9 Dec 2010 22:34:46 +0200 (IST) Subject: [Mailman-Users] DEFAULT_GENERIC_NONMEMBER_ACTION not working In-Reply-To: <90153CA257B60541A3B8699C1CCCC1131306BF5818@AUSP01VMBX30.collaborationhost.net> References: <90153CA257B60541A3B8699C1CCCC1131306BF5818@AUSP01VMBX30.collaborationhost.net> Message-ID: On Thu, 9 Dec 2010, Roger D. Leonard wrote: > I'm missing something here. How do I get it to accept all emails from > non-members without list owner intervention? Apart from what people have already told you, if you want to make a list accept *all* non-member postings, you'll also need to set the max number of recipients to 0 (unlimited) in Privacy/Recipient Filters, and also set the max message size to 0 (unlimited) in General settings. Geoff. From knabe at 4j.lane.edu Thu Dec 9 22:00:00 2010 From: knabe at 4j.lane.edu (Troy Knabe) Date: Thu, 9 Dec 2010 13:00:00 -0800 (PST) Subject: [Mailman-Users] authors Message-ID: <0b9201cb97e4$0ae57a60$20b06f20$@lane.edu> I have an administrator requesting a list of everyone who has sent an email to their list. Is there any way to quickly obtain that information? This is a public list that lots of non-members send to. Thanks -Troy From mark at msapiro.net Thu Dec 9 23:36:01 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Dec 2010 14:36:01 -0800 Subject: [Mailman-Users] authors In-Reply-To: <0b9201cb97e4$0ae57a60$20b06f20$@lane.edu> Message-ID: Troy Knabe wrote: >I have an administrator requesting a list of everyone who has sent an >email to their list. Is there any way to quickly obtain that information? >This is a public list that lots of non-members send to. grep "From " $var_prefix/archives/private/$list.mbox/$list.mbox | \ awk '{print $2}' | sort -u where $var_prefix is the path to Mailman's archives/ directory and $list is the list name. This will get an unduplicated list of the envelope senders of all posts that made it to the list. Also, if you don't rotate Mailman's logs, you could get similar information from the 'post' log. If you want all senders of any message to the list regardless of whether or not it was accepted, you'd need to get that from the MTA log if it goes back far enough. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From ges at wingfoot.org Fri Dec 10 00:07:17 2010 From: ges at wingfoot.org (Glenn Sieb) Date: Thu, 09 Dec 2010 18:07:17 -0500 Subject: [Mailman-Users] authors In-Reply-To: References: Message-ID: <4D016125.9030507@wingfoot.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/9/10 5:36 PM, Mark Sapiro wrote: > grep "From " $var_prefix/archives/private/$list.mbox/$list.mbox | \ > awk '{print $2}' | sort -u Wouldn't grep "^From "... (or egrep, depending on your toolkit) work better? Otherwise you grab any sentences that begin with "From " as well.. like "From what I've heard..." Of course you'll still get "From ..." if people have something similar for quote attributions. Best, - --Glenn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0BYSUACgkQf5MxTDXTimGT9gCfZgfiuD2C1OuFhg0jHUZmCqLR GEQAnR3IeQ6dexNpwCMQE2aHMcdAFKaQ =15HY -----END PGP SIGNATURE----- From ges at wingfoot.org Fri Dec 10 00:18:32 2010 From: ges at wingfoot.org (Glenn Sieb) Date: Thu, 09 Dec 2010 18:18:32 -0500 Subject: [Mailman-Users] authors In-Reply-To: References: Message-ID: <4D0163C8.7010909@wingfoot.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/9/10 5:36 PM, Mark Sapiro wrote: > grep "From " $var_prefix/archives/private/$list.mbox/$list.mbox | \ > awk '{print $2}' | sort -u Actually.. a google netted me this... awk 'empty{if (/^From /) print $2; empty=0} /^$/{empty=1}' $list.mbox | sort -u It's not perfect. For instance, if the mbox has From "Glenn Sieb" lines... but it does only match "From " Anywho... something to tuck away for some future need.. :) Thanks for all you do, Mark! Best, - --Glenn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0BY8gACgkQf5MxTDXTimEvRwCgk5s8vpU2WOoSxHaFobPy3yky rfgAnRI2Q/lx4m+BBteGvL+q5VaCB+17 =tWDj -----END PGP SIGNATURE----- From rickmorrison at gmail.com Thu Dec 9 22:45:50 2010 From: rickmorrison at gmail.com (Rick Morrison) Date: Thu, 9 Dec 2010 16:45:50 -0500 Subject: [Mailman-Users] Pruning archived messages Message-ID: I've been asked to restrict our group's Mailman list to showing only the last six months of archives. Is there any way to remove archived messages older than a certain date and reflect that removal in the archive header's "index.html" file? Thanks, Rick From leonard at vivisimo.com Thu Dec 9 18:30:59 2010 From: leonard at vivisimo.com (Roger D. Leonard) Date: Thu, 9 Dec 2010 11:30:59 -0600 Subject: [Mailman-Users] DEFAULT_GENERIC_NONMEMBER_ACTION not working In-Reply-To: References: <90153CA257B60541A3B8699C1CCCC1131306BF586E@AUSP01VMBX30.collaborationhost.net> Message-ID: <90153CA257B60541A3B8699C1CCCC1131306BF5888@AUSP01VMBX30.collaborationhost.net> Thank you mark. I will make these changes. I am very new at mailman and I appreciate you helping me out. -----Original Message----- From: Mark Sapiro [mailto:mark at msapiro.net] Sent: Thursday, December 09, 2010 11:47 AM To: Roger D. Leonard; mailman-users at python.org Subject: RE: [Mailman-Users] DEFAULT_GENERIC_NONMEMBER_ACTION not working Roger D. Leonard wrote: >Heres a message from another list that just did it. [...] >Pending posts: >From: trac at hav-secureci.vivisimo.com on Wed Dec 8 20:43:36 2010 >Subject: Re: [HAVANA] #206: Corrupt sqlite database after server crash >Cause: Message has implicit destination This message was held because the list was not explicitly addressed in a To: or Cc: header of the post. See the settings require_explicit_destination and acceptable_aliases on the Privacy options... -> Recipient filters page. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From fantome2024 at gmail.com Thu Dec 9 22:59:02 2010 From: fantome2024 at gmail.com (fantome2024 at gmail.com) Date: Thu, 9 Dec 2010 15:59:02 -0600 Subject: [Mailman-Users] change privacy options globally Message-ID: Hi I have multiple administrator and I want to set the option under "Privacy Options" What steps are required for subscription? "Require Approval" to the default when the list is created. Does anyone know how to change this properly in the code for it to work? I've been trying to change it in Privacy.py with no success. From mark at msapiro.net Fri Dec 10 05:53:00 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Dec 2010 20:53:00 -0800 Subject: [Mailman-Users] Pruning archived messages In-Reply-To: Message-ID: Rick Morrison wrote: >I've been asked to restrict our group's Mailman list to showing only the >last six months of archives. Is there any way to remove archived messages >older than a certain date and reflect that removal in the archive header's >"index.html" file? Edit the archives/private/listname.mbox/listname.mbox file to remove all the older messages. If you don't care about keeping the older messages at all, just edit the file in place and then run Mailman's bin/arch --wipe listname to rebuild the archive. If you do want to keep the old messages, There are multiple ways to proceed. I suggest keeping archives/private/listname.mbox/listname.mbox as the full archive and saving the pruned file as say archives/private/listname.mbox/listname.mbox.recent and then rebuilding the archive with bin/arch --wipe listname archives/private/listname.mbox/listname.mbox.recent (all on one line) -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Dec 10 06:00:05 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Dec 2010 21:00:05 -0800 Subject: [Mailman-Users] authors In-Reply-To: <4D016125.9030507@wingfoot.org> Message-ID: Glenn Sieb wrote: > >On 12/9/10 5:36 PM, Mark Sapiro wrote: >> grep "From " $var_prefix/archives/private/$list.mbox/$list.mbox | \ >> awk '{print $2}' | sort -u > >Wouldn't > >grep "^From "... > >(or egrep, depending on your toolkit) > >work better? Actually, "^From " is what I intended, but I mistyped it. >Otherwise you grab any sentences that begin with "From " as >well.. like "From what I've heard..." > >Of course you'll still get "From ..." if people have >something similar for quote attributions. All such lines in message bodies should be escaped as ">From ..." in the .mbox file so they aren't misinterpreted as message separators. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Dec 10 06:08:04 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Dec 2010 21:08:04 -0800 Subject: [Mailman-Users] change privacy options globally In-Reply-To: Message-ID: fantome2024 at gmail.com wrote: >Hi I have multiple administrator and I want to set the option under "Privacy >Options" What steps are required for subscription? "Require Approval" to the >default when the list is created. Does anyone know how to change this >properly in the code for it to work? I've been trying to change it in >Privacy.py with no success. Put DEFAULT_SUBSCRIBE_POLICY = 2 in mm_cfg.py. You can read the documentation for this and almost all other mm_cfg.py configuration settings in Defaults.py. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From joemailgroups at gmail.com Fri Dec 10 07:47:47 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Thu, 09 Dec 2010 22:47:47 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: Mark, Again, I can't thank you enough. The list(s) are up and running. I wouldn't have been able to get it to work had it not been for your help. I also want to thank those who responded either through the list or privately with helpful answers to my Unix-related questions. Your answers have helped me find my way around Unix and motivated me to further improve my understanding of it. There are a few things I still need to tweak and I thought I would ask you a few additional questions. I hope you don't mind. Question 1. I have created two additional lists for a total of three that I created plus one that Apple's own Server Admin requires (a list named Mailman). Using the web interface to check the lists hosted by my domain I find conflicting results. This is what I have: http://www.domain.com/mailman/listinfo List Description List 1 [no description available] List 2 [no description available] http://domain.com/mailman/listinfo List Description List 3 [no description available] List 4 [no description available] Shouldn't both www.domain.com and domain.com lead to the same results ? How can I make the necessary corrections so that both addresses are interchangeable and lead to the same results ? Question 2. As I made an attempt to create lists using the Mailman's web interface instead of Apple's Server Admin I couldn't get it done. Mailman kept returning an error message stating I didn't have permission to create lists. I tried numerous different passwords including the admin password for my server but it wouldn't work. What have I done wrong ? Thank you again for all your help. Joe On 12/8/10 6:07 PM, "Mark Sapiro" wrote: > JRC Groups wrote: >> >> I sent the message and this is what the log in Server Admin shows: >> >> Dec 8 17:48:13 dentserv postfix/smtpd[37996]: NOQUEUE: reject: RCPT from >> mail-gw0-f52.google.com[74.125.83.52]: 450 4.7.1 >> : Recipient address rejected: Service is >> unavailable; from= >> to= proto=ESMTP helo= >> Dec 8 17:48:13 dentserv postfix/smtpd[37996]: disconnect from >> mail-gw0-f52.google.com[74.125.83.52] > > This is Apple Postfix's greylisting at work. googlemail should retry > the send after a few minutes and it should succeed. See, e.g., > . > >>> Try running >>> >>> sudo /usr/share/mailman/bin/check_perms -f >>> >>> If it runs cleanly (don't worry about the warning about >>> archives/private being world searchable) logging and archiving should >>> work. >> >> I ran it and the following is the output: >> >> dentserv:~ locadmin$ sudo /usr/share/mailman/bin/check_perms -f >> Password: >> Warning: Private archive directory is other-executable (o+x). >> This could allow other users on your system to read private >> archives. >> If you're on a shared multiuser system, you should consult the >> installation manual on how to fix this. > > This is the warning I meant to ignore. > >> /private/var/mailman/data/virtual-mailman.db owned by root (must be owned by >> _mailman (fixing) >> /private/var/mailman/data/virtual-mailman.db permissions must be 066x (got >> 0100640) (fixing) >> Problems found: 2 >> Re-run as _mailman (or root) with -f flag to fix > > You already ran it via sudo with -f so the problems with > virtual-mailman.db should be fixed now. From alan at patriot.net Fri Dec 10 14:52:42 2010 From: alan at patriot.net (Alan McConnell) Date: Fri, 10 Dec 2010 08:52:42 -0500 Subject: [Mailman-Users] How to send messages out to only a portion of the members? Message-ID: <20101210135242.GB4009@patriot.net> Assembled Wisdom! First of all, a note of thanks to Mark Sapiro for his wonderful command of the mailman SW, _and_ for his great replies. Only those who have read messages on other lists by other experts can appreciate how elegantly and enlightenlingly Mr Sapiro formulates his answers. That duty done, to my question: I should like to be able to send messages to a selected partion of a membership and automate this procedure if possible. Example: to send members whose dues elapse in month N a reminder in month N - 1. I am thinking: a database of members, paralleling the one kept by mailman, but with e.g. subscription information kept in it. How can this be achieved in mailman? TIA for anticipated help. Alan McConnell, in Silver Spring MD -- Alan McConnell : http://patriot.net/users/alan A man may be in as just possession of truth as of a city, and yet be forced to surrender.(Thomas Browne) From ptomblin at xcski.com Fri Dec 10 15:59:29 2010 From: ptomblin at xcski.com (Paul Tomblin) Date: Fri, 10 Dec 2010 09:59:29 -0500 Subject: [Mailman-Users] How to send messages out to only a portion of the members? In-Reply-To: <20101210135242.GB4009@patriot.net> References: <20101210135242.GB4009@patriot.net> Message-ID: On Fri, Dec 10, 2010 at 8:52 AM, Alan McConnell wrote: > That duty done, to my question: ?I should like to be able to > send messages to a selected partion of a membership and automate > this procedure if possible. ?Example: to send members whose > dues elapse in month N a reminder in month N - 1. ? I am thinking: > a database of members, paralleling the one kept by mailman, but > with e.g. subscription information kept in it. > One suggestion would be to use "Topics" - put everybody in a topic group depending on when their dues lapse, and use that topic when you send out dues notices. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin From odhiambo at gmail.com Fri Dec 10 16:03:27 2010 From: odhiambo at gmail.com (Odhiambo Washington) Date: Fri, 10 Dec 2010 18:03:27 +0300 Subject: [Mailman-Users] How to send messages out to only a portion of the members? In-Reply-To: <20101210135242.GB4009@patriot.net> References: <20101210135242.GB4009@patriot.net> Message-ID: On Fri, Dec 10, 2010 at 4:52 PM, Alan McConnell wrote: > Assembled Wisdom! > > First of all, a note of thanks to Mark Sapiro for his wonderful command of > the mailman SW, _and_ for his great replies. Only > those who have read messages on other lists by other experts can appreciate > how elegantly and enlightenlingly Mr Sapiro formulates his answers. > That's because he is synonymous with Mailman:-) > > That duty done, to my question: I should like to be able to send messages > to a selected partion of a membership and automate > this procedure if possible. Example: to send members whose dues elapse in > month N a reminder in month N - 1. I am thinking: > a database of members, paralleling the one kept by mailman, but with e.g. > subscription information kept in it. > > You can do it if you have the database of addresses, but this is not a job for mailman, because some calculation is required. I could be wrong. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! From mark at msapiro.net Fri Dec 10 17:33:41 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 10 Dec 2010 08:33:41 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: JRC Groups wrote: > >I have created two additional lists for a total of three that I created plus >one that Apple's own Server Admin requires (a list named Mailman). Using the >web interface to check the lists hosted by my domain I find conflicting >results. This is what I have: > >http://www.domain.com/mailman/listinfo > >List Description >List 1 [no description available] >List 2 [no description available] > >http://domain.com/mailman/listinfo > >List Description >List 3 [no description available] >List 4 [no description available] > >Shouldn't both www.domain.com and domain.com lead to the same results ? How >can I make the necessary corrections so that both addresses are >interchangeable and lead to the same results ? See the FAQ at . In your case, the short answer is put VIRTUAL_HOST_OVERVIEW = Off in mm_cfg.py. >As I made an attempt to create lists using the Mailman's web interface >instead of Apple's Server Admin I couldn't get it done. Mailman kept >returning an error message stating I didn't have permission to create lists. >I tried numerous different passwords including the admin password for my >server but it wouldn't work. There are only two passwords that work for the Mailman web create interface. Neither is set by default. These are the Mailman site password (which is like a super list admin password) and the Mailman list creator password. set the site password with sudo /usr/share/mailman/bin/mmsitepass password and set the list creator password with sudo /usr/share/mailman/bin/mmsitepass -c password See sudo /usr/share/mailman/bin/mmsitepass --help Note that if you have a site password, you don't need a list creator password unless you want to give the ability to create lists to someone who doesn't have the site password, and setting a list creator password the same as the site password is superfluous. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Dec 10 18:27:47 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 10 Dec 2010 09:27:47 -0800 Subject: [Mailman-Users] How to send messages out to only a portion of themembers? In-Reply-To: <20101210135242.GB4009@patriot.net> Message-ID: Alan McConnell wrote: > >First of all, a note of thanks to Mark Sapiro for his wonderful >command of the mailman SW, _and_ for his great replies. Only >those who have read messages on other lists by other experts can >appreciate how elegantly and enlightenlingly Mr Sapiro formulates >his answers. >That duty done, to my question: I should like to be able to >send messages to a selected partion of a membership and automate >this procedure if possible. Example: to send members whose >dues elapse in month N a reminder in month N - 1. I am thinking: >a database of members, paralleling the one kept by mailman, but >with e.g. subscription information kept in it. > >How can this be achieved in mailman? As Paul Tomblin suggests, you may be able to do this with Topics, but I think it might be cumbersome especially if there were other subsets split in different ways. Plus, it relies on the list admin (or some automated process) maintaining the members' topic subscriptions, and this is designed to be a member option, not an admin function. For what it's worth, I do something similar for my cycling club and don't use Mailman at all. I just use a Python script that is run by cron, and which accesses the club's membership database directly and generates emails based on conditions in the member data. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From alan at patriot.net Fri Dec 10 18:51:45 2010 From: alan at patriot.net (Alan McConnell) Date: Fri, 10 Dec 2010 12:51:45 -0500 Subject: [Mailman-Users] How to send messages out to only a portion of themembers? In-Reply-To: References: <20101210135242.GB4009@patriot.net> Message-ID: <20101210175145.GA4644@patriot.net> On Fri, Dec 10, 2010 at 09:27:47AM -0800, Mark Sapiro wrote: > > Good! > >That duty done, to my question: I should like to be able to > >send messages to a selected partion of a membership and automate > >this procedure if possible. Example: to send members whose > >dues elapse in month N a reminder in month N - 1. I am thinking: > >a database of members, paralleling the one kept by mailman, but > >with e.g. subscription information kept in it. > > > >How can this be achieved in mailman? > > As Paul Tomblin suggests, you may be able to do this with Topics, but I > think it might be cumbersome especially if there were other subsets > split in different ways. Plus, it relies on the list admin (or some > automated process) maintaining the members' topic subscriptions, and > this is designed to be a member option, not an admin function. That cuts that out. > For what it's worth, I do something similar for my cycling club and > don't use Mailman at all. I just use a Python script that is run by > cron, and which accesses the club's membership database directly and > generates emails based on conditions in the member data. I have an idea, but not the Mailman/Python skills to implement it. It is as follows: Every month, create(automatically if possible) a new temporary mailman E-list(*). Copy(automatically if possible) the members -- and data -- of the members to be reminded -- to this new temporary List. Blast out the warning.(Blast out a second time if deemed necessary). Destroy this temporary List. (*) If the regular List is called AbracaDabra, the new temporary List can be called AbracaDabra-Remind, thus alerting AbracaDabra members that here is an E-mail related to AbracaDabra, and should be paid attention to. Is there anything in the above suggestion that is impossible? If not, how much effort -- Python writing, etc -- would be needed? It would seem to me that such a capability would be very useful for all kinds of groups and a multitude of purposes. I hope that some experts will respond. Best wishes, Alan -- Alan McConnell : http://patriot.net/users/alan A man may be in as just possession of truth as of a city, and yet be forced to surrender.(Thomas Browne) From upendra.gandhi at gmail.com Fri Dec 10 16:11:47 2010 From: upendra.gandhi at gmail.com (upen) Date: Fri, 10 Dec 2010 09:11:47 -0600 Subject: [Mailman-Users] solaris10 sparc, check_perms messages Message-ID: Hi, This is my first attempt to install Mailman-2.1.14 on solaris10/sparc. HAving installed pythin-2.6.2 and gcc4 I then successfull did y configure, gmake, gmake install. However, when I run bin/check_perms I receive below messages. -bash-3.00# ./bin/check_perms Traceback (most recent call last): File "./bin/check_perms", line 395, in checkmail() File "./bin/check_perms", line 293, in checkmail mode = statmode(wrapper) File "./bin/check_perms", line 82, in statmode return os.stat(path)[ST_MODE] OSError: [Errno 2] No such file or directory: '/usr/local/mailman/mail/mailman' Can someone throw some light on this issue? In addition, if there is any howto or install document on internet for Mailman on solaris 10 then please let me know that too. Thanks. Aero From mark at msapiro.net Sun Dec 12 04:33:35 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 11 Dec 2010 19:33:35 -0800 Subject: [Mailman-Users] solaris10 sparc, check_perms messages In-Reply-To: Message-ID: upen wrote: > >This is my first attempt to install Mailman-2.1.14 on solaris10/sparc. >HAving installed pythin-2.6.2 and gcc4 I then successfull did y >configure, gmake, gmake install. However, when I run bin/check_perms I >receive below messages. > >-bash-3.00# ./bin/check_perms >Traceback (most recent call last): > File "./bin/check_perms", line 395, in > checkmail() > File "./bin/check_perms", line 293, in checkmail > mode = statmode(wrapper) > File "./bin/check_perms", line 82, in statmode > return os.stat(path)[ST_MODE] >OSError: [Errno 2] No such file or directory: '/usr/local/mailman/mail/mailman' Presumably this is because the mail wrapper has some other name, perhaps /usr/local/mailman/mail/mailman.exe, but why? Or is there no /usr/local/mailman/mail/* mail wrapper at all? >Can someone throw some light on this issue? It may be a bug in check_perms. What options did you give to configure? What is the name of the mail wrapper file in /usr/local/mailman/mail/? >In addition, if there is >any howto or install document on internet for Mailman on solaris 10 >then please let me know that too. Try -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From upendra.gandhi at gmail.com Sun Dec 12 04:50:35 2010 From: upendra.gandhi at gmail.com (upen) Date: Sat, 11 Dec 2010 21:50:35 -0600 Subject: [Mailman-Users] solaris10 sparc, check_perms messages In-Reply-To: References: Message-ID: Hi, On Sat, Dec 11, 2010 at 9:33 PM, Mark Sapiro wrote: > upen wrote: >> >>This is my first attempt to install Mailman-2.1.14 on solaris10/sparc. >>HAving installed pythin-2.6.2 and gcc4 I then successfull did y >>configure, gmake, gmake install. However, when I run bin/check_perms I >>receive below messages. >> >>-bash-3.00# ./bin/check_perms >>Traceback (most recent call last): >> ?File "./bin/check_perms", line 395, in >> ? ?checkmail() >> ?File "./bin/check_perms", line 293, in checkmail >> ? ?mode = statmode(wrapper) >> ?File "./bin/check_perms", line 82, in statmode >> ? ?return os.stat(path)[ST_MODE] >>OSError: [Errno 2] No such file or directory: '/usr/local/mailman/mail/mailman' > > > Presumably this is because the mail wrapper has some other name, > perhaps > /usr/local/mailman/mail/mailman.exe, but why? Or is there no > /usr/local/mailman/mail/* mail wrapper at all? Yes, surprisingly there was no mailman file or directory in /usr/local/mailman/mail after installation. However, I later decided not to use python package and gcc4 provided by Blastwave CSW and infact removed all references to csw/lib and csw/bin from PATH and LD_LIBRARY_PATH and decided to use old gcc version from /usr/local/bin and python from /usr/sfw/bin and installed Mailman again. This way everything is working fine. In fact check_perms also worked fine this time. :) > > >>Can someone throw some light on this issue? > > > It may be a bug in check_perms. What options did you give to configure? > What is the name of the mail wrapper file in /usr/local/mailman/mail/? > > >>In addition, if there is >>any howto or install document on internet for Mailman on solaris 10 >>then please let me know that too. > > > Try > 10"> > Thanks much. Issue resolved. From joemailgroups at gmail.com Sun Dec 12 07:11:49 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Sat, 11 Dec 2010 22:11:49 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: Hi, Mark. On 12/10/10 8:33 AM, "Mark Sapiro" wrote: > JRC Groups wrote: >> >> I have created two additional lists for a total of three that I created plus >> one that Apple's own Server Admin requires (a list named Mailman). Using the >> web interface to check the lists hosted by my domain I find conflicting >> results. This is what I have: >> >> http://www.domain.com/mailman/listinfo >> >> List Description >> List 1 [no description available] >> List 2 [no description available] >> >> http://domain.com/mailman/listinfo >> >> List Description >> List 3 [no description available] >> List 4 [no description available] >> >> Shouldn't both www.domain.com and domain.com lead to the same results ? How >> can I make the necessary corrections so that both addresses are >> interchangeable and lead to the same results ? > > > > See the FAQ at . In your case, the short > answer is put > > VIRTUAL_HOST_OVERVIEW = Off > > in mm_cfg.py. I did just as you recommended but it didn't change the behavior displayed by the listinfo command. >> As I made an attempt to create lists using the Mailman's web interface >> instead of Apple's Server Admin I couldn't get it done. Mailman kept >> returning an error message stating I didn't have permission to create lists. >> I tried numerous different passwords including the admin password for my >> server but it wouldn't work. > > > There are only two passwords that work for the Mailman web create > interface. Neither is set by default. These are the Mailman site > password (which is like a super list admin password) and the Mailman > list creator password. > > set the site password with > > sudo /usr/share/mailman/bin/mmsitepass password > > and set the list creator password with > > sudo /usr/share/mailman/bin/mmsitepass -c password > > See > > sudo /usr/share/mailman/bin/mmsitepass --help > > Note that if you have a site password, you don't need a list creator > password unless you want to give the ability to create lists to > someone who doesn't have the site password, and setting a list creator > password the same as the site password is superfluous. It worked just as you had recommended. I was able to assign new site and list creator passwords. I haven't yet had the opportunity to test it as I am first trying to get the problem above resolved before I make attempts to create other lists. One thing I noticed is that I can create lists under www.domain.com/mailman/create or domain.com/mailman/create. Each takes me to a page titled "Create a www.domain.com Mailing List" and "Create a domain.com Mailing List" respectively. If not the way you suggested above, what could be the problem and how can I resolve it ? Thank you again, Joe From vadiveldotnet at gmail.com Sun Dec 12 07:54:26 2010 From: vadiveldotnet at gmail.com (M.Vadivel Kumar) Date: Sun, 12 Dec 2010 12:24:26 +0530 Subject: [Mailman-Users] please help me hide mailman lists from lists display and also help how to set lists email to user like this Message-ID: Dear All users please help me hide mailman lists from lists display and also help how to set lists email to user like this From:testall-bounces at lists.mydomain.com On Behalf Of: "user at mydomain.com To: testall at lists.mydomain.com -- Regards M.Vadivel Kumar From joemailgroups at gmail.com Sun Dec 12 08:35:12 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Sat, 11 Dec 2010 23:35:12 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: Hi, Mark. Just as a follow-up to my previous e-mail please read some added notes below. > It worked just as you had recommended. I was able to assign new site and list > creator passwords. I haven't yet had the opportunity to test it as I am first > trying to get the problem above resolved before I make attempts to create > other lists. > One thing I noticed is that I can create lists under > www.domain.com/mailman/create or domain.com/mailman/create. Each takes me to a > page titled "Create a www.domain.com Mailing List" and "Create a domain.com > Mailing List" respectively. > If not the way you suggested above, what could be the problem and how can I > resolve it ? > Thank you again, > Joe I made an attempt to create a new list using www.domain.com/mailman/create. At first I was prompted for an initial list password as Mailman didn't allow me to create a list without one. Next I received a response from Mailman stating that I didn't have permission to create lists. After I entered the site password in "List creator's (authentication) password:" I the received the following error message: "Unknown virtual host: www.domain.com" After that I thought I would try to create a new list using domain.com/mailman/create. The result was exactly the same. I received the same error message as above. What have I done wrong and how can I correct it ? Thank you again, Joe From mark at msapiro.net Sun Dec 12 17:55:01 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 12 Dec 2010 08:55:01 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: JRC Groups wrote: > >On 12/10/10 8:33 AM, "Mark Sapiro" wrote: > >> JRC Groups wrote: >>> >>> I have created two additional lists for a total of three that I created plus >>> one that Apple's own Server Admin requires (a list named Mailman). Using the >>> web interface to check the lists hosted by my domain I find conflicting >>> results. This is what I have: >>> >>> http://www.domain.com/mailman/listinfo >>> >>> List Description >>> List 1 [no description available] >>> List 2 [no description available] >>> >>> http://domain.com/mailman/listinfo >>> >>> List Description >>> List 3 [no description available] >>> List 4 [no description available] >>> >>> Shouldn't both www.domain.com and domain.com lead to the same results ? How >>> can I make the necessary corrections so that both addresses are >>> interchangeable and lead to the same results ? >> >> >> >> See the FAQ at . In your case, the short >> answer is put >> >> VIRTUAL_HOST_OVERVIEW = Off >> >> in mm_cfg.py. > >I did just as you recommended but it didn't change the behavior displayed by >the listinfo command. If you have "VIRTUAL_HOST_OVERVIEW = Off" in mm_cfg.py and the lists which appear on the listinfo overview page depend on the host name in the URL used to visit the page, this must be due to some Apple modification. In standard GNU Mailman, VIRTUAL_HOST_OVERVIEW controls this behavior. [...] > >One thing I noticed is that I can create lists under >www.domain.com/mailman/create or domain.com/mailman/create. Each takes me to >a page titled "Create a www.domain.com Mailing List" and "Create a >domain.com Mailing List" respectively. > >If not the way you suggested above, what could be the problem and how can I >resolve it ? Again, this indicates either some Apple modification or somehow you haven't got "VIRTUAL_HOST_OVERVIEW = Off" in mm_cfg.py. In standard Gnu Mailman with "VIRTUAL_HOST_OVERVIEW = Off", the web create CGI will always assume the list domain is that defined by DEFAULT_URL_HOST. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Dec 12 17:59:19 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 12 Dec 2010 08:59:19 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: JRC Groups wrote: > >I made an attempt to create a new list using www.domain.com/mailman/create. >At first I was prompted for an initial list password as Mailman didn't allow >me to create a list without one. Next I received a response from Mailman >stating that I didn't have permission to create lists. After I entered the >site password in "List creator's (authentication) password:" I the received >the following error message: "Unknown virtual host: www.domain.com" > >After that I thought I would try to create a new list using >domain.com/mailman/create. The result was exactly the same. I received the >same error message as above. > >What have I done wrong and how can I correct it ? I don't know. Please post the entire contents of your mm_cfg.py. The above errors indicate that there is no add_virtualhost() for www.domain.com, but this is not consistent with other things you observe. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Dec 13 06:58:29 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 12 Dec 2010 21:58:29 -0800 Subject: [Mailman-Users] please help me hide mailman lists from listsdisplay and also help how to set lists email to user like this In-Reply-To: Message-ID: M.Vadivel Kumar wrote: > please help me hide mailman lists from lists display On the web admin interface Privacy options... -> Subscription rules page, set advertised to No. > and also help how to set lists email to user like this > > From:testall-bounces at lists.mydomain.com > > On Behalf Of: "user at mydomain.com > To: testall at lists.mydomain.com If you are asking how to STOP list mail from displaying like that, see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From joemailgroups at gmail.com Mon Dec 13 07:01:05 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Sun, 12 Dec 2010 22:01:05 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: Hi, Mark. On 12/12/10 8:59 AM, "Mark Sapiro" wrote: > I don't know. Please post the entire contents of your mm_cfg.py. The > above errors indicate that there is no add_virtualhost() for > www.domain.com, but this is not consistent with other things you > observe. Here it is: # Put YOUR site-specific settings below this line. MTA = 'Postfix' DEFAULT_EMAIL_HOST = 'dentserv.main.private' DEFAULT_URL_HOST = 'dentserv.main.private' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) POSTFIX_STYLE_VIRTUAL_DOMAINS = ['3wforum.com'] VIRTUAL_HOST_OVERVIEW = Off As I copied the contents to paste them here I noticed that I had made a mistake. On the last entry I had "VIRTUAL_HOST_OVERVIEW - Off" instead of "VIRTUAL_HOST_OVERVIEW = Off". Once I corrected this entry I was able to have all lists displayed in the listinfo window. Now that I am able to view all lists displayed together in the same listinfo window I also noticed that the title to the listinfo page reads "dentserv.main.private Mailing Lists". In looking back at the mm_cfg.py file contents I noticed that something had been modified after I made the revisions you had suggested. The following entries were: DEFAULT_EMAIL_HOST = 'dentserv.main.private' DEFAULT_URL_HOST = 'dentserv.main.private' This is the name of my server and not the domain names as I had previously entered. So I proceeded to make the changes as you had previously suggested. DEFAULT_EMAIL_HOST = 'domain.com' DEFAULT_URL_HOST = 'www.domain.com' After these changes I was finally able to have the lists displayed in the listinfo window. I also noticed that the title above now reads "www.domain.com Mailing Lists". The titles is the same independent of whether I type "www.domain.com/mailman/listinfo" or "domain.com/mailman/listinfo". After that I also made an attempt to create a new list from the web interface using "www.domain.com/mailman/create" and this time it worked fine without any error messages. I am left with a question: Why were the two lines above changed from the domain names I had entered following your suggestion to the name of the server ? Do you think it has something to do with my server settings or do you think it may be related with Apple's implementation of Mailman ? Thank you again for your help. Joe From umarzuki at gmail.com Mon Dec 13 02:50:07 2010 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Mon, 13 Dec 2010 09:50:07 +0800 Subject: [Mailman-Users] the requested page could not be retrieved Message-ID: Hi, I changed the hostname of my mailman server and ow it says "the requested page could not be retrieved". Where i should change other than /etc/httpd/conf.d/mailman.conf on rhel 5? From mark at msapiro.net Mon Dec 13 07:22:55 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 12 Dec 2010 22:22:55 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: JRC Groups wrote: > >On 12/12/10 8:59 AM, "Mark Sapiro" wrote: > >> I don't know. Please post the entire contents of your mm_cfg.py. The >> above errors indicate that there is no add_virtualhost() for >> www.domain.com, but this is not consistent with other things you >> observe. > >Here it is: > ># Put YOUR site-specific settings below this line. >MTA = 'Postfix' >DEFAULT_EMAIL_HOST = 'dentserv.main.private' >DEFAULT_URL_HOST = 'dentserv.main.private' As you note below, the above entries are not what you want. >VIRTUAL_HOSTS.clear() >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['3wforum.com'] Is the '3wforum.com' domain what you refer to elsewhere as 'domain.com'. If so, the above is probably fine (although the cat is now out of the bag). If not, then it probably should be. >VIRTUAL_HOST_OVERVIEW = Off > >As I copied the contents to paste them here I noticed that I had made a >mistake. On the last entry I had "VIRTUAL_HOST_OVERVIEW - Off" instead of >"VIRTUAL_HOST_OVERVIEW = Off". Once I corrected this entry I was able to >have all lists displayed in the listinfo window. Good. >Now that I am able to view all lists displayed together in the same listinfo >window I also noticed that the title to the listinfo page reads >"dentserv.main.private Mailing Lists". In looking back at the mm_cfg.py file >contents I noticed that something had been modified after I made the >revisions you had suggested. The following entries were: > >DEFAULT_EMAIL_HOST = 'dentserv.main.private' >DEFAULT_URL_HOST = 'dentserv.main.private' > >This is the name of my server and not the domain names as I had previously >entered. So I proceeded to make the changes as you had previously suggested. > >DEFAULT_EMAIL_HOST = 'domain.com' >DEFAULT_URL_HOST = 'www.domain.com' > >After these changes I was finally able to have the lists displayed in the >listinfo window. I also noticed that the title above now reads >"www.domain.com Mailing Lists". The titles is the same independent of >whether I type "www.domain.com/mailman/listinfo" or >"domain.com/mailman/listinfo". Yes, this is a result of "VIRTUAL_HOST_OVERVIEW = Off" which in addition to displaying all lists on the overview regardless of whether the list's URL host matches the host in the URL accessing the page also causes DEFAULT_URL_HOST to be treated as the host. >After that I also made an attempt to create a new list from the web >interface using "www.domain.com/mailman/create" and this time it worked fine >without any error messages. > >I am left with a question: Why were the two lines above changed from the >domain names I had entered following your suggestion to the name of the >server ? Do you think it has something to do with my server settings or do >you think it may be related with Apple's implementation of Mailman ? I think it must have something to do with Apple's implementation of Mailman. I suspect it has something to do with Apple's list creation process. There is nothing in standard GNU Mailman that would edit mm_cfg.py behind your back, nor would any non-Mailman process do this. Perhaps others on this list who are familiar with Apple Server could shed more light on this. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Dec 13 07:40:18 2010 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 12 Dec 2010 22:40:18 -0800 Subject: [Mailman-Users] the requested page could not be retrieved In-Reply-To: Message-ID: Umarzuki Mochlis wrote: > >I changed the hostname of my mailman server and ow it says "the requested >page could not be retrieved". Where i should change other than >/etc/httpd/conf.d/mailman.conf on rhel 5? See the FAQ at , although none of the things discussed should affect what appears to be an Apache generated error. For that matter, what's in /etc/httpd/conf.d/mailman.conf that affects the host name? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From umarzuki at gmail.com Mon Dec 13 13:13:09 2010 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Mon, 13 Dec 2010 20:13:09 +0800 Subject: [Mailman-Users] the requested page could not be retrieved In-Reply-To: References: Message-ID: 2010/12/13 Mark Sapiro > Umarzuki Mochlis wrote: > > > >I changed the hostname of my mailman server and ow it says "the requested > >page could not be retrieved". Where i should change other than > >/etc/httpd/conf.d/mailman.conf on rhel 5? > > > See the FAQ at , although none of the > things discussed should affect what appears to be an Apache generated > error. > > For that matter, what's in /etc/httpd/conf.d/mailman.conf that affects > the host name? > > i also had to set the same fqdn in /etc/hosts too > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > -- Regards, Umarzuki Mochlis http://debmal.my From support at misrvision.com Mon Dec 13 20:06:42 2010 From: support at misrvision.com (support team) Date: Mon, 13 Dec 2010 21:06:42 +0200 Subject: [Mailman-Users] Removing "on behalf of" Message-ID: Dear How can I Remove "on behalf of" with outlook??? thanks From mark at msapiro.net Tue Dec 14 16:12:49 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 14 Dec 2010 07:12:49 -0800 Subject: [Mailman-Users] Removing "on behalf of" In-Reply-To: Message-ID: support team wrote: > >How can I Remove "on behalf of" with outlook??? 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 Dec 15 06:40:15 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 14 Dec 2010 21:40:15 -0800 Subject: [Mailman-Users] How to send messages out to only a portion of themembers? In-Reply-To: <20101210175145.GA4644@patriot.net> Message-ID: Alan McConnell wrote: > I have an idea, but not the Mailman/Python skills to implement > it. It is as follows: >Every month, create(automatically if possible) a new temporary mailman >E-list(*). Copy(automatically if possible) the members -- and data -- >of the members to be reminded -- to this new temporary List. Blast out >the warning.(Blast out a second time if deemed necessary). Destroy >this temporary List. >(*) If the regular List is called AbracaDabra, the new temporary >List can be called AbracaDabra-Remind, thus alerting AbracaDabra >members that here is an E-mail related to AbracaDabra, and should >be paid attention to. > > Is there anything in the above suggestion that is impossible? > If not, how much effort -- Python writing, etc -- would be > needed? It would seem to me that such a capability would be > very useful for all kinds of groups and a multitude of purposes. I would do the following: Create an announcement list named AbracaDabra-Remind following the guidelines in the FAQ at . This list will be permanent, but its membership will change. It should probably have Privacy options... -> Subscription rules -> advertised = No and Archiving Options -> archive = No. Then, using your membership data, create a list of the email addresses that you want to mail to and use that as input to Mailman's bin/sync_members (with options --welcome-msg=no, --goodbye-msg=no and --notifyadmin=no) and post your reminder. This could all be done automatically in a cron job, perhaps using bin/inject to make the post. Whether this is easy or hard depends on your membership database. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From joemailgroups at gmail.com Wed Dec 15 07:27:33 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Tue, 14 Dec 2010 22:27:33 -0800 Subject: [Mailman-Users] Problems with Mailman set-up in Mac OS X Server and Server Admin. Message-ID: Dear all, I have been lucky enough to be helped by Mark Sapiro to get my installation of Mailman fixed and my mailing lists properly configured. His help has been crucial and I want to acknowledge publicly how grateful I am for his help. We have experienced a problem that seems to be created by Apple's implementation of Mailman and Mark suggested I contacted others more experienced with Apple's OS X Server to obtain help. In Mailman's mm_cfg.py file there are two lines that need to be as follows: DEFAULT_EMAIL_HOST = 'domain.com' DEFAULT_URL_HOST = 'www.domain.com' The problem is that I have edited this file three or four times now and it seems Apple's Server Admin or another OS X Server application continues to change it back to the following: DEFAULT_EMAIL_HOST = 'servername' DEFAULT_URL_HOST = 'servername' The problem with this is that every time someone looks at Mailman's listinfo web page to see what lists are hosted by our server the title on the top has the server name instead of the domain name for the lists. Instead of the listinfo page displaying the proper title that should be "www.domain.com Mailing Lists" it actually displays "servername Mailing Lists". Does anyone know what might be causing this and hot to have this problem fixed ? Thank you, Joe From joemailgroups at gmail.com Wed Dec 15 07:30:54 2010 From: joemailgroups at gmail.com (JRC Groups) Date: Tue, 14 Dec 2010 22:30:54 -0800 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: Larry, Thank you for your help and suggestions. I have researched your recommendations and am now learning about the specific commands you suggested. Joe On 12/8/10 4:05 PM, "Larry Stone" wrote: > On 12/8/10 2:01 PM, JRC Groups at joemailgroups at gmail.com wrote: > >> Is there a simpler way than Terminal (command line) to edit these files and >> then resave them ? Something along the lines of a text editor. Or do I need >> to use Terminal to do it ? >> >> In this case, if Terminal is necessary, can you guide on how to take a step >> by step approach to getting it done ? I have never edited a file (specially >> a system file) in Terminal before and don't know how to go about it. > > This is somewhat off-topic for the Mailman list but if you want to do any > sort of advanced system administration on a Macintosh, you need, IMHO, to be > familiar with Unix shell commands and related utility. The Mac OS X Terminal > program just creates a shell process and window where you then execute shell > commands. > > At a minimum, you need to be familiar with certain basic commands like ls > (directory) and commands for creating (touch among others), renaming/MoVing > (mv), and deleting/ReMoving (rm) files and directories (mkdir, mv, and rmdir > respectively). You also need to be familiar with one of the standard text > editors (vi or emacs) as well as commands for dealing with file ownership > (chown) and permissions (chmod). From chris.tandiono at gmail.com Wed Dec 15 08:05:45 2010 From: chris.tandiono at gmail.com (Chris Tandiono) Date: Tue, 14 Dec 2010 23:05:45 -0800 Subject: [Mailman-Users] Problems with Mailman set-up in Mac OS X Server and Server Admin. In-Reply-To: References: Message-ID: <9C8F04FD-6CCB-49DA-8581-8F654154BA89@gmail.com> You might need to change the setting in Mac OS X Server Admin rather than manually changing it in mm_cfg.py. For example, when you add a directory in web sharing in the sharing prefpane, it's added to httpd.conf, and I think it will automatically be re-added if you remove it from httpd.conf without removing it from the web sharing prefpane. Alternatively, you could install mailman from source/MacPorts/Fink and ignore the provided mailman... On 14 Dec 2010, at 22:27 , JRC Groups wrote: > Dear all, > > > I have been lucky enough to be helped by Mark Sapiro to get my installation > of Mailman fixed and my mailing lists properly configured. His help has been > crucial and I want to acknowledge publicly how grateful I am for his help. > > We have experienced a problem that seems to be created by Apple's > implementation of Mailman and Mark suggested I contacted others more > experienced with Apple's OS X Server to obtain help. > > In Mailman's mm_cfg.py file there are two lines that need to be as follows: > > DEFAULT_EMAIL_HOST = 'domain.com' > DEFAULT_URL_HOST = 'www.domain.com' > > The problem is that I have edited this file three or four times now and it > seems Apple's Server Admin or another OS X Server application continues to > change it back to the following: > > DEFAULT_EMAIL_HOST = 'servername' > DEFAULT_URL_HOST = 'servername' > > The problem with this is that every time someone looks at Mailman's listinfo > web page to see what lists are hosted by our server the title on the top has > the server name instead of the domain name for the lists. Instead of the > listinfo page displaying the proper title that should be "www.domain.com > Mailing Lists" it actually displays "servername Mailing Lists". > > Does anyone know what might be causing this and hot to have this problem > fixed ? > > Thank you, > > > Joe > > > > ------------------------------------------------------ > 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/chris.tandiono%40gmail.com From floeff at gmail.com Tue Dec 14 20:34:12 2010 From: floeff at gmail.com (Florian Effenberger) Date: Tue, 14 Dec 2010 20:34:12 +0100 Subject: [Mailman-Users] owner alias bounces Message-ID: Hello, on all my mailing lists, I have the problem that mails to the -owner alias seem to bounce. The sender doesn't receive a bounce, but the list owners don't receive the e-mail -- instead, failures are logged in mailman's bounce log. The owners are the same as the subscribers (it's an internal list), and mails to the list reach these destinations itself, so it can't be a general problem. The receipients are within and outside of our domain. I'm a bit clueless and can't find much in the logs. Any idea where to start searching? Thanks, Florian From floeff at gmail.com Tue Dec 14 20:36:47 2010 From: floeff at gmail.com (Florian Effenberger) Date: Tue, 14 Dec 2010 20:36:47 +0100 Subject: [Mailman-Users] owner alias bounces In-Reply-To: References: Message-ID: Addendum: Shortly afterwards, I fully receive a bounce probe message, with the message sent to -owner as attachment. So, the message reaches me, Mailman somehow bounces it anyways... 2010/12/14 Florian Effenberger : > Hello, > > on all my mailing lists, I have the problem that mails to the -owner > alias seem to bounce. The sender doesn't receive a bounce, but the > list owners don't receive the e-mail -- instead, failures are logged > in mailman's bounce log. The owners are the same as the subscribers > (it's an internal list), and mails to the list reach these > destinations itself, so it can't be a general problem. The receipients > are within and outside of our domain. > > I'm a bit clueless and can't find much in the logs. Any idea where to > start searching? > > Thanks, > Florian > From floeff at gmail.com Tue Dec 14 20:44:08 2010 From: floeff at gmail.com (Florian Effenberger) Date: Tue, 14 Dec 2010 20:44:08 +0100 Subject: [Mailman-Users] owner alias bounces In-Reply-To: References: Message-ID: Another thing I just found out: The mailman-owner alias is only generated for the 2nd of our two virtual domains. Maybe that's related? (The other -owner aliases, including the one for the list I'm testing with, are correct, however.) 2010/12/14 Florian Effenberger : > Addendum: > > Shortly afterwards, I fully receive a bounce probe message, with the > message sent to -owner as attachment. So, the message reaches me, > Mailman somehow bounces it anyways... From floeff at gmail.com Wed Dec 15 10:40:21 2010 From: floeff at gmail.com (Florian Effenberger) Date: Wed, 15 Dec 2010 10:40:21 +0100 Subject: [Mailman-Users] owner alias bounces In-Reply-To: References: Message-ID: Hello, 2010/12/14 Florian Effenberger : > Another thing I just found out: > > The mailman-owner alias is only generated for the 2nd of our two > virtual domains. Maybe that's related? > (The other -owner aliases, including the one for the list I'm testing > with, are correct, however.) interestingly, a withlist -l -r fix_url -a seems to have cured the problem. Of course, copy-pasting it out of my documentation without thinking led to the hostnames for 50% of the lists being wrong, which I manually corrected in the list interface, but now things seem to work. Maybe it also has something to do with the nightly cronjobs, resetting the bounce counter? Strange... Anyone knows an easier solution when migration another host to our mailing list server while adding another hostname? Thanks, Florian From rhkramer at gmail.com Wed Dec 15 14:39:01 2010 From: rhkramer at gmail.com (Randy Kramer) Date: Wed, 15 Dec 2010 09:39:01 -0400 Subject: [Mailman-Users] Does mailman support the Archived-At header (RFC-5064) Message-ID: <201012150839.01864.rhkramer@gmail.com> I'm asking if mailman can be set up so it will calculate the required header (hash of the message ID or whatever) and insert it in a post before distributing the post to the list? I've tried googling and searching things like the NEWS file for mailman (at least for version 2.2x), with no luck. I had seen words that Mailman will (i.e., plans to) support RFC-5064, but maybe it hasn't been implemented yet? Randy Kramer From barry at list.org Wed Dec 15 15:44:26 2010 From: barry at list.org (Barry Warsaw) Date: Wed, 15 Dec 2010 09:44:26 -0500 Subject: [Mailman-Users] Does mailman support the Archived-At header (RFC-5064) In-Reply-To: <201012150839.01864.rhkramer@gmail.com> References: <201012150839.01864.rhkramer@gmail.com> Message-ID: <20101215094426.54dcf3be@mission> On Dec 15, 2010, at 09:39 AM, Randy Kramer wrote: >I'm asking if mailman can be set up so it will calculate the required >header (hash of the message ID or whatever) and insert it in a post >before distributing the post to the list? > >I've tried googling and searching things like the NEWS file for mailman >(at least for version 2.2x), with no luck. > >I had seen words that Mailman will (i.e., plans to) support RFC-5064, >but maybe it hasn't been implemented yet? It's in the Mailman 3 alphas: http://wiki.list.org/display/DEV/Stable+URLs Cheers, -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From rhkramer at gmail.com Thu Dec 16 05:15:14 2010 From: rhkramer at gmail.com (Randy Kramer) Date: Thu, 16 Dec 2010 00:15:14 -0400 Subject: [Mailman-Users] Does mailman support the Archived-At header (RFC-5064) In-Reply-To: <20101215094426.54dcf3be@mission> References: <201012150839.01864.rhkramer@gmail.com> <20101215094426.54dcf3be@mission> Message-ID: <201012152315.14390.rhkramer@gmail.com> Thanks! In case you (plural) are not aware, some mail lists are already using the Archived-At header in conjunction with the mail-archive. The list I am most familiar with is the discuss at documentfoundation.org. from: http://go.mail-archive.com/Q1UNIhR2F51LZaV-5fjs4-Qj5jM= ' We use mlmmj - http://mlmmj.org/ but that by itself doesn't really support hooking it up with the archive-at header and also has other major limitations (as it will not handle cases where the footer contains characters not available in the postings charset), thus we use (used from the beginning) an additional filter in between (pymime): pymime can be foundhere: https://github.com/tdf/pymime ' Randy Kramer On Wednesday 15 December 2010 09:44:26 am Barry Warsaw wrote: > On Dec 15, 2010, at 09:39 AM, Randy Kramer wrote: > >I'm asking if mailman can be set up so it will calculate the > > required header (hash of the message ID or whatever) and insert it > > in a post before distributing the post to the list? > > > >I've tried googling and searching things like the NEWS file for > > mailman (at least for version 2.2x), with no luck. > > > >I had seen words that Mailman will (i.e., plans to) support > > RFC-5064, but maybe it hasn't been implemented yet? > > It's in the Mailman 3 alphas: > > http://wiki.list.org/display/DEV/Stable+URLs > > Cheers, > -Barry From kalvingao at singaren.net.sg Thu Dec 16 05:10:45 2010 From: kalvingao at singaren.net.sg (KAIWEN) Date: Wed, 15 Dec 2010 20:10:45 -0800 (PST) Subject: [Mailman-Users] email delay for 2 days Message-ID: <30470032.post@talk.nabble.com> dear all i configure ubuntu 9.04 + mailman 2.1.12 + postfix 2.5.5. it works fine, but there is a delay for sending emails from last week. i checked the mail log file, it shows the mail is sent, but the recipient only can receive the email 2 days later, any advise on solving this problem? thank you! -- View this message in context: http://old.nabble.com/email-delay-for-2-days-tp30470032p30470032.html Sent from the Mailman - Users mailing list archive at Nabble.com. From kengqiangmk at hotmail.com Thu Dec 16 19:06:31 2010 From: kengqiangmk at hotmail.com (MiaoKe) Date: Thu, 16 Dec 2010 18:06:31 +0000 Subject: [Mailman-Users] Notification set to no, but still received unsubscription message while member still there Message-ID: Hello, As the admin of one list, I received the following message recently: From: mailman-bounces at .... Sender: mailman-bounces at .... To: mailinglistname-owner at .... Subject: mailinglistname unsubscribe notification Sent: Dec 16, 2010 9:00 AM minks at ...... has been removed from Councilor. But I checked the member database of that mailingilist, this minks at ...... is still there... Please give some suggestions on how to resolve this! Thanks very much! Kay From umarzuki at gmail.com Thu Dec 16 16:16:04 2010 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Thu, 16 Dec 2010 23:16:04 +0800 Subject: [Mailman-Users] User unknown in virtual mailbox table Message-ID: Hi, I created a list from the admin interface, not from CLI. I administator of that list do not get the list creation notification & I found these messages in /var/log/mailman/smtp-failure Dec 16 13:49:13 2010 (26989) All recipients refused: {'umarzuki at mydomain.com.my': (550, '5.1.0 : Sender address rejected: User unknown in virtual mailbox table')}, msgid: Dec 16 13:49:13 2010 (26989) delivery to umarzuki at mydomain.com.my failed with code 550: 5.1.0 : Sender address rejected: User unknown in virtual mailbox table # cat /var/log/maillog | grep test02 Dec 16 13:49:13 hpj-mail postfix/smtpd[30059]: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 550 5.1.0 : Sender address rejected: User unknown in virtual mailbox table; from= to= proto=ESMTP helo= This installation in on centos 5.5 What should I do next so I can send and receive email to this list (test02)? From bruceclark at icon.co.za Thu Dec 16 15:24:42 2010 From: bruceclark at icon.co.za (bruce clark) Date: Thu, 16 Dec 2010 16:24:42 +0200 Subject: [Mailman-Users] Stripping sig files Message-ID: Hi, I've looked at the FAQ but because I put the 'new' in newbie, I don't really understand the subtleties. My problem: the users on my lists are waging a low-level war with their sig files. I do not allow commercial posting so they have started creating sig files with their commercial messages inside them. This is creating a lot of 'heat' and wasting a huge amount of my time as I try and deal with users. I've gone into content filtering and listed the mime types of images to be filtered, but there is still text in the sig files that I would like to delete before the mail reaches the list. Is there a way to strip entire sig files? My FAQ reading mentions something about procmail (which I don't really understand). Should I be teaching myself something about procmail, or should I be putting my energy somewhere else? I guess I would somehow need to intercept the mail between the sender and the receiver and somehow 'fix' it? Please, can anyone shed any light? I'm a writer and not an admin so speak slowly :) (and don't suggest that I go around to the offenders' houses and beat them up - because I've thought of that already) Thanks, Bruce. From mark at msapiro.net Fri Dec 17 06:23:23 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 16 Dec 2010 21:23:23 -0800 Subject: [Mailman-Users] Stripping sig files In-Reply-To: Message-ID: bruce clark wrote > >My problem: the users on my lists are waging a low-level war with >their sig files. I do not allow commercial posting so they have >started creating sig files with their commercial messages inside them. > >This is creating a lot of 'heat' and wasting a huge amount of my time >as I try and deal with users. I've gone into content filtering and >listed the mime types of images to be filtered, but there is still >text in the sig files that I would like to delete before the mail >reaches the list. > >Is there a way to strip entire sig files? If you have the ability to modify the Mailman code, you could create a custom handler to do this. See the FAQ at . >My FAQ reading mentions something about procmail (which I don't really >understand). Should I be teaching myself something about procmail, or >should I be putting my energy somewhere else? I guess I would somehow >need to intercept the mail between the sender and the receiver and >somehow 'fix' it? If I were you, I would moderate the offending users and simply reject their posts until they learn. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From ptomblin at xcski.com Fri Dec 17 13:04:21 2010 From: ptomblin at xcski.com (Paul Tomblin) Date: Fri, 17 Dec 2010 07:04:21 -0500 Subject: [Mailman-Users] Stripping sig files In-Reply-To: References: Message-ID: On Thu, Dec 16, 2010 at 9:24 AM, bruce clark wrote: > My problem: the users on my lists are waging a low-level war with their sig > files. I do not allow commercial posting so they have started creating sig > files with their commercial messages inside them. > You're not going to solve a social problem with technology. If people are violating the terms of the list, boot them off until they agree to follow the terms of the list. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin From chris at westnet.com Fri Dec 17 14:32:54 2010 From: chris at westnet.com (Christopher X. Candreva) Date: Fri, 17 Dec 2010 08:32:54 -0500 (EST) Subject: [Mailman-Users] Stripping sig files In-Reply-To: References: Message-ID: On Fri, 17 Dec 2010, Paul Tomblin wrote: > On Thu, Dec 16, 2010 at 9:24 AM, bruce clark wrote: > > My problem: the users on my lists are waging a low-level war with their sig > > files. I do not allow commercial posting so they have started creating sig > > files with their commercial messages inside them. > > > > You're not going to solve a social problem with technology. If people > are violating the terms of the list, boot them off until they agree to > follow the terms of the list. Or, moderate the list amd reject any posts with such a sig, explaining why. ========================================================== Chris Candreva -- chris at westnet.com -- (914) 948-3162 WestNet Internet Services of Westchester http://www.westnet.com/ From mcnutt at utk.edu Fri Dec 17 16:00:17 2010 From: mcnutt at utk.edu (McNutt Jr, William R) Date: Fri, 17 Dec 2010 15:00:17 +0000 Subject: [Mailman-Users] Stripping sig files In-Reply-To: References: Message-ID: <0CD7A72044B75D478D36624D96C5D44123B5FE@kmbx2.utk.tennessee.edu> That was kinda my take on it, too. Bill -----Original Message----- From: mailman-users-bounces+mcnutt=utk.edu at python.org [mailto:mailman-users-bounces+mcnutt=utk.edu at python.org] On Behalf Of Mark Sapiro If I were you, I would moderate the offending users and simply reject their posts until they learn. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ 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/mcnutt%40utk.edu From alan at patriot.net Fri Dec 17 16:48:33 2010 From: alan at patriot.net (Alan McConnell) Date: Fri, 17 Dec 2010 10:48:33 -0500 Subject: [Mailman-Users] How to send messages out to only a portion of themembers? In-Reply-To: References: <20101210175145.GA4644@patriot.net> Message-ID: <20101217154833.GA4338@patriot.net> On Tue, Dec 14, 2010 at 09:40:15PM -0800, Mark Sapiro wrote: > Alan McConnell wrote: > > > I have an idea, but not the Mailman/Python skills to implement > > it. It is as follows: > >Every month, create(automatically if possible) a new temporary mailman > >E-list(*). Copy(automatically if possible) the members -- and data -- > >of the members to be reminded -- to this new temporary List. Blast out > >the warning.(Blast out a second time if deemed necessary). Destroy > >this temporary List. > >(*) If the regular List is called AbracaDabra, the new temporary > >List can be called AbracaDabra-Remind, thus alerting AbracaDabra > >members that here is an E-mail related to AbracaDabra, and should > >be paid attention to. > > > > Is there anything in the above suggestion that is impossible? > > If not, how much effort -- Python writing, etc -- would be > > needed? It would seem to me that such a capability would be > > very useful for all kinds of groups and a multitude of purposes. > > > I would do the following: > > Create an announcement list named AbracaDabra-Remind following the > guidelines in the FAQ at . This list will > be permanent, but its membership will change. It should probably have > Privacy options... -> Subscription rules -> advertised = No and > Archiving Options -> archive = No. Thanks for the reply, Mark. I've taken a look at the documentation, and there is no mention there, nor probably can there be, of my situation. Namely: I am the admin of a couple of E-lists, run under mailman, but I am not the "owner". These are E-lists set up at my requests(one is free, the other I pay for) at two different sites. So, even if I could write python(not one of my languages unfortunately), could I write commands from either my home machine or from my shell accounts at one of these big sites, that could do what I wanted? I think that in order to implement my suggestion(I don't say "solve my problem", since I can get along without this capability) it would have to be a part of the mailman package. But maybe mailman developers aren't interested in this capability? I have run the idea up the flagpole, but there have been minimal salutes so far. But I am certainly grateful for your thought and your response, Mark. Best wishes of the Season to all! Alan -- Alan McConnell : http://patriot.net/users/alan It is difficult to get a man to understand something when his income depends on his not understanding it. From lukas.vlcek at gmail.com Fri Dec 17 13:55:36 2010 From: lukas.vlcek at gmail.com (=?UTF-8?B?THVrw6HFoSBWbMSNZWs=?=) Date: Fri, 17 Dec 2010 13:55:36 +0100 Subject: [Mailman-Users] Integration with external search engine Message-ID: Hi, Short version - I have two questions: ====================================== 1) How to setup external archiver so that the email content gets indexed by external search engine 2) How to (re)index existing content from mail list by external search engine Longer version: ====================================== I am looking at a best practice way how to integrate mailman with external search engine. I found the following Wiki page [1] which contains a link to Ext_Arch.py template which is brainchild of Mark Sapiro and Cedric Jeanneret [2]. Cerdic was after indexing emails using Xapian and his implementation of the Ext_Arch.py can be found here [3]. This all looks very promising but I have a few questions/concerns: To me it seems that the PUBLIC_EXTERNAL_ARCHIVER and PRIVATE_EXTERNAL_ARCHIVER commands (which are both set in mm_cfg.py) are executed only when a new message arrives, that means it is not executed when bin/arch is executed. This means that if there has been running some mail list on mailman for a few years now and now I would like to allow searching its content via new external search engine (like Xapian) it is simply no enough to add external archiver and restart mailman because this would index only newly added messages. Am I right? How can I then have reindexed old content from that mail list into Xapian as well? bin/arch does not do that as it does not execute external archivers. Moreover, running bin/arch can change URLs of individual public emails (re-numbering) and that is probably unacceptable. So is there any way how to iterate over existing emails, parse them and get an existing URL value for them? (Such information could be then used to re-index old content into external search server without need to run bin/arch). Thanks, Lukas Vlcek [1] http://wiki.list.org/display/DOC/4.87+How+do+I+invoke+some+process+on+messages+as+they+are+added+to+the+pipermail+archive [2] http://www.mail-archive.com/mailman-users at python.org/msg56679.html [3] https://bugs.launchpad.net/mailman/+bug/531942/+attachment/1199211/+files/archive-and-index.py From lukas.vlcek at gmail.com Fri Dec 17 14:07:58 2010 From: lukas.vlcek at gmail.com (=?UTF-8?B?THVrw6HFoSBWbMSNZWs=?=) Date: Fri, 17 Dec 2010 14:07:58 +0100 Subject: [Mailman-Users] Integration with external search engine In-Reply-To: References: Message-ID: Forgot to mention Mailman version: 2.1.13 On Fri, Dec 17, 2010 at 1:55 PM, Luk?? Vl?ek wrote: > Hi, > > Short version - I have two questions: > ====================================== > > 1) How to setup external archiver so that the email content gets indexed by > external search engine > 2) How to (re)index existing content from mail list by external search > engine > > Longer version: > ====================================== > > I am looking at a best practice way how to integrate mailman with external > search engine. I found the following Wiki page [1] which contains a link to > Ext_Arch.py template which is brainchild of Mark Sapiro and Cedric Jeanneret > [2]. Cerdic was after indexing emails using Xapian and his implementation of > the Ext_Arch.py can be found here [3]. This all looks very promising but I > have a few questions/concerns: > > To me it seems that the PUBLIC_EXTERNAL_ARCHIVER and > PRIVATE_EXTERNAL_ARCHIVER commands (which are both set in mm_cfg.py) are > executed only when a new message arrives, that means it is not executed when > bin/arch is executed. This means that if there has been running some mail > list on mailman for a few years now and now I would like to allow searching > its content via new external search engine (like Xapian) it is simply no > enough to add external archiver and restart mailman because this would index > only newly added messages. Am I right? > > How can I then have reindexed old content from that mail list into Xapian > as well? bin/arch does not do that as it does not execute > external archivers. Moreover, running bin/arch can change URLs of individual > public emails (re-numbering) and that is probably unacceptable. So is there > any way how to iterate over existing emails, parse them and get an existing > URL value for them? (Such information could be then used to re-index old > content into external search server without need to run bin/arch). > > Thanks, > Lukas Vlcek > > [1] > http://wiki.list.org/display/DOC/4.87+How+do+I+invoke+some+process+on+messages+as+they+are+added+to+the+pipermail+archive > [2] http://www.mail-archive.com/mailman-users at python.org/msg56679.html > [3] > https://bugs.launchpad.net/mailman/+bug/531942/+attachment/1199211/+files/archive-and-index.py > From mark at msapiro.net Sat Dec 18 03:40:58 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 17 Dec 2010 18:40:58 -0800 Subject: [Mailman-Users] owner alias bounces In-Reply-To: References: Message-ID: <4D0C1F3A.6080604@msapiro.net> On 12/15/2010 1:40 AM, Florian Effenberger wrote: > > interestingly, a withlist -l -r fix_url -a seems to have cured the > problem. Of course, copy-pasting it out of my documentation without > thinking led to the hostnames for 50% of the lists being wrong, which > I manually corrected in the list interface, but now things seem to > work. Maybe it also has something to do with the nightly cronjobs, > resetting the bounce counter? > > Strange... The only thing fix_url would "fix" is the domain of the sender of the mail and the domain of the list-owner at domain recipient (much but not all mail to owners/moderators is sent first to the list-owner at ... address and only then resent to the actual owner/moderator addresses. Possibly this domain was not valid or didn't have a -owner alias. > Anyone knows an easier solution when migration another host to our > mailing list server while adding another hostname? The procedure for adding a host name is 1) Put the appropriate add_virtualhost() in mm_cfg.py. 2) If Postfix is to generate virtual alias maps for this domain, add it to POSTFIX_STYLE_VIRTUAL_DOMAINS in mm_cfg.py. 3) To move any lists to that domain, run fix_url with the -u option on the list(s) I don't think there's any 'easier' solution. Note, if you don't care about the web domain, you can set the host_name on the list's General Options page instead of step 3. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Dec 18 03:44:39 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 17 Dec 2010 18:44:39 -0800 Subject: [Mailman-Users] email delay for 2 days In-Reply-To: <30470032.post@talk.nabble.com> References: <30470032.post@talk.nabble.com> Message-ID: <4D0C2017.4040003@msapiro.net> On 12/15/2010 8:10 PM, KAIWEN wrote: > > i configure ubuntu 9.04 + mailman 2.1.12 + postfix 2.5.5. it works fine, but > there is a delay for sending emails from last week. i checked the mail log > file, it shows the mail is sent, but the recipient only can receive the > email 2 days later, any advise on solving this problem? If by mail log, you mean the Postfix log, the mail has left this server and been delivered to the relay or recipient MX at the time of the log entry. If the recipient didn't receive it for two days, you need to examine the Received: headers of the recipient's message to find where the delay occurred. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Dec 18 03:54:58 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 17 Dec 2010 18:54:58 -0800 Subject: [Mailman-Users] Notification set to no, but still received unsubscription message while member still there In-Reply-To: References: Message-ID: <4D0C2282.9010405@msapiro.net> On 12/16/2010 10:06 AM, MiaoKe wrote: > > As the admin of one list, I received the following message recently: > > From: mailman-bounces at .... > Sender: mailman-bounces at .... > To: mailinglistname-owner at .... > Subject: mailinglistname unsubscribe notification > Sent: Dec 16, 2010 9:00 AM > > minks at ...... has been removed from Councilor. > > But I checked the member database of that mailingilist, this minks at ...... is still there... > > Please give some suggestions on how to resolve this! Examine the Received: headers of the message you received to determine where it originated. It could have come from an old version of the list on a prior host or from a test or backup installation on the current host. It is also possible the user unsubscribed by accident and then resubscribed before you checked, although that doesn't explain why you got the unsubscribe notification. If you have access, check Mailman's 'subscribe' log. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Dec 18 04:13:47 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 17 Dec 2010 19:13:47 -0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: References: Message-ID: <4D0C26EB.4000403@msapiro.net> On 12/16/2010 7:16 AM, Umarzuki Mochlis wrote: > > I created a list from the admin interface, not from CLI. I administator of > that list do not get the list creation notification & I found these messages > in /var/log/mailman/smtp-failure > > Dec 16 13:49:13 2010 (26989) All recipients refused: > {'umarzuki at mydomain.com.my': (550, '5.1.0 : > Sender > address rejected: User unknown in virtual mailbox table')}, msgid: > > Dec 16 13:49:13 2010 (26989) delivery to umarzuki at mydomain.com.my failed > with > code 550: 5.1.0 : Sender address rejected: > User > unknown in virtual mailbox table > > # cat /var/log/maillog | grep test02 > Dec 16 13:49:13 hpj-mail postfix/smtpd[30059]: NOQUEUE: reject: RCPT from > localhost.localdomain[127.0.0.1]: 550 5.1.0 > : > Sender address rejected: User unknown in virtual mailbox table; > from= to= > proto=ESMTP > helo= > > This installation in on centos 5.5 > > What should I do next so I can send and receive email to this list (test02)? You did not receive the list created notice because your Postfix is doing sender verification and You have not (properly) configured Mailman/Postfix configuration for automatic generation of list aliases and virtual alias maps at list creation time, so the virtual_alias_maps entry for test02-bounces at mydomain.com.my did not exist at the time the mail was sent. See , in particular subsections 6.1.1 and 6.1.2. Also see the first several posts in the thread at for a discussion of another aspect of this issue. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Dec 18 04:31:05 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 17 Dec 2010 19:31:05 -0800 Subject: [Mailman-Users] Integration with external search engine In-Reply-To: References: Message-ID: <4D0C2AF9.1090207@msapiro.net> On 12/17/2010 4:55 AM, Luk?? Vl?ek wrote: > > I am looking at a best practice way how to integrate mailman with external > search engine. I found the following Wiki page [1] which contains a link to > Ext_Arch.py template which is brainchild of Mark Sapiro and Cedric Jeanneret > [2]. Cerdic was after indexing emails using Xapian and his implementation of > the Ext_Arch.py can be found here [3]. This all looks very promising but I > have a few questions/concerns: > > To me it seems that the PUBLIC_EXTERNAL_ARCHIVER and > PRIVATE_EXTERNAL_ARCHIVER commands (which are both set in mm_cfg.py) are > executed only when a new message arrives, that means it is not executed when > bin/arch is executed. This means that if there has been running some mail > list on mailman for a few years now and now I would like to allow searching > its content via new external search engine (like Xapian) it is simply no > enough to add external archiver and restart mailman because this would index > only newly added messages. Am I right? Yes, you are right. The design intent of external archivers is that they provide a hook to use an external process for both archiving and searching of the external archive. External archivers were never intended to be used to index the built-in pipermail archive. Thus, the Ext_Arch.py template is just a kludge which is admittedly incomplete in this respect. > How can I then have reindexed old content from that mail list into Xapian as > well? bin/arch does not do that as it does not execute external > archivers. Moreover, running bin/arch can change URLs of individual public > emails (re-numbering) and that is probably unacceptable. So is there any way > how to iterate over existing emails, parse them and get an existing URL > value for them? (Such information could be then used to re-index old content > into external search server without need to run bin/arch). find /path/to/archives/private/LISTNAME \ | egrep "[0-9]{6}.html" \ | sed "s;.*archives/private;http://www.example.com/pipermail;" with the obvious modification will get the URLs. Will that be enough? > > [1] > http://wiki.list.org/display/DOC/4.87+How+do+I+invoke+some+process+on+messages+as+they+are+added+to+the+pipermail+archive > [2] http://www.mail-archive.com/mailman-users at python.org/msg56679.html > [3] > https://bugs.launchpad.net/mailman/+bug/531942/+attachment/1199211/+files/archive-and-index.py -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From stephen at xemacs.org Sat Dec 18 09:09:57 2010 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Sat, 18 Dec 2010 17:09:57 +0900 Subject: [Mailman-Users] Stripping sig files In-Reply-To: References: Message-ID: <87tyibpkmi.fsf@uwakimon.sk.tsukuba.ac.jp> bruce clark writes: > My problem: the users on my lists are waging a low-level war with > their sig files. I do not allow commercial posting so they have > started creating sig files with their commercial messages inside them. First, consider whether this is really so bad. I know I would be annoyed if I were in your position -- these folks are deliberately flouting your rules -- but do the other users really care? If it's in the sig, maybe nobody is looking at it unless they want to. (No need to explain to us; I just want to point out that the list owner is very likely to be exceptionally sensitive to this kind of behavior, and maybe it's not causing problems for the general members any more.) If you think that something should be done, I second Mark's suggestion of moderating "offenders" (filtering out whole posts as needed). If I understand the situation correctly, these really are *your* lists. You may or may not be paying for the service in money, but you sure have invested your time and effort and stress. In Internet tradition, you have every right to behave as capriciously as you like in allowing traffic on your lists; simply enforcing the rules that have been announced gives nobody *any* ground for complaint. (That's not going to stop the prima donnas from screeching, and that may be a real problem for you, but for stress reduction, it's important that you realize that they are in the wrong, you are in the right, and that is that. Then you can do what needs doing "in sorrow rather than in anger".) [[[ aside: > listed the mime types of images to be filtered, Hey, don't run yourself down as "not an admin"! There are plenty of people who never figure that one out! ]]] > but there is still text in the sig files that I would like to > delete before the mail reaches the list. This is not a great idea IMO. Without agreement from the authors, it is legally (copyright), ethically (IMHO, YMMV), and technically problematic. The first two are up to your judgment. The technical issue is that, unlike images and other multimedia attachments, the signature is just text that is automatically inserted at the end of the message, often without the author ever seeing it. Conventionally a signature is preceded by a line that contains the characters "-- " (HYPHEN HYPHEN SPACE), no more, no less. This allows readers with capable mail programs to suppress display of the signature. I infer from your post that the offenders are doing so deliberately. If so, they can add it to their messages in an unconventional way that an automatic sig-stripper won't recognize. You can update the stripper for new separators, but that's no fun for you. It's also beyond current technology to recognize commercial content and strip only that. So you are going to have to do the work of checking for forbidden content. If you want it removed, you'll probably have to hand edit each offending message. > should I be putting my energy somewhere else? I guess I would somehow > need to intercept the mail between the sender and the receiver and > somehow 'fix' it? I recommend, don't fix it, reject it. Specifically, in the mailman web interface, go to the membership pages, then to the problematic user, and switch on the moderated checkbox for that member. When their mail arrives, you (the list owner, and any assistant moderators you appoint) will be told by Mailman. If it has any commercial content, reject it (there are four choices, "hold, approve, reject, discard"; reject sends a message back to the author explaining why, discard drops it in a black hole). Have a canned message like "Commercial content is forbidden on this list. For technical reasons it cannot be automatically removed. Please resend your post without such content." Let people think it's being done by a robot; that often keeps them from yelling too much. If the mail is legitimate, let it through. You needn't do this operation very often; Mailman will hold on to the messages forever. Remember, they are disobeying the rules, and deliberately if I understand correctly. You have no obligation to do anything for them; reviewing the moderation queue every few days at your convenience is *more* than they have any right to ask. You do this *for yourself*, because you want to see the on-topic content they send, or because you want to support your other members who do. When a person sends a couple of posts without objectionable content, or if they send a sincere apology, turn off moderation for them as described above. How quickly to do this is a matter for your judgment, obviously, but in my experience for most people having to sit out one heated discussion because their posts don't show up until after it's over is more than enough to convince them that crossing the moderator is a bad idea. > (and don't suggest that I go around to the offenders' houses and beat > them up - because I've thought of that already) Well, that might require lawyers and icky stuff like that in the end. Letting them sit in a corner for a day or five waiting for their oh- so-important posts to arrive at the list seems like a more appropriate measure. What do you think? Good luck! From lukas.vlcek at gmail.com Sat Dec 18 14:45:42 2010 From: lukas.vlcek at gmail.com (=?UTF-8?B?THVrw6HFoSBWbMSNZWs=?=) Date: Sat, 18 Dec 2010 14:45:42 +0100 Subject: [Mailman-Users] Integration with external search engine In-Reply-To: <4D0C2AF9.1090207@msapiro.net> References: <4D0C2AF9.1090207@msapiro.net> Message-ID: Hi Mark, First of all, thanks for your time. Your help is very valuable. see below for my comments and questions: On Sat, Dec 18, 2010 at 4:31 AM, Mark Sapiro wrote: > On 12/17/2010 4:55 AM, Luk?? Vl?ek wrote: > > > > I am looking at a best practice way how to integrate mailman with > external > > search engine. I found the following Wiki page [1] which contains a link > to > > Ext_Arch.py template which is brainchild of Mark Sapiro and Cedric > Jeanneret > > [2]. Cerdic was after indexing emails using Xapian and his implementation > of > > the Ext_Arch.py can be found here [3]. This all looks very promising but > I > > have a few questions/concerns: > > > > To me it seems that the PUBLIC_EXTERNAL_ARCHIVER and > > PRIVATE_EXTERNAL_ARCHIVER commands (which are both set in mm_cfg.py) are > > executed only when a new message arrives, that means it is not executed > when > > bin/arch is executed. This means that if there has been running some mail > > list on mailman for a few years now and now I would like to allow > searching > > its content via new external search engine (like Xapian) it is simply no > > enough to add external archiver and restart mailman because this would > index > > only newly added messages. Am I right? > > > Yes, you are right. The design intent of external archivers is that they > provide a hook to use an external process for both archiving and > searching of the external archive. External archivers were never > intended to be used to index the built-in pipermail archive. Thus, the > Ext_Arch.py template is just a kludge which is admittedly incomplete in > this respect. > > > > How can I then have reindexed old content from that mail list into Xapian > as > > well? bin/arch does not do that as it does not execute > external > > archivers. Moreover, running bin/arch can change URLs of individual > public > > emails (re-numbering) and that is probably unacceptable. So is there any > way > > how to iterate over existing emails, parse them and get an existing URL > > value for them? (Such information could be then used to re-index old > content > > into external search server without need to run bin/arch). > > > find /path/to/archives/private/LISTNAME \ > | egrep "[0-9]{6}.html" \ > | sed "s;.*archives/private;http://www.example.com/pipermail;" > > with the obvious modification will get the URLs. Will that be enough? > Not exactly. I need to index mail list content by external search server and for each indexed mail I need to know working mailman public URL of that mail. Ext_Arch.py allows me to hook into archiving process and gives me a chance to index content of newly added mails and also gives me public URL for them. That is nice but it does not give me a chance to learn URL for existing mails that are already in mbox file. My question is: if I take the .mbox file is there any way how I can deduce working URL of individual emails? Say I can split the mbox file using: csplit -s -b %06d.mbox -z .mbox '/^From /' {*} into individual emails. Would the numbering be the same as the one produced by mailman in this case? (Providing mailman numbering starts from zero) I learned that if I use this csplit technique with public archives then the numbering is not guarantied to match (the order in which the mails are stored in public archives does not match the numbering order of mailman produced HTML files). Moreover public archive files do not contain all the email headers (charset, encoding, content-type, ...) and I don't want to index generated HTML files for now. Thanks a lot, Lukas > > > > > [1] > > > http://wiki.list.org/display/DOC/4.87+How+do+I+invoke+some+process+on+messages+as+they+are+added+to+the+pipermail+archive > > [2] http://www.mail-archive.com/mailman-users at python.org/msg56679.html > > [3] > > > https://bugs.launchpad.net/mailman/+bug/531942/+attachment/1199211/+files/archive-and-index.py > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From kalvingao at singaren.net.sg Sun Dec 19 19:13:38 2010 From: kalvingao at singaren.net.sg (KAIWEN) Date: Sun, 19 Dec 2010 10:13:38 -0800 (PST) Subject: [Mailman-Users] email delay for 2 days In-Reply-To: <4D0C2017.4040003@msapiro.net> References: <30470032.post@talk.nabble.com> <4D0C2017.4040003@msapiro.net> Message-ID: <30493891.post@talk.nabble.com> Thanks Mark! yes, the postfix mail log shows the mail is sent out, but i check the smtp log & post log in mailman,it shows the mail posted by 2 days later. there is an error message in email header: "Received-SPF: error (google.com: error in processing during lookup of ......" is it the mailman problem? i telnet my server smtp port, it comes time out. i use mxtoolbox to test smtp, it shows "Reverse DNS FAILED! This is a problem" dig my server, there is only 1 query with no anser, also have a warning: ";; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 54907 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; WARNING: recursion requested but not available " i am a beginer with ubuntu, i really don't know how to do? thanks all of you in advance! Mark Sapiro-3 wrote: > > On 12/15/2010 8:10 PM, KAIWEN wrote: >> >> i configure ubuntu 9.04 + mailman 2.1.12 + postfix 2.5.5. it works fine, >> but >> there is a delay for sending emails from last week. i checked the mail >> log >> file, it shows the mail is sent, but the recipient only can receive the >> email 2 days later, any advise on solving this problem? > > > If by mail log, you mean the Postfix log, the mail has left this server > and been delivered to the relay or recipient MX at the time of the log > entry. If the recipient didn't receive it for two days, you need to > examine the Received: headers of the recipient's message to find where > the delay occurred. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > ------------------------------------------------------ > 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/lists%40nabble.com > > -- View this message in context: http://old.nabble.com/email-delay-for-2-days-tp30470032p30493891.html Sent from the Mailman - Users mailing list archive at Nabble.com. From mark at msapiro.net Mon Dec 20 19:43:52 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 20 Dec 2010 10:43:52 -0800 Subject: [Mailman-Users] email delay for 2 days In-Reply-To: <30493891.post@talk.nabble.com> Message-ID: KAIWEN wrote: > >yes, the postfix mail log shows the mail is sent out, but i check the smtp >log & post log in mailman,it shows the mail posted by 2 days later. This is strange. You are saying that the Postfix log shows that the message was sent out 2 days prior to Mailman's delivering it to Postfix. Are you sure you are not looking at entries for the incoming message to Mailman in the Postfix log? Is there anything in Mailman's smtp-failure log? >there is >an error message in email header: > "Received-SPF: error (google.com: error in processing during lookup of >......" >is it the mailman problem? See . This has nothing to do with Mailman, and if anything would probably result in google/gmail treating the message as spam, not delaying it. >i telnet my server smtp port, it comes time out. i use mxtoolbox to test >smtp, it shows "Reverse DNS FAILED! This is a problem" Yes, but it is a problem with your DNS configuration, not a Mailman problem. >dig my server, there is only 1 query with no anser, also have a warning: > >";; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 54907 >;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 >;; WARNING: recursion requested but not available >" >i am a beginer with ubuntu, i really don't know how to do? This too indicates DNS issues, not Mailman issues. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brohler at purdue.edu Tue Dec 21 17:40:56 2010 From: brohler at purdue.edu (Rohler, Brian L) Date: Tue, 21 Dec 2010 11:40:56 -0500 Subject: [Mailman-Users] Removing root from receiving bounces Message-ID: <0D7EE7B962591A4583AE663E7D9CB20CBDE51A6954@VPEXCH06.purdue.lcl> My current setup is that we have a list of admins who administer our mailing lists. The problem I am having is there is also a list of users who receive email from a support@ address. The list of support@ users are getting tired of receiving EVERY bounced message that comes in. I don't mind the mailman list administrators receiving the bounces but I don't want my support@ users getting these bounce messages. How do I turn this off? From davec at mecnet.net Mon Dec 20 19:14:53 2010 From: davec at mecnet.net (David Cunningham) Date: Mon, 20 Dec 2010 13:14:53 -0500 Subject: [Mailman-Users] Duplicate Emails to Members of Two Lists Message-ID: <20101220131453.u7hheuwg04084g0o@portal.test.mecnet.net> Hi All, I have a problem where users are listed on two separate lists, then the same email is sent to both lists, and they get two copies. For example, joe at test.com is on lists test1 at lists.test.com and test2 at lists.test.com. Dan at test.com sends an email to both test1 at lists.test.com and test2 at lists.test.com. So, joe at test.com get's two copies of the same email, one from each list. I know that the "nodupes" feature is only designed to stop duplicates in the event that a user is specifically defined in the email. For example, it works great when dan at test.com sends an email to test1 at lists.test.com and CCs joe at test.com directly. Joe at test.com only gets one copy. But, I have users insisting that before I upgrade to the latest version of Mailman, this also worked when users were on multiple lists. Does anyone have any ideas? Dave From steven.longstaff at sunderland.ac.uk Tue Dec 21 12:40:36 2010 From: steven.longstaff at sunderland.ac.uk (PatsCat) Date: Tue, 21 Dec 2010 03:40:36 -0800 (PST) Subject: [Mailman-Users] how do I display/print a full list of list entrants..? Message-ID: <30505429.post@talk.nabble.com> morning gurus, As title asks, how, via the GUI, do I see all the people contained in a particular list? Its got to be done. Surely. Cut'n'Pasting from each page 26 times (A-Z) ain't no fun.. thanks for looking.. Jess -- View this message in context: http://old.nabble.com/how-do-I-display-print-a-full-list-of-list-entrants..--tp30505429p30505429.html Sent from the Mailman - Users mailing list archive at Nabble.com. From geoff at QuiteLikely.com Tue Dec 21 22:15:30 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Tue, 21 Dec 2010 23:15:30 +0200 (IST) Subject: [Mailman-Users] how do I display/print a full list of list entrants..? In-Reply-To: <30505429.post@talk.nabble.com> References: <30505429.post@talk.nabble.com> Message-ID: On Tue, 21 Dec 2010, PatsCat wrote: > As title asks, how, via the GUI, do I see all the people contained in a > particular list? Its got to be done. Surely. Cut'n'Pasting from each page 26 > times (A-Z) ain't no fun.. Go to the general options screen and set admin_member_chunksize to a number larger than the number of list members. Geoff. From geoff at QuiteLikely.com Tue Dec 21 22:12:07 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Tue, 21 Dec 2010 23:12:07 +0200 (IST) Subject: [Mailman-Users] Removing root from receiving bounces In-Reply-To: <0D7EE7B962591A4583AE663E7D9CB20CBDE51A6954@VPEXCH06.purdue.lcl> References: <0D7EE7B962591A4583AE663E7D9CB20CBDE51A6954@VPEXCH06.purdue.lcl> Message-ID: On Tue, 21 Dec 2010, Rohler, Brian L wrote: > My current setup is that we have a list of admins who administer our > mailing lists. The problem I am having is there is also a list of users > who receive email from a support@ address. The list of support@ users > are getting tired of receiving EVERY bounced message that comes in. I > don't mind the mailman list administrators receiving the bounces but I > don't want my support@ users getting these bounce messages. How do I > turn this off? The support address must be listed as either a list owner or a list moderator (see general settings). Remove that address from whichever field it appears in and it should stop, unless some other process is relaying mail to some other address on to the support address. Geoff. From jeffg at turners.com Tue Dec 21 22:23:18 2010 From: jeffg at turners.com (Jeff Grossman) Date: Tue, 21 Dec 2010 13:23:18 -0800 Subject: [Mailman-Users] Duplicate Emails to Members of Two Lists In-Reply-To: <20101220131453.u7hheuwg04084g0o@portal.test.mecnet.net> References: <20101220131453.u7hheuwg04084g0o@portal.test.mecnet.net> Message-ID: <235ba8b4b45829f5cfaf4ff3093b0054@turners.com> On Mon, 20 Dec 2010 10:14:53 -0800, "David Cunningham" wrote: > Hi All, > > I have a problem where users are listed on two separate lists, then > the same email is sent to both lists, and they get two copies. > > For example, joe at test.com is on lists test1 at lists.test.com and > test2 at lists.test.com. Dan at test.com sends an email to both > test1 at lists.test.com and test2 at lists.test.com. So, joe at test.com get's > two copies of the same email, one from each list. > > I know that the "nodupes" feature is only designed to stop duplicates > in the event that a user is specifically defined in the email. For > example, it works great when dan at test.com sends an email to > test1 at lists.test.com and CCs joe at test.com directly. Joe at test.com only > gets one copy. > > But, I have users insisting that before I upgrade to the latest > version of Mailman, this also worked when users were on multiple lists. > > Does anyone have any ideas? > > Dave You don't mention what version you are currently running. You want to use umbrella lists. You can read more about it at http://wiki.list.org/pages/viewpage.action?pageId=4030540. Jeff From mark at msapiro.net Tue Dec 21 22:31:09 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 21 Dec 2010 13:31:09 -0800 Subject: [Mailman-Users] how do I display/print a full list of listentrants..? In-Reply-To: Message-ID: Geoff Shang wrote: >On Tue, 21 Dec 2010, PatsCat wrote: > >> As title asks, how, via the GUI, do I see all the people contained in a >> particular list? Its got to be done. Surely. Cut'n'Pasting from each page 26 >> times (A-Z) ain't no fun.. > >Go to the general options screen and set admin_member_chunksize to a >number larger than the number of list members. Or go to the roster via the "Visit Subscriber List" button on the listinfo page. See the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From b19141 at anl.gov Tue Dec 21 22:16:29 2010 From: b19141 at anl.gov (Barry Finkel) Date: Tue, 21 Dec 2010 15:16:29 -0600 (CST) Subject: [Mailman-Users] how do I display/print a full list of list entrants..? In-Reply-To: Mail from 'PatsCat ' dated: Tue, 21 Dec 2010 03:40:36 -0800 (PST) Message-ID: <20101221211630.0975E54DC9@britaine.cis.anl.gov> >morning gurus, > >As title asks, how, via the GUI, do I see all the people contained in a >particular list? Its got to be done. Surely. Cut'n'Pasting from each page 26 >times (A-Z) ain't no fun.. >thanks for looking.. > >Jess General Options - admin_member_chunksize (if you are running a recent Mailman). ---------------------------------------------------------------------- Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 240, Room 5.B.8 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 From mark at msapiro.net Tue Dec 21 22:41:22 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 21 Dec 2010 13:41:22 -0800 Subject: [Mailman-Users] Duplicate Emails to Members of Two Lists In-Reply-To: <20101220131453.u7hheuwg04084g0o@portal.test.mecnet.net> Message-ID: David Cunningham wrote: > >For example, joe at test.com is on lists test1 at lists.test.com and >test2 at lists.test.com. Dan at test.com sends an email to both >test1 at lists.test.com and test2 at lists.test.com. So, joe at test.com get's >two copies of the same email, one from each list. > >I know that the "nodupes" feature is only designed to stop duplicates >in the event that a user is specifically defined in the email. For >example, it works great when dan at test.com sends an email to >test1 at lists.test.com and CCs joe at test.com directly. Joe at test.com only >gets one copy. > >But, I have users insisting that before I upgrade to the latest >version of Mailman, this also worked when users were on multiple lists. The nodupes feature works as you understand. It has never worked to avoid duplicate copies of cross-posted messages. Possibly there was some modification in the prior Mailman version that did this duplicate avoidance and was removed by the upgrade. Possibly you were using the regular_exclude_lists feature (under Non-digest options in the web admin interface) to avoid multiple copies of cross posts and some how in the process of upgrading this setting was changed. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Dec 21 23:33:56 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 21 Dec 2010 14:33:56 -0800 Subject: [Mailman-Users] Integration with external search engine In-Reply-To: References: <4D0C2AF9.1090207@msapiro.net> Message-ID: <4D112B54.1040306@msapiro.net> On 12/18/2010 5:45 AM, Luk?? Vl?ek wrote: > > On Sat, Dec 18, 2010 at 4:31 AM, Mark Sapiro > wrote: > > find /path/to/archives/private/LISTNAME \ > | egrep "[0-9]{6}.html" \ > | sed "s;.*archives/private;http://www.example.com/pipermail;" > > with the obvious modification will get the URLs. Will that be enough? > > > Not exactly. I need to index mail list content by external search server > and for each indexed mail I need to know working mailman public URL of > that mail. The above shell command will get you a list of the URLs. If you are saying you need to know the message content together with the URL, you could still do this easily from the existing pipermail archive. The point is that each individual message in the archive is in a file of the form archives/private/LISTNAME/yyyy-Month/nnnnnn.html and the LISTNAME/yyyy-Month/nnnnnn.html portion of that path is also the variable part of the URL used to access the message. > My question is: if I take the .mbox file is there any way how > I can deduce working URL of individual emails? > Say I can split the mbox file using: > csplit -s -b %06d.mbox -z .mbox '/^From /' {*} > into individual emails. Would the numbering be the same as the one > produced by mailman in this case? (Providing mailman numbering starts > from zero) It will be the same as the numbering produced by running bin/arch --wipe. As you note below, this is not guaranteed to be the same as that in the existing archive. > I learned that if I use this csplit technique with public archives then > the numbering is not guarantied to match (the order in which the mails > are stored in public archives does not match the numbering order of > mailman produced HTML files). Moreover public archive files do not > contain all the email headers (charset, encoding, content-type, ...) and > I don't want to index generated HTML files for now. If you really need information from the cummulative .mbox which is not available in the existing pipermail html files, I see two choices. If you don't want to rebuild the pipermail archive and possibly renumber messages, you will need to develop some script to go through the .mbox and parse the archive period (year/month or whatever the period is in your case) from the messages and search the nnnn.html files in that directory for a match. If you don't mind possibly renumbering messages, you could first check the .mbox with bin/cleanarch and then rebuild the archive from the .mbox with bin/arch --wipe, and then your csplit above will give the correct new numbers. Before rebuilding the archive however, you might check if the numbering in the mbox really doesn't match. While it is not guaranteed to match, it often does, particularly if the archive is not too old - i.e., if the oldest messages were archived by Mailman 2.1.x and not 2.0.x or older. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From lukas.vlcek at gmail.com Wed Dec 22 14:26:39 2010 From: lukas.vlcek at gmail.com (=?UTF-8?B?THVrw6HFoSBWbMSNZWs=?=) Date: Wed, 22 Dec 2010 14:26:39 +0100 Subject: [Mailman-Users] Integration with external search engine In-Reply-To: <4D112B54.1040306@msapiro.net> References: <4D0C2AF9.1090207@msapiro.net> <4D112B54.1040306@msapiro.net> Message-ID: Hi Mark, again, thanks for your time. See my comments and questions below: On Tue, Dec 21, 2010 at 11:33 PM, Mark Sapiro wrote: > On 12/18/2010 5:45 AM, Luk?? Vl?ek wrote: > > > > On Sat, Dec 18, 2010 at 4:31 AM, Mark Sapiro > > wrote: > > > > find /path/to/archives/private/LISTNAME \ > > | egrep "[0-9]{6}.html" \ > > | sed "s;.*archives/private;http://www.example.com/pipermail;" > > > > with the obvious modification will get the URLs. Will that be enough? > > > > > > Not exactly. I need to index mail list content by external search server > > and for each indexed mail I need to know working mailman public URL of > > that mail. > > > The above shell command will get you a list of the URLs. If you are > saying you need to know the message content together with the URL, you > could still do this easily from the existing pipermail archive. The > point is that each individual message in the archive is in a file of the > form archives/private/LISTNAME/yyyy-Month/nnnnnn.html and the > LISTNAME/yyyy-Month/nnnnnn.html portion of that path is also the > variable part of the URL used to access the message. > Yes, I need email content and its valid public URL. However, when I say content I do not mean the HTML rendered by Mailman. Technically it is possible to parse the HTML and extract the content from it but this sounds like an extra work while there is a raw mail source in mbox format. Not to say that the HTML does not contain all the metadata I would like to extract and it contains extra content which has to be identified and stripped out (like threads info for example). Moreover, Mailman can be configured to treat multipart/alternative in specific way (putting alternative into attachment folder) which means that if I want to get all alternative representations of the content I would have to crawl one more extra file... etc. > > > > My question is: if I take the .mbox file is there any way how > > I can deduce working URL of individual emails? > > Say I can split the mbox file using: > > csplit -s -b %06d.mbox -z .mbox '/^From /' {*} > > into individual emails. Would the numbering be the same as the one > > produced by mailman in this case? (Providing mailman numbering starts > > from zero) > > > It will be the same as the numbering produced by running bin/arch > --wipe. As you note below, this is not guaranteed to be the same as that > in the existing archive. OK, let's ask this fundamental question: What is the Mailman algorithm to number individual HTML representations of mails? My understanding was that once the new mail is received by Mailman then it is processed, appended to mbox accumulated file and put into private/public archive folder (i.e. HTML representation is rendered and stored on the disk). If the flow is that smooth then the numbering would really match the order of individual messages in accumulated mbox file. May be if the new message has to undergo admin moderation then this can influence the result numbering (resulting in numbering gaps?), but I am just speculating here... Do you think you could shed more light on the numbering process? To me it seems unfortunate that there is really no simple way how to determine valid URL for individual mails in mbox file. > > I learned that if I use this csplit technique with public archives then > > the numbering is not guarantied to match (the order in which the mails > > are stored in public archives does not match the numbering order of > > mailman produced HTML files). Moreover public archive files do not > > contain all the email headers (charset, encoding, content-type, ...) and > > I don't want to index generated HTML files for now. > > > If you really need information from the cummulative .mbox which is not > available in the existing pipermail html files, I see two choices. > > If you don't want to rebuild the pipermail archive and possibly renumber > messages, you will need to develop some script to go through the .mbox > and parse the archive period (year/month or whatever the period is in > your case) from the messages and search the nnnn.html files in that > directory for a match. Search for the match using Message-ID value? Message-ID is not always present in HTML version, is it? All I can see is that the Message-ID value is encoded into mailto: link as a In-Reply-To value. Other than that some advanced heuristics would have been used... > > If you don't mind possibly renumbering messages, you could first check > the .mbox with bin/cleanarch and then rebuild the archive from the .mbox > with bin/arch --wipe, and then your csplit above will give the correct > new numbers. > Renumbering is really not an option for me. > Before rebuilding the archive however, you might check if the numbering > in the mbox really doesn't match. While it is not guaranteed to match, > it often does, particularly if the archive is not too old - i.e., if the > oldest messages were archived by Mailman 2.1.x and not 2.0.x or older. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > Thanks, Lukas From tanstaafl at libertytrek.org Wed Dec 22 17:59:40 2010 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Wed, 22 Dec 2010 11:59:40 -0500 Subject: [Mailman-Users] Mailman web interface - specify different IP:port? Message-ID: <4D122E7C.8070809@libertytrek.org> Hi all, I'm a little confused about how the mailman web interface works, since it doesn't use normal vhost conf files... How would I go about specifying a different IP:port for the mailman web interface? Currently, in /etc/apache2/conf/modules.d/50_mailman.conf I have: ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/" AllowOverride None Options None Order allow,deny Allow from all Alias /pipermail/ "/usr/local/mailman/archives/public/" AllowOverride None Options ExecCGI FollowSymLinks Order allow,deny Allow from all But I'd like to specify a redirect to a specific URL, namely: https://lists.example.com:##### Where/how do I go about doing this? Thanks, Charles From mark at msapiro.net Wed Dec 22 18:34:57 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 22 Dec 2010 09:34:57 -0800 Subject: [Mailman-Users] Integration with external search engine In-Reply-To: References: <4D0C2AF9.1090207@msapiro.net> <4D112B54.1040306@msapiro.net> Message-ID: <4D1236C1.7030401@msapiro.net> On 12/22/2010 5:26 AM, Luk?? Vl?ek wrote: > > What is the Mailman algorithm to number individual HTML representations > of mails? Sequential in order of arrival. > My understanding was that once the new mail is received by Mailman then > it is processed, appended to mbox accumulated file and put into > private/public archive folder (i.e. HTML representation is rendered and > stored on the disk). If the flow is that smooth then the numbering would > really match the order of individual messages in accumulated mbox file. This is correct. Further, the list is locked during this process so even with "simultaneous" arrival of two messages to be archived, the order in the .mbox should match the sequence in the pipermail archive. > May be if the new message has to undergo admin moderation then this can > influence the result numbering (resulting in numbering gaps?), but I am > just speculating here... No. It is not archived until after moderator approval. > Do you think you could shed more light on the numbering process? > To me it seems unfortunate that there is really no simple way how to > determine valid URL for individual mails in mbox file. The number in the archive *should* match the sequence in the .mbox. The reasons why it doesn't include manual editing of the .mbox file, running bin/arch to add messages to the archive without adding them in the same sequence to the .mbox file, and messages with embedded, unescaped "^From " lines in the body. > If you don't want to rebuild the pipermail archive and possibly renumber > messages, you will need to develop some script to go through the .mbox > and parse the archive period (year/month or whatever the period is in > your case) from the messages and search the nnnn.html files in that > directory for a match. > > > Search for the match using Message-ID value? > Message-ID is not always present in HTML version, is it? All I can see > is that the Message-ID value is encoded into mailto: link as a > In-Reply-To value. Other than that some advanced heuristics would have > been used... In Mailman 2.1.10 and later, the mailto: always contains the message-id of this message in the In-Reply-To fragment. Prior to 2.1.10 there was not always a message-id in the mailto: and if there was, it was not the message-id of this message but rather the in-reply-to of this message. I suggest you simply test your .mbox file to see if the sequence numbers you generate from the From_ lines match those in the archive. As long as you have not manually manipulated the .mbox or merged separate .mbox files, there's a good chance this will be OK. You don't have to check every single message. If the numbering is off, there will be places where the numbering jumps from being correct to "off by one" and then to "off by two", etc. I.e., I don't think you have to worry about things like an mbox sequence of n, n+1, n+2, n+3, ... corresponding to an archive sequence of n, n+2, n+1, n+3, ... See the FAQ at for a description of what happened to this list when the archive was rebuilt in 2006. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed Dec 22 19:22:30 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 22 Dec 2010 10:22:30 -0800 Subject: [Mailman-Users] Mailman web interface - specify different IP:port? In-Reply-To: <4D122E7C.8070809@libertytrek.org> Message-ID: Tanstaafl wrote: > >How would I go about specifying a different IP:port for the mailman web >interface? > [...] > >But I'd like to specify a redirect to a specific URL, namely: > >https://lists.example.com:##### > >Where/how do I go about doing this? You don't want to redirect to a different URL or port. Doing so will lose the data from POST transactions and break the Mailman web interface. You want to set DEFAULT_URL_PATTERN and possibly PUBLIC_ARCHIVE_URL in mm_cfg.py so that all Mailman generated URLs contain the port. I.e., the defaults for these are DEFAULT_URL_PATTERN = 'http://%s/mailman/' PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s' and you would put DEFAULT_URL_PATTERN = 'http://%s:pppp/mailman/' PUBLIC_ARCHIVE_URL = 'http://%(hostname)s:pppp/pipermail/%(listname)s' in mm_cfg.py where pppp is the desired port. Then you need to run fix_url to update the lists as in bin/withlist -l -a -r fix_url See the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From lukas.vlcek at gmail.com Wed Dec 22 19:49:12 2010 From: lukas.vlcek at gmail.com (=?UTF-8?B?THVrw6HFoSBWbMSNZWs=?=) Date: Wed, 22 Dec 2010 19:49:12 +0100 Subject: [Mailman-Users] Integration with external search engine In-Reply-To: <4D1236C1.7030401@msapiro.net> References: <4D0C2AF9.1090207@msapiro.net> <4D112B54.1040306@msapiro.net> <4D1236C1.7030401@msapiro.net> Message-ID: Thanks a lot Mark. Appreciate this! Regards, Lukas Dne 22.12.2010 18:35 "Mark Sapiro" napsal(a): > On 12/22/2010 5:26 AM, Luk?? Vl?ek wrote: >> >> What is the Mailman algorithm to number individual HTML representations >> of mails? > > > Sequential in order of arrival. > > >> My understanding was that once the new mail is received by Mailman then >> it is processed, appended to mbox accumulated file and put into >> private/public archive folder (i.e. HTML representation is rendered and >> stored on the disk). If the flow is that smooth then the numbering would >> really match the order of individual messages in accumulated mbox file. > > > This is correct. Further, the list is locked during this process so even > with "simultaneous" arrival of two messages to be archived, the order in > the .mbox should match the sequence in the pipermail archive. > > >> May be if the new message has to undergo admin moderation then this can >> influence the result numbering (resulting in numbering gaps?), but I am >> just speculating here... > > > No. It is not archived until after moderator approval. > > >> Do you think you could shed more light on the numbering process? >> To me it seems unfortunate that there is really no simple way how to >> determine valid URL for individual mails in mbox file. > > > The number in the archive *should* match the sequence in the .mbox. The > reasons why it doesn't include manual editing of the .mbox file, running > bin/arch to add messages to the archive without adding them in the same > sequence to the .mbox file, and messages with embedded, unescaped "^From > " lines in the body. > > > >> If you don't want to rebuild the pipermail archive and possibly renumber >> messages, you will need to develop some script to go through the .mbox >> and parse the archive period (year/month or whatever the period is in >> your case) from the messages and search the nnnn.html files in that >> directory for a match. >> >> >> Search for the match using Message-ID value? >> Message-ID is not always present in HTML version, is it? All I can see >> is that the Message-ID value is encoded into mailto: link as a >> In-Reply-To value. Other than that some advanced heuristics would have >> been used... > > > In Mailman 2.1.10 and later, the mailto: always contains the message-id > of this message in the In-Reply-To fragment. Prior to 2.1.10 there was > not always a message-id in the mailto: and if there was, it was not the > message-id of this message but rather the in-reply-to of this message. > > > I suggest you simply test your .mbox file to see if the sequence numbers > you generate from the From_ lines match those in the archive. As long as > you have not manually manipulated the .mbox or merged separate .mbox > files, there's a good chance this will be OK. You don't have to check > every single message. If the numbering is off, there will be places > where the numbering jumps from being correct to "off by one" and then to > "off by two", etc. I.e., I don't think you have to worry about things > like an mbox sequence of n, n+1, n+2, n+3, ... corresponding to an > archive sequence of n, n+2, n+1, n+3, ... See the FAQ at > for a description of what happened to this > list when the archive was rebuilt in 2006. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > From tanstaafl at libertytrek.org Wed Dec 22 21:31:02 2010 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Wed, 22 Dec 2010 15:31:02 -0500 Subject: [Mailman-Users] Mailman web interface - specify different IP:port? In-Reply-To: References: Message-ID: <4D126006.4040208@libertytrek.org> On 2010-12-22 1:22 PM, Mark Sapiro wrote: > Tanstaafl wrote: >> >> How would I go about specifying a different IP:port for the mailman >> web interface? >> > [...] >> >> But I'd like to specify a redirect to a specific URL, namely: >> >> https://lists.example.com:##### >> >> Where/how do I go about doing this? > You don't want to redirect to a different URL or port. Doing so will > lose the data from POST transactions and break the Mailman web > interface. Hmmm... so, is 4.29 - which says otherwise (and which is referenced from the FAQ you pointed me to below)- no longer valid? http://wiki.list.org/x/7oA9 > You want to set DEFAULT_URL_PATTERN and possibly PUBLIC_ARCHIVE_URL in > mm_cfg.py so that all Mailman generated URLs contain the port. > > I.e., the defaults for these are > > DEFAULT_URL_PATTERN = 'http://%s/mailman/' > PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s' > > and you would put > > DEFAULT_URL_PATTERN = 'http://%s:pppp/mailman/' > PUBLIC_ARCHIVE_URL = 'http://%(hostname)s:pppp/pipermail/%(listname)s' > > in mm_cfg.py where pppp is the desired port. Then you need to run > fix_url to update the lists as in > > bin/withlist -l -a -r fix_url > > See the FAQ at . I did this, but the pages don't work... when I try to visit the correct URL, it tries to connect, but looks like some kind of looping going on, then I finally get a 'The connection was reset' error... Any ideas? From brian.mingus at Colorado.EDU Wed Dec 22 22:07:23 2010 From: brian.mingus at Colorado.EDU (Brian J Mingus) Date: Wed, 22 Dec 2010 14:07:23 -0700 Subject: [Mailman-Users] Administrative actions extremely slow Message-ID: I am moderating a list with 4200 members. Clicking on any link is extremely slow. I have asked that our server be upgraded, but I was told that the problem is with the mailman software. They claim that every time I try to perform any action mailman scans through every user. I have no ability to verify the validity of this claim as I don't have access to the server. I desperately need a fix to this problem. I just clicked on the link to the admin interface and it took 19 seconds. That's partly due to the fact that I just let three mails through, so the server is sending 12,000 e-mails. But even when it's not sending e-mails it takes at least 10 seconds. Given the simplicity of the admin interfaces it ought to be lightning fast. Due to the slowness of the mailman interface I can no longer afford to send custom reject messages - I just discard all mails that I don't want to get through. I consider this to be rude to those subscribers who sent their e-mail in good faith even though it was not topical. Please let me know if you can think of a fix or troubleshooting steps for me to recommend. - Brian From mark at msapiro.net Wed Dec 22 23:01:38 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 22 Dec 2010 14:01:38 -0800 Subject: [Mailman-Users] Mailman web interface - specify differentIP:port? In-Reply-To: <4D126006.4040208@libertytrek.org> Message-ID: Tanstaafl wrote: >On 2010-12-22 1:22 PM, Mark Sapiro wrote: >> Tanstaafl wrote: >>> >>> How would I go about specifying a different IP:port for the mailman >>> web interface? >>> >> [...] >>> >>> But I'd like to specify a redirect to a specific URL, namely: >>> >>> https://lists.example.com:##### >>> >>> Where/how do I go about doing this? > >> You don't want to redirect to a different URL or port. Doing so will >> lose the data from POST transactions and break the Mailman web >> interface. > >Hmmm... so, is 4.29 - which says otherwise (and which is referenced from >the FAQ you pointed me to below)- no longer valid? > >http://wiki.list.org/x/7oA9 4.29 or 4.27? Both those FAQs ar valid. Perhaps it would help us understand if you told us *exactly* what you are trying to accomplish. E.g., are you really trying to force all access via https port 443 or are you trying to do something else: Also note that step 1 of FAQ 4.27 is only to get an initial access to an http URL redirected to https. You still need to do steps 2 and 3 to make the form action URLs go to the correct place without redirection so as to not lose the form data. >> You want to set DEFAULT_URL_PATTERN and possibly PUBLIC_ARCHIVE_URL in >> mm_cfg.py so that all Mailman generated URLs contain the port. >> >> I.e., the defaults for these are >> >> DEFAULT_URL_PATTERN = 'http://%s/mailman/' >> PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s' >> >> and you would put >> >> DEFAULT_URL_PATTERN = 'http://%s:pppp/mailman/' >> PUBLIC_ARCHIVE_URL = 'http://%(hostname)s:pppp/pipermail/%(listname)s' >> >> in mm_cfg.py where pppp is the desired port. Then you need to run >> fix_url to update the lists as in >> >> bin/withlist -l -a -r fix_url >> >> See the FAQ at . > >I did this, but the pages don't work... when I try to visit the correct >URL, it tries to connect, but looks like some kind of looping going on, >then I finally get a 'The connection was reset' error... What is the "correct" URL? Note that the changes I suggest above only affect what URLs are generated as links and for posting of forms. They don't affect what happens when you go to one. You may have some kind of circular redirect going on in Apache as noted in step 1 of FAQ 4.27, or there may be some other problem. It is difficult to say what without seeing your httpd.conf and all included files. What's in your Apache error_log? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 23 01:48:04 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 22 Dec 2010 16:48:04 -0800 Subject: [Mailman-Users] Administrative actions extremely slow In-Reply-To: Message-ID: Brian J Mingus wrote: >I am moderating a list with 4200 members. Clicking on any link is extremely >slow. I assume you are talking about links in the 'admindb' interface. How about the 'admin' interface? Does this depend at all on how many requests are waiting moderator action? >I have asked that our server be upgraded, but I was told that the >problem is with the mailman software. They claim that every time I try to >perform any action mailman scans through every user. Well, Mailman does instantiate the list which, assuming the default membership data, includes the list membership. This requires that the CGI process read and unpickle the list and membership configuration file. For a list with 4200 members, this file is probably on the order of 800 or 900 KB, and the unpickling should go almost as fast as the physical reading, so unless this file is stored on a network file system with slow access as opposed to a local disk on the Mailman server, I don't thing that should be an issue. >I have no ability to >verify the validity of this claim as I don't have access to the server. > >I desperately need a fix to this problem. I just clicked on the link to the >admin interface and it took 19 seconds. That's partly due to the fact that I >just let three mails through, so the server is sending 12,000 e-mails. Or possibly it's due to the list's being locked due to the processing of the mail being sent. >But >even when it's not sending e-mails it takes at least 10 seconds. Given the >simplicity of the admin interfaces it ought to be lightning fast. Are you talking about the 'admin' interface or the 'admindb' interface? please clarify. I.e. is the portion of the URL between the host/mailman/ and /listname 'admin' or 'admindb'? >Due to the slowness of the mailman interface I can no longer afford to send >custom reject messages - I just discard all mails that I don't want to get >through. I consider this to be rude to those subscribers who sent their >e-mail in good faith even though it was not topical. > >Please let me know if you can think of a fix or troubleshooting steps for me >to recommend. The length of time for the admindb interface to load is usually proportional to the number of requests waiting action and the number of list members shouldn't have much to do with it. You might try loading other pages such as the listinfo overview (which requires instantiating every list in the installation) and the list specific listinfo just for comparison. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From stephen at xemacs.org Thu Dec 23 06:28:33 2010 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Thu, 23 Dec 2010 14:28:33 +0900 Subject: [Mailman-Users] Administrative actions extremely slow In-Reply-To: References: Message-ID: <87mxnxnjlq.fsf@uwakimon.sk.tsukuba.ac.jp> Brian J Mingus writes: > I am moderating a list with 4200 members. Clicking on any link is extremely > slow. I have asked that our server be upgraded, but I was told that the > problem is with the mailman software. They claim that every time I try to > perform any action mailman scans through every user. I have no ability to > verify the validity of this claim as I don't have access to the > server. It probably does, but 4200 is by no means a large number of things to scan, unless access to the user database is quite slow. If your host is using a Mailman modified to access a database, that could slow things down quite a bit depending on how that's set up. Seems very implausible to me, but that's my best guess at why the number of members could slow things down. Let me offer my experience. My largest list had a few more than 900 members, and the only time I recall the moderation pages being slow was one instance where my host broke his incoming spam filters and in 48 hours I built up a moderation queue of over 1500 messages, 99.44% pure spam. I never did get a response; the network would time out and the browser gave up. For normal moderation queues of 0 to maybe 20 messages, the time to complete a transaction would be anywhere from "blink and you'll miss it" to 5 seconds, depending on network conditions as far as I know. That's a 900 member list. I don't see why anything other than a linear scan would be involved, so it seems to me that you "should" be getting response times in the 1 second range most of the time, especially if you're working on a local area network. > Please let me know if you can think of a fix or troubleshooting steps for me > to recommend. Everything I can think of requires shell access to the host. I think you're kind of dependent on your provider, but they want to point fingers elsewhere. "I feel your pain, brother." :-( From tanstaafl at libertytrek.org Thu Dec 23 13:37:33 2010 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Thu, 23 Dec 2010 07:37:33 -0500 Subject: [Mailman-Users] Mailman web interface - specify differentIP:port? In-Reply-To: References: Message-ID: <4D13428D.7080402@libertytrek.org> Thanks a lot for your help here Mark... On 2010-12-22 5:01 PM, Mark Sapiro wrote: > Tanstaafl wrote: >> Hmmm... so, is 4.29 - which says otherwise (and which is referenced from >> the FAQ you pointed me to below)- no longer valid? >> >> http://wiki.list.org/x/7oA9 > 4.29 or 4.27? Wups, sorry, yeah I meant 4.27... > Both those FAQs ar valid. Perhaps it would help us understand if you > told us *exactly* what you are trying to accomplish. E.g., are you > really trying to force all access via https port 443 or are you trying > to do something else: Not port 443... I'm trying to get things working on a non-standard port along the lines of the How-To found here: http://www.wesayso.net (I know, I know, this is not ideal, but it does work well for all of the other sites I've set up, now I'd just like to transition my mailman install over to it as well)... > Also note that step 1 of FAQ 4.27 is only to get an initial access to > an http URL redirected to https. You still need to do steps 2 and 3 to > make the form action URLs go to the correct place without redirection > so as to not lose the form data. I did... I set: DEFAULT_URL_PATTERN = 'https://%s:#####/mailman/' Where ##### is the 5 digit port I set it to, then I ran: # ./withlist -l -a -r fix_url Importing fix_url... Running fix_url.fix_url()... Loading list listname (locked) Saving list ... repeat for each list Finalizing # Was that the correct output? Did I need to stop mailman before running that command?q I also added the redirect for the non-ssl host to the ssl host per the instructions at the above site: RewriteCond %{HTTP_HOST} ^lists\.example\.com RewriteRule ^(.*) https://lists.example.com:#####$1 [NC,R=301,L] (##### is a 5 digit valid port that is not in use) These two lines work fine for redirecting my other sites... I didn't add an actual vhost directive for mailman in apache because I never needed it before - I think that the settings in 50_mailman.conf take care of that part...? Strangely, even though I did the above changes, if I remove the redirect, I can get to the lists on the non-ssl url, and it seems to work fine (shows the membership, etc)... ??? I haven't tried changing any settings yet though... Sorry, I'm not very good with this stuff... >> when I try to visit the correct URL, it tries to connect, but >> looks like some kind of looping going on, then I finally get a >> 'The connection was reset' error... > What is the "correct" URL? Note that the changes I suggest above > only affect what URLs are generated as links and for posting of > forms. They don't affect what happens when you go to one. The correct URL is what I'm trying to change... The old one - that still works when the redirect above is commented out - was: http://lists.example.com/mailman I'm trying to make it work on: https://lists.example.com:#####/mailman > You may have some kind of circular redirect going on in Apache as > noted in step 1 of FAQ 4.27, or there may be some other problem. It > is difficult to say what without seeing your httpd.conf and all > included files. > > What's in your Apache error_log? I'll have to get back to you on that - no access to the server logs right now... From kvasilev at cellnetrix.com Thu Dec 23 15:30:01 2010 From: kvasilev at cellnetrix.com (Konstantin Vasilyev) Date: Thu, 23 Dec 2010 17:30:01 +0300 Subject: [Mailman-Users] Postfix and Mailman tips in FAQ have a mistake? Message-ID: <4D135CE9.7080001@cellnetrix.com> Hillo, I try to integrate my Postfix with Mailman. I use tip from FAQ here http://wiki.list.org/x/ZoCj I have error message bin/genaliases sed: illegal option -- r usage: sed script [-Ealn] [-i extension] [file ...] sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...] I remove '-r' and try again. result here bin/genaliases sed: 1: "s/(^[^#][^ \t]+[ \t]+). ...": \1 not defined in the RE I am not expert in sed. Can anyone help me? PS. Sorry for my English. From pevenden at telus.net Thu Dec 23 02:13:02 2010 From: pevenden at telus.net (Paul Evenden) Date: Wed, 22 Dec 2010 17:13:02 -0800 Subject: [Mailman-Users] message emails not going out, requests not being recieved Message-ID: <17B26AA1D229414EA59A912F8219A0A1@user> I have been using mailman for over 2 years and since december 2010 it has not been sending out my group emails nor have I been receiving requests for subscribing. Nothing has changed that I know of. how can I test? where do I look? Paul evenden www.copperskymusic.com www.farewellcd.com From mark at msapiro.net Thu Dec 23 19:19:24 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 23 Dec 2010 10:19:24 -0800 Subject: [Mailman-Users] message emails not going out, requests not being recieved In-Reply-To: <17B26AA1D229414EA59A912F8219A0A1@user> Message-ID: Paul Evenden wrote: >I have been using mailman for over 2 years and since december 2010 it has not been sending out my group emails nor have I been receiving requests for subscribing. Nothing has changed that I know of. >how can I test? where do I look? Perhaps Mailman or one or more qrunners has stopped running. See the FAQ at . Since it was working and only recently stopped, concentrate on items 2b, 6b, 7, 8, 9 and 13. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 23 19:27:06 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 23 Dec 2010 10:27:06 -0800 Subject: [Mailman-Users] Postfix and Mailman tips in FAQ have a mistake? In-Reply-To: <4D135CE9.7080001@cellnetrix.com> Message-ID: Konstantin Vasilyev wrote: > >I try to integrate my Postfix with Mailman. >I use tip from FAQ here http://wiki.list.org/x/ZoCj >I have error message >bin/genaliases >sed: illegal option -- r >usage: sed script [-Ealn] [-i extension] [file ...] > sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... >[file ...] >I remove '-r' and try again. >result here > bin/genaliases >sed: 1: "s/(^[^#][^ \t]+[ \t]+). ...": \1 not defined in the RE > >I am not expert in sed. Can anyone help me? The -r option is for GNU sed and says use extended regexps. It looks like your sed wants -E instead. Try replacing -r with -E. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 23 20:08:13 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 23 Dec 2010 11:08:13 -0800 Subject: [Mailman-Users] Mailman web interface - specifydifferentIP:port? In-Reply-To: <4D13428D.7080402@libertytrek.org> Message-ID: Tanstaafl wrote: > >I'm trying to get things working on a non-standard port along the lines >of the How-To found here: > >http://www.wesayso.net > >(I know, I know, this is not ideal, but it does work well for all of the >other sites I've set up, now I'd just like to transition my mailman >install over to it as well)... > >> Also note that step 1 of FAQ 4.27 is only to get an initial access to >> an http URL redirected to https. You still need to do steps 2 and 3 to >> make the form action URLs go to the correct place without redirection >> so as to not lose the form data. > >I did... I set: > >DEFAULT_URL_PATTERN = 'https://%s:#####/mailman/' > >Where ##### is the 5 digit port I set it to, then I ran: > > # ./withlist -l -a -r fix_url >Importing fix_url... >Running fix_url.fix_url()... >Loading list listname (locked) >Saving list >... repeat for each list >Finalizing > # > >Was that the correct output? Did I need to stop mailman before running >that command?q That is the expected output. You don't need to restart Mailman. If you want more output, you can run ./withlist -l -a -r fix_url -v and it will report what it is setting. >I also added the redirect for the non-ssl host to the ssl host per the >instructions at the above site: > >RewriteCond %{HTTP_HOST} ^lists\.example\.com >RewriteRule ^(.*) https://lists.example.com:#####$1 [NC,R=301,L] > >(##### is a 5 digit valid port that is not in use) > >These two lines work fine for redirecting my other sites... I'm surprised this works for anything because this says if the host is lists.example.com, redirect the request to https://lists.example.com:#####$1 where $1 is the path in the original request. The problem is the redirected request also matches the host lists.example.com, so it is redirected again in an endless loop. The above two lines must either be in a VirtualHost block that applies only to port 80 requests or at least not to port ##### requests (perhaps that's why it works for the others) or it needs to be augmented as in RewriteCond %{HTTP_HOST} ^lists\.example\.com RewriteCond %{SERVER_PORT} !=##### RewriteRule ^(.*) https://lists.example.com:#####$1 [NC,R=301,L] so that it doesn't apply the rewrite if the port is already #####. >I didn't add an actual vhost directive for mailman in apache because I >never needed it before - I think that the settings in 50_mailman.conf >take care of that part...? Presumably they apply to all hosts which should be OK. >Strangely, even though I did the above changes, if I remove the >redirect, I can get to the lists on the non-ssl url, and it seems to >work fine (shows the membership, etc)... ??? I haven't tried changing >any settings yet though... Without the rewrite, you should also be able to get there using the SSL URL. >Sorry, I'm not very good with this stuff... > >>> when I try to visit the correct URL, it tries to connect, but >>> looks like some kind of looping going on, then I finally get a >>> 'The connection was reset' error... > >> What is the "correct" URL? Note that the changes I suggest above >> only affect what URLs are generated as links and for posting of >> forms. They don't affect what happens when you go to one. > >The correct URL is what I'm trying to change... > >The old one - that still works when the redirect above is commented out >- was: > >http://lists.example.com/mailman > >I'm trying to make it work on: > >https://lists.example.com:#####/mailman And that should work too with the redirect commented out. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From tanstaafl at libertytrek.org Thu Dec 23 20:46:44 2010 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Thu, 23 Dec 2010 14:46:44 -0500 Subject: [Mailman-Users] Mailman web interface - specifydifferentIP:port? In-Reply-To: References: Message-ID: <4D13A724.7020102@libertytrek.org> On 2010-12-23 2:08 PM, Mark Sapiro wrote: >> I set: >> >> DEFAULT_URL_PATTERN = 'https://%s:#####/mailman/' >> >> Where ##### is the 5 digit port I set it to, then I ran: >> >> # ./withlist -l -a -r fix_url >> I also added the redirect for the non-ssl host to the ssl host per the >> instructions at the above site: >> >> RewriteCond %{HTTP_HOST} ^lists\.example\.com >> RewriteRule ^(.*) https://lists.example.com:#####$1 [NC,R=301,L] >> >> (##### is a 5 digit valid port that is not in use) >> >> These two lines work fine for redirecting my other sites... > I'm surprised this works for anything... > The above two lines must either be in a VirtualHost block that applies > only to port 80 requests They are... but thanks for the tip on how to not rewrite if the port is the right one already... can't hurt to add it so I did... >> I didn't add an actual vhost directive for mailman in apache because I >> never needed it before - I think that the settings in 50_mailman.conf >> take care of that part...? > Presumably they apply to all hosts which should be OK. I meant I don't have a specific apache2 listener for mailman, like I do for my other websites, I've only been (tryingto) add the rewrite rule (I keep my rewrite rules in one .conf file, and the vhosts in individual files per host)... maybe I need to create one that is listening on the correct port, like I have for my other non-mailman vhosts? >> Strangely, even though I did the above changes, if I remove the >> redirect, I can get to the lists on the non-ssl url, and it seems to >> work fine (shows the membership, etc)... ??? I haven't tried changing >> any settings yet though... > Without the rewrite, you should also be able to get there using the SSL > URL. Just tried, nope, it does the looping thing then gives the same error. So, you're saying it is ok/normal for both the ssl and non-ssl pages to work, even after I changed mm_cfg As for logs... With the redirect commented, I can get to the non-ssl pages just fine... Trying to go to the ssl page, it gives the same error, and this is in the error_log: [Thu Dec 23 14:33:04 2010] [error] [client 192.168.1.110] mod_mime_magic: can't read `/usr/lib64/mailman/cgi-bin/admin' [Thu Dec 23 14:33:04 2010] [error] [client 192.168.1.110] client denied by server configuration: /usr/htdocs Then, after commenting out the redirect and restarting apache, when I try to go to the normal page (which should redirect to the ssl page), I get the same error, nothing in the ssl logs, and only this in the access_log: 192.168.1.110 - - [23/Dec/2010:14:37:19 -0500] "GET /mailman/admin/listname/ HTTP/1.1" 301 349 and these two lines in the error_log: [Thu Dec 23 14:37:06 2010] [notice] caught SIGTERM, shutting down [Thu Dec 23 14:37:09 2010] [notice] Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/1.0.0c configured -- resuming normal operations Is there some kind of .conf parser for apache that will show the current configs it is using, similar to 'postconf -n' for postfix? From mark at msapiro.net Thu Dec 23 21:48:21 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 23 Dec 2010 12:48:21 -0800 Subject: [Mailman-Users] Mailman web interface - specifydifferentIP:port? In-Reply-To: <4D13A724.7020102@libertytrek.org> Message-ID: Tanstaafl wrote: > >I meant I don't have a specific apache2 listener for mailman, like I do >for my other websites, I've only been (tryingto) add the rewrite rule (I >keep my rewrite rules in one .conf file, and the vhosts in individual >files per host)... maybe I need to create one that is listening on the >correct port, like I have for my other non-mailman vhosts? If you haven't told Apache to listen on the port you're redirecting to, that would explain a lot. You don't necessarily need a VirtualHost block for that IP and port, but you do need to tell Apache to listen. >> Without the rewrite, you should also be able to get there using the SSL >> URL. > >Just tried, nope, it does the looping thing then gives the same error. Or it just times out trying to connect because nothing is listening on that port. >So, you're saying it is ok/normal for both the ssl and non-ssl pages to >work, even after I changed mm_cfg Yes, After you changed mm_cfg.py and ran fix_url all links generated by mailman will be of the https://lists.example.com:#####/mailman/ form, but without the rewrite/redirect, the http://lists.example.com/mailman/ URLs will still retrieve the pages. Presumably this is because your ScriptAlias for Mailman is in a global place in the config and applies to all hosts. >As for logs... > >With the redirect commented, I can get to the non-ssl pages just fine... > >Trying to go to the ssl page, it gives the same error, and this is in >the error_log: > >[Thu Dec 23 14:33:04 2010] [error] [client 192.168.1.110] >mod_mime_magic: can't read `/usr/lib64/mailman/cgi-bin/admin' >[Thu Dec 23 14:33:04 2010] [error] [client 192.168.1.110] client denied >by server configuration: /usr/htdocs Actually, it appears that there is some issue causing the directives in /etc/apache2/conf/modules.d/50_mailman.conf to not apply to the https://lists.example.com:#####/ host because 50_mailman.conf contains ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/" but that's not where Apache is going - i.e., it's going to /usr/lib64/, not /usr/local/. >Then, after commenting out the redirect and restarting apache, when I >try to go to the normal page (which should redirect to the ssl page), I >get the same error, nothing in the ssl logs, and only this in the >access_log: > >192.168.1.110 - - [23/Dec/2010:14:37:19 -0500] "GET >/mailman/admin/listname/ HTTP/1.1" 301 349 Which says there's some redirect still in effect, thus the 301 status. >Is there some kind of .conf parser for apache that will show the current >configs it is using, similar to 'postconf -n' for postfix? Not that I know of. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From kvasilev at cellnetrix.com Mon Dec 27 09:41:59 2010 From: kvasilev at cellnetrix.com (Konstantin Vasilyev) Date: Mon, 27 Dec 2010 11:41:59 +0300 Subject: [Mailman-Users] Postfix and Mailman tips in FAQ have a mistake? In-Reply-To: References: Message-ID: <4D185157.7080403@cellnetrix.com> Hi Mark Thank you for your reply. But error is still here: # bin/genaliases postmap: warning: /usr/local/mailman/data/transport-mailman, line 14: expected format: key whitespace value postmap: warning: /usr/local/mailman/data/transport-mailman, line 15: expected format: key whitespace value postmap: warning: /usr/local/mailman/data/transport-mailman, line 16: expected format: key whitespace value postmap: warning: /usr/local/mailman/data/transport-mailman, line 17: expected format: key whitespace value postmap: warning: /usr/local/mailman/data/transport-mailman, line 18: expected format: key whitespace value postmap: warning: /usr/local/mailman/data/transport-mailman, line 19: expected format: key whitespace value postmap: warning: /usr/local/mailman/data/transport-mailman, line 20: expected format: key whitespace value postmap: warning: /usr/local/mailman/data/transport-mailman, line 21: expected format: key whitespace value postmap: warning: /usr/local/mailman/data/transport-mailman, line 22: expected format: key whitespace value postmap: warning: /usr/local/mailman/data/transport-mailman, line 23: expected format: key whitespace value postmap: warning: /usr/local/mailman/data/transport-mailman, line 26: expected format: key whitespace value -- With best regards, Konstantin Vasilyev 23.12.2010 21:27, Mark Sapiro ?????: > Konstantin Vasilyev wrote: >> I try to integrate my Postfix with Mailman. >> I use tip from FAQ here http://wiki.list.org/x/ZoCj >> I have error message >> bin/genaliases >> sed: illegal option -- r >> usage: sed script [-Ealn] [-i extension] [file ...] >> sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... >> [file ...] >> I remove '-r' and try again. >> result here >> bin/genaliases >> sed: 1: "s/(^[^#][^ \t]+[ \t]+). ...": \1 not defined in the RE >> >> I am not expert in sed. Can anyone help me? > > The -r option is for GNU sed and says use extended regexps. It looks > like your sed wants -E instead. Try replacing -r with -E. > From tanstaafl at libertytrek.org Mon Dec 27 13:14:08 2010 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Mon, 27 Dec 2010 07:14:08 -0500 Subject: [Mailman-Users] Mailman web interface - specifydifferentIP:port? In-Reply-To: References: Message-ID: <4D188310.9070300@libertytrek.org> On 2010-12-23 3:48 PM, Mark Sapiro wrote: > Tanstaafl wrote: Mark wisely pointed out: > If you haven't told Apache to listen on the port you're redirecting to, > that would explain a lot. You don't necessarily need a VirtualHost > block for that IP and port, but you do need to tell Apache to listen. Ah, ok, that makes sense... but this brings up another question... Where do I specify the server crt/key pair for the lists.example.com vhost if I don't have a full blown vhost config file for it? Or can I just go ahead and create one (vhost config file pointing to the correct dir)? >> As for logs... >> >> With the redirect commented, I can get to the non-ssl pages just fine... >> >> Trying to go to the ssl page, it gives the same error, and this is in >> the error_log: >> >> [Thu Dec 23 14:33:04 2010] [error] [client 192.168.1.110] >> mod_mime_magic: can't read `/usr/lib64/mailman/cgi-bin/admin' >> [Thu Dec 23 14:33:04 2010] [error] [client 192.168.1.110] client denied >> by server configuration: /usr/htdocs > Actually, it appears that there is some issue causing the directives in > /etc/apache2/conf/modules.d/50_mailman.conf to not apply to the > https://lists.example.com:#####/ host because 50_mailman.conf contains > > ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/" Crap-crud... sorry, I copied from the old version from back before gentoo moved everything - I had neglected to delete the old/no longer used directory... >From the correct/used /etc/apache2/modules.d/50_mailman.conf file: ScriptAlias /mailman/ "/usr/lib64/mailman/cgi-bin/" AllowOverride None Options None Order allow,deny Allow from all Alias /pipermail/ "/var/lib/mailman/archives/public/" AllowOverride None Options ExecCGI FollowSymLinks Order allow,deny Allow from all Alias /mailman-icons/ "/usr/lib64/mailman/icons/" AllowOverride None Order allow,deny Allow from all >> Is there some kind of .conf parser for apache that will show the current >> configs it is using, similar to 'postconf -n' for postfix? > Not that I know of. Too bad, it would sure come in handy when troubleshooting apache problems, especially in complex environments (unlike my simple one)... From stephen at xemacs.org Mon Dec 27 13:54:16 2010 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Mon, 27 Dec 2010 21:54:16 +0900 Subject: [Mailman-Users] Mailman web interface - specifydifferentIP:port? In-Reply-To: <4D188310.9070300@libertytrek.org> References: <4D188310.9070300@libertytrek.org> Message-ID: <87hbdzl6kn.fsf@uwakimon.sk.tsukuba.ac.jp> Tanstaafl writes: > >> Is there some kind of .conf parser for apache that will show the current > >> configs it is using, similar to 'postconf -n' for postfix? > > > Not that I know of. > > Too bad, it would sure come in handy when troubleshooting apache > problems, especially in complex environments (unlike my simple one)... I'm not an Apache expert, just addicted to doc browsing (and have the memory of a packrat, full of shiny but often useless things), but ISTR that there is a debug option or some such to get Apache to report the configs it has parsed, and maybe even what it learned from them. From tanstaafl at libertytrek.org Mon Dec 27 15:06:35 2010 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Mon, 27 Dec 2010 09:06:35 -0500 Subject: [Mailman-Users] Mailman web interface - specifydifferentIP:port? In-Reply-To: <87hbdzl6kn.fsf@uwakimon.sk.tsukuba.ac.jp> References: <4D188310.9070300@libertytrek.org> <87hbdzl6kn.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <4D189D6B.3080703@libertytrek.org> On 2010-12-27 7:54 AM, Stephen J. Turnbull wrote: > Tanstaafl writes: >>>> Is there some kind of .conf parser for apache that will show the current >>>> configs it is using, similar to 'postconf -n' for postfix? Mark replied: >>> Not that I know of. >> Too bad, it would sure come in handy when troubleshooting apache >> problems, especially in complex environments (unlike my simple one)... > I'm not an Apache expert, just addicted to doc browsing (and have the > memory of a packrat, full of shiny but often useless things), but ISTR > that there is a debug option or some such to get Apache to report the > configs it has parsed, and maybe even what it learned from them. Cool, thanks Stephen, I'll google from that angle - and will report back if I find anything interesting... From fred at wb4aej.com Mon Dec 27 05:33:08 2010 From: fred at wb4aej.com (Fred Atkinson, WB4AEJ) Date: Sun, 26 Dec 2010 21:33:08 -0700 Subject: [Mailman-Users] Changing Default Options for New Lists Message-ID: <20101227043926.F0890EE98F@mail.python.org> I am running a Web site that is providing free mailing lists for certain types of organizations. It uses Mailman 2.1.13. I want to simplify list creation for new moderators. I have a desired way by which these lists are to be set up and I want them to be created with these options when a new list is created rather than the way they are configured now. I haven't been able to figure out how to do this. Does anyone have any suggestions for me? Regards, Fred From bluria at gmail.com Mon Dec 27 21:33:40 2010 From: bluria at gmail.com (Brian Luria) Date: Mon, 27 Dec 2010 15:33:40 -0500 Subject: [Mailman-Users] Only allowing certain users to send to a mailing list Message-ID: I have created some lists and I only want a certain short list of users to be allowed to send to these lists - and these users are not necessarily members of these lists. What is the simplest way to do this? boolean somehow with sender filters? Thanks in advance. From mark at msapiro.net Mon Dec 27 21:56:14 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 27 Dec 2010 12:56:14 -0800 Subject: [Mailman-Users] Postfix and Mailman tips in FAQ have a mistake? In-Reply-To: <4D185157.7080403@cellnetrix.com> References: <4D185157.7080403@cellnetrix.com> Message-ID: <4D18FD6E.3080908@msapiro.net> On 12/27/2010 12:41 AM, Konstantin Vasilyev wrote: > Hi Mark > > Thank you for your reply. But error is still here: > > # bin/genaliases > postmap: warning: /usr/local/mailman/data/transport-mailman, line 14: > expected format: key whitespace value This is a different error. sed is now running and creating the transport-mailman file, but it is not correct so there is something wrong with the sed command or the way your sed processes it. Post the exact contents of your virtual_to_transport file and at least one of the resultant lines in the transport-mailman file. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Dec 27 22:08:59 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 27 Dec 2010 13:08:59 -0800 Subject: [Mailman-Users] Changing Default Options for New Lists In-Reply-To: <20101227043926.F0890EE98F@mail.python.org> Message-ID: Fred Atkinson, WB4AEJ wrote: > > I want to simplify list creation for new moderators. I have a >desired way by which these lists are to be set up and I want them to >be created with these options when a new list is created rather than >the way they are configured now. > > I haven't been able to figure out how to do this. Does anyone have >any suggestions for me? Many list settings have default values which can be set in mm_cfg.py. See these settings and their documentation in Defaults.py. I think the names of these settings all begin with DEFAULT_. Alternatively, you can take the output from bin/config_list -o for a list with the desired setup and edit out all the list specific stuff such as real_name, owner, moderator, description, subject_prefix, etc. and then run bin/config_list -i with that file as input for newly created lists. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Dec 27 22:17:56 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 27 Dec 2010 13:17:56 -0800 Subject: [Mailman-Users] Only allowing certain users to send to a mailinglist In-Reply-To: Message-ID: Brian Luria wrote: >I have created some lists and I only want a certain short list of users to >be allowed to send to these lists - and these users are not necessarily >members of these lists. > >What is the simplest way to do this? boolean somehow with sender filters? Set all users moderated and set default_member_moderation to Yes. Set member_moderation_action and member_moderation_notice appropriately. Then you have two choices: Set moderation off for those allowed posters who are list members and add the non members or an appropriate regexp to accept_these_nonmembers, or leave everyone moderated and provide the allowed posters with the list moderator password and let them post with an Approved: header or first line pseudo-header. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Dec 27 22:35:03 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 27 Dec 2010 13:35:03 -0800 Subject: [Mailman-Users] Mailman web interface - specifydifferentIP:port? In-Reply-To: <4D188310.9070300@libertytrek.org> Message-ID: Tanstaafl wrote: > >Where do I specify the server crt/key pair for the lists.example.com >vhost if I don't have a full blown vhost config file for it? Or can I >just go ahead and create one (vhost config file pointing to the correct >dir)? You need to have a VirtualHost block for this host:port. Whether that is in an included vhost config file or directly in httpd.conf or perhaps in the 50_mailman.conf file is up to you. >>> As for logs... >>> >>> With the redirect commented, I can get to the non-ssl pages just fine... >>> >>> Trying to go to the ssl page, it gives the same error, and this is in >>> the error_log: >>> >>> [Thu Dec 23 14:33:04 2010] [error] [client 192.168.1.110] >>> mod_mime_magic: can't read `/usr/lib64/mailman/cgi-bin/admin' >>> [Thu Dec 23 14:33:04 2010] [error] [client 192.168.1.110] client denied >>> by server configuration: /usr/htdocs > >> Actually, it appears that there is some issue causing the directives in >> /etc/apache2/conf/modules.d/50_mailman.conf to not apply to the >> https://lists.example.com:#####/ host because 50_mailman.conf contains >> >> ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/" > >Crap-crud... sorry, I copied from the old version from back before >gentoo moved everything - I had neglected to delete the old/no longer >used directory... > >>From the correct/used /etc/apache2/modules.d/50_mailman.conf file: > > > ScriptAlias /mailman/ "/usr/lib64/mailman/cgi-bin/" > > AllowOverride None > Options None > Order allow,deny > Allow from all > > > Alias /pipermail/ "/var/lib/mailman/archives/public/" > > AllowOverride None > Options ExecCGI FollowSymLinks > Order allow,deny > Allow from all > > > Alias /mailman-icons/ "/usr/lib64/mailman/icons/" > > AllowOverride None > Order allow,deny > Allow from all > > OK. so now it seems there is some permissions error on /usr/lib64/mailman/cgi-bin/admin. Are the /usr/lib64/mailman/cgi-bin/* files all in Mailman's group and all SETGID and world readable and executable and are all the directories in the path at least world searchable? Have you run bin/check_perms lately? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From bluria at gmail.com Mon Dec 27 23:11:57 2010 From: bluria at gmail.com (Brian Luria) Date: Mon, 27 Dec 2010 17:11:57 -0500 Subject: [Mailman-Users] Only allowing certain users to send to a mailinglist In-Reply-To: References: Message-ID: See below: On 27 December 2010 16:17, Mark Sapiro wrote: > Brian Luria wrote: > > >I have created some lists and I only want a certain short list of users to > >be allowed to send to these lists - and these users are not necessarily > >members of these lists. > > > >What is the simplest way to do this? boolean somehow with sender filters? > > > Set all users moderated *This is a check box for each member under membership management (the 'mod' box)?* > and set default_member_moderation to Yes. > *This is a setting under privacy options, sender filters?* > Set member_moderation_action and member_moderation_notice appropriately. > *Seems to be in same place, sender filters?* > > Then you have two choices: > > Set moderation off for those allowed posters who are list members and > add the non members or an appropriate regexp to > accept_these_nonmembers, or > > leave everyone moderated and provide the allowed posters with the list > moderator password and let them post with an Approved: > header or first line pseudo-header. > > *Option 1 sounds good* > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > -- *Brian J. Luria DVM, DACVIM* Bluepearl Veterinary Partners, Florida Tampa: (813) 933-8944 Clearwater: (727) 572-0132 Brandon: (813) 571-3303 www.bluepearlvet.com From mark at msapiro.net Mon Dec 27 23:38:46 2010 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 27 Dec 2010 14:38:46 -0800 Subject: [Mailman-Users] Only allowing certain users to send to a mailinglist In-Reply-To: Message-ID: Brian Luria wrote: > >On 27 December 2010 16:17, Mark Sapiro wrote: > >> Set all users moderated > > >*This is a check box for each member under membership management (the 'mod' >box)?* Yes, although you can set all members at once under Additional Member Tasks on the same page. >> and set default_member_moderation to Yes. >> > >*This is a setting under privacy options, sender filters?* Yes. >> Set member_moderation_action and member_moderation_notice appropriately. >> > >*Seems to be in same place, sender filters?* Yes. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From kvasilev at cellnetrix.com Tue Dec 28 08:39:47 2010 From: kvasilev at cellnetrix.com (Konstantin Vasilyev) Date: Tue, 28 Dec 2010 10:39:47 +0300 Subject: [Mailman-Users] Postfix and Mailman tips in FAQ have a mistake? In-Reply-To: <4D18FD6E.3080908@msapiro.net> References: <4D185157.7080403@cellnetrix.com> <4D18FD6E.3080908@msapiro.net> Message-ID: <4D199443.8040705@cellnetrix.com> Hi Here is requested content # less virtual_to_transport #!/bin/sh /usr/bin/sed -E -e 's/(^[^#][^ \t]+[ \t]+).+$/\1local/' $1 > /usr/local/mailman/data/transport-mailman /usr/local/sbin/postmap /usr/local/mailman/data/transport-mailman # less 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: /usr/local/mailman/data/owner-bounces.mbox # STANZA START: mailman # CREATED: Mon Dec 27 11:34:25 2010 mailman: "|/usr/local/mailman/mail/mailman post mailman" mailman-admin: "|/usr/local/mailman/mail/mailman admin mailman" mailman-bounces: "|/usr/local/mailman/mail/mailman bounces mailman" mailman-confirm: "|/usr/local/mailman/mail/mailman confirm mailman" mailman-join: "|/usr/local/mailman/mail/mailman join mailman" mailman-leave: "|/usr/local/mailman/mail/mailman leave mailman" mailman-owner: "|/usr/local/mailman/mail/mailman owner mailman" mailman-request: "|/usr/local/mailman/mail/mailman request mailman" mailman-subscribe: "|/usr/local/mailman/mail/mailman subscribe mailman" mailman-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe mailman" # STANZA END: mailman # less 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 cellnetrix.com mailman-loop # LOOP ADDRESSES END # STANZA START: mailman # CREATED: Mon Dec 27 11:34:25 2010 mailman at cellnetrix.com mailman mailman-admin at cellnetrix.com mailman-admin mailman-bounces at cellnetrix.com mailman-bounces mailman-confirm at cellnetrix.com mailman-confirm mailman-join at cellnetrix.com mailman-join mailman-leave at cellnetrix.com mailman-leave mailman-owner at cellnetrix.com mailman-owner mailman-request at cellnetrix.com mailman-request mailman-subscribe at cellnetrix.com mailman-subscribe mailman-unsubscribe at cellnetrix.com mailman-unsubscribe # STANZA END: mailman # less transport-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 cellnetlocal # LOOP ADDRESSES END # STANZA START: mailman # CREATED: Mon Dec 27 11:34:25 2010 mailman at cellnetlocal mailman-admin at cellnetlocal mailman-bounces at cellnetlocal mailman-confirm at cellnetlocal mailman-join at cellnetlocal mailman-leave at cellnetlocal mailman-owner at cellnetlocal mailman-requestlocal mailman-subscribe at cellnetlocal mailman-unsubscribe at cellnetlocal # STANZA END: mailman 27.12.2010 23:56, Mark Sapiro ?????: > On 12/27/2010 12:41 AM, Konstantin Vasilyev wrote: >> Hi Mark >> >> Thank you for your reply. But error is still here: >> >> # bin/genaliases >> postmap: warning: /usr/local/mailman/data/transport-mailman, line 14: >> expected format: key whitespace value > > This is a different error. sed is now running and creating the > transport-mailman file, but it is not correct so there is something > wrong with the sed command or the way your sed processes it. > > Post the exact contents of your virtual_to_transport file and at least > one of the resultant lines in the transport-mailman file. > From mark at msapiro.net Tue Dec 28 21:08:31 2010 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 28 Dec 2010 12:08:31 -0800 Subject: [Mailman-Users] Postfix and Mailman tips in FAQ have a mistake? In-Reply-To: <4D199443.8040705@cellnetrix.com> Message-ID: Konstantin Vasilyev wrote: >Here is requested content ># less virtual_to_transport >#!/bin/sh >/usr/bin/sed -E -e 's/(^[^#][^ \t]+[ \t]+).+$/\1local/' $1 > >/usr/local/mailman/data/transport-mailman >/usr/local/sbin/postmap /usr/local/mailman/data/transport-mailman > [...] ># less virtual-mailman [...] ># LOOP ADDRESSES START >mailman-loop at cellnetrix.com mailman-loop ># LOOP ADDRESSES END > ># STANZA START: mailman ># CREATED: Mon Dec 27 11:34:25 2010 >mailman at cellnetrix.com mailman >mailman-admin at cellnetrix.com mailman-admin >mailman-bounces at cellnetrix.com mailman-bounces >mailman-confirm at cellnetrix.com mailman-confirm >mailman-join at cellnetrix.com mailman-join >mailman-leave at cellnetrix.com mailman-leave >mailman-owner at cellnetrix.com mailman-owner >mailman-request at cellnetrix.com mailman-request >mailman-subscribe at cellnetrix.com mailman-subscribe >mailman-unsubscribe at cellnetrix.com mailman-unsubscribe ># STANZA END: mailman > ># less transport-mailman [...] ># LOOP ADDRESSES START >mailman-loop at cellnetlocal ># LOOP ADDRESSES END > ># STANZA START: mailman ># CREATED: Mon Dec 27 11:34:25 2010 >mailman at cellnetlocal >mailman-admin at cellnetlocal >mailman-bounces at cellnetlocal >mailman-confirm at cellnetlocal >mailman-join at cellnetlocal >mailman-leave at cellnetlocal >mailman-owner at cellnetlocal >mailman-requestlocal >mailman-subscribe at cellnetlocal >mailman-unsubscribe at cellnetlocal ># STANZA END: mailman It appears that your sed does not recognize the '\t' escape as meaning a 'tab' character, but rather recognizes it as a literal 't'. This causes that portion of the pattern in parentheses to be treated as (^[^#][^ t]+[ t]+) which in turn matches non-comment lines through the first string of one or more 't' characters instead of matching through the first string of whitespace. Thus you end up with the above instead of # LOOP ADDRESSES START mailman-loop at cellnetrix.com local # LOOP ADDRESSES END # STANZA START: mailman # CREATED: Mon Dec 27 11:34:25 2010 mailman at cellnetrix.com local mailman-admin at cellnetrix.com local mailman-bounces at cellnetrix.com local mailman-confirm at cellnetrix.com local mailman-join at cellnetrix.com local mailman-leave at cellnetrix.com local mailman-owner at cellnetrix.com local mailman-request at cellnetrix.com local mailman-subscribe at cellnetrix.com local mailman-unsubscribe at cellnetrix.com local # STANZA END: mailman Fortunately, the whitespace in virtual-mailman is all spaces and no tabs so you can change the expression in the sed command to -e 's/(^[^#][^ ]+[ ]+).+$/\1local/' (i.e., just drop the two '\t's and it should work. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From kvasilev at cellnetrix.com Wed Dec 29 09:52:33 2010 From: kvasilev at cellnetrix.com (Konstantin Vasilyev) Date: Wed, 29 Dec 2010 11:52:33 +0300 Subject: [Mailman-Users] Postfix and Mailman tips in FAQ have a mistake? In-Reply-To: References: Message-ID: <4D1AF6D1.5030503@cellnetrix.com> Hi First of all thank you Mark for you attention. I edited my sed command and this did the trick. # less transport-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 cellnetrix.com mailman-loop # LOOP ADDRESSES END # STANZA START: mailman # CREATED: Wed Dec 29 10:59:55 2010 mailman at cellnetrix.com local mailman-admin at cellnetrix.com local mailman-bounces at cellnetrix.com local mailman-confirm at cellnetrix.com local mailman-join at cellnetrix.com local mailman-leave at cellnetrix.com local mailman-owner at cellnetrix.com local mailman-request at cellnetrix.com local mailman-subscribe at cellnetrix.com local mailman-unsubscribe at cellnetrix.com local # STANZA END: mailman But now I have another error in maillog > postfix/smtpd[46087]: NOQUEUE: reject: RCPT from > unknown[192.168.2.199]: 550 5.1.1 : Recipient > address rejected: User unknown in virtual mailbox table; > from= to= proto=ESMTP > helo=<[192.168.2.199]> Here is my postconf -n # postconf -n alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix content_filter = smtp-amavis:[127.0.0.1]:10024 daemon_directory = /usr/local/libexec/postfix debug_peer_level = 2 html_directory = no inet_interfaces = 192.168.2.2, localhost, 192.168.3.2 local_recipient_maps = $alias_maps mail_owner = postfix mail_spool_directory = /var/mail mailbox_size_limit = 2147483648 mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man message_size_limit = 20971520 mydestination = localhost myhostname = cellnetrix.com mynetworks = 192.168.5.0/24,192.168.2.0/24,192.168.3.0/24 mynetworks_style = subnet newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix recipient_bcc_maps = hash:/usr/local/etc/postfix/recipient_bcc sample_directory = /usr/local/etc/postfix sender_bcc_maps = hash:/usr/local/etc/postfix/sender_bcc sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop smtpd_sender_restrictions = permit_mynetworks reject_unknown_sender_domain transport_maps = hash:/usr/local/etc/postfix/transport, hash:/usr/local/mailman/data/transport-mailman unknown_local_recipient_reject_code = 550 virtual_alias_maps = hash:/usr/local/etc/postfix/virtual virtual_gid_maps = static:125 virtual_mailbox_base = /var/mail/vhosts virtual_mailbox_domains = my-sim.ru cellnetrix.com autoreply.cellnetrix.com virtual_mailbox_limit = 0 virtual_mailbox_maps = hash:/usr/local/etc/postfix/vmailbox virtual_minimum_uid = 100 virtual_uid_maps = static:125 What am I doing wrong? -- With best regards, Konstantin Vasilyev 28.12.2010 23:08, Mark Sapiro ?????: > Konstantin Vasilyev wrote: >> Here is requested content >> # less virtual_to_transport >> #!/bin/sh >> /usr/bin/sed -E -e 's/(^[^#][^ \t]+[ \t]+).+$/\1local/' $1 > >> /usr/local/mailman/data/transport-mailman >> /usr/local/sbin/postmap /usr/local/mailman/data/transport-mailman >> > [...] >> # less virtual-mailman > [...] >> # LOOP ADDRESSES START >> mailman-loop at cellnetrix.com mailman-loop >> # LOOP ADDRESSES END >> >> # STANZA START: mailman >> # CREATED: Mon Dec 27 11:34:25 2010 >> mailman at cellnetrix.com mailman >> mailman-admin at cellnetrix.com mailman-admin >> mailman-bounces at cellnetrix.com mailman-bounces >> mailman-confirm at cellnetrix.com mailman-confirm >> mailman-join at cellnetrix.com mailman-join >> mailman-leave at cellnetrix.com mailman-leave >> mailman-owner at cellnetrix.com mailman-owner >> mailman-request at cellnetrix.com mailman-request >> mailman-subscribe at cellnetrix.com mailman-subscribe >> mailman-unsubscribe at cellnetrix.com mailman-unsubscribe >> # STANZA END: mailman >> >> # less transport-mailman > [...] >> # LOOP ADDRESSES START >> mailman-loop at cellnetlocal >> # LOOP ADDRESSES END >> >> # STANZA START: mailman >> # CREATED: Mon Dec 27 11:34:25 2010 >> mailman at cellnetlocal >> mailman-admin at cellnetlocal >> mailman-bounces at cellnetlocal >> mailman-confirm at cellnetlocal >> mailman-join at cellnetlocal >> mailman-leave at cellnetlocal >> mailman-owner at cellnetlocal >> mailman-requestlocal >> mailman-subscribe at cellnetlocal >> mailman-unsubscribe at cellnetlocal >> # STANZA END: mailman > It appears that your sed does not recognize the '\t' escape as meaning > a 'tab' character, but rather recognizes it as a literal 't'. This > causes that portion of the pattern in parentheses to be treated as > (^[^#][^ t]+[ t]+) which in turn matches non-comment lines through the > first string of one or more 't' characters instead of matching through > the first string of whitespace. Thus you end up with the above instead > of > > # LOOP ADDRESSES START > mailman-loop at cellnetrix.com local > # LOOP ADDRESSES END > > # STANZA START: mailman > # CREATED: Mon Dec 27 11:34:25 2010 > mailman at cellnetrix.com local > mailman-admin at cellnetrix.com local > mailman-bounces at cellnetrix.com local > mailman-confirm at cellnetrix.com local > mailman-join at cellnetrix.com local > mailman-leave at cellnetrix.com local > mailman-owner at cellnetrix.com local > mailman-request at cellnetrix.com local > mailman-subscribe at cellnetrix.com local > mailman-unsubscribe at cellnetrix.com local > # STANZA END: mailman > > Fortunately, the whitespace in virtual-mailman is all spaces and no > tabs so you can change the expression in the sed command to > > -e 's/(^[^#][^ ]+[ ]+).+$/\1local/' > > (i.e., just drop the two '\t's and it should work. > From JSeth at eastech.org Wed Dec 29 14:15:40 2010 From: JSeth at eastech.org (Joni Seth) Date: Wed, 29 Dec 2010 08:15:40 -0500 Subject: [Mailman-Users] Response: 450 Host down Message-ID: <4D1AEE2C020000EA0002C784@gwiadom2.eastech.org> I have set up Mailman and Postfix, following the instructions to the letter, and although Mailman will send out email fine, when I, as the administrator, try to send my email to the list I have created, I get the following error: Response: 450 Host down (myserver.mydomain.org). I am quite new to this and am not a Mailman or Postfix expert by any means, but if someone could point me in the right direction, I would be very grateful. Thank you. Eastern Center for Arts and Technology CONFIDENTIALITY NOTICE: This E-Mail is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you have received this communication in error, please do not print, disclose, copy, retain or redistribute it. Please delete the original message after notifying the sender by E-Mail at the address shown. Thank you for your compliance. From mark at msapiro.net Wed Dec 29 15:59:31 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 29 Dec 2010 06:59:31 -0800 Subject: [Mailman-Users] Response: 450 Host down In-Reply-To: <4D1AEE2C020000EA0002C784@gwiadom2.eastech.org> Message-ID: Joni Seth wrote: >I have set up Mailman and Postfix, following the instructions to the letter, and although Mailman will send out email fine, when I, as the administrator, try to send my email to the list I have created, I get the following error: Response: 450 Host down (myserver.mydomain.org). I am quite new to this and am not a Mailman or Postfix expert by any means, but if someone could point me in the right direction, I would be very grateful. Thank you. It is hard to say without more information, but it seems that the server attempting to send your mail to the list is unable to establish an SMTP connection to Postfix on the Mailman host. Is there a DNS MX record for the list domain that points to the correct host or if not, an A record that points to the correct host? Is Postfix on the Mailman host listening on port 25? Do you get a response from telnet myserver.mydomain.org 25 -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed Dec 29 16:57:42 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 29 Dec 2010 07:57:42 -0800 Subject: [Mailman-Users] Postfix and Mailman tips in FAQ have a mistake? In-Reply-To: <4D1AF6D1.5030503@cellnetrix.com> Message-ID: Konstantin Vasilyev wrote: > >But now I have another error in maillog >> postfix/smtpd[46087]: NOQUEUE: reject: RCPT from >> unknown[192.168.2.199]: 550 5.1.1 : Recipient >> address rejected: User unknown in virtual mailbox table; >> from= to= proto=ESMTP >> helo=<[192.168.2.199]> Which says that Postfix is using the virtual transport for this address. >Here is my postconf -n > ># postconf -n >alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases Good. [...] >transport_maps = hash:/usr/local/etc/postfix/transport, >hash:/usr/local/mailman/data/transport-mailman Good. But, did you reload Postfix after adding the above? If so, I don't know what the problem might be. But, see below. [...] > >What am I doing wrong? As I say above, if you reloaded Postfix after adding hash:/usr/local/mailman/data/transport-mailman to transport_maps, I don't know why this doesn't work, but, based on your Postfix configuration, I don't know why you think you need to do this transport_maps thing at all. I think your Postfix will work if you do the following: 1) remove the POSTFIX_MAP_CMD = '/path/to/data/virtual_to_transport' line from mm_cfg.py. 2) run Mailman's bin/genaliases to create virtual-mailman.db 3) add "hash:/usr/local/mailman/data/virtual-mailman" to Postfix main.cf virtual_alias_maps. 4) remove "hash:/usr/local/mailman/data/transport-mailman" from Postfix main.cf transport_maps. 5)reload Postfix. At this point, Postfix should deliver mail to Mailman. You can then remove /usr/local/mailman/data/transport-mailman* as those files are no longer used. Note, you should also add recipient_delimiter = + to Postfix main.cf so that Mailman's VERP like addresses will work. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From tanstaafl at libertytrek.org Wed Dec 29 17:16:57 2010 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Wed, 29 Dec 2010 11:16:57 -0500 Subject: [Mailman-Users] Mailman web interface - specify differentIP:port? In-Reply-To: References: Message-ID: <4D1B5EF9.50105@libertytrek.org> On 2010-12-27 4:35 PM, Mark Sapiro wrote: > Tanstaafl wrote: >> Where do I specify the server crt/key pair for the lists.example.com >> vhost if I don't have a full blown vhost config file for it? Or can I >> just go ahead and create one (vhost config file pointing to the correct >> dir)? > You need to have a VirtualHost block for this host:port. Whether that > is in an included vhost config file or directly in httpd.conf or > perhaps in the 50_mailman.conf file is up to you. Ok... but what do I point the DocumentRoot and/or the directory to? Hmmm... maybe /usr/lib64/mailman/cgi-bin/ ? Yes... it works now! Cool... thanks for your patience Mark... > OK. so now it seems there is some permissions error on > /usr/lib64/mailman/cgi-bin/admin. Are the /usr/lib64/mailman/cgi-bin/* > files all in Mailman's group and all SETGID and world readable and > executable and are all the directories in the path at least world > searchable? Have you run bin/check_perms lately? Just did, and there were no errors... and the site is definitely working now, but I just checked and that error message is still happening whenever I access one of the list pages... Any other ideas? Is it something I should be worried about? Many thanks again for your help... From Martin_Hugo at hboe.org Wed Dec 29 15:47:12 2010 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Wed, 29 Dec 2010 14:47:12 +0000 Subject: [Mailman-Users] Response: 450 Host down In-Reply-To: <4D1AEE2C020000EA0002C784@gwiadom2.eastech.org> References: <4D1AEE2C020000EA0002C784@gwiadom2.eastech.org> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E0EEFD2DD@HCSD-MAIL2> Hi Joni, Sounds like your incoming mail server for your Mailman System is either not reachable or not responding to your outgoing server when you send the message. You don't mention if they are separate systems or domains so I can't make any other suggestions at this time. I would try opening a command prompt on your sending system and trying to manually contact the SMTP server on your Mailman System by telnetting to your Mailman SMTP server on port 25 and sending a message that way. This may give you more information. Marty -----Original Message----- From: mailman-users-bounces+martin_hugo=hboe.org at python.org [mailto:mailman-users-bounces+martin_hugo=hboe.org at python.org] On Behalf Of Joni Seth Sent: Wednesday, December 29, 2010 8:16 AM To: mailman-users at python.org Subject: [Mailman-Users] Response: 450 Host down I have set up Mailman and Postfix, following the instructions to the letter, and although Mailman will send out email fine, when I, as the administrator, try to send my email to the list I have created, I get the following error: Response: 450 Host down (myserver.mydomain.org). I am quite new to this and am not a Mailman or Postfix expert by any means, but if someone could point me in the right direction, I would be very grateful. Thank you. Eastern Center for Arts and Technology CONFIDENTIALITY NOTICE: This E-Mail is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you have received this communication in error, please do not print, disclose, copy, retain or redistribute it. Please delete the original message after notifying the sender by E-Mail at the address shown. Thank you for your compliance. ------------------------------------------------------ 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/martin_hugo%40hboe.org From umarzuki at gmail.com Wed Dec 29 17:59:06 2010 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Thu, 30 Dec 2010 00:59:06 +0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: <4D0C26EB.4000403@msapiro.net> References: <4D0C26EB.4000403@msapiro.net> Message-ID: 2010/12/18 Mark Sapiro > On 12/16/2010 7:16 AM, Umarzuki Mochlis wrote: > > > You did not receive the list created notice because your Postfix is > doing sender verification and You have not (properly) configured > Mailman/Postfix configuration for automatic generation of list aliases > and virtual alias maps at list creation time, so the virtual_alias_maps > entry for test02-bounces at mydomain.com.my did not exist at the time the > mail was sent. > > See , in particular > subsections 6.1.1 and 6.1.2. > > i did a bit of reading from those links and did a few modification in /etc/postfix/main.cf ----------------------------- local_recipient_maps = alias_maps = hash:/etc/postfix/aliases, hash:/etc/mailman/aliases although i suspect the the reasons could be caused by my openldap settings (using ldap users) virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf, proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/ ldap_sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap_catch_all_maps.cf i can see that in /etc/mailman/aliases that there are those mail lists aliases but i could not find any virtual_mailman file -- Regards, Umarzuki Mochlis http://debmal.my From mprewitt at teris.com Wed Dec 29 22:03:30 2010 From: mprewitt at teris.com (Mark Prewitt) Date: Wed, 29 Dec 2010 13:03:30 -0800 Subject: [Mailman-Users] duplication question Message-ID: <020901cba79b$dce9cb30$96bd6190$@com> Good Day, I am having an issue which I need to figure out. One of the issues we are struggling with as we use Mailman to handle some internal traffic lists for our company is that we have some people with more than 1 email account. When some employees are sent an email and the list is cc'd, they are getting 2 copies of the email. Even though both the TO and the list subscription email account are the same. So if I send an email to 'joe at teris.com' and he is on the 'list at teris.com' and it is also on either the to or cc line, Joe will get 2 copies of the email. Even though we have nodupe turned on. We are running version 2.1.13 on a n OSX 10.6.x server with the patch for deduping against other mailing lists active. I am confused as to why he is getting two emails as I thought the whole point of the nodupes was to prevent anyone on the to/cc from getting a copy of the email if a list they were on was also in the to/cc. Is there a setting that I am missing somewhere? Or is this normal behavior? Mark Mark Prewitt Director of IT M: 503.984.9700 O: 206.521.8717 TERIS.com Seattle | San Francisco | Silicon Valley | San Diego | Phoenix | Austin | Dallas | Houston | Chicago TERIS Built on Experience Powered by Technology ---------------------------------------------------- NOTICE: This communication may contain privileged or confidential information and is protected from disclosure. If you have received this email in error, please delete this message and any attachments without replying, copying, or disclosing the contents and if possible inform the sender of the error. Thank you. From mark at msapiro.net Thu Dec 30 01:47:34 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 29 Dec 2010 16:47:34 -0800 Subject: [Mailman-Users] duplication question In-Reply-To: <020901cba79b$dce9cb30$96bd6190$@com> Message-ID: Mark Prewitt wrote: > I am having an issue which I need to figure out. One of the issues we are >struggling with as we use Mailman to handle some internal traffic lists for >our company is that we have some people with more than 1 email account. Is this relevant? See below. >When some employees are sent an email and the list is cc'd, they are getting >2 copies of the email. Even though both the TO and the list subscription >email account are the same. So if I send an email to 'joe at teris.com' and he >is on the 'list at teris.com' and it is also on either the to or cc line, Joe >will get 2 copies of the email. Even though we have nodupe turned on. The setting "Do not send a copy of a member's own post" on the General Options page under new_member_options is only a default for new list members. The actual setting is a per user checkbox in the "nodupes" column in the Membership Management -> Membership List page(s). >We are running version 2.1.13 on a n OSX 10.6.x server with the patch for >deduping against other mailing lists active. What patch is this? Are you running 2.1.13 from source or an Apple OS X Server package? >I am confused as to why he is getting two emails as I thought the whole >point of the nodupes was to prevent anyone on the to/cc from getting a copy >of the email if a list they were on was also in the to/cc. Correct. That is the point. >Is there a setting that I am missing somewhere? Or is this normal behavior? Perhaps you are missing the individual member "nodupes" settings? If not, perhaps your "more than 1 email account" comment is relevant in that if the address in To: or Cc: is not exactly the same (except for case) as the member's subscribed address, Mailman will not see this as a duplicate. If neither of the above is the answer, perhaps it has something to do with "the patch for deduping against other mailing lists" unless by that you mean the regular_exclude_lists feature. Or, if this is Apple's package, perhaps it is an Apple bug. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 30 02:42:34 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 29 Dec 2010 17:42:34 -0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: Message-ID: Umarzuki Mochlis wrote: > >i can see that in /etc/mailman/aliases that there are those mail lists >aliases but i could not find any virtual_mailman file If your list mail domain is local in Postfix, all you need is alias_maps. If it is not local in Postfix, as indicated by the "User unknown in virtual mailbox table" error, you need to add POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.com.my'] to Mailman's mm_cfg.py where mydomain.com.my is your actual list mail domain. Then run Mailman's bin/genaliases and it should create virtual-mailman and virtual-mailman.db. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 30 03:07:27 2010 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 29 Dec 2010 18:07:27 -0800 Subject: [Mailman-Users] Mailman web interface - specifydifferentIP:port? In-Reply-To: <4D1B5EF9.50105@libertytrek.org> Message-ID: Tanstaafl wrote: > >Ok... but what do I point the DocumentRoot and/or the directory to? > >Hmmm... maybe /usr/lib64/mailman/cgi-bin/ ? > >Yes... it works now! Cool... thanks for your patience Mark... It really doesn't matter because Apache isn't serving any documents except those public archive pages whose URLs match the Alias /pipermail/ alias. The rest of Mailman's web interface is accessed via the ScriptAlias /mailman/ directive and maybe the Alias /mailman-icons/ directive. The DocumentRoot would only apply to URLs of the form https://host:port/something/... where something is not 'mailman', 'pipermail' or 'mailman-icons'. What you have done by setting it to /usr/lib64/mailman/cgi-bin/ is make it so that a URL such as https://host:port/admin or https://host:port/private, etc will serve the corresponding binary wrapper as a plain text (or whatever the default content-type is) document. So the question is not to what do you have to set DocumentRoot to make things work? Rather it is what do you have to set DocumentRoot to not return strange things for certain URLs. You might consider setting it to some directory which has an index.html that redirects to https://host:port/mailman/listinfo so that going to https://host:port/ or to https://host:port/index.html gets the listinfo overview page and anything else that isn't a Mailman URL gets a 404. >> OK. so now it seems there is some permissions error on >> /usr/lib64/mailman/cgi-bin/admin. Are the /usr/lib64/mailman/cgi-bin/* >> files all in Mailman's group and all SETGID and world readable and >> executable and are all the directories in the path at least world >> searchable? Have you run bin/check_perms lately? > >Just did, and there were no errors... and the site is definitely working > now, but I just checked and that error message is still happening >whenever I access one of the list pages... > >Any other ideas? Is it something I should be worried about? This might be related to the DocumentRoot. I don't know. I would change the DocumentRoot for the reasons I indicate above. That probably won't change these errors, and if it doesn't, and the Mailman web interface continues to work, this is an Apache question that I can't answer. One thing you might consider is whether these errors always occur or only when you go to the port 80 http URL and not when you go to an https://...:port/ URL. If the latter is the case, it has something to do with the port 80 host configuration. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mm at mblessenohl.de Thu Dec 30 17:41:13 2010 From: mm at mblessenohl.de (mm at mblessenohl.de) Date: Thu, 30 Dec 2010 17:41:13 +0100 Subject: [Mailman-Users] Custom E-Mail-Command vs no Confirmation or Approval Message-ID: <000f01cba840$5f53eca0$1dfbc5e0$@mblessenohl.de> Hi everybody, Can deactivate ANY confirmation and approval emails for email commands authorized by the site administrator password? How? Is there an elegant update-proof solution? I need that especially for subscription and unsubscription. Thanks, MM From umarzuki at gmail.com Thu Dec 30 08:25:51 2010 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Thu, 30 Dec 2010 15:25:51 +0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: References: Message-ID: 2010/12/30 Mark Sapiro > > If your list mail domain is local in Postfix, all you need is > alias_maps. If it is not local in Postfix, as indicated by the "User > unknown in virtual mailbox table" error, you need to add > > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.com.my'] > > to Mailman's mm_cfg.py where mydomain.com.my is your actual list mail > domain. Then run Mailman's bin/genaliases and it should create > virtual-mailman and virtual-mailman.db. > > i changed my mm_cfg.py setting to: POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.my'] DEFAULT_URL_HOST = fqdn DEFAULT_EMAIL_HOST = fqdn i ran genaliases, restarted postfix & mailman but still having the same problem where my email is umarzuki at mydomain.my & the mailserver's hostname is mail-server.mydomain.my this is what i got from /var/log/maillog Dec 30 23:03:38 hpj-mail postfix/pipe[4468]: DA5B419C8818: to=, relay=dovecot, delay=0.41, delays=0.02/0.02/0/0.37, dsn=2.0.0, status=sent (delivered via dovecot service) Dec 30 23:03:38 hpj-mail postfix/qmgr[3556]: DA5B419C8818: removed Dec 30 23:10:08 hpj-mail postfix/postfix-script[5013]: stopping the Postfix mail system Dec 30 23:10:08 hpj-mail postfix/master[3551]: terminating on signal 15 Dec 30 23:10:09 hpj-mail postfix/postfix-script[5067]: warning: /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ Dec 30 23:10:09 hpj-mail postfix/postfix-script[5070]: warning: /var/spool/postfix/etc/hosts and /etc/hosts differ Dec 30 23:10:09 hpj-mail postfix/postfix-script[5074]: starting the Postfix mail system Dec 30 23:10:09 hpj-mail postfix/master[5075]: daemon started -- version 0.6.1, configuration /etc/postfix Dec 30 23:10:38 hpj-mail postfix/pickup[5077]: 2208619C8817: uid=48 from= Dec 30 23:10:38 hpj-mail postfix/cleanup[5089]: 2208619C8817: message-id=< 72bd3b85fcef6d005cf3146776d74361 at 127.0.0.1> Dec 30 23:10:38 hpj-mail postfix/qmgr[5078]: 2208619C8817: from=, size=778, nrcpt=1 (queue active) Dec 30 23:10:38 hpj-mail postfix/pipe[5095]: 2208619C8817: to=, relay=dovecot, delay=0.65, delays=0.56/0.04/0/0.05, dsn=5.1.1, status=bounced (user unknown) Dec 30 23:10:38 hpj-mail postfix/cleanup[5089]: A321319C8818: message-id=< 20101230151038.A321319C8818 at mail-server.mydomain.my> Dec 30 23:10:38 hpj-mail postfix/qmgr[5078]: A321319C8818: from=<>, size=2554, nrcpt=1 (queue active) Dec 30 23:10:38 hpj-mail postfix/bounce[5097]: 2208619C8817: sender non-delivery notification: A321319C8818 Dec 30 23:10:38 hpj-mail postfix/qmgr[5078]: 2208619C8817: removed Dec 30 23:10:39 hpj-mail postfix/pipe[5095]: A321319C8818: to=, relay=dovecot, delay=0.35, delays=0.02/0.02/0/0.3, dsn=2.0.0, status=sent (delivered via dovecot service) Dec 30 23:10:39 hpj-mail postfix/qmgr[5078]: A321319C8818: removed this email server is set to use openldap, not unix users what i want to achieve is to be able to use mailman mailing list even though i'm using openldap for user creation -- Regards, Umarzuki Mochlis http://debmal.my From mark at msapiro.net Thu Dec 30 18:26:22 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 30 Dec 2010 09:26:22 -0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: Message-ID: Umarzuki Mochlis wrote: >i changed my mm_cfg.py setting to: > >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.my'] > > > >i ran genaliases, restarted postfix & mailman but still having the same >problem where my email is umarzuki at mydomain.my & the mailserver's hostname >is mail-server.mydomain.my You should have the following in mm_cfg.py DEFAULT_URL_HOST = 'hosts.web.domain' DEFAULT_EMAIL_HOST = 'hosts.email.domain' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) MTA = 'Postfix' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['hosts.email.domain'] Then run /path/to/bin/withlist -l -a -r fix_url /path/to/bin/genaliases If that doesn't fix the problem, post the output from postconf -n >this is what i got from /var/log/maillog > [...] >Dec 30 23:10:38 hpj-mail postfix/qmgr[5078]: 2208619C8817: >from=, size=778, nrcpt=1 (queue active) >Dec 30 23:10:38 hpj-mail postfix/pipe[5095]: 2208619C8817: >to=, relay=dovecot, delay=0.65, delays=0.56/0.04/0/0.05, >dsn=5.1.1, status=bounced (user unknown) I don't think you can use the Dovecot LDA for list mail. See the FAQ at for a way to automate generation of a transport_maps table to use the Postfix local delivery agent for list mail. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Dec 30 19:26:27 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 30 Dec 2010 10:26:27 -0800 Subject: [Mailman-Users] Custom E-Mail-Command vs no Confirmation or Approval In-Reply-To: <000f01cba840$5f53eca0$1dfbc5e0$@mblessenohl.de> Message-ID: mm at mblessenohl.de wrote: > >Can deactivate ANY confirmation and approval emails for email commands >authorized by the site administrator password? How? This would require source code modification. probably several of the Mailman/Commands/cmd_* modules would require modification. Also, Mailman/Queue/CommandRunner.py would need to be modified to at least determine if site password authentication was present and set some attribute in the Results class instance to so indicate to the command modules and not send the results. >Is there an elegant update-proof solution? I need that especially for >subscription and unsubscription. Use command line tools. If this must be done by email, create your own email command processing module invoked by an email alias that would pipe your command email to your module for processing. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brian.mingus at Colorado.EDU Thu Dec 30 20:24:18 2010 From: brian.mingus at Colorado.EDU (Brian J Mingus) Date: Thu, 30 Dec 2010 12:24:18 -0700 Subject: [Mailman-Users] Administrative actions extremely slow In-Reply-To: References: Message-ID: On Wed, Dec 22, 2010 at 5:48 PM, Mark Sapiro wrote: > Brian J Mingus wrote: > > >I am moderating a list with 4200 members. Clicking on any link is > extremely > >slow. > > > I assume you are talking about links in the 'admindb' interface. How > about the 'admin' interface? > > In this e-mail I was referring to the admin interface. I was unaware that I could replace admin with admindb and I don't know the difference. > Does this depend at all on how many requests are waiting moderator > action? > > No. I usually don't have many requests awaiting action. Often just one or two, and at most usually ten. > >Due to the slowness of the mailman interface I can no longer afford to > send > >custom reject messages - I just discard all mails that I don't want to get > >through. I consider this to be rude to those subscribers who sent their > >e-mail in good faith even though it was not topical. > > > >Please let me know if you can think of a fix or troubleshooting steps for > me > >to recommend. > > > The length of time for the admindb interface to load is usually > proportional to the number of requests waiting action and the number > of list members shouldn't have much to do with it. > > You might try loading other pages such as the listinfo overview (which > requires instantiating every list in the installation) and the list > specific listinfo just for comparison. > > I visited mailman/listinfo and the page took 12 seconds to load. There were about 15 lists shown. Based on the information on this thread I can only guess that the server is constantly sending e-mail and is thus overloaded and therefore slow. The other option mentioned is a slow NFS. I will inquire as to both. Thanks, Brian From tanstaafl at libertytrek.org Thu Dec 30 22:52:24 2010 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Thu, 30 Dec 2010 16:52:24 -0500 Subject: [Mailman-Users] Mailman web interface - specifydifferentIP:port? In-Reply-To: References: Message-ID: <4D1CFF18.7050806@libertytrek.org> On 2010-12-29 9:07 PM, Mark Sapiro wrote: > This might be related to the DocumentRoot. I don't know. I would change > the DocumentRoot for the reasons I indicate above. Done, and thanks... > That probably won't change these errors, and if it doesn't, and the > Mailman web interface continues to work, this is an Apache question > that I can't answer. > > One thing you might consider is whether these errors always occur or > only when you go to the port 80 http URL and not when you go to an > https://...:port/ URL. If the latter is the case, it has something to > do with the port 80 host configuration. Interesting... After the change to the DocRoot, now when I go to either one I get only one error: mod_mime_magic: can't read `/usr/lib64/mailman/cgi-bin/admin' Anyway, as you said the rest of the issues are all apache related, so I'm off to figure out the last two issues I have. Thanks again for all your help Mark! From mark at msapiro.net Fri Dec 31 00:53:44 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 30 Dec 2010 15:53:44 -0800 Subject: [Mailman-Users] Administrative actions extremely slow In-Reply-To: Message-ID: Brian J Mingus wrote: > >On Wed, Dec 22, 2010 at 5:48 PM, Mark Sapiro wrote: > >> I assume you are talking about links in the 'admindb' interface. How >> about the 'admin' interface? >> >> >In this e-mail I was referring to the admin interface. I was unaware that I >could replace admin with admindb and I don't know the difference. The admindb interface is the one for moderators to deal with requests awating moderator action. The admin interface consists of several sections called * General Options * Passwords * Language options * Membership Management... * Non-digest options * Digest options * Privacy options... * Bounce processing * Archiving Options * Mail<->News gateways * Auto-responder * Content filtering * Topics And is used to manage list settings and membership. The list's administrator password authenticates for either interface and the list's moderator password if any authenticates for only the admindb interface. It still sounds to me as if you are talking about the admindb interface and not the admin interface. >> Does this depend at all on how many requests are waiting moderator >> action? >> >> >No. I usually don't have many requests awaiting action. Often just one or >two, and at most usually ten. >> The length of time for the admindb interface to load is usually >> proportional to the number of requests waiting action and the number >> of list members shouldn't have much to do with it. >> >> You might try loading other pages such as the listinfo overview (which >> requires instantiating every list in the installation) and the list >> specific listinfo just for comparison. >> >> >I visited mailman/listinfo and the page took 12 seconds to load. There were >about 15 lists shown. And this process did essentially the same amount of work that would be required to visit the admin or the admindb interface for all of the 15 lists plus any other lists that weren't shown because they either weren't advertised or were for a different virtual host. >Based on the information on this thread I can only guess that the server is >constantly sending e-mail and is thus overloaded and therefore slow. The >other option mentioned is a slow NFS. I will inquire as to both. Server overload is a possible explaination. Slow NFS is also possible, but it seems unlikely as I think if the admindb interface for a list with no outstanding requests takes on the order of 10 seconds to load, the listinfo overview showing 15 lists would take substantially longer if slow NFS were the explaination. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Dec 31 01:03:21 2010 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 30 Dec 2010 16:03:21 -0800 Subject: [Mailman-Users] Administrative actions extremely slow In-Reply-To: Message-ID: Mark Sapiro wrote: > >Server overload is a possible explaination. Slow NFS is also possible, >but it seems unlikely as I think if the admindb interface for a list >with no outstanding requests takes on the order of 10 seconds to load, >the listinfo overview showing 15 lists would take substantially longer >if slow NFS were the explaination. Another possibility occurs to me. Possibly the web server is overloaded and badly configured so that there is significant delay in starting/allocating a child process to handle the request. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From tanstaafl at libertytrek.org Fri Dec 31 15:41:53 2010 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Fri, 31 Dec 2010 09:41:53 -0500 Subject: [Mailman-Users] Mailman web interface - specifydifferentIP:port? In-Reply-To: <4D1CFF18.7050806@libertytrek.org> References: <4D1CFF18.7050806@libertytrek.org> Message-ID: <4D1DEBB1.4080103@libertytrek.org> On 2010-12-30 4:52 PM, Tanstaafl wrote: > After the change to the DocRoot, now when I go to either one I get only > one error: > > mod_mime_magic: can't read `/usr/lib64/mailman/cgi-bin/admin' Forgot to ask - any other ideas on this error message? I'm looking into it from the apache angle, but not getting anywhere... From stephen at xemacs.org Fri Dec 31 16:24:38 2010 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Sat, 01 Jan 2011 00:24:38 +0900 Subject: [Mailman-Users] Mailman web interface - specifydifferentIP:port? In-Reply-To: <4D1DEBB1.4080103@libertytrek.org> References: <4D1CFF18.7050806@libertytrek.org> <4D1DEBB1.4080103@libertytrek.org> Message-ID: <87hbduj77t.fsf@uwakimon.sk.tsukuba.ac.jp> Tanstaafl writes: > On 2010-12-30 4:52 PM, Tanstaafl wrote: > > After the change to the DocRoot, now when I go to either one I get only > > one error: > > > > mod_mime_magic: can't read `/usr/lib64/mailman/cgi-bin/admin' > > Forgot to ask - any other ideas on this error message? I'm looking into > it from the apache angle, but not getting anywhere... Have you run check_perms recently? What are the owner, group, and permissions for that file? Have you enabled ACLs, or SELinux, or other such software? From info at certuspersonality.com Fri Dec 31 16:35:30 2010 From: info at certuspersonality.com (certuspersonality) Date: Sat, 01 Jan 2011 01:35:30 +1000 Subject: [Mailman-Users] Not sending to list members Message-ID: <20101231153834.FAHE25056.nskntotgx01p.mx.bigpond.com@herward-i79lit1.certuspersonality.com> I have sent a email message to an email list of which I am the administrator and also on the member list, received the email requesting approval for publication, gave that approval, and then the email message was sent to me (info at certuspersonality.com) as the original supplier of the message, the number of times that equals the number of members in the email list. It did not go to the list members (except for me). Which setting do I probably have wrong in Mailman? Help greatly appreciated, Herward Hencke From tanstaafl at libertytrek.org Fri Dec 31 18:56:58 2010 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Fri, 31 Dec 2010 12:56:58 -0500 Subject: [Mailman-Users] Mailman web interface - specifydifferentIP:port? In-Reply-To: <87hbduj77t.fsf@uwakimon.sk.tsukuba.ac.jp> References: <4D1CFF18.7050806@libertytrek.org> <4D1DEBB1.4080103@libertytrek.org> <87hbduj77t.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <4D1E196A.2050302@libertytrek.org> On 2010-12-31 10:24 AM, Stephen J. Turnbull wrote: > Tanstaafl writes: >> On 2010-12-30 4:52 PM, Tanstaafl wrote: >>> After the change to the DocRoot, now when I go to either one I get only >>> one error: >>> >>> mod_mime_magic: can't read `/usr/lib64/mailman/cgi-bin/admin' >> Forgot to ask - any other ideas on this error message? I'm looking into >> it from the apache angle, but not getting anywhere... > Have you run check_perms recently? Yep, shows no problems... > What are the owner, group, and permissions for that file? Same as all the rest in cgi-bin: -rwxr-s--x 1 mailman mailman 10448 Dec 5 13:37 admin > Have you enabled ACLs, or SELinux, or other such software? Nope... From mark at msapiro.net Fri Dec 31 18:44:07 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 31 Dec 2010 09:44:07 -0800 Subject: [Mailman-Users] Not sending to list members In-Reply-To: <20101231153834.FAHE25056.nskntotgx01p.mx.bigpond.com@herward-i79lit1.certuspersonality.com> Message-ID: certuspersonality wrote: >I have sent a email message to an email list of which I am the >administrator and also on the member list, received the email >requesting approval for publication, gave that approval, and then the >email message was sent to me (info at certuspersonality.com) as the >original supplier of the message, the number of times that equals the >number of members in the email list. It did not go to the list >members (except for me). > >Which setting do I probably have wrong in Mailman? It doesn't seem to me that this is a Mailman issue. My best guess based on the limited information is there is some issue with your MTA and/or DNS configuration. It seems that mailman sent the message to the list members, but the MTA couldn't deliver it so it bounced or forwarded those undeliverable messages back to you. To say anything more, we'd need to see Mailman's 'smtp', 'smtp-failure' and 'bounce' logs, and the MTA's logs showing what it did with those messages. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Dec 31 19:13:26 2010 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 31 Dec 2010 10:13:26 -0800 Subject: [Mailman-Users] Mailman web interface - specifydifferentIP:port? In-Reply-To: <4D1E196A.2050302@libertytrek.org> Message-ID: Tanstaafl wrote: >On 2010-12-31 10:24 AM, Stephen J. Turnbull wrote: > >> What are the owner, group, and permissions for that file? > >Same as all the rest in cgi-bin: > >-rwxr-s--x 1 mailman mailman 10448 Dec 5 13:37 admin There's the issue. Apache can execute the wrappers, but mod_magic can't read them. chmod o+r /usr/lib64/mailman/cgi-bin/* should get rid of the error. Note that it obviously isn't important that mod_magic can't read the file. It is trying to determine the file type from it's contents, but when it can't, Apache does the right thing anyway. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan