From falko at reservoir.com Sat Sep 1 00:05:15 2007 From: falko at reservoir.com (Andrey Falko) Date: Fri, 31 Aug 2007 18:05:15 -0400 Subject: [Mailman-Users] Hyphenated Lists Stopped Working Message-ID: <46D8909B.6050604@reservoir.com> Hi everyone, Here is how I migrated mailman from one server to another: 1) Create all mailings lists on destination server. 2) Copy the following folders to the destination server. archives data lists lists-generic locks logs qfiles spam 3) Ran fixurl for all lists (probably not relevant). Lists with hyphens like, "-", no longer work. Postix has no trouble delivering mail to these lists to the maildir, but the emails simply lie in /var/lib/mailman/qfiles/maildir/cur/ and nothing appears to happen to them.. Log files show nothing helpful: Aug 31 17:32:08 2007 (14022) smtp to hyphen-ated for 1 recips, completed in 0.058 seconds Aug 31 17:33:12 2007 (14022) smtp to hyphen-ated for 1 recips, completed in 0.040 seconds Aug 31 17:33:50 2007 (14022) Aug 31 17:33:10 2007 (11581) hyphen-ated: held subscription request from falko at reservoir.com When a user request is made to add a user to these lists, the confirmation email does not get sent to the admin. Postfix does not report any delivery problems. I tried googling this, but found nothing. Does any one have any suggestions? Thank you. Best regards, Andrey Falko From justbrits at comcast.net Sat Sep 1 00:43:12 2007 From: justbrits at comcast.net (JB@comcast) Date: Fri, 31 Aug 2007 17:43:12 -0500 Subject: [Mailman-Users] problems with new web host and "too manycomplaints" References: <46D77BFA.6050803@nerds.net> <46D809AC.1090609@nerds.net> Message-ID: <012901c7ec20$50172070$6601a8c0@actualshop> I think all of you will find below quite interesting!!! http://www.mattheaton.com/ I did. Ed From msapiro at value.net Sat Sep 1 01:10:38 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 31 Aug 2007 16:10:38 -0700 Subject: [Mailman-Users] Hyphenated Lists Stopped Working In-Reply-To: <46D8909B.6050604@reservoir.com> Message-ID: Andrey Falko wrote: > >Lists with hyphens like, "-", no longer work. Postix has no trouble >delivering mail to these lists to the maildir, but the emails simply lie >in /var/lib/mailman/qfiles/maildir/cur/ and nothing appears to happen to >them.. The files in /var/lib/mailman/qfiles/maildir/cur/ probably have names ending in '1:X' indicating a MaildirRunner processing error. >Log files show nothing helpful: >Aug 31 17:32:08 2007 (14022) > smtp to >hyphen-ated for 1 recips, completed in 0.058 seconds >Aug 31 17:33:12 2007 (14022) > smtp to >hyphen-ated for 1 recips, completed in 0.040 seconds >Aug 31 17:33:50 2007 (14022) >Aug 31 17:33:10 2007 (11581) hyphen-ated: held subscription request from >falko at reservoir.com There should be messages in Mailman's error log saying 'Message apparently not for any list: %s' where the %s is replaced with the name of the /var/lib/mailman/qfiles/maildir/cur/*1:X file. The bottom line is there is a bug in MaildirRunner.py. It doesn't work with hyphenated list names as it conflates the last part of the name with the -bounces, -request, etc. suffixes. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sat Sep 1 03:23:43 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 31 Aug 2007 18:23:43 -0700 Subject: [Mailman-Users] Hyphenated Lists Stopped Working In-Reply-To: Message-ID: Mark Sapiro wrote: > >The bottom line is there is a bug in MaildirRunner.py. It doesn't work >with hyphenated list names as it conflates the last part of the name >with the -bounces, -request, etc. suffixes. The attached MaildirRunner.patch.txt file contains a patch which I think will fix this bug. I've tested the revised regexp somewhat and it seems to work, but I would appreciate your trying the patch and reporting the results. Make a backup copy of Mailman/Queue/MaildirRunner.py, apply the patch and restart Mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: MaildirRunner.patch.txt Url: http://mail.python.org/pipermail/mailman-users/attachments/20070831/ce829c78/attachment.txt From msapiro at value.net Sat Sep 1 17:06:57 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 1 Sep 2007 08:06:57 -0700 Subject: [Mailman-Users] Hyphenated Lists Stopped Working In-Reply-To: Message-ID: Karl Zander wrote: > >hummm...We have not had problems with hyphenated list >names. Just about all of our lists have hyphenated names. > Currently running 2.1.9, but we did not have problems >with 2.1.8 or 2.1.7 either. Neither did the OP have problems until he moved lists with hyphenated names to a Mailman installation using maildir delivery to Mailman as opposed to the normal piped delivery direct from the MTA. The problem is in MaildirRunner.py which is "experimental for Mailman 2.1" and not used at most sites. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From kwz-mm at commpartners.com Sat Sep 1 16:41:58 2007 From: kwz-mm at commpartners.com (Karl Zander) Date: Sat, 01 Sep 2007 10:41:58 -0400 Subject: [Mailman-Users] Hyphenated Lists Stopped Working In-Reply-To: References: Message-ID: On Fri, 31 Aug 2007 16:10:38 -0700 Mark Sapiro wrote: > The bottom line is there is a bug in MaildirRunner.py. >It doesn't work > with hyphenated list names as it conflates the last part >of the name > with the -bounces, -request, etc. suffixes. hummm...We have not had problems with hyphenated list names. Just about all of our lists have hyphenated names. Currently running 2.1.9, but we did not have problems with 2.1.8 or 2.1.7 either. --Karl From mpanderso at cox.net Sat Sep 1 18:48:06 2007 From: mpanderso at cox.net (Michael Anderson) Date: Sat, 01 Sep 2007 11:48:06 -0500 Subject: [Mailman-Users] Comcast, Yahoo, Hotmail blocking us Message-ID: Suddenly, these major ISP's were refusing our connections. We are not on their blacklists. This all started on one day. After a great deal of investigation by my sysadmin and my University IT guys we have come to the conclusion that it might have been caused by updating our mail gateway machine. We upgraded from an antiquated PIX to one that is lightening fast. Plus we upgraded our bandwidth at the same time. So, what is happening is we are delivering the mail so fast that these ISP's are rejecting mail because they have thresholds in place that block large quantities of mail coming in from the same server in a short time. So, the question I have is - is there any way to set mailman so that it doesn't send all its copies of a message to yahoo.com for instance all at once? Can you break it up? We have 200 yahoo users which is over their threshold. We are grasping at straws on this one. Also, is there a way to find out which major blacklists your server is on and also a way to find the addresses you need to request whitelisting? I have a feeling there is a repository for this that you can search, but I don't know where to find it. Thanks for your help. Michael From kyle.banerjee at gmail.com Sat Sep 1 19:11:03 2007 From: kyle.banerjee at gmail.com (Kyle Banerjee) Date: Sat, 1 Sep 2007 10:11:03 -0700 Subject: [Mailman-Users] Message received by mailman and archives, but won't deliver In-Reply-To: References: <47eed6660708302010x334f5d5end3d08162402ccfe8@mail.gmail.com> Message-ID: <47eed6660709011011r56901da4m32184cc251947654@mail.gmail.com> Just in case someone else experiences insanely slow delivery, DNS verifies on mail from mailman turned out to be the problem in my case. I turned that off and made sure I could relay from localhost, and everything works great. kyle On 8/30/07, Mark Sapiro wrote: > Kyle Banerjee wrote: > > > >I've sent a few messages to the lists over the past couple hours. Here > >is what I'm seeing: > > > >1) The files are appearing almost immediately in qfiles/out/ where > >they seem to stay. Nothing is in retry or the other qfiles > >directories. > > > >2) Even a couple hours later, nothing shows up in post, smtp, or > >smtp-failure. However, someone who belonged to one of the lists sent > >one through. I found the entry > > > >Aug 31 02:18:53 2007 (40546) > ><01F67337-E566-4AA4-B684-01C9E2F3F9FB at mac.com> smtp to innopac for > >2014 recips, completed in 11231.212 seconds > > > >The amount of time for the transaction seems insane. Load is > >practically nonexistent. > > > Your SMTP delivery to sendmail is incredibly slow. This is your entire > problem. Your out queue is hoplessly backlogged due to the time it is > taking to process SMTP. You will never catch up. > > You need to make changes in sendmail. See > , > particularly 4.11 and 6.3, and make sure you are not doing DNS > verifies on mail from Mailman. > > > >3) When I send a message to the list, maillog makes it look like > >everything happened. For example, if I send it to the list with 4 > >people in it > > > >Aug 31 02:47:54 innopacusers sm-mta[52010]: l7V2lmww052010: > >from=, size=5888, class=0, nrcpts=1, > >msgid=<47eed6660708301947g661c9557ocaeb52af48e48260 at mail.gmail.com>, > >proto=ESMTP, daemon > >=MTA-v4, relay=wa-out-1112.google.com [209.85.146.180] > > > This doesn't look like a message from Mailman. A message from a mailman > list will normally be from listname-bounces at example.com > (webguru-bounces at innopacusers.org in this case). And, if this came > from Mailman, there would be entries in Mailman's post and smtp logs. > > > >Aug 31 02:48:01 innopacusers sm-mta[52012]: l7V2lmww052010: > >to=namedeleted2 at bus.umich.edu, delay=00:00:07, xdelay=00:00:02, > >mailer=esmtp, pri=156118, relay=bus-ex02.bus.umich.edu. > >[141.211.239.195], dsn=2.0.0, stat=Sent ( > ><47eed6660708301947g661c9557ocaeb52af48e48260 at mail.gmail.com> Queued > >mail for delivery) > >Aug 31 02:48:02 innopacusers sm-mta[52012]: l7V2lmww052010: > >to=namedeleted3 at Colorado.edu , delay=00:00:08 > >, xdelay=00:00:01, mailer=esmtp, pri=156118, relay=mx10.colorado.edu. > >[128.138.128.110], dsn=2.0.0, stat= > >Sent (Ok: queued as 31AB7C4A4B0) > >Aug 31 02:48:03 innopacusers sm-mta[52012]: l7V2lmww052010: > >to=namedeleted4 at gmail.com, delay=00:00:09, x > >delay=00:00:01, mailer=esmtp, pri=156118, > >relay=gmail-smtp-in.l.google.com. [64.233.167.27], dsn=2.0.0, > >stat=Sent (OK 1188528483 a70si1963649pye) > >Aug 31 02:48:04 innopacusers sm-mta[52012]: l7V2lmww052010: > >to=fleckn at mail.lib.msu.edu, delay=00:00:10, x > >delay=00:00:01, mailer=esmtp, pri=156118, > >relay=mail1.mail.lib.msu.edu. [35.8.223.61], dsn=2.0.0, stat=Sent ( > ><47eed6660708301947g661c9557ocaeb52af48e48260 at mail.gmail.com> Queued > >mail for delivery) > >Aug 31 02:48:22 innopacusers sm-mta[52012]: > >l7V2lmww052010:to=namedeleted5 at oregonstate.edu, delay=00:00:28, > >xdelay=00:00:18, mailer=esmtp, pri=156118, > >relay=relay.oregonstate.edu. [128.193.15.33], dsn=2.0.0, stat=Sent > >(Ok: queued as 5D01C410AE6) > > > >The handoff to mailman shows up and it appears in /qfiles/out > >Aug 31 02:40:58 innopacusers sm-mta[51781]: l7V2ep7j051777: > >to="|/usr/local/bin/stripmime.pl|/usr/local/mailman/mail/mailman post > >webguru" , ctladdr= (26/0), delay=00:00:01, > >xdelay=00: > >00:01, mailer=prog, pri=31857, dsn=2.0.0, stat=Sent > > > Mailman can do content filtering with I think more control than > stripmime.pl > > > >> In fact, in a well running Mailman installation qfiles/out/ is normally > >> empty except for the occasional entry you see for a second or so while > >> it's waiting to be picked up. (In 2.1.9, it will remain longer as a > >> *.bak file while it is being processed by > >> OutgoingRunner/SMTPDirect.py.) > >> > >> If *.pck files are hanging around in qfiles/out/, either there is a > >> backlog (probably due to a configuration issue if it persists), or > >> there is some problem with OutgoingRunner. > > > >This sounds like my problem. OutgoingRunner is running > > > >mailman 40546 0.0 1.7 19204 17236 ?? S 11:11PM 0:01.49 > >/usr/local/bin/python2.4 /usr/local/mailman/bin/qrunner > >--runner=OutgoingRunner:0:1 -s > > > >I can easily buy that there's a config issue, but the strange thing is > >that we were functional for years and all of a sudden quit working > > > What Mailman version is this? > > > >(having said that, we have a hosted server, so it's conceivable > >something was done to our machine -- it's happened before). > > > >I don't understand how OutgoingRunner works -- any suggestions for > >directions for me to explore in seeing if my sendmail or mailman > >config is screwing things up? Thanks, > > > OutgoingRunner picks up the oldest qfiles/out/*.pck file, gets the > message and metadata from it and passes them to SMTPDirect.py for > processing. When SMTPDirect.py returns, it picks up the next entry and > repeats until there are no entries left. Then it sleeps for > QRUNNER_SLEEP_TIME (default 1 second) and looks for any new entries. > > That's the basic flow assuming no errors or exceptions. > > See the above FAQ articles. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > -- ---------------------------------------------------------- Kyle Banerjee Digital Services Program Manager Orbis Cascade Alliance banerjek at uoregon.edu / 541.359.9599 From Alan.Sill at ttu.edu Sat Sep 1 19:22:31 2007 From: Alan.Sill at ttu.edu (Alan Sill) Date: Sat, 1 Sep 2007 12:22:31 -0500 Subject: [Mailman-Users] Hyphenated Lists Stopped Working In-Reply-To: References: Message-ID: <6660C389-2B50-449F-AED1-2CEDD2498EBF@ttu.edu> On Sep 1, 2007, at 5:00 AM, mailman-users-request at python.org wrote: > Mark Sapiro wrote: >> >> The bottom line is there is a bug in MaildirRunner.py. It doesn't >> work >> with hyphenated list names as it conflates the last part of the name >> with the -bounces, -request, etc. suffixes. > > > The attached MaildirRunner.patch.txt file contains a patch which I > think will fix this bug. I've tested the revised regexp somewhat and > it seems to work, but I would appreciate your trying the patch and > reporting the results. > > Make a backup copy of Mailman/Queue/MaildirRunner.py, apply the patch > and restart Mailman. Is this bug only present in certain version of Mailman? I have lists with hyphenated list names that do not exhibit this problem. From bbrown at spsu.edu Sat Sep 1 19:28:59 2007 From: bbrown at spsu.edu (Bob Brown) Date: Sat, 1 Sep 2007 13:28:59 -0400 Subject: [Mailman-Users] Comcast, Yahoo, Hotmail blocking us In-Reply-To: Message-ID: > Also, is there a way to find out which major blacklists your server is on Try one of these: http://www.mxtoolbox.com/blacklists.aspx http://www.dnsbl.info/advanced.asp You should probably check spamhaus.org directly here: http://www.spamhaus.org/zen/ If you find yourself on one or more blacklists, visit the blacklist's Web page for information on removal or whitelisting. -- Bob mailman-users-bounces+bbrown=spsu.edu at python.org wrote on 09/01/2007 12:48:06 PM: > Suddenly, these major ISP's were refusing our connections. We are not on > their blacklists. This all started on one day. > > After a great deal of investigation by my sysadmin and my University IT guys > we have come to the conclusion that it might have been caused by updating > our mail gateway machine. We upgraded from an antiquated PIX to one that is > lightening fast. Plus we upgraded our bandwidth at the same time. > > So, what is happening is we are delivering the mail so fast that these ISP's > are rejecting mail because they have thresholds in place that block large > quantities of mail coming in from the same server in a short time. > > So, the question I have is - is there any way to set mailman so that it > doesn't send all its copies of a message to yahoo.com for instance all at > once? Can you break it up? We have 200 yahoo users which is over their > threshold. > > We are grasping at straws on this one. > > Also, is there a way to find out which major blacklists your server is on > and also a way to find the addresses you need to request whitelisting? I > have a feeling there is a repository for this that you can search, but I > don't know where to find it. > > Thanks for your help. > Michael > > > ------------------------------------------------------ > Mailman-Users mailing list > Mailman-Users at python.org > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: http://mail.python.org/mailman/options/mailman- > users/bbrown%40spsu.edu > > Security Policy: http://www.python.org/cgi-bin/faqw-mm.py? > req=show&file=faq01.027.htp > From msapiro at value.net Sat Sep 1 19:47:44 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 1 Sep 2007 10:47:44 -0700 Subject: [Mailman-Users] Hyphenated Lists Stopped Working In-Reply-To: <6660C389-2B50-449F-AED1-2CEDD2498EBF@ttu.edu> Message-ID: Alan Sill wrote: > >> Mark Sapiro wrote: >>> >>> The bottom line is there is a bug in MaildirRunner.py. It doesn't >>> work >>> with hyphenated list names as it conflates the last part of the name >>> with the -bounces, -request, etc. suffixes. >> >> >> The attached MaildirRunner.patch.txt file contains a patch which I >> think will fix this bug. I've tested the revised regexp somewhat and >> it seems to work, but I would appreciate your trying the patch and >> reporting the results. >> >> Make a backup copy of Mailman/Queue/MaildirRunner.py, apply the patch >> and restart Mailman. > >Is this bug only present in certain version of Mailman? I have lists >with hyphenated list names that do not exhibit this problem. The bug is in all Mailman 2.1.x versions but it only appears if you use maildir delivery to Mailman which is not the default and which very few sites use. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sat Sep 1 20:09:44 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 1 Sep 2007 11:09:44 -0700 Subject: [Mailman-Users] Comcast, Yahoo, Hotmail blocking us In-Reply-To: Message-ID: Michael Anderson wrote: >Suddenly, these major ISP's were refusing our connections. We are not on >their blacklists. This all started on one day. > >After a great deal of investigation by my sysadmin and my University IT guys >we have come to the conclusion that it might have been caused by updating >our mail gateway machine. We upgraded from an antiquated PIX to one that is >lightening fast. Plus we upgraded our bandwidth at the same time. > >So, what is happening is we are delivering the mail so fast that these ISP's >are rejecting mail because they have thresholds in place that block large >quantities of mail coming in from the same server in a short time. I suppose that's possible, but before going down that road, I would make sure that the domain that the server identifies itself as in SMTP HELO or EHLO is the same domain returned by an rDNS lookup of its IP address. I.e. if I connect from IP 10.0.0.1 and identify myself in HELO as example.com, an rDNS lookup of 10.0.0.1 should return example.com. If this is not the case, or if the rDNS returns a 'generic' name such as DSL-10-0-0-1.example.com, this is sufficient reason for some ISPs to block you. >So, the question I have is - is there any way to set mailman so that it >doesn't send all its copies of a message to yahoo.com for instance all at >once? Can you break it up? We have 200 yahoo users which is over their >threshold. There is no throttling per se in Mailman. You can probably slow things down a bit by setting VERP_DELIVERY_INTERVAL = 1 in mm_cfg.py which will cause Mailman to deliver each recipient to the outgoing MTA in a separate SMTP transaction instead of sending in one transaction with up to 500 recipients. You can accomplish the same thing by setting SMTP_MAX_RCPTS = 1 but if you're sending to 1 recipient per transaction, you might as well get the advantage of VERP like delivery for better bounce detection. If you have default Mailman settings, it is possible that Mailman is delivering all 200 Yahoo recipients to the MTA in a single transaction. Then, the MTA may or may not attempt to deliver all 200 to Yahoo in a single transaction which Yahoo may not like. If so, the above settings may help. If you want to slow things more than that, you need to investigate how to do it in the MTA. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From runner at winning.com Sat Sep 1 20:50:26 2007 From: runner at winning.com (runner at winning.com) Date: Sat, 1 Sep 2007 11:50:26 -0700 Subject: [Mailman-Users] Aliases file and upgrading Message-ID: <20070901185026.D0B171BF28D@ws1-1.us4.outblaze.com> Just tried to upgrade by migrating our lists from mailman 1.0 to mailman 2.1.9 on new hardware. Pre-upgrade testing worked fine but after the real migration I saw a lot of "user unknown" errors in postfix's maillog. After investigating I found a lot of rejected mail destined for owner-listname. I compared the list aliases from the old and new mailman installs and discovered the old version generated an alias in the format owner-listname and listname-owner but the new mailman only generates listname-owner. My first thought was to add the additional alias to each migrated list to catch these emails. However, I also decided I might need to determine where these emails are coming from; maybe not. They either came from the old mailman system and for whatever reason, were delayed and subsequently delivered to the new server. Or, the new mailman server generated them because of some setting that was migrated from the old server. I'm not concerned about the first scenario but I'd like to know if the second scenario is possible. I'd like to find the answer to these two questions: 1) Is there any problem with manually adding the extra alias owner-listname for each migrated list and 2) Is is possible that mailman 2.1.9 is generating references to owner-listname and if so, is that a problem? -- We've Got Your Name at http://www.mail.com ! Get a FREE E-mail Account Today - Choose From 100+ Domains From runner at winning.com Sat Sep 1 23:46:39 2007 From: runner at winning.com (runner at winning.com) Date: Sat, 1 Sep 2007 14:46:39 -0700 Subject: [Mailman-Users] Aliases file and upgrading Message-ID: <20070901214639.65ADB478088@ws1-5.us4.outblaze.com> > 1) Is there any problem with manually adding the extra alias > owner-listname for each migrated list and > 2) Is is possible that mailman 2.1.9 is generating references to > owner-listname and if so, is that a problem? I just found the answer to question 1. If you add the alias manually it will be removed when you run mailman's genaliases command. I'm going to look at postfix's virtual aliasing capabilities to see if I can solve this. -- We've Got Your Name at http://www.mail.com ! Get a FREE E-mail Account Today - Choose From 100+ Domains From msapiro at value.net Sun Sep 2 00:02:12 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 1 Sep 2007 15:02:12 -0700 Subject: [Mailman-Users] Comcast, Yahoo, Hotmail blocking us In-Reply-To: Message-ID: Michael Anderson wrote: > >I can't imagine that sending one message at a time to 1500 users on a real >busy listserv would be a good idea.. Could it not really be slow? Well, you asked how to slow it down ... OTOH, it won't be that slow. If your MTA as as blinding fast as you say, I imagine that for moderate sized messages, say 10 KB, it would take well under a minute to deliver to the MTA. I don't know how many members are on the many lists at python.org, but many of these lists have personalized and/or VERPed delivery and thus send an individual message to each subscriber, and it doesn't seem to be an issue there. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mpanderso at cox.net Sun Sep 2 00:10:05 2007 From: mpanderso at cox.net (Michael Anderson) Date: Sat, 01 Sep 2007 17:10:05 -0500 Subject: [Mailman-Users] Comcast, Yahoo, Hotmail blocking us In-Reply-To: Message-ID: We changed our Sendmail configuration to send out one message at a time and it seems to be working fine so far. Thanks for all the help. MA > From: Mark Sapiro > Organization: Not Very Much > Date: Sat, 1 Sep 2007 15:02:12 -0700 > To: Michael Anderson > Cc: Mailman Users > Subject: Re: [Mailman-Users] Comcast, Yahoo, Hotmail blocking us > > Michael Anderson wrote: >> >> I can't imagine that sending one message at a time to 1500 users on a real >> busy listserv would be a good idea.. Could it not really be slow? > > > Well, you asked how to slow it down ... > > OTOH, it won't be that slow. If your MTA as as blinding fast as you > say, I imagine that for moderate sized messages, say 10 KB, it would > take well under a minute to deliver to the MTA. > > I don't know how many members are on the many lists at python.org, but > many of these lists have personalized and/or VERPed delivery and thus > send an individual message to each subscriber, and it doesn't seem to > be an issue there. > From msapiro at value.net Sun Sep 2 00:24:07 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 1 Sep 2007 15:24:07 -0700 Subject: [Mailman-Users] Aliases file and upgrading In-Reply-To: <20070901214639.65ADB478088@ws1-5.us4.outblaze.com> Message-ID: runner at winning.com wrote: >> 1) Is there any problem with manually adding the extra alias >> owner-listname for each migrated list and >> 2) Is is possible that mailman 2.1.9 is generating references to >> owner-listname and if so, is that a problem? > > >I just found the answer to question 1. If you add the alias manually it will be removed when you run mailman's genaliases command. I'm going to look at postfix's virtual aliasing capabilities to see if I can solve this. There are a few possible approaches to 1) (bear with me, I'm not a postfix guy) 1a) map owner-listname to listname-owner in /etc/aliases or some other non-mailman aliases file. This way I think you can avoid the 'group mismatch error' that would result if you tried to pipe the owner-listname address directly to the wrapper in an alias file not owned by Mailman's user:group. 1b) add the owner-listname pipe alias to Mailman's data/aliases and don't run Mailman's genaliases. Just rely on list creation/deletion to add/remove the appropriate stanzas, and manually add the owner-listname for new lists. 1c) create another set of postfix alias files with the same ownership as the ones in Mailman's data/ directory and put the owner-listname pipe aliases there. But, 1) should not be necessary because the answer to 2) is No. Mailman itself is not generating mail to owner-listname unless owner-listname is a list member, owner or moderator. It should not be an owner or moderator, at least not of the same list - i.e., the owners and moderators of listx should not contain any listx-* addresses and should not contain any owner-listx address unless that address is deliverable outside of Mailman. If owner-listname is a list member, that address should be changed to listname-owner. You can use Mailman's bin/find_member owner- to see if any owner- addresses are members of which lists. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brad at shub-internet.org Sun Sep 2 08:35:59 2007 From: brad at shub-internet.org (Brad Knowles) Date: Sun, 2 Sep 2007 01:35:59 -0500 Subject: [Mailman-Users] Comcast, Yahoo, Hotmail blocking us In-Reply-To: References: Message-ID: On 9/1/07, Mark Sapiro wrote: > OTOH, it won't be that slow. If your MTA as as blinding fast as you > say, I imagine that for moderate sized messages, say 10 KB, it would > take well under a minute to deliver to the MTA. It all depends on how many recipients there are, how large the message is, and how many total deliveries are required to get all necessary copies of the message transmitted from Mailman to the MTA. > I don't know how many members are on the many lists at python.org, but > many of these lists have personalized and/or VERPed delivery and thus > send an individual message to each subscriber, and it doesn't seem to > be an issue there. We currently have 128 lists, and the Top Ten largest lists are: 3406 Python-list 3316 Mailman-announce 2997 Tutor 2598 Mailman-Users 1492 Python-announce-list 1309 Python-Dev 874 python-win32 855 Pythonmac-SIG 694 Image-SIG 646 XML-SIG Going back to May 2005, the Top Ten lists with the most traffic are: 35787 python-list 21220 python-dev 18747 tutor 16636 python-checkins 13810 mailman-users 11241 python-bugs-list 10184 python-3000 7754 python-help 5790 patches 5400 pythonmac-sig The Top Ten fastest lists with the highest average delivery rates to the MTA are: total delivery List # msgs time (secs) Avg. rate -------------------- -------- ---------- ------------- Tutor 18629829 / 104001.403 = 179.131 msg/s Baypiggies 747203 / 4413.775 = 169.289 msg/s python-win32 1649983 / 9783.514 = 168.649 msg/s C++-sig 1317540 / 7915.801 = 166.444 msg/s Edu-sig 801584 / 5248.601 = 152.723 msg/s Python-announce-list 2002410 / 13363.320 = 149.844 msg/s PythonCE 245065 / 1638.371 = 149.578 msg/s Python-ideas 131066 / 883.584 = 148.335 msg/s Image-SIG 465971 / 3271.483 = 142.434 msg/s Distutils-SIG 610489 / 4330.037 = 140.989 msg/s Now, we are a bit of a special case, since we dump all our outgoing mail on the ISP that provides hosting services for the Python.org machines (XS4ALL.nl), but as far as the rest of the numbers are concerned, I think they're fairly representative. -- Brad Knowles LinkedIn Profile: From brad at shub-internet.org Sun Sep 2 07:38:35 2007 From: brad at shub-internet.org (Brad Knowles) Date: Sun, 2 Sep 2007 00:38:35 -0500 Subject: [Mailman-Users] Comcast, Yahoo, Hotmail blocking us In-Reply-To: References: Message-ID: On 9/1/07, Michael Anderson wrote: > So, the question I have is - is there any way to set mailman so that it > doesn't send all its copies of a message to yahoo.com for instance all at > once? Can you break it up? We have 200 yahoo users which is over their > threshold. Search the FAQ Wizard for "throttle". In particular, see FAQ 4.51 at . > Also, is there a way to find out which major blacklists your server is on > and also a way to find the addresses you need to request whitelisting? I > have a feeling there is a repository for this that you can search, but I > don't know where to find it. Google for "blacklist checker". Three of the top five hits are: http://www.robtex.com/rbl.html http://www.moensted.dk/spam/ http://www.mxtoolbox.com/blacklists.aspx -- Brad Knowles LinkedIn Profile: From brad at shub-internet.org Sun Sep 2 07:42:29 2007 From: brad at shub-internet.org (Brad Knowles) Date: Sun, 2 Sep 2007 00:42:29 -0500 Subject: [Mailman-Users] Comcast, Yahoo, Hotmail blocking us In-Reply-To: References: Message-ID: On 9/1/07, Mark Sapiro wrote: > I suppose that's possible, but before going down that road, I would > make sure that the domain that the server identifies itself as in SMTP > HELO or EHLO is the same domain returned by an rDNS lookup of its IP > address. Another factor might be the firewall. Some firewalls (especially certain versions of the Cisco PIX) are known to break SMTP in some pretty horrible ways, and it is entirely possible that large sites might set up their servers to look for certain types of behaviour that are in violation of the protocol. Or maybe they had these problems previously, and then instituted a way to work around them. But when the firewall changed, they didn't un-break whatever else they had to break in a different way, in order to work around the previous bizarre Cisco PIX problems. At the very least, this would be something else to check out. -- Brad Knowles LinkedIn Profile: From jeffrey at goldmark.org Sun Sep 2 19:26:28 2007 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Sun, 2 Sep 2007 12:26:28 -0500 Subject: [Mailman-Users] Comcast, Yahoo, Hotmail blocking us In-Reply-To: References: Message-ID: <28E489C3-E37A-43B5-98FD-D4CB5A822202@goldmark.org> On Sep 1, 2007, at 1:09 PM, Mark Sapiro wrote: > I suppose that's possible, but before going down that road, I would > make sure that the domain that the server identifies itself as in SMTP > HELO or EHLO is the same domain returned by an rDNS lookup of its IP > address. Let me add to this. I fully agree that there are DNS related things that can and should be done to make a legitimate mailing list system less likely to be blacklisted. I run a mailing list server at 72.64.118.118. Before I set that up I had to have the rDNS (aka PTR record) for that IP changed from static-72-64-118-118.dllstx.fios.verizon.net. to n118.ewd.goldmark.org. Doing this was the hardest part of the job because it took two painful hours on the phone with Verizon Business Internet support. However painful that was, it really was necessary. I would not have set up a mailing list server until I had that sorted out. I also have SPF records for all of the domains that might appear in HELO or MAIL FROM addresses for anything coming off of my net. Having a proper rDNS and SPF records to match should demonstrate to most reasonable systems that the mail from my IP really is under my (fully traceable) control. Of course I have postmaster and abuse addresses working for all of the domains that mail may come from. Still, with all of this, I got blocked by 1and1.com as being a dynamic address (which of course I'm not). What was also annoying was that 1and1.com rejected the mail with a 4xx, so the mail just sat in my outgoing queue, retrying every now and then until I removed the messages from the queue. It took several attempts to contact 1and1.com support (they don't publish a telephone number for non-customers) before this finally got fixed. But other than that, I've had no problems with comcast, yahoo or hotmail and only minimal problems with AOL. AOL has a document on the web someplace about what they want from mailing list providers. Most of their requirements are pretty much what people should be doing anyway. This is a long winded way of saying that before looking at exotic solutions like throttling, there are other steps you should be taking anyway that may resolve the problems. -j From sales at importautosource.com Mon Sep 3 04:35:02 2007 From: sales at importautosource.com (Sales - Import Auto Source) Date: Sun, 2 Sep 2007 20:35:02 -0600 Subject: [Mailman-Users] New user, need a bit of help. Message-ID: <20070903024230.EBECB1E4006@bag.python.org> First off, thanks in advance for any help that can be tossed my way. I am trying to get Mailman to work. Mailman is provided by my web host. I have followed their instructions, as well as much of the Mailman FAQ and setup as I can comprehend. (Fairly new to this stuff) The problem: The list doesn?t send out any messages. Anyhow, This is what happens. - setup new list (HYPERLINK "mailto:test at saskjunction.com"test at saskjunction.com just for testing, and seems to activate fine.) - I can log in to the administration panel no problem and add users, adjust settings, etc. - I can send email to the list. (Don?t get a bounce or anything) but nothing happens. I made sure the email address I was sending from was added to the list before hand. - I read the FAQ and the problem ?seems? to indicate an issue with crontabs. I checked my Cron information (I don?t know how much access I get to this stuff, as it is mosty new to me) and I see nothing in my little access area. I tried putting in some of the strings in the Cron area, but still nothing. (I actually am not sure if I even input that information correctly, I just copied and pasted off the FAQ.) >From my lack of knowledge, it seems to have something to do with setup / install which I doubt I have access to on a shared hosting account. My host seemed helpful, but I think didn?t understand what I was saying. The FAQ points to Cron or the sendmail setup, but I do not know how to even begin checking this. Any tips or tricks? Where to start or to tell my host to help? Thanks for your time. Jeremy No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.13.2/984 - Release Date: 9/2/2007 12:59 PM From msapiro at value.net Mon Sep 3 05:15:53 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 2 Sep 2007 20:15:53 -0700 Subject: [Mailman-Users] New user, need a bit of help. In-Reply-To: <20070903024230.EBECB1E4006@bag.python.org> Message-ID: Sales - Import Auto Source wrote: > >Mailman is provided by my web host. I have followed their instructions, as >well as much of the Mailman FAQ and setup as I can comprehend. (Fairly new >to this stuff) > > > > > >The problem: The list doesn?t send out any messages. Do new members get notified of their subscription? >Anyhow, This is what happens. > > > >- setup new list (HYPERLINK >"mailto:test at saskjunction.com"test at saskjunction.com just for testing, and >seems to activate fine.) > >- I can log in to the administration panel no problem and add >users, adjust settings, etc. > >- I can send email to the list. (Don?t get a bounce or anything) >but nothing happens. I made sure the email address I was sending from was >added to the list before hand. > >- I read the FAQ and the problem ?seems? to indicate an issue with >crontabs. No. From the above mailto, I guessed that your listinfo page is at and I see from this that your Mailman version is 2.1.9.cp2. This tells me two things. First it is 2.1.x so that cron is not involved in sending list mail. cron is only involved in sending list mail in 2.0.x (and older). >I checked my Cron information (I don?t know how much access I get >to this stuff, as it is mosty new to me) and I see nothing in my little >access area. I tried putting in some of the strings in the Cron area, but >still nothing. (I actually am not sure if I even input that information >correctly, I just copied and pasted off the FAQ.) Whatever you did is probably wrong :-( Second, this is a cPanel Mailman so is relevant. >Any tips or tricks? Where to start or to tell my host to help? Have you checked to see if your tests are waiting moderator action? Refer your host support to . If the host support has further questions, they are welcome to post to mailman-users at python.org. I also note that there are no messages archived for your 'test' list. Assuming archiving is enabled for this list and the posts aren't held in the admindb interface, that suggests that either your posts aren't getting to Mailman, or at least some of Mailman's qrunners aren't running. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From dennisthetiger at chez-vrolet.net Mon Sep 3 05:33:43 2007 From: dennisthetiger at chez-vrolet.net (Dennis Carr) Date: Sun, 02 Sep 2007 20:33:43 -0700 Subject: [Mailman-Users] Cleaning up archive that aren't in mbox format? Message-ID: <46DB8097.7040003@chez-vrolet.net> My list server, as near as I can tell, does not appear to be parsing out from mbox format. (To backtrack, early last month, I had asked the list for help on correctly parsing out the From information. It is apparently doing this correctly, as in putting the > in front of the From.) Now, though, I have the 2007-July file that has the broken messages still in here. In short, did I run the archiver correctly? Or for that matter, where should I be looking/running this file/whatever? -Dennis Carr From toby at 4cws.com Mon Sep 3 09:10:44 2007 From: toby at 4cws.com (toby at 4cws.com) Date: Mon, 3 Sep 2007 01:10:44 -0600 (MDT) Subject: [Mailman-Users] New User? Can I setup scheduled messages? Message-ID: <3586.71.213.164.10.1188803444.squirrel@4cws.com> I am looking to see If i can setup a list and load it with messages to be sent to the users at scheduled days. Thanks. From msapiro at value.net Mon Sep 3 06:48:07 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 2 Sep 2007 21:48:07 -0700 Subject: [Mailman-Users] Cleaning up archive that aren't in mbox format? In-Reply-To: <46DB8097.7040003@chez-vrolet.net> Message-ID: Dennis Carr wrote: >My list server, as near as I can tell, does not appear to be parsing out >from mbox format. > >(To backtrack, early last month, I had asked the list for help on >correctly parsing out the From information. It is apparently doing this >correctly, as in putting the > in front of the From.) What are you looking at that has the properly escaped >From_? >Now, though, I have the 2007-July file that has the broken messages >still in here. > >In short, did I run the archiver correctly? Or for that matter, where >should I be looking/running this file/whatever? You never answered the questions I asked (see ). However, there should be an archives/private/ffml.mbox/ffml.mbox file which contains all posts to the ffml list. Look at that file and see if the From_ line in the body of the Fri Jul 6 00:13:27 PDT 2007 Happosai's Life of DOOM #6 post is escaped with a leading '>' or not. It should be. If it is and if bin/cleanarch -n < archives/private/ffml.mbox/ffml.mbox doesn't report any problems, then bin/arch --wipe ffml should rebuild the archive. If there are problems with the ffml.mbox file, then you can run bin/cleanarch < archives/private/ffml.mbox/ffml.mbox > tmpfile mv tmpfile archives/private/ffml.mbox/ffml.mbox before running bin/arch as above. If there are problems, then I think you must somehow have the wrong python email library. Refer to the questions in my above referenced reply to your original post. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Mon Sep 3 16:30:42 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 3 Sep 2007 07:30:42 -0700 Subject: [Mailman-Users] New User? Can I setup scheduled messages? In-Reply-To: <3586.71.213.164.10.1188803444.squirrel@4cws.com> Message-ID: toby at 4cws.com wrote: >I am looking to see If i can setup a list and load it with messages to be >sent to the users at scheduled days. Not within Mailman. You would need to set up some scheduled task (cron) outside Mailman to post the messages to Mailman at the desired times. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Mon Sep 3 17:31:38 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 3 Sep 2007 08:31:38 -0700 Subject: [Mailman-Users] Fixed the To address problem now additional issues In-Reply-To: Message-ID: Mervyn Kahn wrote: > >Sending you an copy of the original as was sent to mailman in a separate e >mail and here are the headers of the received e mail. >X-Mailman-Version: 2.1.5 >Precedence: list >Cc: "\[Epasella\] " >List-Id: "\[Epasella\] " >List-Unsubscribe: , > >List-Archive: >List-Help: >List-Subscribe: , > >Content-Type: multipart/mixed; >boundary="===============3062302646177479864==" >To: info at epasella.com >Sender: epasella-bounces at gmail.com >Errors-To: epasella-bounces at gmail.com There are problems in your 'epasella' list configuration. The gmail.com domain in all the email addresses above comes from the list's host_name attribute on the General Options page. This should not be 'gmail.com'. It should be the domain to which list email (e.g. a post) is sent. Probably 'epasella.biz'. As far as the Cc: is concerned, I should have caught this earlier, but I was thrown off by the gmail.com domain. The "[Epasella] " part is the list's description attribute (on the General Options page), and the address is what Mailman thinks is the list posting address. Again, the gmail.com domain comes from host_name. The reason this address appears as a Cc: is that it is no longer in the To: header because the list is fully personalized, and we want it to be somewhere in the headers so that the recipient can 'reply all' back to the list. In Mailman 2.1.5, you don't have much choice. We will not put the list posting address in a Cc: if reply_goes_to_list is set to 'This list', but this may be undesirable for many reasons. That's the only way to get rid of the Cc: completely for a fully personalized list without hacking the code. Beginning in Mailman 2.1.6, we also do not put the posting address in a Cc: for a fully personalized list if the list is anonymous (anonymous_list is Yes) since that already puts the posting address is From: and Reply-To:, but even an anonymous fully personalized list will get the Cc: in 2.1.5 unless reply_goes_to_list is set to 'This list'. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Luke.Daly at newcastle.edu.au Tue Sep 4 03:30:48 2007 From: Luke.Daly at newcastle.edu.au (Luke Daly) Date: Tue, 04 Sep 2007 11:30:48 +1000 Subject: [Mailman-Users] web admin customisation Message-ID: <46DD41E7.2D70.00D6.1@newcastle.edu.au> Hi People Was wondering if I could have a look at a few examples of the web page admin after being modified and branded for an organisation. iam going to edit the admin screens (at the request of management) to fit the corporate look and feel (corporate at an educational institute? that's a dif topic though) and wanted to see what other people have done. Thanks and great software again. Luke Daly Systems Officer IT Infrastructure Newcastle University 17000 From kim.hawtin at adelaide.edu.au Tue Sep 4 07:09:08 2007 From: kim.hawtin at adelaide.edu.au (Kim Hawtin) Date: Tue, 04 Sep 2007 14:39:08 +0930 Subject: [Mailman-Users] web admin customisation In-Reply-To: <46DD41E7.2D70.00D6.1@newcastle.edu.au> References: <46DD41E7.2D70.00D6.1@newcastle.edu.au> Message-ID: <46DCE874.5070604@adelaide.edu.au> Hi Luke, Luke Daly wrote: > Was wondering if I could have a look at a few examples of the web page > admin after being modified and branded for an organisation. iam going to > edit the admin screens (at the request of management) to fit the > corporate look and feel (corporate at an educational institute? that's a > dif topic though) and wanted to see what other people have done. > Thanks and great software again. Our organisation has done this, and so we are stuck on 2.1.5. When you modify functionality and look and feel back-porting patches becomes virtually impossible =( However, if you put your changes into revision control you may be in with a chance at maintaining it... regards, Kim From runner at winning.com Tue Sep 4 17:25:09 2007 From: runner at winning.com (runner at winning.com) Date: Tue, 4 Sep 2007 08:25:09 -0700 Subject: [Mailman-Users] Another twist on Error: Unknown virtual host Message-ID: <20070904152512.C5ACA11581F@ws1-7.us4.outblaze.com> I'm getting the error "Error: Unknown virtual host lists.mydomain.org" when creating a list through the web interface. I have located several FAQs on this problem but I have a question on syntax when entering a new line in mm_cfg.py. Here's the background information: The CNAME for our list server is lists.mydomain.org but the actual servername is hamm.mydomain.org. All references to our list server should be using lists.mydomain.org both email and web URLs. We DO NOT use any URLs with www prepended to them. I have found and read several FAQs concerning this problem but the FAQs assume the web URLs have www prepended to them. One FAQ even states that when you run the add_virtualhost command it removes the first part of the domain name, the www part before saving the virtual domain name. We don't want that because we don't use www in our URLs to access the web interface. We only have one host, lists.mydomain.org, which I don't consider it to be a virtual host, it's just the main host, period. I've added these two lines to our mm_cfg.py so mailman will think it's lists.mydomain.org: DEFAULT_URL_HOST = 'lists.mydomain.org' DEFAULT_EMAIL_HOST = 'lists.mydomain.org' I was going to add this line to mm_cfg.py to fix the "Virtual host" problem: VIRTUAL_HOSTS = { 'lists.mydomain.org': 'lists.mydomain.org' } This is a little different than the examples in the FAQs because the domain names for the URLs and the email should be the same in our case, we don't want to remove the "lists" part. Can someone tell me if this is the proper way to resolve our "Unknown virtual host" problem? -- We've Got Your Name @ www.mail.com!!! Get a FREE E-mail Account Today - Choose From 100+ Domains From dhottinger at harrisonburg.k12.va.us Tue Sep 4 17:12:59 2007 From: dhottinger at harrisonburg.k12.va.us (dhottinger at harrisonburg.k12.va.us) Date: Tue, 04 Sep 2007 11:12:59 -0400 Subject: [Mailman-Users] admin user passwords Message-ID: <20070904111259.erinqoohs000gk0k@webmail.harrisonburg.k12.va.us> Im trying to figure out how I may have more than one Admin users in mailman. I am running an antiquated version, and have over 90 mailing lists in it. Only one is advertised to public. That list has an admin user with a password, and another user with a different password. Ive looked through the different commands in /mailman/bin, and looked at the web interface but cant find anything. The reason this has come up, a user that was designated to maintain another mailing list accidently logged into the public one with the admin user password and deleted a page of users. Now I would like to have a user that can only manage their mailing list, and only do membership management. Is this possible? -- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools From b19141 at britaine.ctd.anl.gov Tue Sep 4 18:37:26 2007 From: b19141 at britaine.ctd.anl.gov (Barry Finkel) Date: Tue, 4 Sep 2007 11:37:26 -0500 (CDT) Subject: [Mailman-Users] Problem with /usr/lib/mailman/bin/arch --wipe Message-ID: <200709041637.l84GbQRD023432@britaine.ctd.anl.gov> I have converted a list from Majordomo to Mailman. I took the collected Majordomo archives and built an mbox file. I used this mbox file with /usr/lib/mailman/bin/arch --wipe $LISTNAME $LISTNAME.mbox Some of the old archives from 1995 are appearing in the September 2007 list. Here is the header from the first message in the Sep 2007 archive: >From owner-women-in-science Wed May 3 11:57:56 1995 Received: (from majordom at localhost) by achilles.ctd.anl.gov (8.6.11/8.6.11) id LAA28996 for women-in-science-outgoing; Wed, 3 May 1995 11:57:56 -0500 Received: from dns2.anl.gov (dns2.anl.gov [130.202.20.3]) by achilles.ctd.anl.gov (8.6.11/8.6.11) with ESMTP id LAA28990 for ; Wed, 3 May 1995 11:57:54 -0500 Received: from ANLVM.CTD.ANL.GOV (anlvm.ctd.anl.gov [146.137.96.2]) by dns2.anl.gov (8.6.11/8.6.11) with SMTP id LAA12146 for ; Wed, 3 May 1995 11:57:53 -0500 Message-Id: <199505031657.LAA12146 at dns2.anl.gov> Received: from ANLVM by ANLVM.CTD.ANL.GOV (IBM VM SMTP R1.2.2ANL-MX) with BSMTP id 5404; Wed, 03 May 95 11:57:40 CDT Received: from ANLCMB.BITNET (xxxxx) by ANLVM (Mailer R2.07B) with BSMTP id 1479; Wed, 03 May 95 11:57:39 CDT Date: 3-MAY-1995 11:33:41.02 From: To: GATEWAY::"women-in-science at anl.gov"@dns2.anl.gov X-ANJE-To: GATEWAY::"women-in-science at anl.gov" Subject: May 5 First Friday Forum Sender: Women-in-Science-Owner at achilles.ctd.anl.gov Precedence: bulk and here are the headers from the last of the 35 messages in that archive: >From owner-women-in-science Thu Apr 13 15:04:21 1995 Received: (from majordom at localhost) by achilles.ctd.anl.gov (8.6.11/8.6.11) id PAA16016 for women-in-science-outgoing; Thu, 13 Apr 1995 15:04:21 -0500 Received: from anl.gov (dns2.anl.gov [130.202.20.3]) by achilles.ctd.anl.gov (8.6.11/8.6.11) with SMTP id PAA16010 for ; Thu, 13 Apr 1995 15:04:19 -0500 Received: from ANLVM.CTD.ANL.GOV by anl.gov (4.1/SMI-4.1) id AA21398; Thu, 13 Apr 95 15:04:17 CDT Message-Id: <9504132004.AA21398 at anl.gov> Received: from ANLVM by ANLVM.CTD.ANL.GOV (IBM VM SMTP R1.2.2ANL-MX) with BSMTP id 2878; Thu, 13 Apr 95 15:04:09 CDT Received: from ANLCMB.BITNET (xxxxx) by ANLVM (Mailer R2.07B) with BSMTP id 8608; Thu, 13 Apr 95 15:04:09 CDT Date: 13-APR-1995 14:58:06.26 From: To: GATEWAY::"women-in-science at anl.gov"@ANLVM.ctd.anl.gov X-Anje-To: GATEWAY::"women-in-science at anl.gov" Subject: Science Demonstrations at Child Development Center Sender: Women-in-Science-Owner at achilles.ctd.anl.gov Precedence: bulk These message were from 1995, when we were connected to BITNET. What in Mailman 2.1.9 is causing these messages to be archived in the wrong month? I have not had time to look at any python code. Could it be the hyphens in the date: Date: 13-APR-1995 14:58:06.26 Thanks. I have converted many lists from Majordomo to Mailman using the same procedure, and, while I have not looked at the newly-built Mailman list archives in detail, I have not seen this problem before. ---------------------------------------------------------------------- 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 222, Room D209 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 From runner at winning.com Tue Sep 4 19:40:59 2007 From: runner at winning.com (runner at winning.com) Date: Tue, 4 Sep 2007 10:40:59 -0700 Subject: [Mailman-Users] Another twist on Error: Unknown virtual host Message-ID: <20070904174059.A5B05102EE@ws1-3.us4.outblaze.com> > VIRTUAL_HOSTS = { 'lists.mydomain.org': 'lists.mydomain.org' } > > This is a little different than the examples in the FAQs because > the domain names for the URLs and the email should be the same in > our case, we don't want to remove the "lists" part. Can someone > tell me if this is the proper way to resolve our "Unknown virtual > host" problem? This worked... in cases like mine you have to be sure not to use the add_virtualhost command but instead edit the mm_cfg.py file by hand. -- We've Got Your Name @ www.mail.com!!! Get a FREE E-mail Account Today - Choose From 100+ Domains From b19141 at britaine.ctd.anl.gov Tue Sep 4 20:58:49 2007 From: b19141 at britaine.ctd.anl.gov (Barry Finkel) Date: Tue, 4 Sep 2007 13:58:49 -0500 (CDT) Subject: [Mailman-Users] Problem with /usr/lib/mailman/bin/arch --wipe Message-ID: <200709041858.l84IwntJ027029@britaine.ctd.anl.gov> Some people say that it is bad netiquette to respond to one's own posting; those who agree can ignore this posting, if you want. I wrote earlier today: >I have converted a list from Majordomo to Mailman. I took the >collected Majordomo archives and built an mbox file. I used this >mbox file with > > /usr/lib/mailman/bin/arch --wipe $LISTNAME $LISTNAME.mbox > >Some of the old archives from 1995 are appearing in the September 2007 >list. Here is the header from the first message in the Sep 2007 >archive: > >>From owner-women-in-science Wed May 3 11:57:56 1995 >Received: (from majordom at localhost) by achilles.ctd.anl.gov (8.6.11/8.6.11) id LAA28996 for women-in-science-outgoing; Wed, 3 May 1995 11:57:56 -0500 >Received: from dns2.anl.gov (dns2.anl.gov [130.202.20.3]) by achilles.ctd.anl.gov (8.6.11/8.6.11) with ESMTP id LAA28990 for ; Wed, 3 May 1995 11:57:54 -0500 >Received: from ANLVM.CTD.ANL.GOV (anlvm.ctd.anl.gov [146.137.96.2]) by dns2.anl.gov (8.6.11/8.6.11) with SMTP id LAA12146 for ; Wed, 3 May 1995 11:57:53 -0500 >Message-Id: <199505031657.LAA12146 at dns2.anl.gov> >Received: from ANLVM by ANLVM.CTD.ANL.GOV (IBM VM SMTP R1.2.2ANL-MX) with BSMTP id 5404; Wed, 03 May 95 11:57:40 CDT >Received: from ANLCMB.BITNET (xxxxx) by ANLVM (Mailer R2.07B) with BSMTP id 1479; Wed, 03 May 95 11:57:39 CDT >Date: 3-MAY-1995 11:33:41.02 >From: >To: GATEWAY::"women-in-science at anl.gov"@dns2.anl.gov >X-ANJE-To: GATEWAY::"women-in-science at anl.gov" >Subject: May 5 First Friday Forum >Sender: Women-in-Science-Owner at achilles.ctd.anl.gov >Precedence: bulk > > >and here are the headers from the last of the 35 messages in that >archive: > >>From owner-women-in-science Thu Apr 13 15:04:21 1995 >Received: (from majordom at localhost) by achilles.ctd.anl.gov (8.6.11/8.6.11) id PAA16016 for women-in-science-outgoing; Thu, 13 Apr 1995 15:04:21 -0500 >Received: from anl.gov (dns2.anl.gov [130.202.20.3]) by achilles.ctd.anl.gov (8.6.11/8.6.11) with SMTP id PAA16010 for ; Thu, 13 Apr 1995 15:04:19 -0500 >Received: from ANLVM.CTD.ANL.GOV by anl.gov (4.1/SMI-4.1) > id AA21398; Thu, 13 Apr 95 15:04:17 CDT >Message-Id: <9504132004.AA21398 at anl.gov> >Received: from ANLVM by ANLVM.CTD.ANL.GOV (IBM VM SMTP R1.2.2ANL-MX) with BSMTP id 2878; Thu, 13 Apr 95 15:04:09 CDT >Received: from ANLCMB.BITNET (xxxxx) by ANLVM (Mailer R2.07B) with BSMTP id 8608; Thu, 13 Apr 95 15:04:09 CDT >Date: 13-APR-1995 14:58:06.26 >From: >To: GATEWAY::"women-in-science at anl.gov"@ANLVM.ctd.anl.gov >X-Anje-To: GATEWAY::"women-in-science at anl.gov" >Subject: Science Demonstrations at Child Development Center >Sender: Women-in-Science-Owner at achilles.ctd.anl.gov >Precedence: bulk > >These message were from 1995, when we were connected to BITNET. >What in Mailman 2.1.9 is causing these messages to be archived in the >wrong month? I have not had time to look at any python code. Could >it be the hyphens in the date: > > Date: 13-APR-1995 14:58:06.26 > >Thanks. > >I have converted many lists from Majordomo to Mailman using the same >procedure, and, while I have not looked at the newly-built Mailman >list archives in detail, I have not seen this problem before. After looking at the messages in question, looking at the code, looking at the mail RFC 2822, and doing a Google search, I found the messages that had two problems with the "Date:" line: Date: 13-APR-1995 14:58:06.26 This line has "-" instead of white space, and the seconds field has added hundredths of a second. Once I went through the mbox file and corrected these, the mbox file was loaded into the archives successfully. I had first converted the "-" to " ", but that did not solve the problem. I had to remove the ".nn" hundredths of a second to get the date to correspond to the RFC 2822 format. ---------------------------------------------------------------------- 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 222, Room D209 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 From jeffs at tolisgroup.com Tue Sep 4 21:46:09 2007 From: jeffs at tolisgroup.com (Jeff Shepherd) Date: Tue, 04 Sep 2007 12:46:09 -0700 Subject: [Mailman-Users] Changing the welcome email... Message-ID: <46DDB601.8000404@tolisgroup.com> Where can I change the welcome email that is delivered to users when they sign up for a mailing list? Thanks for the help! -Jeff From bluria at gmail.com Tue Sep 4 22:09:29 2007 From: bluria at gmail.com (Brian Luria) Date: Tue, 4 Sep 2007 16:09:29 -0400 Subject: [Mailman-Users] Changing the welcome email... In-Reply-To: <46DDB601.8000404@tolisgroup.com> References: <46DDB601.8000404@tolisgroup.com> Message-ID: It's under the admin page, general options, under Notifictions "List-specific text prepended to new-subscriber welcome message (Details for *welcome_msg*) " On 9/4/07, Jeff Shepherd wrote: > > Where can I change the welcome email that is delivered to users when > they sign up for a mailing list? > > Thanks for the help! > > -Jeff > > ------------------------------------------------------ > Mailman-Users mailing list > Mailman-Users at python.org > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py > Searchable Archives: > http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: > http://mail.python.org/mailman/options/mailman-users/bluria%40gmail.com > > Security Policy: > http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp > -- Brian J. Luria DVM, DACVIM Florida Veterinary Specialists 3000 Busch Lake Blvd Tampa, FL 33614 Phone: (813) 933-8944 Fax: (813) 936-9595 http://www.fvs.com From msapiro at value.net Wed Sep 5 01:31:58 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 4 Sep 2007 16:31:58 -0700 Subject: [Mailman-Users] Another twist on Error: Unknown virtual host In-Reply-To: <20070904174059.A5B05102EE@ws1-3.us4.outblaze.com> Message-ID: runner at winning.com wrote: > >> VIRTUAL_HOSTS = { 'lists.mydomain.org': 'lists.mydomain.org' } >> >> This is a little different than the examples in the FAQs because >> the domain names for the URLs and the email should be the same in >> our case, we don't want to remove the "lists" part. Can someone >> tell me if this is the proper way to resolve our "Unknown virtual >> host" problem? > >This worked... in cases like mine you have to be sure not to use the add_virtualhost command but instead edit the mm_cfg.py file by hand. Yes, it worked, but it is wrong. Since you already have (per your OP) DEFAULT_URL_HOST = 'lists.mydomain.org' DEFAULT_EMAIL_HOST = 'lists.mydomain.org' in mm_cfg.py, the proper way to do this is to add following those two lines VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) or if you prefer VIRTUAL_HOSTS.clear() add_virtualhost('lists.mydomain.org', 'lists.mydomain.org') The VIRTUAL_HOSTS.clear() line is not really required, and it actually dilutes what I'm going to say next, but it may be desirable to remove the results of the add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) from Defaults.py. The reason the above is better than your VIRTUAL_HOSTS = { 'lists.mydomain.org': 'lists.mydomain.org' } or the equivalent VIRTUAL_HOSTS = { DEFAULT_URL_HOST: DEFAULT_EMAIL_HOST } is it will still work when we change the implementation of the VIRTUAL_HOSTS dictionary. Also note, add_virtualhost only removes the leftmost subdomain from the url host for the email host if it is not given a second argument for the email host. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Wed Sep 5 01:46:56 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 4 Sep 2007 16:46:56 -0700 Subject: [Mailman-Users] admin user passwords In-Reply-To: <20070904111259.erinqoohs000gk0k@webmail.harrisonburg.k12.va.us> Message-ID: dhottinger at harrisonburg.k12.va.us wrote: >Im trying to figure out how I may have more than one Admin users in >mailman. I am running an antiquated version, and have over 90 mailing >lists in it. Only one is advertised to public. That list has an >admin user with a password, and another user with a different >password. Ive looked through the different commands in /mailman/bin, >and looked at the web interface but cant find anything. The reason >this has come up, a user that was designated to maintain another >mailing list accidently logged into the public one with the admin user >password and deleted a page of users. Now I would like to have a user >that can only manage their mailing list, and only do membership >management. Is this possible? Not the "only do membership management" part. Each list can have its own admin password and a separate moderator password. These allow access respectively to the list's admin interface and to the list's admindb interface. They do not allow access to other list's pages unless they happen to be the same as the respective password for the other list. These are set/changed via the list's admin interface (or via /mailman/bin/change-pw). In addition, there is one site password that allows access to every list's admin and admindb pages and also allows list creation via the web create page, and one site list creator password that allows only list creation via the web create page. These are set by /mailman/bin/mmsitepass. The above applies to all Mailman 2.1.x versions. What is your "antiquated version"? Perhaps the admin who deleted users from the public list was given the site password instead of her own list's admin password. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Wed Sep 5 01:56:47 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 4 Sep 2007 16:56:47 -0700 Subject: [Mailman-Users] Changing the welcome email... In-Reply-To: Message-ID: Brian Luria wrote: >It's under the admin page, general options, under Notifictions >"List-specific text prepended to new-subscriber welcome message >(Details for *welcome_msg*) >" > > >On 9/4/07, Jeff Shepherd wrote: >> >> Where can I change the welcome email that is delivered to users when >> they sign up for a mailing list? And if you want to change the entire welcome message instead of just prepending text, you can make list, domain or sitewide versions of the subscribeack.txt template as described at , or in recent Mailman, you can create/edit a list specific version of this template via the 'Edit the public HTML pages and text files' link on the list's web admin pages. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jeffs at tolisgroup.com Wed Sep 5 02:14:14 2007 From: jeffs at tolisgroup.com (Jeff Shepherd) Date: Tue, 04 Sep 2007 17:14:14 -0700 Subject: [Mailman-Users] Changing the welcome email... In-Reply-To: References: Message-ID: <46DDF4D6.9000306@tolisgroup.com> Thanks for the help guys! -Jeff Mark Sapiro wrote: > Brian Luria wrote: > > >> It's under the admin page, general options, under Notifictions >> "List-specific text prepended to new-subscriber welcome message >> (Details for *welcome_msg*) >> " >> >> >> On 9/4/07, Jeff Shepherd wrote: >> >>> Where can I change the welcome email that is delivered to users when >>> they sign up for a mailing list? >>> > > > And if you want to change the entire welcome message instead of just > prepending text, you can make list, domain or sitewide versions of the > subscribeack.txt template as described at > , > or in recent Mailman, you can create/edit a list specific version of > this template via the 'Edit the public HTML pages and text files' link > on the list's web admin pages. > > From falko at tahoe.reservoir.com Wed Sep 5 05:54:55 2007 From: falko at tahoe.reservoir.com (falko at tahoe.reservoir.com) Date: Tue, 4 Sep 2007 23:54:55 -0400 Subject: [Mailman-Users] Hyphenated Lists Stopped Working Message-ID: <20070905035455.GA8487@tahoe.reservoir.com> Mark Sapiro wrote: > Mark Sapiro wrote: > >> The bottom line is there is a bug in MaildirRunner.py. It doesn't work >> with hyphenated list names as it conflates the last part of the name >> with the -bounces, -request, etc. suffixes. >> > > > The attached MaildirRunner.patch.txt file contains a patch which I > think will fix this bug. I've tested the revised regexp somewhat and > it seems to work, but I would appreciate your trying the patch and > reporting the results. > > Make a backup copy of Mailman/Queue/MaildirRunner.py, apply the patch > and restart Mailman. > > Sorry it took me so long to reply (the long USA weekend threw me off). I applied the patch and lists with hyphens now work :). Thank you very much for the help! -Andrey From bgmahesh at gmail.com Wed Sep 5 11:10:42 2007 From: bgmahesh at gmail.com (BG Mahesh) Date: Wed, 5 Sep 2007 14:40:42 +0530 Subject: [Mailman-Users] How to get Message-ID: <5227ac5c0709050210i3c0c90eag3b0adeeda9539f47@mail.gmail.com> We have several mailing lists running on our list server. I am looking for a script that will extract the number of active users in each list. Is there such a utility? -- -- B.G. Mahesh From mpanderso at cox.net Wed Sep 5 13:52:12 2007 From: mpanderso at cox.net (Michael Anderson) Date: Wed, 05 Sep 2007 06:52:12 -0500 Subject: [Mailman-Users] Two questions Message-ID: 1. Is there a way to mass unsubscribe all the members of a 5k list? 2. I need to send a broadcast message to about 4K addresses. Just a one-time announcement. Should I use Mailman for this? I'm not sure how to set up a broadcast-only list. Thanks! MA From cwaltham at bowdoin.edu Wed Sep 5 16:42:24 2007 From: cwaltham at bowdoin.edu (Chris Waltham) Date: Wed, 05 Sep 2007 10:42:24 -0400 Subject: [Mailman-Users] Two questions In-Reply-To: References: Message-ID: On Sep 5, 2007, at 7:52 AM, Michael Anderson wrote: > 1. Is there a way to mass unsubscribe all the members of a 5k list? bin/list_members $LISTNAME > your_list_members # (this will create a file with the members' addresses) bin/remove_members $LISTNAME < your_list_members # (this will use the newly-created file to remove the addresses) > 2. I need to send a broadcast message to about 4K addresses. Just a > one-time > announcement. Should I use Mailman for this? I'm not sure how to > set up a > broadcast-only list. Have you set the list up already? You could just create a new, moderated list and not let anyone else post to it. Chris From cwaltham at bowdoin.edu Wed Sep 5 16:45:05 2007 From: cwaltham at bowdoin.edu (Chris Waltham) Date: Wed, 05 Sep 2007 10:45:05 -0400 Subject: [Mailman-Users] How to get In-Reply-To: <5227ac5c0709050210i3c0c90eag3b0adeeda9539f47@mail.gmail.com> References: <5227ac5c0709050210i3c0c90eag3b0adeeda9539f47@mail.gmail.com> Message-ID: On Sep 5, 2007, at 5:10 AM, BG Mahesh wrote: > We have several mailing lists running on our list server. I am > looking for a > script that will extract the number of active users in each list. > Is there > such a utility? Here is a simple bash script to accomplish it: (snip) #!/bin/bash for i in $* do echo "$i has `./list_members $i | wc -l` members" done (snip) When you run the script, you get this output: [root at bingham bin]# ./count_users.sh Td_classes Yoga Td_classes has 21 members Yoga has 169 members Chris > > -- > -- > B.G. Mahesh From cwaltham at bowdoin.edu Wed Sep 5 16:46:23 2007 From: cwaltham at bowdoin.edu (Chris Waltham) Date: Wed, 05 Sep 2007 10:46:23 -0400 Subject: [Mailman-Users] admin user passwords In-Reply-To: References: Message-ID: <93BF003A-85EE-4491-A9A3-0239564C8B8D@bowdoin.edu> Hi Mark, On Sep 4, 2007, at 7:46 PM, Mark Sapiro wrote: > Not the "only do membership management" part. > > Each list can have its own admin password and a separate moderator > password. These allow access respectively to the list's admin > interface and to the list's admindb interface. They do not allow > access to other list's pages unless they happen to be the same as the > respective password for the other list. These are set/changed via the > list's admin interface (or via /mailman/bin/change-pw). > > In addition, there is one site password that allows access to every > list's admin and admindb pages and also allows list creation via the > web create page, and one site list creator password that allows only > list creation via the web create page. These are set by > /mailman/bin/mmsitepass. > > The above applies to all Mailman 2.1.x versions. What is your > "antiquated version"? Is there an easy way to change a list admin's password in 2.0.x? My version (2.0.12) lacks a change-pw command. Thanks, Chris From mpanderso at cox.net Wed Sep 5 16:49:13 2007 From: mpanderso at cox.net (Michael Anderson) Date: Wed, 05 Sep 2007 09:49:13 -0500 Subject: [Mailman-Users] Two questions In-Reply-To: Message-ID: > On Sep 5, 2007, at 7:52 AM, Michael Anderson wrote: > >> 1. Is there a way to mass unsubscribe all the members of a 5k list? > > bin/list_members $LISTNAME > your_list_members # (this will create a > file with the members' addresses) > bin/remove_members $LISTNAME < your_list_members # (this will use the > newly-created file to remove the addresses) Is there a way to do this with the web interface in Mailman? I'm no command line proficient enough. > >> 2. I need to send a broadcast message to about 4K addresses. Just a >> one-time >> announcement. Should I use Mailman for this? I'm not sure how to >> set up a >> broadcast-only list. > > Have you set the list up already? You could just create a new, > moderated list and not let anyone else post to it. This is how I did it last time but I thought there was maybe a specific kind of list for broadcasting announcements. Thanks MA From msapiro at value.net Wed Sep 5 16:50:54 2007 From: msapiro at value.net (Mark Sapiro) Date: Wed, 5 Sep 2007 07:50:54 -0700 Subject: [Mailman-Users] How to get In-Reply-To: <5227ac5c0709050210i3c0c90eag3b0adeeda9539f47@mail.gmail.com> Message-ID: BG Mahesh wrote: >We have several mailing lists running on our list server. I am looking for a >script that will extract the number of active users in each list. Is there >such a utility? It depends what you mean by active? Consider #! /bin/bash for list in `path/to/bin/list_lists --bare` do echo ----------------------- echo List: $list path/to/bin/list_members --nomail=enabled $list | wc -l echo ----------------------- done -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Wed Sep 5 17:08:36 2007 From: msapiro at value.net (Mark Sapiro) Date: Wed, 5 Sep 2007 08:08:36 -0700 Subject: [Mailman-Users] Two questions In-Reply-To: Message-ID: Michael Anderson wrote: > >> On Sep 5, 2007, at 7:52 AM, Michael Anderson wrote: >> >>> 1. Is there a way to mass unsubscribe all the members of a 5k list? >> >> bin/list_members $LISTNAME > your_list_members # (this will create a >> file with the members' addresses) >> bin/remove_members $LISTNAME < your_list_members # (this will use the >> newly-created file to remove the addresses) > >Is there a way to do this with the web interface in Mailman? I'm no command >line proficient enough. Go to the list's roster , copy the list and paste it into the list's Mass remove page . Then remove the remaining (hidden) members via the Membership list page . >>> 2. I need to send a broadcast message to about 4K addresses. Just a >>> one-time >>> announcement. Should I use Mailman for this? I'm not sure how to >>> set up a >>> broadcast-only list. >> >> Have you set the list up already? You could just create a new, >> moderated list and not let anyone else post to it. > >This is how I did it last time but I thought there was maybe a specific kind >of list for broadcasting announcements. Thanks See , but that's overkill for a one time announcement. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From dennisthetiger at chez-vrolet.net Wed Sep 5 18:05:19 2007 From: dennisthetiger at chez-vrolet.net (Dennis Carr) Date: Wed, 05 Sep 2007 09:05:19 -0700 Subject: [Mailman-Users] Cleaning up archive that aren't in mbox format? In-Reply-To: References: Message-ID: <46DED3BF.4030106@chez-vrolet.net> Mark Sapiro wrote: > Dennis Carr wrote: > >> My list server, as near as I can tell, does not appear to be parsing out >>from mbox format. >> (To backtrack, early last month, I had asked the list for help on >> correctly parsing out the From information. It is apparently doing this >> correctly, as in putting the > in front of the From.) > > > What are you looking at that has the properly escaped >From_? > > >> Now, though, I have the 2007-July file that has the broken messages >> still in here. >> >> In short, did I run the archiver correctly? Or for that matter, where >> should I be looking/running this file/whatever? > > > You never answered the questions I asked (see > ). Oh, bugger all, sorry. Python 2.4.4, and there is an email package in pythonlib. > However, there should be an archives/private/ffml.mbox/ffml.mbox file > which contains all posts to the ffml list. Look at that file and see > if the From_ line in the body of the Fri Jul 6 00:13:27 PDT 2007 > Happosai's Life of DOOM #6 post is escaped with a leading '>' or not. > It should be. It isn't named with .mbox, but it is the single file with all the messages. What I'm looking at are the messages, but in some cases you get the following: >From bogus at does.not.exist.com Fri Jul 6 00:11:24 2007 From: bogus at does.not.exist.com () Date: Fri, 06 Jul 2007 07:11:24 -0000 Subject: No subject Message-ID: ...between parts of the entry, with one line of the message omitted and replaced with the above. > > If it is and if > > bin/cleanarch -n < archives/private/ffml.mbox/ffml.mbox > > doesn't report any problems, then > > bin/arch --wipe ffml > > should rebuild the archive. I'll give that a whirl and see what happens, thanks Mark. -Dennis From pvalencia357 at gmail.com Wed Sep 5 22:21:36 2007 From: pvalencia357 at gmail.com (Patrick Valencia) Date: Wed, 5 Sep 2007 16:21:36 -0400 Subject: [Mailman-Users] Mailman in chrooted OpenBSD Message-ID: I need help setting up mailman in a chrooted OpenBSD environment. I've copied the /usr/local/lib/mailman and /var/spool/mailman directories to /var/www/mailman, as well as the modules it needed, but now I'm getting an error that says: Mailman CGI error!!! The Mailman CGI wrapper encountered a fatal error. This entry is being stored in your syslog: Failure to find group name for GID 67. Mailman expected the CGI wrapper to be executed as group "www", but the system's web server executed the wrapper as GID 67 for which the name could not be found. Try adding GID 67 to your system as "www", or tweak your web server to run the wrapper as group "www". I believe that a chrooted apache drops the user name and just holds onto the user id. Can anyone help me out with this? I really need this installed and kinda need to keep the chroot. If I need to start over with a fresh installation of mailman, that's not a problem. Any and all help would be GREATLY appreciated! From rr6 at columbia.edu Thu Sep 6 01:08:03 2007 From: rr6 at columbia.edu (Sekhar Ramakrishnan) Date: Wed, 05 Sep 2007 19:08:03 -0400 Subject: [Mailman-Users] Permission problem in handling moderator requests; also archive queries Message-ID: <46DEFE93.27654.2764BD5@localhost> Hi: I have three questions - two general, and one about a particular problem. 1) Is there a plan to offer a search function for private archives? 2) One of our lists has monthly archives. Is there a way to combine older archives (more than a year or two old) into yearly archives? 3) I administer a few Mailman lists (version 2.1.9.cp2) on a cPanel X account that I control as well. I have a problem with the "Tend to pending moderator requests" page. Everything works normally as long as I am able to approve, reject, discard, etc on the main adminb page. But if I click on "view all messages from" to deal with messages from a single person, I get a page with that person's messages but, whatever I do, I get an error message, given below. This is a creeping problem. I saw it first on one list, and I didn't worry since I was about to delete the list. But for the past few weeks, I have the problem on my main list. Before posting this, I set up a new list with just one member and posted a message big enough to be held up for moderation. I had no problem clicking on "view all messages from" and disposing of the message. It didn't matter whether or not the list name had a hyphen, in case that is relevant. Thanks in advance. Sekhar Ramakrishnan Error message: Forbidden You don't have permission to access /mailman/admindb/_ on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.37 Server at insaf.net Port 80 From patrickm at garlic.com Thu Sep 6 02:02:13 2007 From: patrickm at garlic.com (Patrick M.) Date: Wed, 05 Sep 2007 17:02:13 -0700 Subject: [Mailman-Users] Mailing List - people say their e-mails "never appear" Message-ID: <46DF4385.1050006@garlic.com> Hi all, I just installed Mailman on our load balanced Postfix servers. Both servers share a common NFS point. Please forgive me, as I'm very new to Mailman. While I know my way around Postfix, troubleshooting Mailman is another issue. I can see that e-mail gets sent and delivered to the particular mailing list in question, but sometimes people tell me their e-mails never get posted to the mailing list. Other people say they submit their post, and it eventually gets there, after 10 or so minutes. Since I don't know how to troubleshoot Mailman, I can only suspect that is has something to do with the NFS, although another part of me is telling me that it can't be. Can you folks push me in the right direction? What should I be troubleshooting? Is there anything I can provide so that you folks can help me troubleshoot further? Thanks in advance. Patrick From msapiro at value.net Thu Sep 6 03:14:02 2007 From: msapiro at value.net (Mark Sapiro) Date: Wed, 5 Sep 2007 18:14:02 -0700 Subject: [Mailman-Users] Cleaning up archive that aren't in mbox format? In-Reply-To: <46DED3BF.4030106@chez-vrolet.net> Message-ID: Dennis Carr wrote: >Mark Sapiro wrote: > >> However, there should be an archives/private/ffml.mbox/ffml.mbox file >> which contains all posts to the ffml list. Look at that file and see >> if the From_ line in the body of the Fri Jul 6 00:13:27 PDT 2007 >> Happosai's Life of DOOM #6 post is escaped with a leading '>' or not. >> It should be. > >It isn't named with .mbox, but it is the single file with all the >messages. What I'm looking at are the messages, but in some cases you >get the following: > >>From bogus at does.not.exist.com Fri Jul 6 00:11:24 2007 >From: bogus at does.not.exist.com () >Date: Fri, 06 Jul 2007 07:11:24 -0000 >Subject: No subject >Message-ID: > >...between parts of the entry, with one line of the message omitted and >replaced with the above. Are you sure you aren't looking at the .txt files (e.g. archives/private/ffml/2007-September.txt) that contain the messages for the month. This is not what you want. The messages in this file have been heavily processed by the archiver. It is really just a text version of the monthly HTML archive. In addition to the archives/private/ffml directory which contains the archives there should be an archives/private/ffml.mbox directory that contains the archives/private/ffml.mbox/ffml.mbox file which has all (not just one month's) posts as they were delivered to the archiver. The only reasons why you wouldn't have this is if ARCHIVE_TO_MBOX has been given some value other than the default 2 or 1 (actually 0 is the only value other than 2 that would write the html archive), or there is some permissions issue preventing it from being created or written at all, but in this latter case, Mailman's 'error' log would be full of messages about this. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brad at shub-internet.org Thu Sep 6 06:33:40 2007 From: brad at shub-internet.org (Brad Knowles) Date: Wed, 5 Sep 2007 23:33:40 -0500 Subject: [Mailman-Users] Mailing List - people say their e-mails "never appear" In-Reply-To: <46DF4385.1050006@garlic.com> References: <46DF4385.1050006@garlic.com> Message-ID: On 9/5/07, Patrick M. wrote: > I just installed Mailman on our load balanced Postfix servers. Both > servers share a common NFS point. Did you install it on all of them, or just one? When you say they share a common NFS point, are you trying to use NFS for the postfix mail queue (which is a really, really bad idea), or just for the user mailboxes (which is also usually a bad idea, although it can be made somewhat less bad if you choose a mailbox format that is less NFS-unfriendly)? Mailman itself is about as NFS-friendly as can be reasonably done, but that still leaves a lot of room for problems. Many of the other parts of most mail systems are much, much less NFS-friendly than Mailman. > Please forgive me, as I'm very new to Mailman. While I know my way > around Postfix, troubleshooting Mailman is another issue. When troubleshooting Mailman, you generally want to start with the steps outlined in FAQ 4.78 at . You should also search the FAQ Wizard for other things that might be related to your problems, and you should also search the archives. > Since I don't know how to troubleshoot Mailman, I can only suspect that > is has something to do with the NFS, although another part of me is > telling me that it can't be. If NFS is involved anywhere in the picture, odds of Mr. Murphy raising his nasty head have been increased by many, many orders of magnitude. That said, there are occasionally times when such a system has problems that are actually unrelated to NFS. -- Brad Knowles LinkedIn Profile: From jonsson at mj1.mine.nu Thu Sep 6 17:07:18 2007 From: jonsson at mj1.mine.nu (mattias) Date: Thu, 6 Sep 2007 17:07:18 +0200 Subject: [Mailman-Users] Adding the list aliases Message-ID: <000101c7f097$a2b11270$46de930a@HP28437479811> How to add the mailman aliases to the postfix database Without the mailmans own database From patrickm at garlic.com Thu Sep 6 17:44:40 2007 From: patrickm at garlic.com (Patrick M.) Date: Thu, 06 Sep 2007 08:44:40 -0700 Subject: [Mailman-Users] Mailing List - people say their e-mails "never appear" In-Reply-To: References: <46DF4385.1050006@garlic.com> Message-ID: <46E02068.2000907@garlic.com> Brad Knowles wrote: > On 9/5/07, Patrick M. wrote: > >> I just installed Mailman on our load balanced Postfix servers. Both >> servers share a common NFS point. > > Did you install it on all of them, or just one? When you say they > share a common NFS point, are you trying to use NFS for the postfix > mail queue (which is a really, really bad idea), or just for the user > mailboxes (which is also usually a bad idea, although it can be made > somewhat less bad if you choose a mailbox format that is less > NFS-unfriendly)? > > Mailman itself is about as NFS-friendly as can be reasonably done, but > that still leaves a lot of room for problems. Many of the other parts > of most mail systems are much, much less NFS-friendly than Mailman. > >> Please forgive me, as I'm very new to Mailman. While I know my way >> around Postfix, troubleshooting Mailman is another issue. > > When troubleshooting Mailman, you generally want to start with the > steps outlined in FAQ 4.78 at > . > You should also search the FAQ Wizard for other things that might be > related to your problems, and you should also search the archives. > >> Since I don't know how to troubleshoot Mailman, I can only suspect that >> is has something to do with the NFS, although another part of me is >> telling me that it can't be. > > If NFS is involved anywhere in the picture, odds of Mr. Murphy raising > his nasty head have been increased by many, many orders of magnitude. > > That said, there are occasionally times when such a system has > problems that are actually unrelated to NFS. > Thanks for the detailed explanation. One thing to mention is that this mail server is pushing close to 1 million e-mails a day, and has no issues with that whatsoever. Both mail servers mount the /home for the usernames, and everything is stored in Maildir. I'm almost positive there are no issues with NFS itself, as all other mail works just fine. Mailman is installed on both mail servers. /usr/lib/mailman is NOT NFS mounted (meaning its installed on both machines), however I've NFS mounted the /var/lib/mailman directory, where all the lists and such are. Now, with that being said, you mentioned that Mailman can be unfriendly when placed in an NFS environment. How can I test to see that it is an NFS issue with Mailman? I'll take a look at those docs and reply back to here. Thanks again. Patrick From matt.l.zimmerman at gmail.com Thu Sep 6 15:20:37 2007 From: matt.l.zimmerman at gmail.com (Matt Zimmerman) Date: Thu, 6 Sep 2007 09:20:37 -0400 Subject: [Mailman-Users] upgrade Message-ID: <50852730709060620q58104fffk5da0399e314649d0@mail.gmail.com> Is there any documents on upgrading from 2.1.8 to 2.1.9? From jonsson at mj1.mine.nu Thu Sep 6 19:06:15 2007 From: jonsson at mj1.mine.nu (mattias) Date: Thu, 6 Sep 2007 19:06:15 +0200 Subject: [Mailman-Users] The newaliases command Message-ID: <000001c7f0a8$3ee31570$46de930a@HP28437479811> Wil the newaliases command add the nessesery aliases to /etc/aliases automatcaly? Sorry for my english From jonsson at mj1.mine.nu Thu Sep 6 19:19:07 2007 From: jonsson at mj1.mine.nu (mattias) Date: Thu, 6 Sep 2007 19:19:07 +0200 Subject: [Mailman-Users] Test ignore Message-ID: <001801c7f0aa$0ae53ad0$46de930a@HP28437479811> From jimc at nmcourts.com Thu Sep 6 19:51:40 2007 From: jimc at nmcourts.com (Jim Coberly) Date: Thu, 06 Sep 2007 11:51:40 -0600 Subject: [Mailman-Users] Some Mail Lists not receiving messages Message-ID: <46E03E2C.7070408@nmcourts.gov> We have MailMan version 2.1.5 Running on CentOS release 4.3 (Final) (sorry, I don't know the install method) MTA sendmail-8.13.1-3. We have a previously working list that has as members other lists (a list of lists if you will) which I will call LIST. We recently discovered the messages to the LIST were delivered to some member lists and not to others. The LIST has delivered properly in the past. We worked through the steps on Mailman FAQ 4.78. Troubleshooting: No mail going out to lists members and did not find anything to explain the problem. We have now discovered that e-mails directly the a member list also do not deliver. What else can we check or read to help determine the cause of this problem? Thanks, Jim Coberly -- This email is the opinion of the author and is not an official communication of the New Mexico Judicial Branch. Confidentiality Notice: This e-mail, including all attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. From jonsson at mj1.mine.nu Thu Sep 6 20:04:24 2007 From: jonsson at mj1.mine.nu (mattias) Date: Thu, 6 Sep 2007 20:04:24 +0200 Subject: [Mailman-Users] Some Mail Lists not receiving messages In-Reply-To: <46E03E2C.7070408@nmcourts.gov> Message-ID: <000501c7f0b0$5d5684d0$3a368e0a@HP28437479811> Yes my mail come to the list now Verry slow -----Ursprungligt meddelande----- Fr?n: mailman-users-bounces+jonsson=mj1.mine.nu at python.org [mailto:mailman-users-bounces+jonsson=mj1.mine.nu at python.org] F?r Jim Coberly Skickat: den 6 september 2007 19:52 Till: Mailman-users at python.org ?mne: [Mailman-Users] Some Mail Lists not receiving messages We have MailMan version 2.1.5 Running on CentOS release 4.3 (Final) (sorry, I don't know the install method) MTA sendmail-8.13.1-3. We have a previously working list that has as members other lists (a list of lists if you will) which I will call LIST. We recently discovered the messages to the LIST were delivered to some member lists and not to others. The LIST has delivered properly in the past. We worked through the steps on Mailman FAQ 4.78. Troubleshooting: No mail going out to lists members and did not find anything to explain the problem. We have now discovered that e-mails directly the a member list also do not deliver. What else can we check or read to help determine the cause of this problem? Thanks, Jim Coberly -- This email is the opinion of the author and is not an official communication of the New Mexico Judicial Branch. Confidentiality Notice: This e-mail, including all attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. From runner at winning.com Fri Sep 7 00:11:33 2007 From: runner at winning.com (runner at winning.com) Date: Thu, 6 Sep 2007 15:11:33 -0700 Subject: [Mailman-Users] Some Mail Lists not receiving messages Message-ID: <20070906221133.9163A102F0@ws1-3.us4.outblaze.com> > ----- Original Message ----- > From: "Jim Coberly" > To: Mailman-users at python.org > Subject: [Mailman-Users] Some Mail Lists not receiving messages > Date: Thu, 06 Sep 2007 11:51:40 -0600 > > > We have MailMan version 2.1.5 Running on CentOS release 4.3 (Final) > (sorry, I don't know the install method) MTA sendmail-8.13.1-3. > > We have a previously working list that has as members other lists > (a list of lists if you will) which I will call LIST. We recently > discovered the messages to the LIST were delivered to some member > lists and not to others. The LIST has delivered properly in the > past. > > We worked through the steps on Mailman FAQ 4.78. Troubleshooting: > No mail going out to lists members and did not find anything to > explain the problem. > > We have now discovered that e-mails directly the a member list also > do not deliver. > > What else can we check or read to help determine the cause of this problem? Do you have syslog set up so that you are logging mail.debug to a maillog file? The information in maillog will tell you exactly what's happening with your mail delivery... what's being delivered and what isn't and why. This would be the most helpful thing to check at this point. If you aren't syslogging the mail stuff you should start immediately. It's invaluable for troubleshooting. -- We've Got Your Name @ www.mail.com!!! Get a FREE E-mail Account Today - Choose From 100+ Domains From msapiro at value.net Fri Sep 7 02:20:11 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 6 Sep 2007 17:20:11 -0700 Subject: [Mailman-Users] Adding the list aliases In-Reply-To: <000101c7f097$a2b11270$46de930a@HP28437479811> Message-ID: mattias wrote: >How to add the mailman aliases to the postfix database >Without the mailmans own database Make sure you don't have MTA = 'Postfix' or MTA = None in mm_cfg.py so the the default setting MTA = 'Manual' is effective. This will ensure that when you create a list, a list of the required aliases is displayed and mailed to the owner of the site list. These alaises are to be manually added to /etc/aliases or wherever Postfix is looking for them. You may then need to run /usr/sbin/postalias to tell Postfix to update /etc/aliases.db from /etc/aliases. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Fri Sep 7 02:24:15 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 6 Sep 2007 17:24:15 -0700 Subject: [Mailman-Users] The newaliases command In-Reply-To: <000001c7f0a8$3ee31570$46de930a@HP28437479811> Message-ID: mattias wrote: >Wil the newaliases command add the nessesery aliases to /etc/aliases >automatcaly? No. newaliases is for sendmail. The equivalent Postfix command is postalias. These commands do not update /etc/aliases or /etc/mail/aliases. They take the plain text data fron this file and update the actual database file (/etc/aliases.db or whatever). -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Fri Sep 7 02:32:50 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 6 Sep 2007 17:32:50 -0700 Subject: [Mailman-Users] upgrade In-Reply-To: <50852730709060620q58104fffk5da0399e314649d0@mail.gmail.com> Message-ID: Matt Zimmerman wrote: >Is there any documents on upgrading from 2.1.8 to 2.1.9? Read the UPGRADING and NEWS documents in the source distribution. Only the first "UPGRADING FROM PREVIOUS VERSIONS" section of the UPGRADING document applies to upgrading any 2.1.5 or later version. The NEWS document will tell you about new features and bug fixes. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Fri Sep 7 03:42:04 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 6 Sep 2007 18:42:04 -0700 Subject: [Mailman-Users] Some Mail Lists not receiving messages In-Reply-To: <46E03E2C.7070408@nmcourts.gov> Message-ID: Jim Coberly wrote: > >We worked through the steps on Mailman FAQ 4.78. Troubleshooting: No >mail going out to lists members and did not find anything to explain the >problem. > >We have now discovered that e-mails directly the a member list also do >not deliver. > >What else can we check or read to help determine the cause of this problem? So you have some, but not all, lists that don't deliver and you have gone through FAQ 4.78. Since some lists are working, only steps 2, 6, 7 and 8 of that FAQ are relevant. (Well, maybe step 0 too, but the permissions issue would have to affect just the list/listname directories and their contents). Presumably the messages are not in qfiles/in (step 8), there is nothing relevant in Mailman's error, smtp-failure and vette logs (step 7) and there are no locks for the failing lists (step 6). Do messages get archived in the archives of the failing lists? Is mail to these lists actually being delivered to Mailman? Presumably you checked aliases if your MTA uses them (step 2), but have you checked the MTA's logs to see that the mail is actually delivered to Mailman? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jonsson at mj1.mine.nu Fri Sep 7 07:11:30 2007 From: jonsson at mj1.mine.nu (mattias) Date: Fri, 7 Sep 2007 07:11:30 +0200 Subject: [Mailman-Users] Adding the list aliases In-Reply-To: Message-ID: <000701c7f10d$8fbc7530$a175890a@HP28437479811> Eh i try i understand But the command newaliases -o ??? Or Should i run Postaliases And after that copy the aliases in to /etc/aliases Or have i missunderstand? -----Ursprungligt meddelande----- Fr?n: Mark Sapiro [mailto:msapiro at value.net] Skickat: den 7 september 2007 02:20 Till: mattias; Mailman-Users at python.org ?mne: Re: [Mailman-Users] Adding the list aliases mattias wrote: >How to add the mailman aliases to the postfix database >Without the mailmans own database Make sure you don't have MTA = 'Postfix' or MTA = None in mm_cfg.py so the the default setting MTA = 'Manual' is effective. This will ensure that when you create a list, a list of the required aliases is displayed and mailed to the owner of the site list. These alaises are to be manually added to /etc/aliases or wherever Postfix is looking for them. You may then need to run /usr/sbin/postalias to tell Postfix to update /etc/aliases.db from /etc/aliases. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Fri Sep 7 07:32:49 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 6 Sep 2007 22:32:49 -0700 Subject: [Mailman-Users] Adding the list aliases In-Reply-To: <000701c7f10d$8fbc7530$a175890a@HP28437479811> Message-ID: mattias wrote: >Eh i try i understand >But the command newaliases -o ??? >Or >Should i run > >Postaliases >And after that copy the aliases in to /etc/aliases >Or have i missunderstand? First you manually add the Mailman aliases to /etc/aliases (assuming that's where your postfix configuration says they are - they might be in /etc/postfix/aliases or /etc/mail/aliases or somewhere else - look for "alias_maps" in your postfix configuration). Then you run postaliases. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brad at shub-internet.org Fri Sep 7 07:16:31 2007 From: brad at shub-internet.org (Brad Knowles) Date: Fri, 7 Sep 2007 00:16:31 -0500 Subject: [Mailman-Users] Mailing List - people say their e-mails "never appear" In-Reply-To: <46E02068.2000907@garlic.com> References: <46DF4385.1050006@garlic.com> <46E02068.2000907@garlic.com> Message-ID: On 9/6/07, Patrick M. wrote: > Thanks for the detailed explanation. One thing to mention is that this > mail server is pushing close to 1 million e-mails a day, and has no > issues with that whatsoever. I was the Sr. Internet Mail Admin for AOL. We regularly did several million mail messages per day, after filtering out 95-99% of the incoming flood as spam. One thing I learned is that, many times when you have a problem, it's with a part where you think everything is okay. I'm not saying that I'm definite you're wrong about this, I'm just saying that you shouldn't necessarily be making any assumptions about where your problems lie, but you should instead be prepared to measure and be certain. > Both mail servers mount the /home for > the usernames, and everything is stored in Maildir. I'm almost positive > there are no issues with NFS itself, as all other mail works just fine. One line I frequently hear is "It works just fine in Windows, so obviously your Unix box must be broken". Riiiiiiiiiight. Sorry, this is a pet peeve of mine, especially when it comes to something like Maildir. Part of the problem is that Maildir does a number of things that are not necessary in order to solve the problem(s) it was trying to solve, and it doesn't fully solve even those issues. Meanwhile, it introduces a whole host of new issues, and this makes Maildir a much less than ideal solution for the problem. There are other mailbox directory solutions which really do resolve the issues in question and without introducing a whole host of new problems to deal with. Again, I'm not saying you should be forced to switch, just that you should be aware of the potential issues with your chosen solution, and you should be able to fully troubleshoot and deal with those problems. > Mailman is installed on both mail servers. /usr/lib/mailman is NOT > NFS mounted (meaning its installed on both machines), however I've NFS > mounted the /var/lib/mailman directory, where all the lists and such are. This is sounding like a binary package install version of Mailman. That's not where we put things in the source version from the gnu.org/lists.org website. In our version, you can put all of /usr/local/mailman on NFS, and as well as NFS can be made to work for anything, it should work for Mailman. This includes the Mailman queues as well as the archives, the source code, the compiled-on-demand object code, the whole kitten-and-caboodle. > Now, with that being said, you mentioned that Mailman can be unfriendly > when placed in an NFS environment. How can I test to see that it is an > NFS issue with Mailman? It's not Mailman per se. It's *anything* on NFS. Mailman will work about as well on NFS as anything else can possibly work on NFS, but simply throwing NFS into the mix is likely to cause a whole host of new issues that you're going to have to deal with that other site administrators might not. These aren't Mailman problems per se, but NFS problems that cause problems with applications running on NFS, such as Mailman. Now, your NFS server will have a huge impact on what problems you see and what tools you have available to you to help resolve those. Generally speaking, if you're using high-end equipment like Network Appliance, EMC, or Hitachi Data Systems, then if you have any problems you should be talking to your account representative and your support team. They're going to know much more about your hardware than we do, and they should know enough about your application to be useful. NetApp, EMC, and HDS have gotten their stuff down to the point where Oracle actually certifies their products as being suitable for use on these servers, whereas Oracle explicitly rules out any support for their products on other NFS servers. There's a reason for this. So, the hardware you have available to you will have a huge impact on your systems. > I'll take a look at those docs and reply back to here. Thanks again. If you have specific questions, please let us know. -- Brad Knowles LinkedIn Profile: From jonsson at mj1.mine.nu Fri Sep 7 07:38:14 2007 From: jonsson at mj1.mine.nu (mattias) Date: Fri, 7 Sep 2007 07:38:14 +0200 Subject: [Mailman-Users] Adding the list aliases In-Reply-To: Message-ID: <000001c7f111$4c1c9c70$ff7e910a@HP28437479811> Sorry for all my questions But after i have created a list with newlist Wil the aliases be displayed? And wil all this commands work iven if i install with apt-get install in ubuntu Or yum in fedora -----Ursprungligt meddelande----- Fr?n: Mark Sapiro [mailto:msapiro at value.net] Skickat: den 7 september 2007 07:33 Till: mattias; Mailman-Users at python.org ?mne: Re: [Mailman-Users] Adding the list aliases mattias wrote: >Eh i try i understand >But the command newaliases -o ??? >Or >Should i run > >Postaliases >And after that copy the aliases in to /etc/aliases >Or have i missunderstand? First you manually add the Mailman aliases to /etc/aliases (assuming that's where your postfix configuration says they are - they might be in /etc/postfix/aliases or /etc/mail/aliases or somewhere else - look for "alias_maps" in your postfix configuration). Then you run postaliases. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jonsson at mj1.mine.nu Fri Sep 7 07:18:10 2007 From: jonsson at mj1.mine.nu (mattias) Date: Fri, 7 Sep 2007 07:18:10 +0200 Subject: [Mailman-Users] help Message-ID: <000801c7f10e$7e3f9200$a175890a@HP28437479811> From tmz at pobox.com Fri Sep 7 13:38:05 2007 From: tmz at pobox.com (Todd Zullinger) Date: Fri, 7 Sep 2007 07:38:05 -0400 Subject: [Mailman-Users] Adding the list aliases In-Reply-To: <000001c7f111$4c1c9c70$ff7e910a@HP28437479811> References: <000001c7f111$4c1c9c70$ff7e910a@HP28437479811> Message-ID: <20070907113805.GB9543@psilocybe.teonanacatl.org> mattias wrote: > But after i have created a list with newlist Wil the aliases be > displayed? I believe so (but it's been a long time since I created a list without using the nice Postfix integration that handles this automatically, so I could be wrong). > And wil all this commands work iven if i install with apt-get > install in ubuntu Or yum in fedora I don't know about ubuntu, but in Fedora (and Red Hat), mailman is installed in different locations than the default Mailman tarball would install things. The details of the changes are included in the file INSTALL.REDHAT, located in /usr/share/doc/mailman-2.1.9. I mentioned this in reply to your question on the fedora users list just yesterday (along with answers and links to the Postfix integration instructions). -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Every side I get up on is the wrong side of bed. If it weren't so expensive, I'd wish I were dead. -- signed Unhappy -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 542 bytes Desc: not available Url : http://mail.python.org/pipermail/mailman-users/attachments/20070907/6300b581/attachment.pgp From b19141 at britaine.ctd.anl.gov Fri Sep 7 14:23:16 2007 From: b19141 at britaine.ctd.anl.gov (Barry Finkel) Date: Fri, 7 Sep 2007 07:23:16 -0500 (CDT) Subject: [Mailman-Users] The newaliases command In-Reply-To: Mail from 'Mark Sapiro ' dated: Thu, 6 Sep 2007 17:24:15 -0700 Message-ID: <200709071223.l87CNGKU021676@britaine.ctd.anl.gov> > No. newaliases is for sendmail. The equivalent Postfix command is >postalias. I use "newaliases" with Postfix, as Postfix supplies a newaliases script for those who are used to the sendmail commands. ---------------------------------------------------------------------- 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 222, Room D209 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 From b19141 at britaine.ctd.anl.gov Fri Sep 7 14:30:24 2007 From: b19141 at britaine.ctd.anl.gov (Barry Finkel) Date: Fri, 7 Sep 2007 07:30:24 -0500 (CDT) Subject: [Mailman-Users] Adding the list aliases In-Reply-To: Mail from '"mattias" ' dated: Fri, 7 Sep 2007 07:11:30 +0200 Message-ID: <200709071230.l87CUOLi021831@britaine.ctd.anl.gov> >Eh i try i understand >But the command newaliases -o ??? >Or >Should i run newaliases -oA/etc/aliases assuming that that is the name of your aliases file. ---------------------------------------------------------------------- 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 222, Room D209 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 From jonsson at mj1.mine.nu Fri Sep 7 14:46:20 2007 From: jonsson at mj1.mine.nu (mattias) Date: Fri, 7 Sep 2007 14:46:20 +0200 Subject: [Mailman-Users] Adding the list aliases In-Reply-To: <200709071230.l87CUOLi021831@britaine.ctd.anl.gov> Message-ID: <000801c7f14d$1a540c00$f0f5920a@HP28437479811> But are the command -o not removed in the newest mailman versions? -----Ursprungligt meddelande----- Fr?n: mailman-users-bounces+jonsson=mj1.mine.nu at python.org [mailto:mailman-users-bounces+jonsson=mj1.mine.nu at python.org] F?r Barry Finkel Skickat: den 7 september 2007 14:30 Till: Mailman-Users at python.org ?mne: Re: [Mailman-Users] Adding the list aliases >Eh i try i understand >But the command newaliases -o ??? >Or >Should i run newaliases -oA/etc/aliases assuming that that is the name of your aliases file. ---------------------------------------------------------------------- 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 222, Room D209 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 ------------------------------------------------------ Mailman-Users mailing list Mailman-Users at python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/jonsson%40mj1.mine.nu Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp From msapiro at value.net Fri Sep 7 14:52:08 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 7 Sep 2007 05:52:08 -0700 Subject: [Mailman-Users] admin user passwords In-Reply-To: <93BF003A-85EE-4491-A9A3-0239564C8B8D@bowdoin.edu> Message-ID: Chris Waltham wrote: > >Is there an easy way to change a list admin's password in 2.0.x? My >version (2.0.12) lacks a change-pw command. I have no experience with Mailman prior to 2.1.4, but from the code, it appears that you change the password at the bottom of the General Options page in the web admin interface. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From b19141 at britaine.ctd.anl.gov Fri Sep 7 14:59:49 2007 From: b19141 at britaine.ctd.anl.gov (Barry Finkel) Date: Fri, 7 Sep 2007 07:59:49 -0500 (CDT) Subject: [Mailman-Users] Adding the list aliases In-Reply-To: Mail from '"mattias" ' dated: Fri, 7 Sep 2007 14:46:20 +0200 Message-ID: <200709071259.l87CxnU3022658@britaine.ctd.anl.gov> "mattias" wrote: >>>Eh i try i understand >>>But the command newaliases -o ??? >>>Or >>>Should i run and I replied: >>newaliases -oA/etc/aliases >> >>assuming that that is the name of your aliases file. and mattias replied: >But are the command -o not removed in the newest mailman versions? The newaliases command is a sendmail and/or Postfix command. It is supplied by those packages, not by Mailman. The command takes /etc/aliases and creates /etc/aliases.dir /etc/aliases.pag These two files are internal database formats of the aliases file so that the sendmail/Postfix can search the alias file/database more quickly. ---------------------------------------------------------------------- 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 222, Room D209 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 From msapiro at value.net Fri Sep 7 15:11:20 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 7 Sep 2007 06:11:20 -0700 Subject: [Mailman-Users] Mailing List - people say their e-mails "neverappear" In-Reply-To: <46DF4385.1050006@garlic.com> Message-ID: Patrick M.wrote: > >Please forgive me, as I'm very new to Mailman. While I know my way >around Postfix, troubleshooting Mailman is another issue. I can see >that e-mail gets sent and delivered to the particular mailing list in >question, but sometimes people tell me their e-mails never get posted to >the mailing list. Other people say they submit their post, and it >eventually gets there, after 10 or so minutes. > >Since I don't know how to troubleshoot Mailman, I can only suspect that >is has something to do with the NFS, although another part of me is >telling me that it can't be. > >Can you folks push me in the right direction? What should I be >troubleshooting? Is there anything I can provide so that you folks can >help me troubleshoot further? Brad has given lots of good advice already in this thread including a reference to . I want to emphasise that, as the thread seems to be concentrating more on NFS. In particular, look at Mailman's 'smtp' log and correlate that with your MTA logs. Normally, you will see in your MTA log that a post has been delivered to Mailman at some time and then you will see an entry Mailman's 'smtp' log x seconds later which says " smtp for n recips, completed in y seconds". Normally x is only slightly larger (less than 2 seconds) than y. y is the time for all the SMTP transactions to deliver the mail to the n list recipients, and y-x is the sum of the times the message was queued in Mailman's in and out queues and Mailman's non-SMTP processing time. Also, are the 'missing' posts in the list's archive? Do the delayed posts appear in the archive without delay? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Fri Sep 7 15:53:47 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 7 Sep 2007 06:53:47 -0700 Subject: [Mailman-Users] Permission problem in handling moderator requests; also archive queries In-Reply-To: <46DEFE93.27654.2764BD5@localhost> Message-ID: Sekhar Ramakrishnan wrote: > >I have three questions - two general, and one about a particular >problem. > >1) Is there a plan to offer a search function for private archives? See for links to current solutions. This is a highly requested feature and something will eventually be done to provide an archive search, but at this point there is no timeframe. >2) One of our lists has monthly archives. Is there a way to combine >older archives (more than a year or two old) into yearly archives? It's probably a manual process and possibly not a good idea, since any existing URLs such as those in one archived post pointing to another or those in a FAQ or those saved by individuals will be invalidated by such a change. That said, you could do it by something like the following: 1) stop Mailman to prevent new mail from being archived 2) set the list's archive_volume_frequency to yearly 3) remove all the 'old' monthly directories and .txt files from archives/private/listname. also, remove the 'old' subdirectories from archives/private/listname/attachments and the 'old' database files from archives/private/listname/database 4) figure out the message number of the last 'old' message in the archives/private/listname.mbox/listname.mbox file or the first and last of the 'old' monthly messages if you've done this before. 5) run bin/arch with the appropriate --end (and --start) options as determined in step 4). do NOT use the --wipe option. 6) set the list's archive_volume_frequency back to monthly. 7) start Mailman. >3) I administer a few Mailman lists (version 2.1.9.cp2) on a cPanel X >account that I control as well. I have a problem with the "Tend to >pending moderator requests" page. Everything works normally as long >as I am able to approve, reject, discard, etc on the main adminb page. >But if I click on "view all messages from" to deal with messages from a >single person, I get a page with that person's messages but, whatever I >do, I get an error message, given below. > >This is a creeping problem. I saw it first on one list, and I didn't worry >since I was about to delete the list. But for the past few weeks, I have >the problem on my main list. > >Before posting this, I set up a new list with just one member and posted >a message big enough to be held up for moderation. I had no problem >clicking on "view all messages from" and disposing of the message. It >didn't matter whether or not the list name had a hyphen, in case that is >relevant. > >Thanks in advance. > >Sekhar Ramakrishnan > >Error message: > >Forbidden You don't have permission to access >/mailman/admindb/_ on this server. > >Additionally, a 404 Not Found error was encountered while trying to use >an ErrorDocument to handle the request. >Apache/1.3.37 Server at insaf.net Port 80 First see . That said what additional information is in the Apache error_log? Is http://server.name//mailman/admindb/_ the correct URL for this list's admindb page (Is server.name the same as )? Look at the 'page source' for the 'view all messages from'. Is the action URL in the form tag correct? I'm really grasping at straws here because all admindb pages should generate the same form tag with the same action URL so it should either work or not from any of the admindb pages. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From ren0r at durato.eu Fri Sep 7 15:53:36 2007 From: ren0r at durato.eu (de ren0r) Date: Fri, 7 Sep 2007 15:53:36 +0200 Subject: [Mailman-Users] pdf-attachments in archives stored as attachment.obj Message-ID: <000601c7f156$7d0576a0$7501a8c0@durato.local> Hi list, i'm new to the list and i've got a problem with that pipermail-archives. Every attachment is listed under the Messages with it's size an filename etc. All the files are stored with the file-extension as they are send to the list, except *.pdf-files. They are stored as attachment.obj instead of attachment.pdf. it seems that pipermail / scrubber or another candidate doenst get it's mime-type in the archiving-process. Any suggestions how to fix that? Maybe there is a relation from my /etc/mime.types to that problem? Greets, Ren? From msapiro at value.net Fri Sep 7 16:04:43 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 7 Sep 2007 07:04:43 -0700 Subject: [Mailman-Users] Mailman in chrooted OpenBSD In-Reply-To: Message-ID: Patrick Valencia wrote: >I need help setting up mailman in a chrooted OpenBSD environment. I've >copied the /usr/local/lib/mailman and /var/spool/mailman directories to >/var/www/mailman, as well as the modules it needed, but now I'm getting an >error that says: > >Mailman CGI error!!! The Mailman CGI wrapper encountered >a fatal error. This entry is being stored in your syslog: >Failure to find group name for GID 67. Mailman >expected the CGI wrapper to be executed as group >"www", but the system's web server executed the >wrapper as GID 67 for which the name could not be >found. Try adding GID 67 to your system as "www", >or tweak your web server to run the wrapper as group >"www". > >I believe that a chrooted apache drops the user name and just holds onto the >user id. Can anyone help me out with this? I really need this installed >and kinda need to keep the chroot. If I need to start over with a fresh >installation of mailman, that's not a problem. Any and all help would be >GREATLY appreciated! I suggest you try install Mailman from source and configure it with --prefix=/var/www/mailman and --with-cgi-gid=67 as well as the appropriate --with-mail-gid. Alternatively, there may be a way to set the expected cgi group in whatever package you installed and you might be able to set that to 67. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Fri Sep 7 16:43:34 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 07 Sep 2007 07:43:34 -0700 Subject: [Mailman-Users] pdf-attachments in archives stored as attachment.obj In-Reply-To: <000601c7f156$7d0576a0$7501a8c0@durato.local> References: <000601c7f156$7d0576a0$7501a8c0@durato.local> Message-ID: <46E16396.9040709@value.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 de ren0r wrote: > > All the files are stored with the file-extension as they are send to > the list, except *.pdf-files. They are stored as attachment.obj > instead of attachment.pdf. it seems that pipermail / scrubber or > another candidate doenst get it's mime-type in the archiving-process. > > > > > Any suggestions how to fix that? Maybe there is a relation from my > /etc/mime.types to that problem? There are a few possible of solutions. 1) you can set SCRUBBER_USE_ATTACHMENT_FILENAME_EXTENSION = True in mm_cfg.py to use the extension of the attachment filename instead of guessing the extension from the content-type. 2) you can try to make sure that all the clients that send pdf attachments give them a content-type of application/pdf. 3) if SCRUBBER_USE_ATTACHMENT_FILENAME_EXTENSION is False, scrubber calls the Python library mimetypes.guess_all_extensions() function to map the content-type to an extension. This module in turn supplements its built in list by attempting to read several files (depending on Python version) including /etc/mime.types so if the issue is due to some content-type other than application/pdf, associating that content-type with the pdf extension in /etc/mime.types may work. - -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFG4WOWVVuXXpU7hpMRAkO7AKDhZcVr2O4lpjJ34jIP9bByOTuBSgCfTJRX 6mRUm9M+ZlQzKoc2nhHaI00= =8UHf -----END PGP SIGNATURE----- From jrc at clshost.com Fri Sep 7 16:08:08 2007 From: jrc at clshost.com (J.R. Constance) Date: Fri, 7 Sep 2007 08:08:08 -0600 Subject: [Mailman-Users] We're sorry, we hit a bug! Message-ID: I'm hoping someone can help me figure out a problem that I've been having for some time now. For some of my lists when I try to log in and approve/discard posts using the admin function I get the following error. This is obviously a cpanel version of mailman. I am also trying to get support through my hosting company on this. We're sorry, we hit a bug! Mailman experienced a very low level failure and could not even generate a useful traceback for you. Please report this to the Mailman administrator at this site. Looking at the error log for this particular error shows the following: Sep 07 07:56:13 2007 (19565) Uncaught runner exception: No terminating boundary and no trailing empty line Sep 07 07:56:13 2007 (19565) Traceback (most recent call last): File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop msg, msgdata = self._switchboard.dequeue(filebase) File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/ Switchboard.py", line 164, in dequeue msg = email.message_from_string(msg, Message.Message) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ __init__.py", line 51, in message_from_string return Parser(_class, strict=strict).parsestr(s) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 75, in parsestr return self.parse(StringIO(text), headersonly=headersonly) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 64, in parse self._parsebody(root, fp, firstbodyline) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 240, in _parsebody msgobj = self.parsestr(part) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 75, in parsestr return self.parse(StringIO(text), headersonly=headersonly) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 64, in parse self._parsebody(root, fp, firstbodyline) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 265, in _parsebody msg = self.parse(fp) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 64, in parse self._parsebody(root, fp, firstbodyline) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 206, in _parsebody raise Errors.BoundaryError( BoundaryError: No terminating boundary and no trailing empty line Sep 07 07:56:13 2007 (19565) Ignoring unparseable message: 1173539747.1827431+c4b30a10b02f512f3aa88e8038d6f17843cdb81b Sep 07 07:56:13 2007 (19565) Uncaught runner exception: No terminating boundary and no trailing empty line Sep 07 07:56:13 2007 (19565) Traceback (most recent call last): File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop msg, msgdata = self._switchboard.dequeue(filebase) File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/ Switchboard.py", line 164, in dequeue msg = email.message_from_string(msg, Message.Message) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ __init__.py", line 51, in message_from_string return Parser(_class, strict=strict).parsestr(s) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 75, in parsestr return self.parse(StringIO(text), headersonly=headersonly) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 64, in parse self._parsebody(root, fp, firstbodyline) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 240, in _parsebody msgobj = self.parsestr(part) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 75, in parsestr return self.parse(StringIO(text), headersonly=headersonly) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 64, in parse self._parsebody(root, fp, firstbodyline) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 265, in _parsebody msg = self.parse(fp) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 64, in parse self._parsebody(root, fp, firstbodyline) File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ Parser.py", line 206, in _parsebody raise Errors.BoundaryError( BoundaryError: No terminating boundary and no trailing empty line Sep 07 07:56:13 2007 (19565) Ignoring unparseable message: 1187578207.7474239+de47fddadb334d46d06c9248df89448cf2a433ce Sep 07 07:58:41 2007 admin(25812): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(25812): [----- Mailman Version: 2.1.9.cp2 -----] admin(25812): [----- Traceback ------] admin(25812): Traceback (most recent call last): admin(25812): File "/usr/local/cpanel/3rdparty/mailman/scripts/ driver", line 101, in run_main Thanks, J.R. From bcanty at apsa.org Fri Sep 7 16:59:35 2007 From: bcanty at apsa.org (Brian Canty) Date: Fri, 7 Sep 2007 10:59:35 -0400 Subject: [Mailman-Users] Mailing Lists and Outlook Message-ID: <6B3A7025196C1A49AABB0E6C80AD5AE2918145@apsaserv.APSA.local> Hello Everyone - I was wondering if anyone has experienced the problem I am having with outlook. It seems every time someone sends an email to my lists that contain HTML, outlook put the email into a file. Does anyone know of a way to tell outlook to let the email be shown with putting it into a file. Thanks in advance. Brian Canty Manager Computer Information Services American Psychoanalytic Association 212-752-0450 x17 From msapiro at value.net Fri Sep 7 17:49:56 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 7 Sep 2007 08:49:56 -0700 Subject: [Mailman-Users] We're sorry, we hit a bug! In-Reply-To: Message-ID: J.R. Constance wrote: >I'm hoping someone can help me figure out a problem that I've been >having for some time now. For some of my lists when I try to log in >and approve/discard posts using the admin function I get the >following error. > >This is obviously a cpanel version of mailman. I am also trying to >get support through my hosting company on this. > >We're sorry, we hit a bug! >Mailman experienced a very low level failure and could not even >generate a useful traceback for you. Please report this to the >Mailman administrator at this site. > >Looking at the error log for this particular error shows the following: > >Sep 07 07:56:13 2007 (19565) Uncaught runner exception: No >terminating boundary and no trailing empty line >Sep 07 07:56:13 2007 (19565) Traceback (most recent call last): > File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", >line 100, in _oneloop > msg, msgdata = self._switchboard.dequeue(filebase) > File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/ >Switchboard.py", line 164, in dequeue > msg = email.message_from_string(msg, Message.Message) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >__init__.py", line 51, in message_from_string > return Parser(_class, strict=strict).parsestr(s) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 75, in parsestr > return self.parse(StringIO(text), headersonly=headersonly) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 64, in parse > self._parsebody(root, fp, firstbodyline) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 240, in _parsebody > msgobj = self.parsestr(part) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 75, in parsestr > return self.parse(StringIO(text), headersonly=headersonly) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 64, in parse > self._parsebody(root, fp, firstbodyline) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 265, in _parsebody > msg = self.parse(fp) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 64, in parse > self._parsebody(root, fp, firstbodyline) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 206, in _parsebody > raise Errors.BoundaryError( >BoundaryError: No terminating boundary and no trailing empty line > >Sep 07 07:56:13 2007 (19565) Ignoring unparseable message: >1173539747.1827431+c4b30a10b02f512f3aa88e8038d6f17843cdb81b >Sep 07 07:56:13 2007 (19565) Uncaught runner exception: No >terminating boundary and no trailing empty line >Sep 07 07:56:13 2007 (19565) Traceback (most recent call last): > File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", >line 100, in _oneloop > msg, msgdata = self._switchboard.dequeue(filebase) > File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/ >Switchboard.py", line 164, in dequeue > msg = email.message_from_string(msg, Message.Message) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >__init__.py", line 51, in message_from_string > return Parser(_class, strict=strict).parsestr(s) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 75, in parsestr > return self.parse(StringIO(text), headersonly=headersonly) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 64, in parse > self._parsebody(root, fp, firstbodyline) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 240, in _parsebody > msgobj = self.parsestr(part) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 75, in parsestr > return self.parse(StringIO(text), headersonly=headersonly) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 64, in parse > self._parsebody(root, fp, firstbodyline) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 265, in _parsebody > msg = self.parse(fp) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 64, in parse > self._parsebody(root, fp, firstbodyline) > File "/usr/local/cpanel/3rdparty/mailman/pythonlib/email/ >Parser.py", line 206, in _parsebody > raise Errors.BoundaryError( >BoundaryError: No terminating boundary and no trailing empty line > >Sep 07 07:56:13 2007 (19565) Ignoring unparseable message: >1187578207.7474239+de47fddadb334d46d06c9248df89448cf2a433ce The above two 'errors' and tracebacks just coincidently occurred about the same time as your 'we hit a bug' error. The above errors are due to malformed (unparseable) messages which almost certainly were spam sent to your lists (probably the same message sent to two lists). >Sep 07 07:58:41 2007 admin(25812): >@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ >admin(25812): [----- Mailman Version: 2.1.9.cp2 -----] >admin(25812): [----- Traceback ------] >admin(25812): Traceback (most recent call last): >admin(25812): File "/usr/local/cpanel/3rdparty/mailman/scripts/ >driver", line 101, in run_main This is from the 'we hit a bug' error. Was there any more? Is there anything in the web server (apache?) error_log? All I can tell from this is that a Cgi script (presumably admindb) was called, encountered an exception not caught in the script, and the attempt to print the traceback encountered another exception. Since this only happens with some lists, it seems that the /usr/local/cpanel/3rdparty/mailman/lists/listname/config.pck file (or possibly the pending.pck or requests.pck file) for that (those) lists is corrupt in some way. You could try looking at these files with /usr/local/cpanel/3rdparty/mailman/bin/dumpdb and comparing them with 'good ones' to see if you can identify the problem. You might be able to 'fix' a bad config.pck by copying the config.pck.last over it or restoring it from a backup. You can just remove a bad pending.pck or requests.pck, but removing a pending.pck will invalidate the cookies for all requests waiting confirmation for that list meaning that unconfirmed subs, address changes, etc. can't be confirmed and held messages can't be approved or discarded by 'confirm'. Removing requests.pck means that requests will be lost from the admindb interface. Held messages can still be discarded with /usr/local/cpanel/3rdparty/mailman/bin/discard on the held message(s) in the /usr/local/cpanel/3rdparty/mailman/data/ directory. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Fri Sep 7 17:59:53 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 7 Sep 2007 08:59:53 -0700 Subject: [Mailman-Users] Mailing Lists and Outlook In-Reply-To: <6B3A7025196C1A49AABB0E6C80AD5AE2918145@apsaserv.APSA.local> Message-ID: Brian Canty wrote: > >I was wondering if anyone has experienced the problem I am having with >outlook. It seems every time someone sends an email to my lists that >contain HTML, outlook put the email into a file. Does anyone know of a >way to tell outlook to let the email be shown with putting it into a >file. If you mean that Outlook is showing the body of the mail as an attachment, see . If you mean something else, please try to be more specific about what is actually happening. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From runner at winning.com Fri Sep 7 18:16:13 2007 From: runner at winning.com (runner at winning.com) Date: Fri, 7 Sep 2007 09:16:13 -0700 Subject: [Mailman-Users] Cleaning up Mailman log files Message-ID: <20070907161613.5939D1CE303@ws1-6.us4.outblaze.com> Does Mailman need to be stopped before cleaning up the log files or can I just "cat /dev/null > error" -- We've Got Your Name @ www.mail.com!!! Get a FREE E-mail Account Today - Choose From 100+ Domains From msapiro at value.net Fri Sep 7 18:40:28 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 7 Sep 2007 09:40:28 -0700 Subject: [Mailman-Users] Cleaning up Mailman log files In-Reply-To: <20070907161613.5939D1CE303@ws1-6.us4.outblaze.com> Message-ID: runner at winning.com wrote: >Does Mailman need to be stopped before cleaning up the log files or can I just "cat /dev/null > error" It is best to do bin/mailmanctl reopen following any logfile changes done while Mailman is running. Why not use logrotate? A typical config excerpt for logrotate is something like list of paths to mailman's logs { missingok sharedscripts postrotate /path/to/bin/mailmanctl reopen >/dev/null 2>&1 || true endscript } -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jeffs at tolisgroup.com Fri Sep 7 21:38:00 2007 From: jeffs at tolisgroup.com (Jeff Shepherd) Date: Fri, 07 Sep 2007 12:38:00 -0700 Subject: [Mailman-Users] Exporting Subscribers... Message-ID: <46E1A898.6080603@tolisgroup.com> Hi Everyone, I was wondering if it was possible to export the subscribers list to a text file of some sort. Anyone know how? Thanks! -Jeff From msapiro at value.net Fri Sep 7 22:06:39 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 7 Sep 2007 13:06:39 -0700 Subject: [Mailman-Users] Exporting Subscribers... In-Reply-To: <46E1A898.6080603@tolisgroup.com> Message-ID: Jeff Shepherd wrote: >I was wondering if it was possible to export the subscribers list to a >text file of some sort. Anyone know how? See . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jonsson at mj1.mine.nu Fri Sep 7 21:36:27 2007 From: jonsson at mj1.mine.nu (mattias) Date: Fri, 7 Sep 2007 21:36:27 +0200 Subject: [Mailman-Users] thanks Message-ID: <000001c7f186$62007fa0$0500a8c0@liomk23cfxd68z> I will only say Thanks for all help Now my mailman works fine From msilva at nmcourts.com Fri Sep 7 22:40:18 2007 From: msilva at nmcourts.com (Mario Silva) Date: Fri, 07 Sep 2007 14:40:18 -0600 Subject: [Mailman-Users] Exporting Subscribers... In-Reply-To: <46E1A898.6080603@tolisgroup.com> References: <46E1A898.6080603@tolisgroup.com> Message-ID: <46E1B732.30500@nmcourts.com> /usr/lib/mailman/bin/list_members -f -p and if you want more support you call the list_members program with the flag -h : /usr/lib/mailman/bin/list_members -h: List all the members of a mailing list. Usage: ./list_members [options] listname Where: --output file -o file Write output to specified file instead of standard out. --regular / -r Print just the regular (non-digest) members. --digest[=kind] / -d [kind] Print just the digest members. Optional argument can be "mime" or "plain" which prints just the digest members receiving that kind of digest. --nomail[=why] / -n [why] Print the members that have delivery disabled. Optional argument can be "byadmin", "byuser", "bybounce", or "unknown" which prints just the users who have delivery disabled for that reason. It can also be "enabled" which prints just those member for whom delivery is enabled. --fullnames / -f Include the full names in the output. --preserve / -p Output member addresses case preserved the way they were added to the list. Otherwise, addresses are printed in all lowercase. --invalid / -i Print only the addresses in the membership list that are invalid. Ignores -r, -d, -n. --unicode / -u Print addresses which are stored as Unicode objects instead of normal string objects. Ignores -r, -d, -n. --help -h Print this help message and exit. listname is the name of the mailing list to use. Note that if neither -r or -d is supplied, both regular members are printed first, followed by digest members, but no indication is given as to address status. Jeff Shepherd wrote: >Hi Everyone, >I was wondering if it was possible to export the subscribers list to a >text file of some sort. Anyone know how? > >Thanks! >-Jeff > >------------------------------------------------------ >Mailman-Users mailing list >Mailman-Users at python.org >http://mail.python.org/mailman/listinfo/mailman-users >Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py >Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ >Unsubscribe: http://mail.python.org/mailman/options/mailman-users/msilva%40nmcourts.com > >Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp > > -- Mario Silva Systems Administrator Supreme Court of New Mexico Judicial Information Division 2905 Rodeo Park Dr. East, Bldg. #5 Santa Fe, NM 87505 Phone: (505) 476-6959 / Mobil: (505) 660-1026 Fax: (505) 476-6952 Website: http://www.nmcourts.gov mailto: msilva at nmcourts.gov LEGAL DISCLAIMER: The content of this data transmission is not considered as an offer, proposal, understanding, or agreement unless it is confirmed in a document signed by a legal representative of Supreme Court of the State of New Mexico or the Judicial Information Division. The content of this data transmission is confidential and it is intended to be delivered only to the addresses, therefore, it shall not be distributed and/or disclosed through any mean without the original sender's previous authorization. If you are not the addressee you are forbidden to use it, either totally or partially, for any purpose. AVISO LEGAL: El contenido de este mensaje de datos no se considera oferta, propuesta o acuerdo, sino hasta que sea confirmado en documento por escrito que contenga la firma aut?grafa del apoderado legal de La Suprema Corte del Estado de Nuevo Mexico o de la Division de Informatica del Estado. El contenido de este mensaje de datos es confidencial y se entiende dirigido y para uso exclusivo del destinatario, por lo que no podr? distribuirse y/o difundirse por ning?n medio sin la previa autorizaci?n del emisor original. Si usted no es el destinatario, se le proh?be su utilizaci?n total o parcial para cualquier fin. From Brandon at WebsterRidge.com Sat Sep 8 00:17:21 2007 From: Brandon at WebsterRidge.com (Brandon Sussman) Date: Fri, 07 Sep 2007 18:17:21 -0400 Subject: [Mailman-Users] who command issue In-Reply-To: <46E1B732.30500@nmcourts.com> References: <46E1A898.6080603@tolisgroup.com> <46E1B732.30500@nmcourts.com> Message-ID: <46E1CDF1.5040505@WebsterRidge.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Running Mailman 2.1.9 lists at Dreamhost (if that matters). It seems that, under the heading: - - Results: Non-digest (regular) members: The email who command is showing digest and regular members. I looked for a bit for discussion of the who command but did not find any mention of this. Where did I miss it? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRuHN8dN2DJl/zagkAQLt7Qf/YYceRSsAfETXi19EtWHhk5xZOwLNlx6u sqlTwFFBigdLjv3SvdSYd9NsyLU+oBhOSD03QO0dsitrC8zoljcoJt2V01hY20rU hHpE4K1LUorsXfsiwLCaqnvtSGhjss+dtgKKRHf1WCH9IJtxtfPvzbHBgG6bzbUd 80ZrjEbETsRs6OP/2KpwMXkcGDgXv5GRNzOqJvAaFxtd6GwoNiLPQGlEkrN1xEKE n3ylIabpCteFnOFoBRH6bdltCf2M7rXCndnSod5RkvfAOhzt/oANVnLcCZONHI2l hlnP/fvecGSNi6P7sbzhA0RdhNjlFqhTsP8/ttKsZNSXqxeBtcv0Cg== =CNjl -----END PGP SIGNATURE----- From msapiro at value.net Sat Sep 8 00:37:58 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 7 Sep 2007 15:37:58 -0700 Subject: [Mailman-Users] who command issue In-Reply-To: <46E1CDF1.5040505@WebsterRidge.com> Message-ID: Brandon Sussman wrote: > >Running Mailman 2.1.9 lists at Dreamhost (if that matters). It may. They have their own modifications. >It seems that, under the heading: > >- - Results: > Non-digest (regular) members: > >The email who command is showing digest and regular members. > >I looked for a bit for discussion of the who command but did not find any >mention of this. > >Where did I miss it? I don't see what you describe. When I send the 'who command' I get something like - Results: Non-digest (regular) members: user1 at example.com (Mark Sapiro) ... Digest members: user2 at example.com (Mark (mime digest) Sapiro) user3 at example.com (Mark (digest) Sapiro) ... Perhaps it is a Dreamhost issue. Have you asked them? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sat Sep 8 00:50:12 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 7 Sep 2007 15:50:12 -0700 Subject: [Mailman-Users] who command issue In-Reply-To: Message-ID: Mark Sapiro wrote: > >I don't see what you describe. When I send the 'who command' I get >something like > >- Results: > Non-digest (regular) members: > user1 at example.com (Mark Sapiro) > ... > Digest members: > user2 at example.com (Mark (mime digest) Sapiro) > user3 at example.com (Mark (digest) Sapiro) > ... Note however that if there are no regular members, the entire "Non-digest (regular) members:" section including the heading is omitted and similarly if there are no digest members. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Brandon at WebsterRidge.com Sat Sep 8 01:31:14 2007 From: Brandon at WebsterRidge.com (Brandon Sussman) Date: Fri, 07 Sep 2007 19:31:14 -0400 Subject: [Mailman-Users] who command issue In-Reply-To: References: Message-ID: <46E1DF42.7040404@WebsterRidge.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark Sapiro wrote: > Brandon Sussman wrote: > Perhaps it is a Dreamhost issue. Have you asked them? > Not yet - I wanted to make sure I did not miss a true Mailman issue. - -- - ------------------------------------------------------------------------- |/\/\ /\/\ /\/\ Webster Ridge Farm | http://WebsterRidge.com | |\oo/ \--/ \--/ Brandon and Mary Sussman | (603)648-2595 | |=\/= =\/= =\/= 1482 Pleasant St. | N 43.32558 W 71.70835 | | Sleep Well... Webster, NH, 03303-7613 | 19TBJ800015 | - ------------------------------------------------------------------------- |Lamb, Poultry, Eggs, Quilts and Web Sites |Think Locally, Buy Locally! | - ------------------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRuHfQtN2DJl/zagkAQIeKwf/cSr61EVe0c/j8nLmz3fX6khNPVUHwrcq /jCe0nfR9Zbxfw/hLEbLYuJT/ZIi+0rpHxbAPr4R05+EgRglv0kKgTzegmgwz9vQ o7kv+X7Cn53xOK5Dr+i/Hd//XfjsoChQFxwDzLSwyq8nZJnKaIVlvIC8I0hYLeCB iNqItPmAgnzWpuBR0tKDaDLGL0+ZUujC4DtdAk7oacf7icxIikwYPlOFTPPtmb43 SH3Mos4yRyYRu+JaYL0M0MgnoxrMOAed2eJ/n/kLsNBhEIh/OiF3nPup3y83ZWIZ Tclmu5rSqcT/C6JJrJCEUinJqeZKFUwDcyokEEcQiytmQG5lAqXj6A== =LtiY -----END PGP SIGNATURE----- From pvalencia357 at gmail.com Sat Sep 8 02:59:46 2007 From: pvalencia357 at gmail.com (Patrick Valencia) Date: Fri, 7 Sep 2007 20:59:46 -0400 Subject: [Mailman-Users] Mailman in chrooted OpenBSD In-Reply-To: References: Message-ID: I configured it as such: ./configure --prefix=/var/www/mailman --with-mail-gid=67 --with-cgi-gid=67 --with-username=_mailman --with-groupname=_mailman (using the _mailman user & group from the port install) and I still get the same error: Failure to find group name for GID 67. Mailman expected the CGI wrapper to be executed as group "www", but the system's web server executed the wrapper as GID 67 for which the name could not be found. Try adding GID 67 to your system as "www", or tweak your web server to run the wrapper as group "www". I was pretty sure that this would force mailman to look for '67' as the group, but it seems to still be looking for 'www'. On 9/7/07, Mark Sapiro wrote: > > Patrick Valencia wrote: > > >I need help setting up mailman in a chrooted OpenBSD environment. I've > >copied the /usr/local/lib/mailman and /var/spool/mailman directories to > >/var/www/mailman, as well as the modules it needed, but now I'm getting > an > >error that says: > > > >Mailman CGI error!!! The Mailman CGI wrapper encountered > >a fatal error. This entry is being stored in your syslog: > >Failure to find group name for GID 67. Mailman > >expected the CGI wrapper to be executed as group > >"www", but the system's web server executed the > >wrapper as GID 67 for which the name could not be > >found. Try adding GID 67 to your system as "www", > >or tweak your web server to run the wrapper as group > >"www". > > > >I believe that a chrooted apache drops the user name and just holds onto > the > >user id. Can anyone help me out with this? I really need this installed > >and kinda need to keep the chroot. If I need to start over with a fresh > >installation of mailman, that's not a problem. Any and all help would be > >GREATLY appreciated! > > > I suggest you try install Mailman from source > and configure it with > > --prefix=/var/www/mailman > > and > > --with-cgi-gid=67 > > as well as the appropriate --with-mail-gid. > > Alternatively, there may be a way to set the expected cgi group in > whatever package you installed and you might be able to set that to 67. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From pvalencia357 at gmail.com Sat Sep 8 03:16:59 2007 From: pvalencia357 at gmail.com (Patrick Valencia) Date: Fri, 7 Sep 2007 21:16:59 -0400 Subject: [Mailman-Users] Mailman in chrooted OpenBSD In-Reply-To: References: Message-ID: Matter of fact, when I configure it, the DCGI_GROUP="\"www\"" and so does the DMAIL_GROUP. I think it's taking the 67 as a gid and finding the group it belongs to. I'm still not exactly sure how it can't see the gid when it goes to run the cgi script I thought it would be able to, especially since the set_gid bit is enabled. Would it help if I added a /var/www/etc/group file with 67 mapped to 'www'? On 9/7/07, Patrick Valencia wrote: > > I configured it as such: > > ./configure --prefix=/var/www/mailman --with-mail-gid=67 --with-cgi-gid=67 > --with-username=_mailman --with-groupname=_mailman > > (using the _mailman user & group from the port install) and I still get > the same error: > > Failure to find group name for GID 67. Mailman > expected the CGI wrapper to be executed as group > "www", but the system's web server executed the > wrapper as GID 67 for which the name could not be > found. Try adding GID 67 to your system as "www", > or tweak your web server to run the wrapper as group > "www". > > I was pretty sure that this would force mailman to look for '67' as the > group, but it seems to still be looking for 'www'. > > > On 9/7/07, Mark Sapiro wrote: > > > > Patrick Valencia wrote: > > > > >I need help setting up mailman in a chrooted OpenBSD environment. I've > > >copied the /usr/local/lib/mailman and /var/spool/mailman directories to > > >/var/www/mailman, as well as the modules it needed, but now I'm getting > > an > > >error that says: > > > > > >Mailman CGI error!!! The Mailman CGI wrapper encountered > > >a fatal error. This entry is being stored in your syslog: > > >Failure to find group name for GID 67. Mailman > > >expected the CGI wrapper to be executed as group > > >"www", but the system's web server executed the > > >wrapper as GID 67 for which the name could not be > > >found. Try adding GID 67 to your system as "www", > > >or tweak your web server to run the wrapper as group > > >"www". > > > > > >I believe that a chrooted apache drops the user name and just holds > > onto the > > >user id. Can anyone help me out with this? I really need this > > installed > > >and kinda need to keep the chroot. If I need to start over with a > > fresh > > >installation of mailman, that's not a problem. Any and all help would > > be > > >GREATLY appreciated! > > > > > > I suggest you try install Mailman from source > > < http://sourceforge.net/projects/mailman> and configure it with > > > > --prefix=/var/www/mailman > > > > and > > > > --with-cgi-gid=67 > > > > as well as the appropriate --with-mail-gid. > > > > Alternatively, there may be a way to set the expected cgi group in > > whatever package you installed and you might be able to set that to 67. > > > > -- > > Mark Sapiro The highway is for gamblers, > > San Francisco Bay Area, California better use your sense - B. Dylan > > > > > From msapiro at value.net Sat Sep 8 03:24:41 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 7 Sep 2007 18:24:41 -0700 Subject: [Mailman-Users] Mailman in chrooted OpenBSD In-Reply-To: Message-ID: Patrick Valenciawrote: > >I configured it as such: > >./configure --prefix=/var/www/mailman --with-mail-gid=67 --with-cgi-gid=67 >--with-username=_mailman --with-groupname=_mailman > >(using the _mailman user & group from the port install) and I still get the >same error: > >Failure to find group name for GID 67. Mailman >expected the CGI wrapper to be executed as group >"www", but the system's web server executed the >wrapper as GID 67 for which the name could not be >found. Try adding GID 67 to your system as "www", >or tweak your web server to run the wrapper as group >"www". > >I was pretty sure that this would force mailman to look for '67' as the >group, but it seems to still be looking for 'www'. I too thought that would be the case, but closer examination of configure says that when you give it --with-cgi-gid=, it looks up the group name that corresponds to the numeric gid and uses the name. Also, the specific "Failure to find group name for GID 67" message from the wrapper comes from the inability to find a group name for the numeric gid under which it was invoked, and the expected group "www" is the compiled in group name that came from looking up 67 at configure time. The bottom line is I think you have two options. Figure out how to make the web server (cgi-gid) and the MTA (mail-gid) invoke the respective wrappers with some gid that can be resolved to a name inside the chroot jail, and configure those as the expected groups, or modify the code in src/common.c to either bypass the group tests or change them to something that will work. You might also look at and the containing thread and the results of . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sat Sep 8 03:31:00 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 7 Sep 2007 18:31:00 -0700 Subject: [Mailman-Users] Mailman in chrooted OpenBSD In-Reply-To: Message-ID: Patrick Valencia wrote: > >Matter of fact, when I configure it, the DCGI_GROUP="\"www\"" and so does >the DMAIL_GROUP. I think it's taking the 67 as a gid and finding the group >it belongs to. That's right. See my other reply. >I'm still not exactly sure how it can't see the gid when it >goes to run the cgi script I thought it would be able to, especially since >the set_gid bit is enabled. See . The setgid bit sets the effective group, but for security reasons the wrapper checks the original group by resolving the original gid to a name and seeing if that name matches what it was told to expect. If it can't resolve the original gid to a name, it gives the error. >Would it help if I added a /var/www/etc/group >file with 67 mapped to 'www'? If that would allow the wrapper to resolve gid 67 to the name "www", then yes, that would do it. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From pvalencia357 at gmail.com Sat Sep 8 03:43:15 2007 From: pvalencia357 at gmail.com (Patrick Valencia) Date: Fri, 7 Sep 2007 21:43:15 -0400 Subject: [Mailman-Users] Mailman in chrooted OpenBSD In-Reply-To: References: Message-ID: Ok, so the /var/www/etc/group file works, but now it's giving me another error: No such file or directory. It mentions storing the output into a syslog, but from checking apache's error_log and access_log, I don't see anything useful. It shows /mailman/admin getting a 200 response, which means OK, but that's all it says. And since it's chrooted, I'm pretty sure it can't reach whatever syslog it's trying to. If I knew which log it was, I could make an entry in the chroot jail, and check, but I'm not sure what files it would be needing outside the chroot anyway. BTW, I really appreciate your help Mark! On 9/7/07, Mark Sapiro wrote: > > Patrick Valencia wrote: > > > >Matter of fact, when I configure it, the DCGI_GROUP="\"www\"" and so does > >the DMAIL_GROUP. I think it's taking the 67 as a gid and finding the > group > >it belongs to. > > > That's right. See my other reply. > > > >I'm still not exactly sure how it can't see the gid when it > >goes to run the cgi script I thought it would be able to, especially > since > >the set_gid bit is enabled. > > > See > . > > The setgid bit sets the effective group, but for security reasons the > wrapper checks the original group by resolving the original gid to a > name and seeing if that name matches what it was told to expect. If it > can't resolve the original gid to a name, it gives the error. > > > >Would it help if I added a /var/www/etc/group > >file with 67 mapped to 'www'? > > > If that would allow the wrapper to resolve gid 67 to the name "www", > then yes, that would do it. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From msapiro at value.net Sat Sep 8 03:50:12 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 7 Sep 2007 18:50:12 -0700 Subject: [Mailman-Users] Mailman in chrooted OpenBSD In-Reply-To: Message-ID: Patrick Valencia wrote: > >Ok, so the /var/www/etc/group file works, but now it's giving me another >error: > >No such file or directory. Where do you see this error? Is there an entry in Mailman's error log (/var/www/mailman/logs/error I think in your case)? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From pvalencia357 at gmail.com Sat Sep 8 20:34:07 2007 From: pvalencia357 at gmail.com (Patrick Valencia) Date: Sat, 8 Sep 2007 14:34:07 -0400 Subject: [Mailman-Users] Mailman in chrooted OpenBSD In-Reply-To: References: Message-ID: Ohh... *slaps forehead* python isn't in the chrooted environment. But wouldn't the cgi executable require python to output the error message? Should I just install another copy of python into /var/www/usr/local/bin/python? Do you know much about chrooting applications? This isn't really a mailman issue if that's all it is, but I want to be sure that's all it is. On 9/8/07, Mark Sapiro wrote: > > Patrick Valencia wrote: > > > >When trying to make install in the src directory I get this error: > > > >:/var/www/mailman-2.1.9/src$ sudo make install > >for f in admindb admin confirm create edithtml listinfo options private > >rmlist roster subscribe; do exe=/var/www/mailman/cgi-bin/$f; > >/usr/bin/install -c -m 755 $f $exe; chmod g+s $exe; done > >install: /var/www/mailman/cgi-bin/admindb: No such file or directory > >*** Error code 71 > > > >Stop in /var/www/mailman-2.1.9/src (line 114 of Makefile). > > > I don't really understand why ... > > > >So I reconfigured and changed the Makefile in the mailman-2.1.9 directory > >then make clean/make/installed it and then overwrote it with the same > from > >the src directory, and both times I'm still getting the same error. I'm > >thinking it doesn't have to do with the gid. I think it's trying to > access > >a different file outside the chroot. However, I'm pretty much all out of > >ideas at this point. > > > If it's not the setregid, its the call to run the driver script which > tries to run the python executable (at the path configure found) with > arguments of the path to scripts/driver and the name of the cgi > (e.g.admindb). Maybe it's python it can't find. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From msapiro at value.net Sat Sep 8 20:55:52 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 8 Sep 2007 11:55:52 -0700 Subject: [Mailman-Users] Mailman in chrooted OpenBSD In-Reply-To: Message-ID: Patrick Valencia wrote: > >Ohh... *slaps forehead* python isn't in the chrooted environment. But >wouldn't the cgi executable require python to output the error message? No. The CGI executable wrapper is a compiled/bound C program (mostly because SETGID doesn't work with 'scripts'). So the wrapper executes just fine without Python until it tries to call Python to execute the driver script. >Should I just install another copy of python into >/var/www/usr/local/bin/python? Do you know much about chrooting >applications? This isn't really a mailman issue if that's all it is, but I >want to be sure that's all it is. I probably know less than you about chrooting applications. I *think* that just installing python so it's accessable from the jail will fix it, but you'll need to rerun configure with the --with-python= option to point to the right python. Ideally, you'd run configure chrooted. The whole idea behind autoconf is it tailors the package to the environment. If configure can find/do things that the executable package can't find/do because it runs in a different (chrooted) environment, the whole purpose of configure is subverted. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jonsson at mj1.mine.nu Sun Sep 9 03:05:15 2007 From: jonsson at mj1.mine.nu (mattias) Date: Sun, 9 Sep 2007 03:05:15 +0200 Subject: [Mailman-Users] listproblems Message-ID: <000001c7f27d$7b574860$0500a8c0@liomk23cfxd68z> How to hide och show lists on the list info page? I don't find the menu value From msapiro at value.net Sun Sep 9 04:27:26 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 8 Sep 2007 19:27:26 -0700 Subject: [Mailman-Users] listproblems In-Reply-To: <000001c7f27d$7b574860$0500a8c0@liomk23cfxd68z> Message-ID: mattias wrote: >How to hide och show lists on the list info page? >I don't find the menu value I think you're looking for Privacy options...->Subscription rules->advertised. Also see FAQs 4.17 and 4.24 >Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Kai-Behncke at gmx.de Sun Sep 9 11:03:46 2007 From: Kai-Behncke at gmx.de (Kai Behncke) Date: Sun, 09 Sep 2007 11:03:46 +0200 Subject: [Mailman-Users] Newbie Question: Can`t send mails to my list Message-ID: <20070909090346.232350@gmx.net> Dear list, since a couple of hours I try to get to run an own mailinglist. I did the following steps: - I installed as root on my Debian 4.0 mailman with "apt-get install mailman" - I ran: /usr/lib/mailman/bin/check_perms and changed permissions at the errors that occured. Meanwhile there is no error anymore. - I adapted the pathes at the mm_cfg.py-Script and I wrote the -I hope -correct entries in the httpd.conf of Apache If I run: http://lists.gforge.geoplp.de/mailman/admin I come to the administration-area. As an administrator I can create new mailinglists (e.g. the list "testa" and get a confirmation mail of that. I can register users at the list that get as well a confirmation. But then comes the problem: As a user I want to write a mail to that list. But that mail never reaches the mailinglist members. After a couple of seconds I get a mail-delivery message from my client: This message was created automatically by mail delivery software. "A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: testa at lists.gforge.geoplp.de retry timeout exceeded" What am I doing wrong? Please help! Thank you kindly in advance, Kai -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail From dennis at eaachat.org Sun Sep 9 15:03:29 2007 From: dennis at eaachat.org (Dennis Morgan) Date: Sun, 09 Sep 2007 08:03:29 -0500 Subject: [Mailman-Users] Newbie Question: Can`t send mails to my list In-Reply-To: <20070909090346.232350@gmx.net> References: <20070909090346.232350@gmx.net> Message-ID: <46E3EF21.2050609@eaachat.org> I think you'll find that list.gforge.geoplp.de does not exist but gforge.geoplp.de does exist and accepts mail. At any rate I sent a test email to: testa at gforge.geoplp.de and it was not returned. Hope this helps, Dennis Kai Behncke wrote: > Dear list, > since a couple of hours I try to get to run an own mailinglist. > > I did the following steps: > > - I installed as root on my Debian 4.0 mailman with "apt-get install mailman" > > - I ran: /usr/lib/mailman/bin/check_perms and changed permissions at the errors that occured. Meanwhile there is no error anymore. > > - I adapted the pathes at the mm_cfg.py-Script and I wrote the -I hope -correct entries in the httpd.conf of Apache > > If I run: > http://lists.gforge.geoplp.de/mailman/admin > > I come to the administration-area. > As an administrator I can create new mailinglists (e.g. the list "testa" and get a confirmation mail of that. > > I can register users at the list that get as well a confirmation. > > > But then comes the problem: As a user I want to write a mail to that list. But that mail never reaches the mailinglist members. > After a couple of seconds I get a mail-delivery message from my client: > > This message was created automatically by mail delivery software. > > "A message that you sent could not be delivered to one or more of its > recipients. This is a permanent error. The following address(es) failed: > > testa at lists.gforge.geoplp.de > retry timeout exceeded" > > What am I doing wrong? Please help! Thank you kindly in advance, Kai > > > > From Kai-Behncke at gmx.de Sun Sep 9 16:17:42 2007 From: Kai-Behncke at gmx.de (Kai Behncke) Date: Sun, 09 Sep 2007 16:17:42 +0200 Subject: [Mailman-Users] Newbie Question: Can`t send mails to my list In-Reply-To: <46E3EF21.2050609@eaachat.org> References: <20070909090346.232350@gmx.net> <46E3EF21.2050609@eaachat.org> Message-ID: <20070909141742.195530@gmx.net> Hi Dennis, > I think you'll find that > list.gforge.geoplp.de > does not exist but > > gforge.geoplp.de > > does exist and accepts mail. > > At any rate I sent a test email to: > testa at gforge.geoplp.de > > and it was not returned. > > Hope this helps, > > Dennis unfortunately I get also in this case a "Mail delivery failed". Nevertheless thank you :-) In the moment I check out the points at FAQ troubleshooting. It might has something to do with the configuration of "sendmail". Best regards, Kai -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser From dario.luzzi at gmail.com Sun Sep 9 17:48:28 2007 From: dario.luzzi at gmail.com (dario luzzi) Date: Sun, 9 Sep 2007 17:48:28 +0200 Subject: [Mailman-Users] mailman not delivering messages Message-ID: hi, I recently installed mailman 2.1.9 and postfix on a debian machine. I'm having problems in getting it to work as I'm a newbie but hope someone can help :-) I tried searching for a solution on various documents but now I'm more confused than before After I created a test list with two subscribers and tried to send a mail I see this message in mail.log: Sep 9 17:30:03 unabomber postfix/smtpd[20305]: connect from wa-out-1112.google.com[209.85.146.180] Sep 9 17:30:03 unabomber postfix/smtpd[20305]: E721E1A44F1: client=wa-out-1112.google.com[209.85.146.180] Sep 9 17:30:04 unabomber postfix/cleanup[20309]: E721E1A44F1: message-id= Sep 9 17:30:04 unabomber postfix/qmgr[20261]: E721E1A44F1: from=, size=1796, nrcpt=1 (queue active) Sep 9 17:30:04 unabomber postfix/pipe[20310]: E721E1A44F1: to=, relay=mailman, delay=1, delays=0.61/0.02/0/0.41, dsn=2.0.0, stat us=sent (delivered via mailman service) Sep 9 17:30:04 unabomber postfix/qmgr[20261]: E721E1A44F1: removed and this is my main.cf file # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h # TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = unabomber alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = domain.net, unabomber, localhost.localdomain, localhost relayhost = mynetworks = 127.0.0.0/8 mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all #added for mailman #virtual_maps = hash:$config_directory/virtual, regexp:/etc/postfix/virtual-regexp virtual_maps = regexp:/etc/postfix/virtual-regexp relay_domains = lists.domain.net gmail.com transport_maps = hash:/etc/postfix/transport #mailman_destination_recipient_limit = 1 please let me know if you need more information From msapiro at value.net Sun Sep 9 17:55:19 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 9 Sep 2007 08:55:19 -0700 Subject: [Mailman-Users] Newbie Question: Can`t send mails to my list In-Reply-To: <20070909141742.195530@gmx.net> Message-ID: Kai Behncke wrote: > >In the moment I check out the points at FAQ troubleshooting. >It might has something to do with the configuration of "sendmail". This is definitely an MTA (sendmail) and/or DNS issue. Have you installed the Mailman aliases for your list(s). Have you looked in sendmail's maillog to see what it's trying to do? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sun Sep 9 18:08:12 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 9 Sep 2007 09:08:12 -0700 Subject: [Mailman-Users] mailman not delivering messages In-Reply-To: Message-ID: dario luzzi wrote: >I recently installed mailman 2.1.9 and postfix on a debian machine. >I'm having problems in getting it to work as I'm a newbie but hope >someone can help :-) >I tried searching for a solution on various documents but now I'm more >confused than before > >After I created a test list with two subscribers and tried to send a >mail I see this message in mail.log: > >Sep 9 17:30:03 unabomber postfix/smtpd[20305]: connect from >wa-out-1112.google.com[209.85.146.180] >Sep 9 17:30:03 unabomber postfix/smtpd[20305]: E721E1A44F1: >client=wa-out-1112.google.com[209.85.146.180] >Sep 9 17:30:04 unabomber postfix/cleanup[20309]: E721E1A44F1: >message-id= >Sep 9 17:30:04 unabomber postfix/qmgr[20261]: E721E1A44F1: >from=, size=1796, nrcpt=1 (queue active) >Sep 9 17:30:04 unabomber postfix/pipe[20310]: E721E1A44F1: >to=, relay=mailman, delay=1, >delays=0.61/0.02/0/0.41, dsn=2.0.0, stat >us=sent (delivered via mailman service) And what is this "mailman service"? >Sep 9 17:30:04 unabomber postfix/qmgr[20261]: E721E1A44F1: removed > >and this is my main.cf file >#added for mailman >#virtual_maps = hash:$config_directory/virtual, >regexp:/etc/postfix/virtual-regexp >virtual_maps = regexp:/etc/postfix/virtual-regexp >relay_domains = lists.domain.net gmail.com >transport_maps = hash:/etc/postfix/transport >#mailman_destination_recipient_limit = 1 Evidently your transport_maps above is realying to the 'mailman' transport, but what is that? Usually, with Postfix, Mailman-Postfix integration is configured per . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Kai-Behncke at gmx.de Sun Sep 9 19:49:14 2007 From: Kai-Behncke at gmx.de (Kai Behncke) Date: Sun, 09 Sep 2007 19:49:14 +0200 Subject: [Mailman-Users] Newbie Question: Can`t send mails to my list In-Reply-To: References: Message-ID: <20070909174914.87340@gmx.net> Hello Mark, > This is definitely an MTA (sendmail) and/or DNS issue. > > Have you installed the Mailman aliases for your list(s). > > Have you looked in sendmail's maillog to see what it's trying to do? Thank you for answering. For me as a mailman/sendmail newbie this is really not easy. Well, the Mailman aliases I had already inserted in /etc/mail/aliases like that: "mailman: "|/var/lib/mailman/mail/mailman post mailman" mailman-admin: "|/var/lib/mailman/mail/mailman admin mailman" mailman-bounces: "|/var/lib/mailman/mail/mailman bounces mailman" mailman-confirm: "|/var/lib/mailman/mail/mailman confirm mailman" mailman-join: "|/var/lib/mailman/mail/mailman join mailman" mailman-leave: "|/var/lib/mailman/mail/mailman leave mailman" mailman-owner: "|/var/lib/mailman/mail/mailman owner mailman" mailman-request: "|/var/lib/mailman/mail/mailman request mailman" mailman-subscribe: "|/var/lib/mailman/mail/mailman subscribe mailman" mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman" ---------- If I look at the sendmail-log is says at /var/log/mail.log (I think this is the right logfile?): "Sep 9 19:30:00 h1228898 sm-mta[9439]: l89HU0cm009439: from=, size=1872, class=-60, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Sep 9 19:30:00 h1228898 sm-mta[9442]: l89HU0vb009442: from=, size=1944, class=-60, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Sep 9 19:30:01 h1228898 sm-mta[9444]: l89HU0vb009442: to=, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=229944, relay=mx0.gmx.net. [213.165.64.100], dsn=2.0.0, stat=Sent (Message accepted {mx057}) Sep 9 19:30:01 h1228898 sm-mta[9441]: l89HU0cm009439: to=, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=229872, relay=mx0.stratoserver.net. [81.169.163.94], dsn=2.0.0, stat=Sent (OK id=1IUQbh-0001o6-RB) Sep 9 19:30:50 h1228898 sm-mta[9451]: l89HUnA7009451: from=, size=1957, class=-60, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Sep 9 19:31:09 h1228898 sm-mta[9453]: STARTTLS=client, relay=mail-in-2.serv.uni-osnabrueck.de., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 Sep 9 19:31:13 h1228898 sm-mta[9453]: l89HUnA7009451: to=, delay=00:00:23, xdelay=00:00:23, mailer=esmtp, pri=229957, relay=mail-in-2.serv.uni-osnabrueck.de. [131.173.17.163], dsn=2.0.0, stat=Sent (l89HV4Rg012816 Message accepted for delivery) Sep 9 19:31:35 h1228898 sm-mta[9456]: l89HVZZ1009456: from=, size=2071, class=-60, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Sep 9 19:31:38 h1228898 sm-mta[9458]: l89HVZZ1009456: to=, delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=230071, relay=mail-in-3.serv.uni-osnabrueck.de. [131.173.17.149], dsn=2.0.0, stat=Sent (l89HVZ6x026973 Message accepted for delivery)" What could that mean? You wrote it could be a DNS-problem? What do you mean with that? Do I need a DNS-Server to use mailman/sendmail? Thank you very much!! Kai -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail From msapiro at value.net Sun Sep 9 21:32:04 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 9 Sep 2007 12:32:04 -0700 Subject: [Mailman-Users] Newbie Question: Can`t send mails to my list In-Reply-To: <20070909174914.87340@gmx.net> Message-ID: Kai Behncke wrote: > >Thank you for answering. For me as a mailman/sendmail newbie this is really not easy. > >Well, the Mailman aliases I had already inserted in /etc/mail/aliases > >like that: >"mailman: "|/var/lib/mailman/mail/mailman post mailman" >mailman-admin: "|/var/lib/mailman/mail/mailman admin mailman" >mailman-bounces: "|/var/lib/mailman/mail/mailman bounces mailman" >mailman-confirm: "|/var/lib/mailman/mail/mailman confirm mailman" >mailman-join: "|/var/lib/mailman/mail/mailman join mailman" >mailman-leave: "|/var/lib/mailman/mail/mailman leave mailman" >mailman-owner: "|/var/lib/mailman/mail/mailman owner mailman" >mailman-request: "|/var/lib/mailman/mail/mailman request mailman" >mailman-subscribe: "|/var/lib/mailman/mail/mailman subscribe mailman" >mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman" These are only for the mailman list. You need another set of 10 like complicate: "|/var/lib/mailman/mail/mailman post complicate" complicate-admin: "|/var/lib/mailman/mail/mailman admin complicate" etc. for the 'complicate' list and simarly for all other mailman lists. Then you need to run the newaliases command to update the actual sendmail database after you add the aliases to /etc/mail/aliases. This may fix the entire problem, >If I look at the sendmail-log is says at /var/log/mail.log (I think this is the right logfile?): > >"Sep 9 19:30:00 h1228898 sm-mta[9439]: l89HU0cm009439: from=, size=1872, class=-60, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] >Sep 9 19:30:00 h1228898 sm-mta[9442]: l89HU0vb009442: from=, size=1944, class=-60, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] >Sep 9 19:30:01 h1228898 sm-mta[9444]: l89HU0vb009442: to=, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=229944, relay=mx0.gmx.net. [213.165.64.100], dsn=2.0.0, stat=Sent (Message accepted {mx057}) >Sep 9 19:30:01 h1228898 sm-mta[9441]: l89HU0cm009439: to=, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=229872, relay=mx0.stratoserver.net. [81.169.163.94], dsn=2.0.0, stat=Sent (OK id=1IUQbh-0001o6-RB) >Sep 9 19:30:50 h1228898 sm-mta[9451]: l89HUnA7009451: from=, size=1957, class=-60, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] >Sep 9 19:31:09 h1228898 sm-mta[9453]: STARTTLS=client, relay=mail-in-2.serv.uni-osnabrueck.de., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 >Sep 9 19:31:13 h1228898 sm-mta[9453]: l89HUnA7009451: to=, delay=00:00:23, xdelay=00:00:23, mailer=esmtp, pri=229957, relay=mail-in-2.serv.uni-osnabrueck.de. [131.173.17.163], dsn=2.0.0, stat=Sent (l89HV4Rg012816 Message accepted for delivery) >Sep 9 19:31:35 h1228898 sm-mta[9456]: l89HVZZ1009456: from=, size=2071, class=-60, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] >Sep 9 19:31:38 h1228898 sm-mta[9458]: l89HVZZ1009456: to=, delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=230071, relay=mail-in-3.serv.uni-osnabrueck.de. [131.173.17.149], dsn=2.0.0, stat=Sent (l89HVZ6x026973 Message accepted for delivery)" > >What could that mean? Almost all of the above entries are for outgoing notifications from Mailman. One pair of entries (note the same esmtp id - l89HU0cm009439) - Sep 9 19:30:00 h1228898 sm-mta[9439]: l89HU0cm009439: from=, size=1872, class=-60, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Sep 9 19:30:01 h1228898 sm-mta[9441]: l89HU0cm009439: to=, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=229872, relay=mx0.stratoserver.net. [81.169.163.94], dsn=2.0.0, stat=Sent (OK id=1IUQbh-0001o6-RB) is a notice to from the complicate list, which has been sent to the MX at mx0.stratoserver.net which may or may not kno how to send it back. >You wrote it could be a DNS-problem? >What do you mean with that? >Do I need a DNS-Server to use mailman/sendmail? No, but you need appropriate DNS records somewhere in order to receive mail. When I do dig any lists.gforge.geoplp.de I see among other things the following records lists.gforge.geoplp.de. 1800 IN MX 10 geoplp.de. lists.gforge.geoplp.de. 1800 IN MX 20 mx0.stratoserver.net. lists.gforge.geoplp.de. 1800 IN A 85.214.90.79 geoplp.de. 1800 IN A 85.214.90.79 This all looks fine, but it raises the question of why sendmail relayed the message above to mx0.stratoserver.net when geoplp.de is a higher priority MX. This is not a DNS problem per se, but perhaps sendmail determined that geoplp.de (which is the local host) couldn't deliver to mailman-owner at lists.gforge.geoplp.de. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Kai-Behncke at gmx.de Sun Sep 9 21:54:17 2007 From: Kai-Behncke at gmx.de (Kai Behncke) Date: Sun, 09 Sep 2007 21:54:17 +0200 Subject: [Mailman-Users] Newbie Question: Can`t send mails to my list In-Reply-To: References: Message-ID: <20070909195417.208520@gmx.net> Hello Mark, > These are only for the mailman list. You need another set of 10 like > > complicate: "|/var/lib/mailman/mail/mailman post complicate" > complicate-admin: "|/var/lib/mailman/mail/mailman admin complicate" > etc. > > for the 'complicate' list and simarly for all other mailman lists. Then > you need to run the newaliases command to update the actual sendmail > database after you add the aliases to /etc/mail/aliases. > > This may fix the entire problem, > Thanks again. I checked that out with a new mailinglist and made the required entires but again I got after 2 or three seconds a "Mail-Delivery-Failure". I wonder: Is there a way that these entries are made automatically in the aliases or is it the common way to make them manually? I think I need to do some more tests here that night and tomorrow. I really want mailman to get to run, but it might be still a long way. Again, thank you very much, Kai -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail From Kai-Behncke at gmx.de Sun Sep 9 22:09:54 2007 From: Kai-Behncke at gmx.de (Kai Behncke) Date: Sun, 09 Sep 2007 22:09:54 +0200 Subject: [Mailman-Users] Newbie Question: Can`t send mails to my list In-Reply-To: References: Message-ID: <20070909200954.208510@gmx.net> Hello everybody, I think I will try a complete new installation of mailman and sendmail to have "fresh systems". Are there reasons against compiling with "apt-get install mailman/sendmail" ? Would it be better to try with downloading source-code /configure /make /make install ? Thanky, Kai -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser From msapiro at value.net Sun Sep 9 22:40:39 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 9 Sep 2007 13:40:39 -0700 Subject: [Mailman-Users] Newbie Question: Can`t send mails to my list In-Reply-To: <20070909195417.208520@gmx.net> Message-ID: Kai Behncke wrote: > >> These are only for the mailman list. You need another set of 10 like >> >> complicate: "|/var/lib/mailman/mail/mailman post complicate" >> complicate-admin: "|/var/lib/mailman/mail/mailman admin complicate" >> etc. >> >> for the 'complicate' list and simarly for all other mailman lists. Then >> you need to run the newaliases command to update the actual sendmail >> database after you add the aliases to /etc/mail/aliases. >> >> This may fix the entire problem, >> > >Thanks again. I checked that out with a new mailinglist and made the required entires but again I got after 2 or three seconds a "Mail-Delivery-Failure". Did you run 'newaliases' after adding the aliases? If so, this is a sendmail configuration issue of some kind, perhaps having to do with virtual hosts. >I wonder: Is there a way that these entries are made automatically >in the aliases or is it the common way to make them manually? See . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sun Sep 9 22:46:26 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 9 Sep 2007 13:46:26 -0700 Subject: [Mailman-Users] Newbie Question: Can`t send mails to my list In-Reply-To: <20070909200954.208510@gmx.net> Message-ID: Kai Behncke wrote: > >I think I will try a complete new installation of mailman and sendmail to have "fresh systems". > >Are there reasons against compiling with "apt-get install mailman/sendmail" ? >Would it be better to try with downloading source-code /configure /make /make install ? As far as Mailman and the mailman-users at python.org list are concerned, it is always better to install from source because packages may have differences with which we are not familiar. However, in your specific case, you have a sendmail issue as far as I can tell. I don't think that any incoming list mail is actually reaching Mailman at all. You might have more success persuing this with sendmail resources. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Dave.Hester at ARRISI.COM Mon Sep 10 12:01:32 2007 From: Dave.Hester at ARRISI.COM (Dave.Hester at ARRISI.COM) Date: Mon, 10 Sep 2007 06:01:32 -0400 Subject: [Mailman-Users] CN=Dave Hester/O=Arris is out of the office. Message-ID: I will be out of the office starting 09/10/2007 and will not return until 09/13/2007. From Kai-Behncke at gmx.de Mon Sep 10 13:28:55 2007 From: Kai-Behncke at gmx.de (Kai Behncke) Date: Mon, 10 Sep 2007 13:28:55 +0200 Subject: [Mailman-Users] Problem to install mailman from source Message-ID: <20070910112855.116980@gmx.net> Dear list, after the problem I had yesterday in getting to run mailman-lists I try to install it now from source. I use Debian 4.0 and mailman.2.1.19 In the directory /usr/local/mailman/mailman-2.1.19 I run as root: "./configure --prefix=/usr/local/mailman --with-mail-gid=mailman --with-cgi-gid=www-data --with-mailhost=www.tourismus-osnabrueck.de --with-urlhost=www.tourismus-osnabrueck.de" after that a make and a make install, everything seems to be fine. But: If I look then in /usr/local/mailman/Mailman/mm_cfg.py there are no special entries, it looks like: ---------------------------------- # 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 have 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. --------------------------------------------------- Because of that (it seems) my mailman does not run. How can this be??? Thank you very much, Kai -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail From msapiro at value.net Mon Sep 10 16:49:24 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 10 Sep 2007 07:49:24 -0700 Subject: [Mailman-Users] Problem to install mailman from source In-Reply-To: <20070910112855.116980@gmx.net> Message-ID: Kai Behncke wrote: > >after the problem I had yesterday in getting to run mailman-lists I try to install it now from source. >I use Debian 4.0 and mailman.2.1.19 > >In the directory /usr/local/mailman/mailman-2.1.19 I run as root: > >"./configure --prefix=/usr/local/mailman --with-mail-gid=mailman --with-cgi-gid=www-data --with-mailhost=www.tourismus-osnabrueck.de --with-urlhost=www.tourismus-osnabrueck.de" --with-mailhost= is the domain to which you address list mail. Do you really send your list mail to listname at www.tourismus-osnabrueck.de? In your previous posts, your mail host was lists.gforge.geoplp.de >after that a make and a make install, everything seems to be fine. > >But: If I look then in /usr/local/mailman/Mailman/mm_cfg.py > >there are no special entries, it looks like: What special entries are you looking for? What you have is an mm_cfg.py from a fresh install. Did you have a previous mm_cfg.py at /usr/local/mailman/Mailman/mm_cfg.py? If so, it shouldn't have been overwritten, but if it was somewhere else, it's still there. According to the aliases you previously posted, your prior mailman was in /var/lib/mailman. Do you now have two Mailman installations, one in /var/lib/mailman with lists and appropriate sendmail aliases and one in /usr/local/mailman with no lists and no sendmail aliases? >Because of that (it seems) my mailman does not run. >How can this be??? What do you mean your Mailman doesn't run? Please be more specific. Do you have the 'mailman' site list in your new installation. Did you run bin/mailmanctl start Note that your original problem was with sendmail, not with Mailman, so installing Mailman from source can't be expected to fix it. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From kyle.banerjee at gmail.com Mon Sep 10 18:06:48 2007 From: kyle.banerjee at gmail.com (Kyle Banerjee) Date: Mon, 10 Sep 2007 09:06:48 -0700 Subject: [Mailman-Users] Problem to install mailman from source In-Reply-To: References: <20070910112855.116980@gmx.net> Message-ID: <47eed6660709100906h52392a37tc3916e6d9534c3b3@mail.gmail.com> > >In the directory /usr/local/mailman/mailman-2.1.19 I run as root: > > > >"./configure --prefix=/usr/local/mailman --with-mail-gid=mailman --with-cgi-gid=www-data --with-mailhost=www.tourismus-osnabrueck.de --with-urlhost=www.tourismus-osnabrueck.de" > > > --with-mailhost= is the domain to which you address list mail. Do you > really send your list mail to listname at www.tourismus-osnabrueck.de? Also, the mail gid seems unlikely. kyle From Kai-Behncke at gmx.de Mon Sep 10 18:26:19 2007 From: Kai-Behncke at gmx.de (Kai Behncke) Date: Mon, 10 Sep 2007 18:26:19 +0200 Subject: [Mailman-Users] Problem to install mailman from source In-Reply-To: References: Message-ID: <20070910162619.152860@gmx.net> Hello Mark, > > --with-mailhost= is the domain to which you address list mail. >Do you > really send your list mail to listname at www.tourismus-osnabrueck.de? > > In your previous posts, your mail host was lists.gforge.geoplp.de > Yes, thats true. I have cleaned my system and do now everything from the beginning on, I also use another domain. I do it (nearly) the way that is described in the GNU Mailman Installation Manual. > What special entries are you looking for? What you have is an mm_cfg.py > >from a fresh install. Did you have a previous mm_cfg.py at > /usr/local/mailman/Mailman/mm_cfg.py? If so, it shouldn't have been > overwritten, but if it was somewhere else, it's still there. > All right, I thought if I would use the configure-parameter (e.g. --with-mailhost=www.tourismus-osnabrueck.de) they would be written automatically in the mm_cfg.py. So if I have a fresh mm_cfg.py I can write own entries there and after starting mailman again they are used?? > According to the aliases you previously posted, your prior mailman was > in /var/lib/mailman. Do you now have two Mailman installations, one in > /var/lib/mailman with lists and appropriate sendmail aliases and one > in /usr/local/mailman with no lists and no sendmail aliases? No. In the moment I just have one mailman installation (installed by source) in /usr/local/mailman. I not even have sendmail in the moment. By now I would like to get shure that all with my mailman-installation so far is correct. If I run /bin/check_perms it looks very good. > > What do you mean your Mailman doesn't run? Please be more specific. If I run /bin/mailmanctl start I get "missing the mailinglist mailman", surely because I have not installed sendmail and done entries in the /etc/aliases. This will be next step. Thank you very much again, Kai -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail From carbonnb at gmail.com Mon Sep 10 18:39:24 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 10 Sep 2007 12:39:24 -0400 Subject: [Mailman-Users] mailman not delivering messages In-Reply-To: References: Message-ID: On 9/9/07, dario luzzi wrote: > hi, > I recently installed mailman 2.1.9 and postfix on a debian machine. > I'm having problems in getting it to work as I'm a newbie but hope > someone can help :-) > I tried searching for a solution on various documents but now I'm more > confused than before > please let me know if you need more information What is your problem? I saw a GMail Message id. Is it that the e-mail isn't coming back to a GMail account? If so, have a look at: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.042.htp -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From amiller at gravity.phys.uwm.edu Mon Sep 10 17:44:36 2007 From: amiller at gravity.phys.uwm.edu (Adam Miller) Date: Mon, 10 Sep 2007 10:44:36 -0500 (CDT) Subject: [Mailman-Users] problem with checkdbs Message-ID: Hi, I am receiving emails every night when /usr/lib/mailman/cron/checkdbs runs. I am currently using mailman-2.1.9. Any help would be greatly appreciated. Traceback (most recent call last): File "/usr/lib/mailman/cron/checkdbs", line 203, in ? main() File "/usr/lib/mailman/cron/checkdbs", line 104, in main discarded = auto_discard(mlist) File "/usr/lib/mailman/cron/checkdbs", line 192, in auto_discard heldmsgs = mlist.GetHeldMessageIds() File "/usr/lib/mailman/Mailman/ListAdmin.py", line 143, in GetHeldMessageIds return self.__getmsgids(HELDMSG) File "/usr/lib/mailman/Mailman/ListAdmin.py", line 138, in __getmsgids ids = [k for k, (op, data) in self.__db.items() if op == rtype] ValueError: too many values to unpack Thanks! Adam Miller From msapiro at value.net Mon Sep 10 18:47:47 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 10 Sep 2007 09:47:47 -0700 Subject: [Mailman-Users] Problem to install mailman from source In-Reply-To: <20070910162619.152860@gmx.net> Message-ID: Kai Behncke wrote: > >> What special entries are you looking for? What you have is an mm_cfg.py >> >from a fresh install. Did you have a previous mm_cfg.py at >> /usr/local/mailman/Mailman/mm_cfg.py? If so, it shouldn't have been >> overwritten, but if it was somewhere else, it's still there. >> > > >All right, I thought if I would use the configure-parameter >(e.g. --with-mailhost=www.tourismus-osnabrueck.de) they would be written automatically in the mm_cfg.py. The values you specify to configure get put in Defaults.py and don't need to be in mm_cfg.py. >So if I have a fresh mm_cfg.py I can write own entries there and >after starting mailman again they are used?? Yes, but you only need to put things in mm_cfg.py that change or override things from Defaults.py or things you just want there for documentation. If you specified the correct --with-mailhost= and --with-urlhost values to configure, These will be correct in Defaults.py and you don't need to specify DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST in mm_cfg.py. >> What do you mean your Mailman doesn't run? Please be more specific. > >If I run /bin/mailmanctl start > >I get "missing the mailinglist mailman", surely because I have not installed sendmail and done entries in the /etc/aliases. No. This is because you haven't created the 'mailman' list. You need to create that list either via the web create page or with bin/newlist before you can start Mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From cjgeier at wisc.edu Mon Sep 10 19:00:27 2007 From: cjgeier at wisc.edu (Chris Geier) Date: Mon, 10 Sep 2007 12:00:27 -0500 Subject: [Mailman-Users] Mail not being sent out Message-ID: <003c01c7f3cc$164c8520$0402a8c0@ad.ophth.wisc.edu> Hello: I am running Mailman 2.1.5 on OS X 10.4.10. We have been running with no problems for over three years. My problem(s) started about a month ago. At first any new members that I added would show up in the members list, but they would not receive any emails. Now none of my members get any mail. In the past a reboot would clear up the problem. But now the problem is still there after a reboot. Anyone have any ideas? Thanks. -Chris From msapiro at value.net Mon Sep 10 18:59:28 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 10 Sep 2007 09:59:28 -0700 Subject: [Mailman-Users] problem with checkdbs In-Reply-To: Message-ID: Adam Miller wrote: > I am receiving emails every night when /usr/lib/mailman/cron/checkdbs >runs. I am currently using mailman-2.1.9. Any help would be greatly >appreciated. > > >Traceback (most recent call last): > File "/usr/lib/mailman/cron/checkdbs", line 203, in ? > main() > File "/usr/lib/mailman/cron/checkdbs", line 104, in main > discarded = auto_discard(mlist) > File "/usr/lib/mailman/cron/checkdbs", line 192, in auto_discard > heldmsgs = mlist.GetHeldMessageIds() > File "/usr/lib/mailman/Mailman/ListAdmin.py", line 143, in >GetHeldMessageIds > return self.__getmsgids(HELDMSG) > File "/usr/lib/mailman/Mailman/ListAdmin.py", line 138, in __getmsgids > ids = [k for k, (op, data) in self.__db.items() if op == rtype] >ValueError: too many values to unpack See . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Mon Sep 10 19:16:12 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 10 Sep 2007 10:16:12 -0700 Subject: [Mailman-Users] Mail not being sent out In-Reply-To: <003c01c7f3cc$164c8520$0402a8c0@ad.ophth.wisc.edu> Message-ID: Chris Geier wrote: > >I am running Mailman 2.1.5 on OS X 10.4.10. > >We have been running with no problems for over three years. > >My problem(s) started about a month ago. > >At first any new members that I added would show up in the members list, but >they would not receive any emails. If the new members were regular (non-digest) members and their delivery was not disabled, there is no reason in Mailman (except maybe topics) why posts wouldn't be sent to them along with all the other regular members. >Now none of my members get any mail. > >In the past a reboot would clear up the problem. But now the problem is >still there after a reboot. Is this Apple's OS X Server preinstalled Mailman. If so, see . Also, see if you're interested in upgrading. Beyond that, see for help with your current issue. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From cwaltham at bowdoin.edu Mon Sep 10 19:45:44 2007 From: cwaltham at bowdoin.edu (Chris Waltham) Date: Mon, 10 Sep 2007 13:45:44 -0400 Subject: [Mailman-Users] admin user passwords In-Reply-To: References: Message-ID: <5DD3127D-A00D-4474-B50A-E452285D24E5@bowdoin.edu> On Sep 7, 2007, at 8:52 AM, Mark Sapiro wrote: > Chris Waltham wrote: >> >> Is there an easy way to change a list admin's password in 2.0.x? My >> version (2.0.12) lacks a change-pw command. > > > I have no experience with Mailman prior to 2.1.4, but from the > code, it > appears that you change the password at the bottom of the General > Options page in the web admin interface. Yes, but it looks like you have to know what the current password is before you can change it to a new password. I'll try inserting the mm site admin password in there (because I don't know what this list's specific password is), otherwise I can just hang on until I get to 2.1.x. Chris From msapiro at value.net Mon Sep 10 21:56:05 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 10 Sep 2007 12:56:05 -0700 Subject: [Mailman-Users] admin user passwords In-Reply-To: <5DD3127D-A00D-4474-B50A-E452285D24E5@bowdoin.edu> Message-ID: Chris Waltham wrote: >On Sep 7, 2007, at 8:52 AM, Mark Sapiro wrote: > >> Chris Waltham wrote: >>> >>> Is there an easy way to change a list admin's password in 2.0.x? My >>> version (2.0.12) lacks a change-pw command. >> >> >> I have no experience with Mailman prior to 2.1.4, but from the >> code, it >> appears that you change the password at the bottom of the General >> Options page in the web admin interface. > >Yes, but it looks like you have to know what the current password is >before you can change it to a new password. I'll try inserting the mm >site admin password in there (because I don't know what this list's >specific password is), otherwise I can just hang on until I get to >2.1.x. Yes, you can use the site password where it asks for the current password. In short, whatever password you used to get to the General Options page in the first place will also work as the current password for a password change (and if you use the site password, it will still change the list password, not the site password). -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From cwaltham at bowdoin.edu Mon Sep 10 22:03:48 2007 From: cwaltham at bowdoin.edu (Chris Waltham) Date: Mon, 10 Sep 2007 16:03:48 -0400 Subject: [Mailman-Users] admin user passwords In-Reply-To: References: Message-ID: <4281FE52-1950-4AF3-B1B2-20AF83CD6557@bowdoin.edu> On Sep 10, 2007, at 3:56 PM, Mark Sapiro wrote: > Chris Waltham wrote: > >> On Sep 7, 2007, at 8:52 AM, Mark Sapiro wrote: >> >>> Chris Waltham wrote: >>>> >>>> Is there an easy way to change a list admin's password in 2.0.x? My >>>> version (2.0.12) lacks a change-pw command. >>> >>> >>> I have no experience with Mailman prior to 2.1.4, but from the >>> code, it >>> appears that you change the password at the bottom of the General >>> Options page in the web admin interface. >> >> Yes, but it looks like you have to know what the current password is >> before you can change it to a new password. I'll try inserting the mm >> site admin password in there (because I don't know what this list's >> specific password is), otherwise I can just hang on until I get to >> 2.1.x. > > > Yes, you can use the site password where it asks for the current > password. > > In short, whatever password you used to get to the General Options > page > in the first place will also work as the current password for a > password change (and if you use the site password, it will still > change the list password, not the site password). Great. Thanks for clearing that up, Mark! Chris From maulwurf at esel.at Mon Sep 10 23:01:04 2007 From: maulwurf at esel.at (Maulwurf) Date: Mon, 10 Sep 2007 23:01:04 +0200 Subject: [Mailman-Users] bug when subscribing via web Message-ID: <46E5B090.2030707@esel.at> hi, when users try to subscribe via the list-info-page http://listen.esel.at/mailman/listinfo/liste they get: "Bug in Mailman version 2.1.9. We're sorry, we hit a bug! (...)" The error only occurs when the "subscribe policy" is set to "confirm". as a workaround i have now changed it to "confirm and approve" (which i absolutely don?t want - it is an open list!) unfortunately i do not know what i could do to re-open subscription to the list (i am pretty new to adminstrating the server myself - i read an searched the FAQ, this list?s archives and tried googeling the error,... to no avail) below i pasted the last entries i found in mailman/logs/error and i assume it is concerning the problems with subscriptions... can any of you point me in a direction what to do, please? thank you very much! maulwurf Sep 10 22:08:28 2007 (25770) SHUNTING: 1189454907.852814+277712357e7c1be6faec2f3da3c5d5948b5e1fcd Sep 10 22:12:27 2007 admin(26476): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(26476): [----- Mailman Version: 2.1.9 -----] admin(26476): [----- Traceback ------] admin(26476): Traceback (most recent call last): admin(26476): File "/var/lib/mailman/scripts/driver", line 110, in run_main admin(26476): main() admin(26476): File "/usr/lib/mailman/Mailman/Cgi/subscribe.py", line 96, in main admin(26476): process_form(mlist, doc, cgidata, language) admin(26476): File "/usr/lib/mailman/Mailman/Cgi/subscribe.py", line 176, in process_form admin(26476): mlist.AddMember(userdesc, remote) admin(26476): File "/usr/lib/mailman/Mailman/MailList.py", line 874, in AddMember admin(26476): cookie = self.pend_new(Pending.SUBSCRIPTION, userdesc) admin(26476): File "/usr/lib/mailman/Mailman/Pending.py", line 65, in pend_new admin(26476): db = self.__load() admin(26476): File "/usr/lib/mailman/Mailman/Pending.py", line 95, in __load admin(26476): return cPickle.load(fp) admin(26476): EOFError admin(26476): [----- Python Information -----] admin(26476): sys.version = 2.4.4c1 (#2, Oct 11 2006, 21:51:02) [GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] admin(26476): sys.executable = /usr/bin/python admin(26476): sys.prefix = /usr admin(26476): sys.exec_prefix = /usr admin(26476): sys.path = /usr admin(26476): sys.platform = linux2 admin(26476): [----- Environment Variables -----] admin(26476): HTTP_COOKIE: esel-mehl+admin=280200000069545ce546732800000063316532626635363365623630643337336664333638346264366163663330373134396139363036; barbarakraus+admin=2802000000699f6ce5467328000000 admin(26476): SERVER_SOFTWARE: Apache/2.0.55 (Ubuntu) PHP/4.4.2-1.1 mod_ssl/2.0.55 OpenSSL/0.9.8b admin(26476): SCRIPT_NAME: /mailman/subscribe admin(26476): SERVER_SIGNATURE:
Apache/2.0.55 (Ubuntu) PHP/4.4.2-1.1 mod_ssl/2.0.55 OpenSSL/0.9.8b Server at listen.esel.at Port 80
admin(26476): admin(26476): REQUEST_METHOD: POST admin(26476): HTTP_KEEP_ALIVE: 300 admin(26476): SERVER_PROTOCOL: HTTP/1.1 admin(26476): QUERY_STRING: admin(26476): CONTENT_LENGTH: 114 admin(26476): HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7 admin(26476): HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 admin(26476): HTTP_CONNECTION: keep-alive admin(26476): HTTP_REFERER: http://listen.esel.at/mailman/listinfo/liste admin(26476): SERVER_NAME: listen.esel.at admin(26476): REMOTE_ADDR: 80.108.74.152 admin(26476): PATH_TRANSLATED: /usr/lib/cgi-bin/mailman/listinfoliste admin(26476): SERVER_PORT: 80 admin(26476): SERVER_ADDR: 195.177.250.190 admin(26476): DOCUMENT_ROOT: /var/www admin(26476): PYTHONPATH: /var/lib/mailman admin(26476): SCRIPT_FILENAME: /usr/lib/cgi-bin/mailman/subscribe admin(26476): SERVER_ADMIN: esel at esel.at admin(26476): HTTP_HOST: listen.esel.at admin(26476): REQUEST_URI: /mailman/subscribe/liste admin(26476): HTTP_ACCEPT: application/x-shockwave-flash,text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 admin(26476): GATEWAY_INTERFACE: CGI/1.1 admin(26476): REMOTE_PORT: 31324 admin(26476): HTTP_ACCEPT_LANGUAGE: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3 admin(26476): CONTENT_TYPE: application/x-www-form-urlencoded admin(26476): HTTP_ACCEPT_ENCODING: gzip,deflate admin(26476): PATH_INFO: /liste Sep 10 22:14:31 2007 (25770) SHUNTING: 1189455271.1651361+de373724ed67796268be1b225f00d9bc66e37145 Sep 10 22:20:04 2007 (25770) Uncaught runner exception: Sep 10 22:20:04 2007 (25770) Traceback (most recent call last): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop self._onefile(msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Handlers/Moderate.py", line 109, in process Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 224, in hold_for_approval id = mlist.HoldMessage(msg, reason, msgdata) File "/usr/lib/mailman/Mailman/ListAdmin.py", line 189, in HoldMessage self.__opendb() File "/usr/lib/mailman/Mailman/ListAdmin.py", line 86, in __opendb self.__db = cPickle.load(fp) MemoryError Sep 10 22:20:04 2007 (25770) SHUNTING: 1189455603.670738+77fd9aa5b0d71bcaa3542509522b5c46e5f3aaf2 Sep 10 22:20:53 2007 (25770) Uncaught runner exception: Sep 10 22:20:53 2007 (25770) Traceback (most recent call last): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop self._onefile(msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Handlers/Moderate.py", line 109, in process Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 224, in hold_for_approval id = mlist.HoldMessage(msg, reason, msgdata) File "/usr/lib/mailman/Mailman/ListAdmin.py", line 189, in HoldMessage self.__opendb() File "/usr/lib/mailman/Mailman/ListAdmin.py", line 86, in __opendb self.__db = cPickle.load(fp) MemoryError From msapiro at value.net Mon Sep 10 23:55:52 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 10 Sep 2007 14:55:52 -0700 Subject: [Mailman-Users] bug when subscribing via web In-Reply-To: <46E5B090.2030707@esel.at> References: <46E5B090.2030707@esel.at> Message-ID: <46E5BD68.8090704@value.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Maulwurf wrote: > > when users try to subscribe via the list-info-page > http://listen.esel.at/mailman/listinfo/liste > > they get: > "Bug in Mailman version 2.1.9. We're sorry, we hit a bug! (...)" > > The error only occurs when the "subscribe policy" is set to "confirm". > as a workaround i have now changed it to "confirm and approve" > (which i absolutely don?t want - it is an open list!) Are you sure changing to "confirm and approve" avoids the problem. I can see that changing to "approve" might appear to avoid it , but the traceback below indicates the problem is in adding the confirmation to the pending database which is done for both "confirm" and "confirm and approve". > unfortunately i do not know what i could do to re-open subscription to > the list (i am pretty new to adminstrating the server myself - i read an > searched the FAQ, this list?s archives and tried googeling the error,... > to no avail) > > below i pasted the last entries i found in mailman/logs/error > and i assume it is concerning the problems with subscriptions... > > can any of you point me in a direction what to do, please? > thank you very much! You appear to have two problems. See below: > Sep 10 22:08:28 2007 (25770) SHUNTING: > 1189454907.852814+277712357e7c1be6faec2f3da3c5d5948b5e1fcd > Sep 10 22:12:27 2007 admin(26476): > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > admin(26476): [----- Mailman Version: 2.1.9 -----] > admin(26476): [----- Traceback ------] > admin(26476): Traceback (most recent call last): > admin(26476): File "/var/lib/mailman/scripts/driver", line 110, in > run_main > admin(26476): main() > admin(26476): File "/usr/lib/mailman/Mailman/Cgi/subscribe.py", line > 96, in main > admin(26476): process_form(mlist, doc, cgidata, language) > admin(26476): File "/usr/lib/mailman/Mailman/Cgi/subscribe.py", line > 176, in process_form > admin(26476): mlist.AddMember(userdesc, remote) > admin(26476): File "/usr/lib/mailman/Mailman/MailList.py", line 874, > in AddMember > admin(26476): cookie = self.pend_new(Pending.SUBSCRIPTION, userdesc) > admin(26476): File "/usr/lib/mailman/Mailman/Pending.py", line 65, in > pend_new > admin(26476): db = self.__load() > admin(26476): File "/usr/lib/mailman/Mailman/Pending.py", line 95, in > __load > admin(26476): return cPickle.load(fp) > admin(26476): EOFError This traceback is from the submission of the subscribe form (for the liste list) and indicates the lists/liste/Pending.pck file is corrupt. > admin(26476): [----- Python Information -----] > admin(26476): sys.version = 2.4.4c1 (#2, Oct 11 2006, 21:51:02) > [GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] > admin(26476): sys.executable = /usr/bin/python > admin(26476): sys.prefix = /usr > admin(26476): sys.exec_prefix = /usr > admin(26476): sys.path = /usr > admin(26476): sys.platform = linux2 > admin(26476): [----- Environment Variables -----] > admin(26476): HTTP_COOKIE: > esel-mehl+admin=280200000069545ce546732800000063316532626635363365623630643337336664333638346264366163663330373134396139363036; > barbarakraus+admin=2802000000699f6ce5467328000000 > admin(26476): SERVER_SOFTWARE: Apache/2.0.55 (Ubuntu) PHP/4.4.2-1.1 > mod_ssl/2.0.55 OpenSSL/0.9.8b > admin(26476): SCRIPT_NAME: /mailman/subscribe > admin(26476): SERVER_SIGNATURE:
Apache/2.0.55 (Ubuntu) > PHP/4.4.2-1.1 mod_ssl/2.0.55 OpenSSL/0.9.8b Server at listen.esel.at > Port 80
> admin(26476): > admin(26476): REQUEST_METHOD: POST > admin(26476): HTTP_KEEP_ALIVE: 300 > admin(26476): SERVER_PROTOCOL: HTTP/1.1 > admin(26476): QUERY_STRING: > admin(26476): CONTENT_LENGTH: 114 > admin(26476): HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7 > admin(26476): HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT > 6.0; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 > admin(26476): HTTP_CONNECTION: keep-alive > admin(26476): HTTP_REFERER: http://listen.esel.at/mailman/listinfo/liste > admin(26476): SERVER_NAME: listen.esel.at > admin(26476): REMOTE_ADDR: 80.108.74.152 > admin(26476): PATH_TRANSLATED: /usr/lib/cgi-bin/mailman/listinfoliste > admin(26476): SERVER_PORT: 80 > admin(26476): SERVER_ADDR: 195.177.250.190 > admin(26476): DOCUMENT_ROOT: /var/www > admin(26476): PYTHONPATH: /var/lib/mailman > admin(26476): SCRIPT_FILENAME: /usr/lib/cgi-bin/mailman/subscribe > admin(26476): SERVER_ADMIN: esel at esel.at > admin(26476): HTTP_HOST: listen.esel.at > admin(26476): REQUEST_URI: /mailman/subscribe/liste > admin(26476): HTTP_ACCEPT: > application/x-shockwave-flash,text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 > admin(26476): GATEWAY_INTERFACE: CGI/1.1 > admin(26476): REMOTE_PORT: 31324 > admin(26476): HTTP_ACCEPT_LANGUAGE: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3 > admin(26476): CONTENT_TYPE: application/x-www-form-urlencoded > admin(26476): HTTP_ACCEPT_ENCODING: gzip,deflate > admin(26476): PATH_INFO: /liste > > > Sep 10 22:14:31 2007 (25770) SHUNTING: > 1189455271.1651361+de373724ed67796268be1b225f00d9bc66e37145 > Sep 10 22:20:04 2007 (25770) Uncaught runner exception: > Sep 10 22:20:04 2007 (25770) Traceback (most recent call last): > File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop > self._onefile(msg, msgdata) > File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile > keepqueued = self._dispose(mlist, msg, msgdata) > File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in > _dispose > more = self._dopipeline(mlist, msg, msgdata, pipeline) > File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in > _dopipeline > sys.modules[modname].process(mlist, msg, msgdata) > File "/usr/lib/mailman/Mailman/Handlers/Moderate.py", line 109, in > process > Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) > File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 224, in > hold_for_approval > id = mlist.HoldMessage(msg, reason, msgdata) > File "/usr/lib/mailman/Mailman/ListAdmin.py", line 189, in HoldMessage > self.__opendb() > File "/usr/lib/mailman/Mailman/ListAdmin.py", line 86, in __opendb > self.__db = cPickle.load(fp) > MemoryError This traceback is from an attempt to hold an incoming message. Here the attempt to load the lists//request.pck file caused a MemoryError. Probably this file is huge because held messages and other admin requests have not been dealt with. > Sep 10 22:20:04 2007 (25770) SHUNTING: > 1189455603.670738+77fd9aa5b0d71bcaa3542509522b5c46e5f3aaf2 The message that hit the above error was shunted. Examining the qfiles/shunt/1189455603.670738+77fd9aa5b0d71bcaa3542509522b5c46e5f3aaf2.pck file with bin/show_qfiles or bin/dumpdb will tell you what list it was for. > Sep 10 22:20:53 2007 (25770) Uncaught runner exception: > Sep 10 22:20:53 2007 (25770) Traceback (most recent call last): > File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop > self._onefile(msg, msgdata) > File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile > keepqueued = self._dispose(mlist, msg, msgdata) > File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in > _dispose > more = self._dopipeline(mlist, msg, msgdata, pipeline) > File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in > _dopipeline > sys.modules[modname].process(mlist, msg, msgdata) > File "/usr/lib/mailman/Mailman/Handlers/Moderate.py", line 109, in > process > Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) > File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 224, in > hold_for_approval > id = mlist.HoldMessage(msg, reason, msgdata) > File "/usr/lib/mailman/Mailman/ListAdmin.py", line 189, in HoldMessage > self.__opendb() > File "/usr/lib/mailman/Mailman/ListAdmin.py", line 86, in __opendb > self.__db = cPickle.load(fp) > MemoryError Same thing for another message. At this point, you will probably need to remove both the requests.pck and pending.pck files for the offending list(s) and also remove the heldmsg--nnn.pck files from Mailman's data/ directory. This will allow Mailman to create new requests.pck and pending.pck files for the list(s), but all pending requests and successfully held messages will be lost. If the problem is that held messages have not been dealt with, you might consider setting max_days_to_hold on the list's General Options page to some non-zero value. - -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFG5b1nVVuXXpU7hpMRAtnQAKChG3+yxK4bslJrcbadcstGIsmNSwCglHV7 czuKJPGv93TySYP5vd/cCyY= =bAgH -----END PGP SIGNATURE----- From Alan.Sill at ttu.edu Tue Sep 11 00:11:40 2007 From: Alan.Sill at ttu.edu (Alan Sill) Date: Mon, 10 Sep 2007 17:11:40 -0500 Subject: [Mailman-Users] Users not receiving monthly password reminders but do receive messages Message-ID: <7BE75C58-C791-40D0-A350-678DAEA1AEEA@ttu.edu> Our lists do not seem to be sending out monthly password reminders in cases in which they are set to do so. What can I check, adjust or look at to debug this? Thanks. From msapiro at value.net Tue Sep 11 00:28:22 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 10 Sep 2007 15:28:22 -0700 Subject: [Mailman-Users] Users not receiving monthly password reminders butdo receive messages In-Reply-To: <7BE75C58-C791-40D0-A350-678DAEA1AEEA@ttu.edu> Message-ID: Alan Sill wrote: >Our lists do not seem to be sending out monthly password reminders in >cases in which they are set to do so. > >What can I check, adjust or look at to debug this? Check Mailman's crontab to see if it is running Mailman's cron/mailpasswds on the first of each month. You can also run cron/mailpasswds by hand (as a user in the mailman group) to see if that sends the reminders. If so, it isn't being run by cron. If not, the problem is elsewhere, but the attempt should produce some relevant error message. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jhg at jhmg.net Tue Sep 11 05:33:42 2007 From: jhg at jhmg.net (Jim Garrison) Date: Mon, 10 Sep 2007 22:33:42 -0500 Subject: [Mailman-Users] How to clean out pending database? Message-ID: <46E60C96.90606@jhmg.net> I've had a bad address stuck in the pending database for several days, and Mailman keeps trying to send an invitation message every 15 minutes. The address has a mistyped domain and will never be deliverable. Is there a command to remove known bad entries? How long will Mailman keep trying? -- Jim Garrison (jhg at acm.org) PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88 From msapiro at value.net Tue Sep 11 06:08:09 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 10 Sep 2007 21:08:09 -0700 Subject: [Mailman-Users] How to clean out pending database? In-Reply-To: <46E60C96.90606@jhmg.net> Message-ID: Jim Garrison wrote: >I've had a bad address stuck in the pending database for several days, >and Mailman keeps trying to send an invitation message every 15 minutes. >The address has a mistyped domain and will never be deliverable. > >Is there a command to remove known bad entries? > >How long will Mailman keep trying? The problem is not the pending database. The problem is that your outgoing MTA is returning a 'retryable' status to Mailman on Mailman's attempt to send the invitation, so Mailman puts the notice in the retry queue and tries again 15 minutes later. Just delete the entry from qfiles/retry/ -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 11 06:17:59 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 10 Sep 2007 21:17:59 -0700 Subject: [Mailman-Users] How to clean out pending database? In-Reply-To: Message-ID: Mark Sapiro wrote: > >The problem is not the pending database. The problem is that your >outgoing MTA is returning a 'retryable' status to Mailman on Mailman's >attempt to send the invitation, so Mailman puts the notice in the >retry queue and tries again 15 minutes later. And this in turn would indicate that your MTA is doing DNS verification during SMTP from Mailman. If it weren't, it would accept the mail with a bad domain and it would do the retries itself and eventually give up. See for more on this. It is a performance killer for Mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jhg at jhmg.net Tue Sep 11 06:35:17 2007 From: jhg at jhmg.net (Jim Garrison) Date: Mon, 10 Sep 2007 23:35:17 -0500 Subject: [Mailman-Users] How to clean out pending database? In-Reply-To: References: Message-ID: <46E61B05.20709@jhmg.net> Mark Sapiro wrote: > Just delete the entry from qfiles/retry Sorry, I don't know where to look for qfiles/retry. I did a search of my entire system for a directory named qfiles but found nothing. I'm running version 2.1.9. Mark Sapiro wrote: > And this in turn would indicate that your MTA is doing DNS verification > during SMTP from Mailman. If it weren't, it would accept the mail with > a bad domain and it would do the retries itself and eventually give up. > > See > > for more on this. It is a performance killer for Mailman. > www.python.org is rejecting connections right now, but I will read the FAQ entry when it comes back online and change the Postfix config. -- Jim Garrison (jhg at acm.org) PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88 From msapiro at value.net Tue Sep 11 07:33:36 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 10 Sep 2007 22:33:36 -0700 Subject: [Mailman-Users] How to clean out pending database? In-Reply-To: <46E61B05.20709@jhmg.net> Message-ID: Jim Garrison wrote: >Mark Sapiro wrote: >> Just delete the entry from qfiles/retry >Sorry, I don't know where to look for qfiles/retry. I >did a search of my entire system for a directory named >qfiles but found nothing. I'm running version 2.1.9. If your Mailman was installed from source in the default location, it's /usr/local/mailman/qfiles/retry, but it could be anywhere. If you know where Defaults.py and mm_cfg.py are, look in Defaults.py where you should see QUEUE_DIR = os.path.join(VAR_PREFIX, 'qfiles') and before that, VAR_PREFIX = '/some/path' which would put qfiles at /some/path/qfiles. Did you do find / -name qfiles -print ? You could also try ls -l ~mailman -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jhg at jhmg.net Tue Sep 11 07:50:19 2007 From: jhg at jhmg.net (Jim Garrison) Date: Tue, 11 Sep 2007 00:50:19 -0500 Subject: [Mailman-Users] How to clean out pending database? In-Reply-To: References: Message-ID: <46E62C9B.4000004@jhmg.net> Mark Sapiro wrote: [snip] > If your Mailman was installed from source in the default location, it's > /usr/local/mailman/qfiles/retry, but it could be anywhere. If you know > where Defaults.py and mm_cfg.py are, look in Defaults.py where you > should see > > QUEUE_DIR = os.path.join(VAR_PREFIX, 'qfiles') > Ah. That was the key. On a Fedora system with Mailman installed from RPM it's /var/spool/mailman, not 'qfiles' at all. > and before that, > > VAR_PREFIX = '/some/path' > > which would put qfiles at /some/path/qfiles. > > Did you do > > find / -name qfiles -print > Yes, with predictable results since it's not 'qfiles' in Fedora :-) Thanks for the pointers. I disabled DNS rejects in Postfix and the next time Mailman tried to send the invites it got permanent errors and gave up. Again, your help is much appreciated. -- Jim Garrison (jhg at acm.org) PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88 From alfrag at econ.soc.uoc.gr Tue Sep 11 09:06:35 2007 From: alfrag at econ.soc.uoc.gr (Alexandros G. Fragkiadakis) Date: Tue, 11 Sep 2007 10:06:35 +0300 (EEST) Subject: [Mailman-Users] Mailman (?) problem Message-ID: <1238.147.52.239.225.1189494395.squirrel@147.52.239.224> hi all, the last few days i get hundreds of warnings like the following: Transcript of session follows. Out: 220 xxx.xxx.xxx.xx ESMTP Postfix In: ehlo xxx.xxx.xxx.xx Out: 250-xxx.xxx.xxx.xx Out: 250-PIPELINING Out: 250-SIZE 20480000 Out: 250-VRFY Out: 250-ETRN Out: 250-AUTH PLAIN LOGIN Out: 250-AUTH=PLAIN LOGIN Out: 250-ENHANCEDSTATUSCODES Out: 250-8BITMIME Out: 250 DSN In: mail FROM: size=1059 Out: 250 2.1.0 Ok In: rcpt TO: Out: 451 4.3.0 : Temporary lookup failure In: rset Out: 250 2.0.0 Ok In: quit Out: 221 2.0.0 Bye For some reason mailman tries to send email to users like "megan". This user does not even exist. Do you have any ideas what can be wrong? Thanks in advance, Alex -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From alfrag at econ.soc.uoc.gr Tue Sep 11 08:54:16 2007 From: alfrag at econ.soc.uoc.gr (Alexandros G. Fragkiadakis) Date: Tue, 11 Sep 2007 09:54:16 +0300 (EEST) Subject: [Mailman-Users] Mail Delivery System Message-ID: <1149.147.52.239.225.1189493656.squirrel@147.52.239.224> hi all, the last few days i get hundreds of warnings like the following: Transcript of session follows. Out: 220 xxx.xxx.xxx.xx ESMTP Postfix In: ehlo xxx.xxx.xxx.xx Out: 250-xxx.xxx.xxx.xx Out: 250-PIPELINING Out: 250-SIZE 20480000 Out: 250-VRFY Out: 250-ETRN Out: 250-AUTH PLAIN LOGIN Out: 250-AUTH=PLAIN LOGIN Out: 250-ENHANCEDSTATUSCODES Out: 250-8BITMIME Out: 250 DSN In: mail FROM: size=1059 Out: 250 2.1.0 Ok In: rcpt TO: Out: 451 4.3.0 : Temporary lookup failure In: rset Out: 250 2.0.0 Ok In: quit Out: 221 2.0.0 Bye For some reason mailman tries to send email to users like "megan". This user does not even exist. Do you have any ideas what can be wrong? Thanks in advance, Alex -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From wmaina at uonbi.ac.ke Tue Sep 11 15:35:57 2007 From: wmaina at uonbi.ac.ke (Wanjiku Maina) Date: Tue, 11 Sep 2007 16:35:57 +0300 Subject: [Mailman-Users] List creator's (authentication) password Message-ID: <000001c7f478$af7f8010$0e7e8030$@ac.ke> Is there a way that I can allow users to create there own lists on the http://mydomain/mailman/create page without necessarily giving them the List creator's (authentication) password. Where do I get the page http://mydomain/mailman/create Wanjiku Maina ICT Security UoN _________________________________________________________________ Learn a lesson in life each day that you live! Todayis the tomorrow you were worried about was it worth it? From msapiro at value.net Tue Sep 11 17:24:35 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 11 Sep 2007 08:24:35 -0700 Subject: [Mailman-Users] Mail Delivery System In-Reply-To: <1149.147.52.239.225.1189493656.squirrel@147.52.239.224> Message-ID: Alexandros G. Fragkiadakis wrote: > >the last few days i get hundreds of warnings like the following: > >Transcript of session follows. > > Out: 220 xxx.xxx.xxx.xx ESMTP Postfix > In: ehlo xxx.xxx.xxx.xx > Out: 250-xxx.xxx.xxx.xx > Out: 250-PIPELINING > Out: 250-SIZE 20480000 > Out: 250-VRFY > Out: 250-ETRN > Out: 250-AUTH PLAIN LOGIN > Out: 250-AUTH=PLAIN LOGIN > Out: 250-ENHANCEDSTATUSCODES > Out: 250-8BITMIME > Out: 250 DSN > In: mail FROM: size=1059 > Out: 250 2.1.0 Ok > In: rcpt TO: > Out: 451 4.3.0 : Temporary lookup failure > In: rset > Out: 250 2.0.0 Ok > In: quit > Out: 221 2.0.0 Bye > > >For some reason mailman tries to send email to users like "megan". This >user does not even exist. > >Do you have any ideas what can be wrong? First, your MTA appears to be doing DNS verifies during SMTP from Mailman. This is not good. See . When your MTA receives the 'rcpt TO:' and responds with a '451', Mailman queues the message in it's retry queue and retries in 15 minutes. Thus the vast number of attempts to send to 'megan'. The 'megan' address can come from anywhere. It is unlikely to be a list member, but it may be an owner or moderator. Mailman's bin/find-member --owner megan will find an owner or mmember, but not a moderator. More likely, this is a rejection notice in response to a non-member post (undoubtedly spam) to a list. You need to find Mailman's retry queue (normally qfiles/retry, but in FHS compliant RedHat /var/spool/mailman/retry). You can look at the entry/entries with bin/show_qfiles qfiles/retry/* which will show you the contents of the entries. From this, you can then determine the list and whether this is an owner or moderator or just spam and remove the unwanted files from the queue. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 11 17:46:19 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 11 Sep 2007 08:46:19 -0700 Subject: [Mailman-Users] List creator's (authentication) password In-Reply-To: <000001c7f478$af7f8010$0e7e8030$@ac.ke> Message-ID: Wanjiku Maina wrote: >Is there a way that I can allow users to create there own lists on the >http://mydomain/mailman/create page without necessarily giving them the List >creator's (authentication) password. That's exactly what the list creator password is for. It only allows list creation from the create page, nothing else. Perhaps you are confusing the list creator password with the site password. >Where do I get the page >http://mydomain/mailman/create If you are asking where is the code that generates and processes this page, it is Mailman/Cgi/create.py. If you are asking something else, I don't understand. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 11 17:51:38 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 11 Sep 2007 08:51:38 -0700 Subject: [Mailman-Users] How to clean out pending database? In-Reply-To: <46E62C9B.4000004@jhmg.net> Message-ID: Jim Garrison wrote: >Ah. That was the key. On a Fedora system with Mailman installed from >RPM it's /var/spool/mailman, not 'qfiles' at all. You didn't tell me it was RedHat FHS compliant Mailman. See . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From cwaltham at bowdoin.edu Tue Sep 11 17:59:44 2007 From: cwaltham at bowdoin.edu (Chris Waltham) Date: Tue, 11 Sep 2007 11:59:44 -0400 Subject: [Mailman-Users] Off-list sendmail help requested Message-ID: I'm struggling to get a working configuration between mailman 2.1.6 and sendmail 8.13. Most of my problems stem from my seeming inability to correctly configure sendmail to properly understand the virtual hosts it supposed to respond to, as well as what it is and what it's not supposed to masquerade as. Does any kind soul feel like helping me off-list? I would be most gracious. Thanks, Chris From adam.nielsen at uq.edu.au Wed Sep 12 04:48:47 2007 From: adam.nielsen at uq.edu.au (Adam Nielsen) Date: Wed, 12 Sep 2007 12:48:47 +1000 Subject: [Mailman-Users] Bypassing approval when subscribing list members Message-ID: <46E7538F.4050706@uq.edu.au> Hi everyone, I'm setting up some Mailman lists, and I'd like them to be closed lists so that anyone who subscribes will have to wait until a moderator approves them first. However, we'd like e-mail addresses in our own domain to be able to subscribe to the lists without requiring approval, so that only external addresses need approving. Our pre-Mailman system had a web page for subscribing which we'll still be using, so this page will read the address, verify the domain and then pass the request on to Mailman via e-mail (which sits on a different server.) Unfortunately I can't work out how to send an e-mail subscription request to Mailman that bypasses the moderator approval. I tried including an Approved: header in the e-mail to listname-subscribe at host, but it was ignored. Is there any way to allow someone to subscribe others without requiring moderator approval? Or alternatively is there some way you can supply a regular expression for address that do or don't require approval? There is a 'ban list' which could be used to stop external people from subscribing completely, but it would be nice if we could review these individual requests instead of just denying them outright. Thanks, Adam. From msapiro at value.net Wed Sep 12 05:09:50 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 11 Sep 2007 20:09:50 -0700 Subject: [Mailman-Users] Bypassing approval when subscribing list members In-Reply-To: <46E7538F.4050706@uq.edu.au> Message-ID: Adam Nielsen wrote: > >I'm setting up some Mailman lists, and I'd like them to be closed lists >so that anyone who subscribes will have to wait until a moderator >approves them first. > >However, we'd like e-mail addresses in our own domain to be able to >subscribe to the lists without requiring approval, so that only external >addresses need approving. This feature will be available in a future release. In the mean time, the patch is at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From adam.nielsen at uq.edu.au Wed Sep 12 06:15:06 2007 From: adam.nielsen at uq.edu.au (Adam Nielsen) Date: Wed, 12 Sep 2007 14:15:06 +1000 Subject: [Mailman-Users] Bypassing approval when subscribing list members In-Reply-To: References: Message-ID: <46E767CA.5050901@uq.edu.au> Hi Mark, >> However, we'd like e-mail addresses in our own domain to be able to >> subscribe to the lists without requiring approval, so that only external >> addresses need approving. > > This feature will be available in a future release. In the mean time, > the patch is at > . That worked perfectly! Just what I was after - thanks for that. It applied more or less cleanly to 2.1.9, except for a few bugfix lines that had already been fixed. Cheers, Adam. From alfrag at econ.soc.uoc.gr Wed Sep 12 10:19:48 2007 From: alfrag at econ.soc.uoc.gr (Alexandros G. Fragkiadakis) Date: Wed, 12 Sep 2007 11:19:48 +0300 (EEST) Subject: [Mailman-Users] Mail Delivery System In-Reply-To: References: <1149.147.52.239.225.1189493656.squirrel@147.52.239.224> Message-ID: <1898.147.52.239.225.1189585188.squirrel@147.52.239.224> On Tue, September 11, 2007 18:24, Mark Sapiro wrote: > Alexandros G. Fragkiadakis wrote: > >> >> the last few days i get hundreds of warnings like the following: >> >> Transcript of session follows. >> >> >> Out: 220 xxx.xxx.xxx.xx ESMTP Postfix >> In: ehlo xxx.xxx.xxx.xx >> Out: 250-xxx.xxx.xxx.xx >> Out: 250-PIPELINING >> Out: 250-SIZE 20480000 >> Out: 250-VRFY >> Out: 250-ETRN >> Out: 250-AUTH PLAIN LOGIN >> Out: 250-AUTH=PLAIN LOGIN >> Out: 250-ENHANCEDSTATUSCODES >> Out: 250-8BITMIME >> Out: 250 DSN >> In: mail FROM: size=1059 >> Out: 250 2.1.0 Ok >> In: rcpt TO: >> Out: 451 4.3.0 : Temporary lookup failure >> In: rset >> Out: 250 2.0.0 Ok >> In: quit >> Out: 221 2.0.0 Bye >> >> >> >> For some reason mailman tries to send email to users like "megan". This >> user does not even exist. >> >> Do you have any ideas what can be wrong? >> > > > First, your MTA appears to be doing DNS verifies during SMTP from > Mailman. This is not good. See > . > > > When your MTA receives the 'rcpt TO:' and responds with a '451', > Mailman queues the message in it's retry queue and retries in 15 > minutes. Thus the vast number of attempts to send to 'megan'. > > The 'megan' address can come from anywhere. It is unlikely to be a list > member, but it may be an owner or moderator. Mailman's > > bin/find-member --owner megan > > will find an owner or mmember, but not a moderator. > > More likely, this is a rejection notice in response to a non-member > post (undoubtedly spam) to a list. > > You need to find Mailman's retry queue (normally qfiles/retry, but in > FHS compliant RedHat /var/spool/mailman/retry). You can look at the > entry/entries with > > bin/show_qfiles qfiles/retry/* > > which will show you the contents of the entries. From this, you can then > determine the list and whether this is an owner or moderator or just spam > and remove the unwanted files from the queue. > > -- Thanks, it stopped now. Probably a spam caused this. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From ren0r at durato.eu Wed Sep 12 12:31:44 2007 From: ren0r at durato.eu (de ren0r) Date: Wed, 12 Sep 2007 12:31:44 +0200 Subject: [Mailman-Users] Default-Text goodbye_msg Message-ID: <002b01c7f528$1dbbeaa0$7501a8c0@durato.local> hi * i found that option SEND_GOODBYE_MSG in my Defaults.py - But i want to setup the Default-Text, too. How to do that? Greets, ren0r From maulwurf at esel.at Wed Sep 12 13:48:02 2007 From: maulwurf at esel.at (Maulwurf) Date: Wed, 12 Sep 2007 13:48:02 +0200 Subject: [Mailman-Users] urgent: no mail shows up as pending... Message-ID: <46E7D1F2.5020504@esel.at> hi, i tried sending to one of my lists as i only use it for a weekly newsletter i have not been using it for months, now i wanted to re-start my service the list is set to "emergency moderation" - but the message i sent just DOES NOT Show up as pending !!! so i cannot distribute it panic! because if i don?t get it out there all the content (events for today...) will be out-dated. everything is set like in my other mailman-lists and they are working fine... >:e( sorry to bother you with this, but i am quite desperate here in austria (starting to set up a new list and export/import from the old one. ) mailman/logs/error so if anyone reads this - here?s the most recent output in my error logs do they tell anyone of you what is going wrong? Sep 12 13:24:28 2007 (25625) smtp to esel-mehl for 1 recips, completed in 0.114 seconds __post Sep 12 09:56:15 2007 (25625) post to esel-mehl from esel-mehl-bounces at esel.at, size=8726, message-id=, 1 failures Sep 12 10:01:38 2007 (25625) post to safari from rain2 at gmx.at, size=242776, message-id=<20070912063227.10690 at gmx.net>, success Sep 12 10:24:20 2007 (25625) post to esel-mehl from esel-mehl-bounces at esel.at, size=8991, message-id=, 1 failures Sep 12 11:54:27 2007 (25625) post to esel-mehl from esel-mehl-bounces at esel.at, size=10681, message-id=, 1 failures Sep 12 12:08:23 2007 (25625) post to beatboxing from beatboxing-bounces at esel.at, size=7727, message-id=, 1 failures does not seem related (time earlier...) smtp could be related - but here everything seems alright, doesn?t it? __smtp Sep 12 13:08:20 2007 (25625) smtp to esel-mehl for 1 recips, completed in 0.100 seconds Sep 12 13:24:28 2007 (25625) smtp to esel-mehl for 1 recips, completed in 0.114 seconds Sep 12 13:29:20 2007 (25625) smtp to esel-mehl for 1 recips, completed in 0.120 seconds Sep 12 13:32:35 2007 (25625) smtp to esel-mehl for 1 recips, completed in 0.497 seconds Sep 12 13:32:36 2007 (25625) smtp to esel-mehl for 1 recips, completed in 0.065 seconds __smtp-failure Sep 12 13:38:27 2007 (25625) All recipients refused: {'gateway at esel.at': (550, '5.1.1 : Recipient address rejected: User unknown in local recipient table')}, msgid: : Recipient address rejected: User unknown in local recipient table don?t know if one of them is the messages that i have been sending...?! ____these are my latest entries in error they don?t seem to be related with my sending (at 13:00) Sep 12 11:50:49 2007 (1557) Traceback (most recent call last): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop self._onefile(msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Handlers/Moderate.py", line 109, in process Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 224, in hold_for_approval id = mlist.HoldMessage(msg, reason, msgdata) File "/usr/lib/mailman/Mailman/ListAdmin.py", line 189, in HoldMessage self.__opendb() File "/usr/lib/mailman/Mailman/ListAdmin.py", line 86, in __opendb self.__db = cPickle.load(fp) UnpicklingError: invalid load key, 'U'. Sep 12 11:50:49 2007 (1557) SHUNTING: 1189586196.3920839+935d0b4da5eaa35f51fe0714411d6b1d85fd8d38 Sep 12 11:51:12 2007 (1557) Uncaught runner exception: invalid load key, 'U'. Sep 12 11:51:12 2007 (1557) Traceback (most recent call last): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop self._onefile(msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Handlers/Moderate.py", line 109, in process Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 224, in hold_for_approval id = mlist.HoldMessage(msg, reason, msgdata) File "/usr/lib/mailman/Mailman/ListAdmin.py", line 189, in HoldMessage self.__opendb() File "/usr/lib/mailman/Mailman/ListAdmin.py", line 86, in __opendb self.__db = cPickle.load(fp) UnpicklingError: invalid load key, 'U'. Sep 12 11:51:12 2007 (1557) SHUNTING: 1189586661.4319539+36e88053e2801379cee39f0a996c6add06c3b614 Sep 12 11:51:41 2007 (1557) Uncaught runner exception: Sep 12 11:51:41 2007 (1557) Traceback (most recent call last): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop self._onefile(msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Handlers/Moderate.py", line 109, in process Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 224, in hold_for_approval id = mlist.HoldMessage(msg, reason, msgdata) File "/usr/lib/mailman/Mailman/ListAdmin.py", line 189, in HoldMessage self.__opendb() File "/usr/lib/mailman/Mailman/ListAdmin.py", line 86, in __opendb self.__db = cPickle.load(fp) MemoryError Sep 12 11:51:41 2007 (1557) SHUNTING: 1189587288.3827629+80afb8369c24ebc4a91b2f0e631d73b4860be2ad Sep 12 12:44:47 2007 (1557) Uncaught runner exception: invalid load key, 'U'. Sep 12 12:44:47 2007 (1557) Traceback (most recent call last): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop self._onefile(msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Handlers/Moderate.py", line 109, in process Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 224, in hold_for_approval id = mlist.HoldMessage(msg, reason, msgdata) File "/usr/lib/mailman/Mailman/ListAdmin.py", line 189, in HoldMessage self.__opendb() File "/usr/lib/mailman/Mailman/ListAdmin.py", line 86, in __opendb self.__db = cPickle.load(fp) UnpicklingError: invalid load key, 'U'. Sep 12 12:44:49 2007 (1557) SHUNTING: 1189589126.2353981+ab207d7f32be6bd7af9988317103ae636c74e17c Sep 12 12:45:00 2007 (1557) Uncaught runner exception: Sep 12 12:45:00 2007 (1557) Traceback (most recent call last): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop self._onefile(msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Handlers/Moderate.py", line 109, in process Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 224, in hold_for_approval id = mlist.HoldMessage(msg, reason, msgdata) File "/usr/lib/mailman/Mailman/ListAdmin.py", line 189, in HoldMessage self.__opendb() File "/usr/lib/mailman/Mailman/ListAdmin.py", line 86, in __opendb self.__db = cPickle.load(fp) MemoryError Sep 12 12:45:00 2007 (1557) SHUNTING: 1189589342.6301639+c26ce6b7163c2cc5dfeacc835d0cda2c53095ae9 Sep 12 12:46:27 2007 (1557) Uncaught runner exception: Sep 12 12:46:27 2007 (1557) Traceback (most recent call last): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop self._onefile(msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Handlers/Moderate.py", line 109, in process Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 224, in hold_for_approval id = mlist.HoldMessage(msg, reason, msgdata) File "/usr/lib/mailman/Mailman/ListAdmin.py", line 189, in HoldMessage self.__opendb() File "/usr/lib/mailman/Mailman/ListAdmin.py", line 86, in __opendb self.__db = cPickle.load(fp) MemoryError Sep 12 12:46:27 2007 (1557) SHUNTING: 1189590278.8068049+07892b08a79b01e8eef9d8a37544f08fe5720c9e From ostrowb at tblc.org Wed Sep 12 18:41:16 2007 From: ostrowb at tblc.org (Ben Ostrowsky) Date: Wed, 12 Sep 2007 12:41:16 -0400 Subject: [Mailman-Users] Error when subscribing to list Message-ID: <69FDF3BECCCBAB41ABBCD23E23585294049FE060@EXCHANGE.tblc.local> I'm trying to figure out why people can't subscribe to the askref list. It may be a more general problem with other lists, but I've only heard that it's a problem with this one. Since the error was first reported, Red Hat's up2date helpfully installed an rpm version of mailman-2.1.5 on top of our existing 2.1.9 installation, but since then I have removed the rpm, run 'make install' from our already-configured source, and run check_perms -f until it reported no errors. Here's what I get in /var/lib/mailman/logs/error when I try to subscribe myself to the list: Sep 12 12:34:31 2007 admin(16095): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(16095): [----- Mailman Version: 2.1.9 -----] admin(16095): [----- Traceback ------] admin(16095): Traceback (most recent call last): admin(16095): File "/usr/lib/mailman/scripts/driver", line 101, in run_main admin(16095): main() admin(16095): File "/usr/lib/mailman/Mailman/Cgi/subscribe.py", line 97, in main admin(16095): mlist.Save() admin(16095): File "/usr/lib/mailman/Mailman/MailList.py", line 565, in Save admin(16095): self.CheckHTMLArchiveDir() admin(16095): File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 236, in CheckHTMLArchiveDir admin(16095): breaklink(pubdir) admin(16095): File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 56, in breaklink admin(16095): os.unlink(link) admin(16095): OSError: [Errno 21] Is a directory: '/var/lib/mailman/archives/public/askref' admin(16095): [----- Python Information -----] admin(16095): sys.version = 2.3.4 (#1, Jan 9 2007, 16:40:18) [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] admin(16095): sys.executable = /usr/bin/python admin(16095): sys.prefix = /usr admin(16095): sys.exec_prefix = /usr admin(16095): sys.path = /usr admin(16095): sys.platform = linux2 admin(16095): [----- Environment Variables -----] admin(16095): HTTP_COOKIE: __utmz=28244473.1183482814.137.10.utmccn=(referral)|utmcsr=wordpress.com |utmcct=/signup/|utmcmd=referral; __utma=28244473.1334177691.1149792248.1188997686.1189613645.149; __utmb=28244473; __utmc=28244473 admin(16095): SERVER_SOFTWARE: Apache/2.0.52 (Red Hat) admin(16095): SCRIPT_NAME: /mailman/subscribe admin(16095): SERVER_SIGNATURE:
Apache/2.0.52 (Red Hat) Server at lists.tblc.org Port 80
admin(16095): admin(16095): REQUEST_METHOD: POST admin(16095): HTTP_KEEP_ALIVE: 300 admin(16095): SERVER_PROTOCOL: HTTP/1.1 admin(16095): QUERY_STRING: admin(16095): CONTENT_LENGTH: 92 admin(16095): HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7 admin(16095): HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 admin(16095): HTTP_CONNECTION: keep-alive admin(16095): HTTP_REFERER: http://lists.tblc.org/mailman/listinfo/askref admin(16095): SERVER_NAME: lists.tblc.org admin(16095): REMOTE_ADDR: 64.128.136.196 admin(16095): PATH_TRANSLATED: /usr/lib/mailman/cgi-bin/askref admin(16095): SERVER_PORT: 80 admin(16095): SERVER_ADDR: 64.128.136.9 admin(16095): DOCUMENT_ROOT: /usr/lib/mailman/cgi-bin/ admin(16095): PYTHONPATH: /usr/lib/mailman admin(16095): SCRIPT_FILENAME: /usr/lib/mailman/cgi-bin/subscribe admin(16095): SERVER_ADMIN: webmaster at tblc.org admin(16095): HTTP_HOST: lists.tblc.org admin(16095): HTTP_CACHE_CONTROL: max-age=0 admin(16095): REQUEST_URI: /mailman/subscribe/askref admin(16095): HTTP_ACCEPT: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai n;q=0.8,image/png,*/*;q=0.5 admin(16095): GATEWAY_INTERFACE: CGI/1.1 admin(16095): REMOTE_PORT: 3649 admin(16095): HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5 admin(16095): CONTENT_TYPE: application/x-www-form-urlencoded admin(16095): HTTP_ACCEPT_ENCODING: gzip,deflate admin(16095): PATH_INFO: /askref What should I be looking for here? Regards, Ben Ostrowsky From ostrowb at tblc.org Wed Sep 12 19:05:28 2007 From: ostrowb at tblc.org (Ben Ostrowsky) Date: Wed, 12 Sep 2007 13:05:28 -0400 Subject: [Mailman-Users] Error when subscribing to list In-Reply-To: <69FDF3BECCCBAB41ABBCD23E23585294049FE060@EXCHANGE.tblc.local> References: <69FDF3BECCCBAB41ABBCD23E23585294049FE060@EXCHANGE.tblc.local> Message-ID: <69FDF3BECCCBAB41ABBCD23E23585294049FE066@EXCHANGE.tblc.local> Oddly, this seems to happen when I try to get to this list's admin interface, too: Sep 12 13:03:21 2007 admin(16872): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(16872): [----- Mailman Version: 2.1.9 -----] admin(16872): [----- Traceback ------] admin(16872): Traceback (most recent call last): admin(16872): File "/usr/lib/mailman/scripts/driver", line 101, in run_main admin(16872): main() admin(16872): File "/usr/lib/mailman/Mailman/Cgi/admin.py", line 199, in main admin(16872): mlist.Save() admin(16872): File "/usr/lib/mailman/Mailman/MailList.py", line 565, in Save admin(16872): self.CheckHTMLArchiveDir() admin(16872): File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 236, in CheckHTMLArchiveDir admin(16872): breaklink(pubdir) admin(16872): File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 56, in breaklink admin(16872): os.unlink(link) admin(16872): OSError: [Errno 21] Is a directory: '/var/lib/mailman/archives/public/askref' admin(16872): [----- Python Information -----] admin(16872): sys.version = 2.3.4 (#1, Jan 9 2007, 16:40:18) [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] admin(16872): sys.executable = /usr/bin/python admin(16872): sys.prefix = /usr admin(16872): sys.exec_prefix = /usr admin(16872): sys.path = /usr admin(16872): sys.platform = linux2 admin(16872): [----- Environment Variables -----] admin(16872): HTTP_COOKIE: __utmz=28244473.1183482814.137.10.utmccn=(referral)|utmcsr=wordpress.com |utmcct=/signup/|utmcmd=referral; __utma=28244473.1334177691.1149792248.1188997686.1189613645.149; __utmc=28244473 admin(16872): SERVER_SOFTWARE: Apache/2.0.52 (Red Hat) admin(16872): SCRIPT_NAME: /mailman/admin admin(16872): SERVER_SIGNATURE:
Apache/2.0.52 (Red Hat) Server at lists.tblc.org Port 80
admin(16872): admin(16872): REQUEST_METHOD: POST admin(16872): HTTP_KEEP_ALIVE: 300 admin(16872): SERVER_PROTOCOL: HTTP/1.1 admin(16872): QUERY_STRING: admin(16872): CONTENT_LENGTH: 36 admin(16872): HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7 admin(16872): HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 admin(16872): HTTP_CONNECTION: keep-alive admin(16872): HTTP_REFERER: http://lists.tblc.org/mailman/admin/askref admin(16872): SERVER_NAME: lists.tblc.org admin(16872): REMOTE_ADDR: 64.128.136.196 admin(16872): PATH_TRANSLATED: /usr/lib/mailman/cgi-bin/askref admin(16872): SERVER_PORT: 80 admin(16872): SERVER_ADDR: 64.128.136.9 admin(16872): DOCUMENT_ROOT: /usr/lib/mailman/cgi-bin/ admin(16872): PYTHONPATH: /usr/lib/mailman admin(16872): SCRIPT_FILENAME: /usr/lib/mailman/cgi-bin/admin admin(16872): SERVER_ADMIN: webmaster at tblc.org admin(16872): HTTP_HOST: lists.tblc.org admin(16872): HTTP_CACHE_CONTROL: max-age=0 admin(16872): REQUEST_URI: /mailman/admin/askref admin(16872): HTTP_ACCEPT: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai n;q=0.8,image/png,*/*;q=0.5 admin(16872): GATEWAY_INTERFACE: CGI/1.1 admin(16872): REMOTE_PORT: 4017 admin(16872): HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5 admin(16872): CONTENT_TYPE: application/x-www-form-urlencoded admin(16872): HTTP_ACCEPT_ENCODING: gzip,deflate admin(16872): PATH_INFO: /askref And yet I have no problems getting into the admin interface on several other lists I've tried. Ben From brad at shub-internet.org Wed Sep 12 20:24:10 2007 From: brad at shub-internet.org (Brad Knowles) Date: Wed, 12 Sep 2007 13:24:10 -0500 Subject: [Mailman-Users] Error when subscribing to list In-Reply-To: <69FDF3BECCCBAB41ABBCD23E23585294049FE060@EXCHANGE.tblc.local> References: <69FDF3BECCCBAB41ABBCD23E23585294049FE060@EXCHANGE.tblc.local> Message-ID: On 9/12/07, Ben Ostrowsky wrote: > Since the error was first reported, Red Hat's up2date helpfully > installed an rpm version of mailman-2.1.5 on top of our existing 2.1.9 > installation, but since then I have removed the rpm, run 'make install' > from our already-configured source, and run check_perms -f until it > reported no errors. One thing to check is that they didn't install an older version of Python and the various Python libraries, as part of the older installation of Mailman. You need more recent versions of Python and the libraries for later versions of Mailman. > admin(16095): OSError: [Errno 21] Is a directory: > '/var/lib/mailman/archives/public/askref' None of these should be directories. They should be symlinks over to corresponding directories in the .../mailman/archives/private/... directory hierarchy. -- Brad Knowles LinkedIn Profile: From brad at shub-internet.org Wed Sep 12 20:29:25 2007 From: brad at shub-internet.org (Brad Knowles) Date: Wed, 12 Sep 2007 13:29:25 -0500 Subject: [Mailman-Users] urgent: no mail shows up as pending... In-Reply-To: <46E7D1F2.5020504@esel.at> References: <46E7D1F2.5020504@esel.at> Message-ID: On 9/12/07, Maulwurf wrote: > the list is set to "emergency moderation" - but the message i sent just > DOES NOT Show up as pending !!! > so i cannot distribute it Check the logs of your mail server. Make sure that the message actually got to Mailman. Follow the troubleshooting tips in FAQ 4.78 at . > __post > Sep 12 09:56:15 2007 (25625) post to esel-mehl from > esel-mehl-bounces at esel.at, size=8726, > message-id=, 1 failures This could be a problem. You need to look in more depth to see what the problem is here. > __smtp > Sep 12 13:08:20 2007 (25625) > smtp to esel-mehl for > 1 recips, completed in 0.100 seconds This is just one recipient. Don't you have more people on your lists than this? > __smtp-failure > Sep 12 13:38:27 2007 (25625) All recipients refused: {'gateway at esel.at': > (550, '5.1.1 : Recipient address rejected: User unknown > in local recipient table')}, msgid: LinkedIn Profile: From barry at list.org Wed Sep 12 21:50:02 2007 From: barry at list.org (Barry Warsaw) Date: Wed, 12 Sep 2007 15:50:02 -0400 Subject: [Mailman-Users] Change of address Message-ID: <9658E262-93F9-40A0-A769-CFBBDE64D0E5@list.org> For purely administrative purposes, I'm going to start using my barry at list.org address for all Mailman correspondences. My python.org address will continue to work of course. Please update your address books. Thanks, -Barry From anne.ramey at ncmail.net Wed Sep 12 23:44:05 2007 From: anne.ramey at ncmail.net (Anne Ramey) Date: Wed, 12 Sep 2007 17:44:05 -0400 Subject: [Mailman-Users] invites for large user list fails Message-ID: <46E85DA5.7020206@ncmail.net> Is there a known problem with inviting relatively large groups of addresses at once, ex. 6K at a time? I usually just subscribe, so I haven't run into this before, but I have a list owner who gets an error when trying to subscribe a list of 6000 addresses, but I've been breaking it up to smaller groups (<400) and they seem to work fine. But when I get up to 1000+ it fails. If we try to invite the whole list we get: Server error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: admin If you think this is a server error, please contact the webmaster . Error 500 on the screen and: admin(10796): [----- Mailman Version: 2.1.9rc1 -----] admin(10796): [----- Traceback ------] admin(10796): Traceback (most recent call last): admin(10796): File "/usr/local/mailman/scripts/driver", line 101, in run_main admin(10796): main() admin(10796): File "/usr/local/mailman/Mailman/Cgi/confirm.py", line 117, in main admin(10796): subscription_confirm(mlist, doc, cookie, cgidata) admin(10796): File "/usr/local/mailman/Mailman/Cgi/confirm.py", line 350, in subscription_confirm admin(10796): userdesc = mlist.pend_confirm(cookie, expunge=False)[1] admin(10796): TypeError: unsubscriptable object admin(10796): [----- Python Information -----] admin(10796): sys.version = 2.3.4 (#1, Jan 9 2007, 16:40:18) [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] admin(10796): sys.executable = /usr/bin/python admin(10796): sys.prefix = /usr admin(10796): sys.exec_prefix = /usr admin(10796): sys.path = /usr admin(10796): sys.platform = linux2 admin(10796): [----- Environment Variables -----] admin(10796): HTTP_REFERER: http://lists.domain.tld/mailman/confirm/listname/88534c254d1e0e5d4866814e 7a4e3da15d75580a admin(10796): SERVER_SOFTWARE: Apache/2.0.52 (Red Hat) admin(10796): SCRIPT_NAME: /mailman/confirm admin(10796): SERVER_SIGNATURE:
Apache/2.0.52 (Red Hat) Server at lists.domain.tld Port 80
admin(10796): admin(10796): REQUEST_METHOD: POST admin(10796): PATH_INFO: /dma.npi.listserv admin(10796): SERVER_PROTOCOL: HTTP/1.1 admin(10796): QUERY_STRING: admin(10796): CONTENT_LENGTH: 122 admin(10796): HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Inf oPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) admin(10796): HTTP_CONNECTION: Keep-Alive admin(10796): SERVER_NAME: lists.domain.tld admin(10796): REMOTE_ADDR: 11.22.12.123 admin(10796): PATH_TRANSLATED: /var/www/content/listname admin(10796): SERVER_PORT: 80 admin(10796): SERVER_ADDR: 123.22.11.32 admin(10796): DOCUMENT_ROOT: /var/www/content admin(10796): PYTHONPATH: /usr/local/mailman admin(10796): SCRIPT_FILENAME: /usr/local/mailman/cgi-bin/confirm admin(10796): SERVER_ADMIN: admin at domain.tld admin(10796): HTTP_HOST: lists.domain.tld admin(10796): HTTP_CACHE_CONTROL: no-cache admin(10796): REQUEST_URI: /mailman/confirm/dma.npi.listserv admin(10796): HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash , application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, applicatio n/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, */* admin(10796): GATEWAY_INTERFACE: CGI/1.1 admin(10796): REMOTE_PORT: 14506 admin(10796): HTTP_ACCEPT_LANGUAGE: en-us admin(10796): CONTENT_TYPE: application/x-www-form-urlencoded admin(10796): HTTP_ACCEPT_ENCODING: gzip, deflate This error didn't really tell me what was wrong, but I guess I'm just not reading it right. This was the only thing I could find that seemed to be an error: TypeError: unsubscriptable object Does this mean there was just one address on the list that freaked it out? f it is one email address, how do I tell which one? They all look OK to me when I scroll through. Help? Anne From msapiro at value.net Thu Sep 13 02:26:21 2007 From: msapiro at value.net (Mark Sapiro) Date: Wed, 12 Sep 2007 17:26:21 -0700 Subject: [Mailman-Users] invites for large user list fails In-Reply-To: <46E85DA5.7020206@ncmail.net> Message-ID: Anne Ramey wrote: >Is there a known problem with inviting relatively large groups of >addresses at once, ex. 6K at a time? I usually just subscribe, so I >haven't run into this before, but I have a list owner who gets an error >when trying to subscribe a list of 6000 addresses, but I've been >breaking it up to smaller groups (<400) and they seem to work fine. But >when I get up to 1000+ it fails. > >If we try to invite the whole list we get: > > > Server error! > >The server encountered an internal error and was unable to complete your >request. > >Error message: >Premature end of script headers: admin > >If you think this is a server error, please contact the webmaster >. > > > Error 500 > >on the screen and: > >admin(10796): [----- Mailman Version: 2.1.9rc1 -----] >admin(10796): [----- Traceback ------] >admin(10796): Traceback (most recent call last): >admin(10796): File "/usr/local/mailman/scripts/driver", line 101, in >run_main >admin(10796): main() >admin(10796): File "/usr/local/mailman/Mailman/Cgi/confirm.py", line >117, in main >admin(10796): subscription_confirm(mlist, doc, cookie, cgidata) >admin(10796): File "/usr/local/mailman/Mailman/Cgi/confirm.py", line >350, in subscription_confirm >admin(10796): userdesc = mlist.pend_confirm(cookie, expunge=False)[1] >admin(10796): TypeError: unsubscriptable object >admin(10796): [----- Python Information -----] >admin(10796): sys.version = 2.3.4 (#1, Jan 9 2007, 16:40:18) >[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] >admin(10796): sys.executable = /usr/bin/python >admin(10796): sys.prefix = /usr >admin(10796): sys.exec_prefix = /usr >admin(10796): sys.path = /usr >admin(10796): sys.platform = linux2 >admin(10796): [----- Environment Variables -----] >admin(10796): HTTP_REFERER: >http://lists.domain.tld/mailman/confirm/listname/88534c254d1e0e5d4866814e >7a4e3da15d75580a >admin(10796): SERVER_SOFTWARE: Apache/2.0.52 (Red Hat) >admin(10796): SCRIPT_NAME: /mailman/confirm >admin(10796): SERVER_SIGNATURE:
Apache/2.0.52 (Red Hat) >Server at lists.domain.tld Port 80
>admin(10796): >admin(10796): REQUEST_METHOD: POST >admin(10796): PATH_INFO: /dma.npi.listserv >admin(10796): SERVER_PROTOCOL: HTTP/1.1 >admin(10796): QUERY_STRING: >admin(10796): CONTENT_LENGTH: 122 >admin(10796): HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; >Windows NT 5.1; SV1; .NET CLR 1.1.4322; Inf >oPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) >admin(10796): HTTP_CONNECTION: Keep-Alive >admin(10796): SERVER_NAME: lists.domain.tld >admin(10796): REMOTE_ADDR: 11.22.12.123 >admin(10796): PATH_TRANSLATED: /var/www/content/listname >admin(10796): SERVER_PORT: 80 >admin(10796): SERVER_ADDR: 123.22.11.32 >admin(10796): DOCUMENT_ROOT: /var/www/content >admin(10796): PYTHONPATH: /usr/local/mailman >admin(10796): SCRIPT_FILENAME: /usr/local/mailman/cgi-bin/confirm >admin(10796): SERVER_ADMIN: admin at domain.tld >admin(10796): HTTP_HOST: lists.domain.tld >admin(10796): HTTP_CACHE_CONTROL: no-cache >admin(10796): REQUEST_URI: /mailman/confirm/dma.npi.listserv >admin(10796): HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, >image/pjpeg, application/x-shockwave-flash >, application/vnd.ms-excel, application/vnd.ms-powerpoint, >application/msword, application/xaml+xml, applicatio >n/vnd.ms-xpsdocument, application/x-ms-xbap, >application/x-ms-application, */* >admin(10796): GATEWAY_INTERFACE: CGI/1.1 >admin(10796): REMOTE_PORT: 14506 >admin(10796): HTTP_ACCEPT_LANGUAGE: en-us >admin(10796): CONTENT_TYPE: application/x-www-form-urlencoded >admin(10796): HTTP_ACCEPT_ENCODING: gzip, deflate The above traceback is not from the error in inviting. It is from an error that occurred in trying to accept (or possibly not accept) an invitation or some other subscription confirmation. It was generated by the confirm CGI, not the admin CGI. I don't have time to look at it in more detail for a couple of days, but I will. It could be due to some corruption in the list's pending database caused by the invite error. >This error didn't really tell me what was wrong, but I guess I'm just >not reading it right. This was the only thing I could find that seemed >to be an error: >TypeError: unsubscriptable object >Does this mean there was just one address on the list that freaked it >out? f it is one email address, how do I tell which one? They all look >OK to me when I scroll through. I think the 'invite large list' error is the CGI running into an Apache imposed CPU time limit and thus being killed and not given a chance to log any error. You may find more info in the apache error_log. See which has to do with memory limits and MemoryError from Mailman/Python, but in this case, you would be looking for an RLimitCPU directive in your Apache config, not RLimitMEM. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From anne.ramey at ncmail.net Thu Sep 13 15:10:07 2007 From: anne.ramey at ncmail.net (Anne Ramey) Date: Thu, 13 Sep 2007 09:10:07 -0400 Subject: [Mailman-Users] invites for large user list fails In-Reply-To: References: Message-ID: <46E936AF.9000706@ncmail.net> Mark Sapiro wrote: > Anne Ramey wrote: > > >> Is there a known problem with inviting relatively large groups of >> addresses at once, ex. 6K at a time? I usually just subscribe, so I >> haven't run into this before, but I have a list owner who gets an error >> when trying to subscribe a list of 6000 addresses, but I've been >> breaking it up to smaller groups (<400) and they seem to work fine. But >> when I get up to 1000+ it fails. >> >> If we try to invite the whole list we get: >> >> >> Server error! >> >> The server encountered an internal error and was unable to complete your >> request. >> >> Error message: >> Premature end of script headers: admin >> >> If you think this is a server error, please contact the webmaster >> . >> >> >> Error 500 >> >> on the screen and: >> >> admin(10796): [----- Mailman Version: 2.1.9rc1 -----] >> admin(10796): [----- Traceback ------] >> admin(10796): Traceback (most recent call last): >> admin(10796): File "/usr/local/mailman/scripts/driver", line 101, in >> run_main >> admin(10796): main() >> admin(10796): File "/usr/local/mailman/Mailman/Cgi/confirm.py", line >> 117, in main >> admin(10796): subscription_confirm(mlist, doc, cookie, cgidata) >> admin(10796): File "/usr/local/mailman/Mailman/Cgi/confirm.py", line >> 350, in subscription_confirm >> admin(10796): userdesc = mlist.pend_confirm(cookie, expunge=False)[1] >> >> > > > The above traceback is not from the error in inviting. It is from an > error that occurred in trying to accept (or possibly not accept) an > invitation or some other subscription confirmation. It was generated > by the confirm CGI, not the admin CGI. > > I don't have time to look at it in more detail for a couple of days, > but I will. It could be due to some corruption in the list's pending > database caused by the invite error. > > It appears you are correct and there is no log for the error from the admin invite except the "premature end of headers" from apache (see below). > >> This error didn't really tell me what was wrong, but I guess I'm just >> not reading it right. This was the only thing I could find that seemed >> to be an error: >> TypeError: unsubscriptable object >> Does this mean there was just one address on the list that freaked it >> out? f it is one email address, how do I tell which one? They all look >> OK to me when I scroll through. >> > > > I think the 'invite large list' error is the CGI running into an Apache > imposed CPU time limit and thus being killed and not given a chance to > log any error. > > You may find more info in the apache error_log. > > See > > which has to do with memory limits and MemoryError from > Mailman/Python, but in this case, you would be looking for an > RLimitCPU directive in your Apache config, not RLimitMEM. > I see neither RLimitCPU nor RLimitMem in my apache config. The error in my apache log is pretty much just what shows on the screen: [Wed Sep 12 16:17:54 2007] [error] Premature end of script headers: admin, referer: http ://lists.domain.tld/mailman/admin/listname/members/add [Wed Sep 12 16:21:10 2007] [error] Premature end of script headers: confirm, referer: h ttp://lists.domain.tld/mailman/confirm/listname/6aa1c93a87faa005a204269528bab4968eeda7f3 [Wed Sep 12 16:23:05 2007] [error] Premature end of script headers: confirm, referer: h ttp://lists.domain.tld/mailman/confirm/listname/88534c254d1e0e5d4866814e7a4e3da15d75580a [Wed Sep 12 16:34:08 2007] [error] Premature end of script headers: admin, referer: htt p://lists.domain.tld/mailman/admin/listname/members/add [Wed Sep 12 16:37:54 2007] [error] Premature end of script headers: options, referer: ht tp://lists.domain.tld/mailman/options/listname [Wed Sep 12 16:38:28 2007] [error] Premature end of script headers: confirm, referer: ht tp://lists.domain.tld/mailman/confirm/listname/0abdea7d85f4df17e7007b00f86f3901421292aa [Wed Sep 12 16:38:40 2007] [error] Premature end of script headers: confirm, referer: ht tp://lists.domain.tld/mailman/confirm/listname/d1a76914852c2a8a920e1a6836adadb41e36d99e [Wed Sep 12 16:52:35 2007] [error] user 9944 not found: /NCMail/index.html [Wed Sep 12 17:34:16 2007] [error]Premature end of script headers: admin, referer: htt p://lists.domain.tld/mailman/admin/listname/members/add It looks like this list is having problems with both confirms and invites, but not every time. This appears to be the only list (out of several hundred) having this problem. But this is probably only one of a few that is sending out large quantities of invites. Anne From msapiro at value.net Thu Sep 13 16:42:30 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 13 Sep 2007 07:42:30 -0700 Subject: [Mailman-Users] invites for large user list fails In-Reply-To: <46E936AF.9000706@ncmail.net> Message-ID: Anne Ramey wrote: > >I see neither RLimitCPU nor RLimitMem in my apache config. > >The error in my apache log is pretty much just what shows on the screen: > >[Wed Sep 12 16:17:54 2007] [error] Premature end of script headers: >admin, referer: http >://lists.domain.tld/mailman/admin/listname/members/add >[Wed Sep 12 16:21:10 2007] [error] Premature end of script headers: >confirm, referer: h >ttp://lists.domain.tld/mailman/confirm/listname/6aa1c93a87faa005a204269528bab4968eeda7f3 >[Wed Sep 12 16:23:05 2007] [error] Premature end of script headers: >confirm, referer: h >ttp://lists.domain.tld/mailman/confirm/listname/88534c254d1e0e5d4866814e7a4e3da15d75580a >[Wed Sep 12 16:34:08 2007] [error] Premature end of script headers: >admin, referer: htt >p://lists.domain.tld/mailman/admin/listname/members/add >[Wed Sep 12 16:37:54 2007] [error] Premature end of script headers: >options, referer: ht >tp://lists.domain.tld/mailman/options/listname >[Wed Sep 12 16:38:28 2007] [error] Premature end of script headers: >confirm, referer: ht >tp://lists.domain.tld/mailman/confirm/listname/0abdea7d85f4df17e7007b00f86f3901421292aa >[Wed Sep 12 16:38:40 2007] [error] Premature end of script headers: >confirm, referer: ht >tp://lists.domain.tld/mailman/confirm/listname/d1a76914852c2a8a920e1a6836adadb41e36d99e >[Wed Sep 12 16:52:35 2007] [error] user 9944 not found: /NCMail/index.html >[Wed Sep 12 17:34:16 2007] [error]Premature end of script headers: >admin, referer: htt >p://lists.domain.tld/mailman/admin/listname/members/add > >It looks like this list is having problems with both confirms and >invites, but not every time. This appears to be the only list (out of >several hundred) having this problem. But this is probably only one of >a few that is sending out large quantities of invites. I suspect there may be a problem with the pending database for this list. Download (mirrored at ), save it in Mailman's bin/ directory and run it on the offending list and see what happens. It will probably throw the "TypeError: unsubscriptable object" exception. If so, there is at least one bad entry in the pending.pck file. In that case, I can provide a modified script which will delete the bad entries. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Thu Sep 13 16:53:34 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 13 Sep 2007 07:53:34 -0700 Subject: [Mailman-Users] List creator's (authentication) password In-Reply-To: <001801c7f518$50337bc0$f09a7340$@ac.ke> Message-ID: Wanjiku Maina wrote: >Can the list creator password be null? Yes and no. You can set the password to the null string, but the list create script itself only accepts non-null passwords. You could modify the Mailman/Cgi/create.py script itself to just not require a password or to change the "List creator's (authentication) password:" message to something like "List creator's password (enter x):" But is your server accessible from the internet? If so, do you really want to allow anyone in the world to create and administer (and send spam from) lists on your server. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Thu Sep 13 17:16:46 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 13 Sep 2007 08:16:46 -0700 Subject: [Mailman-Users] urgent: no mail shows up as pending... In-Reply-To: <46E7D1F2.5020504@esel.at> Message-ID: Maulwurf wrote: >Sep 12 13:24:28 2007 (25625) > smtp to esel-mehl for >1 recips, completed in 0.114 seconds Above is from smtp log and is successful delivery of a mailman generated notice (the message ID is a mailman generated one). >__post >Sep 12 09:56:15 2007 (25625) post to esel-mehl from >esel-mehl-bounces at esel.at, size=8726, >message-id=, 1 failures >Sep 12 10:01:38 2007 (25625) post to safari from rain2 at gmx.at, >size=242776, message-id=<20070912063227.10690 at gmx.net>, success >Sep 12 10:24:20 2007 (25625) post to esel-mehl from >esel-mehl-bounces at esel.at, size=8991, >message-id=, 1 failures >Sep 12 11:54:27 2007 (25625) post to esel-mehl from >esel-mehl-bounces at esel.at, size=10681, >message-id=, 1 failures >Sep 12 12:08:23 2007 (25625) post to beatboxing from >beatboxing-bounces at esel.at, size=7727, >message-id=, 1 failures > >does not seem related (time earlier...) The failures correspond with messages in the smtp_failure log. >smtp could be related - but here everything seems alright, doesn't it? > >__smtp >Sep 12 13:08:20 2007 (25625) > smtp to esel-mehl for >1 recips, completed in 0.100 seconds >Sep 12 13:24:28 2007 (25625) > smtp to esel-mehl for >1 recips, completed in 0.114 seconds >Sep 12 13:29:20 2007 (25625) > smtp to esel-mehl for >1 recips, completed in 0.120 seconds >Sep 12 13:32:35 2007 (25625) > smtp to esel-mehl for >1 recips, completed in 0.497 seconds >Sep 12 13:32:36 2007 (25625) > smtp to esel-mehl for >1 recips, completed in 0.065 seconds These too are all normal delivery of Mailman generated notices. >__smtp-failure >Sep 12 13:38:27 2007 (25625) All recipients refused: {'gateway at esel.at': >(550, '5.1.1 : Recipient address rejected: User unknown >in local recipient table')}, msgid: Sep 12 13:38:27 2007 (25625) delivery to gateway at esel.at failed with >code 550: 5.1.1 : Recipient address rejected: User >unknown in local recipient table This is a Mailman generated notice to which the outgoing MTA can't deliver. >don't know if one of them is the messages that i have been sending...?! Probably not, but they might be notices of the held message. >____these are my latest entries in error >they don't seem to be related with my sending (at 13:00) > >Sep 12 11:50:49 2007 (1557) Traceback (most recent call last): >File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop >self._onefile(msg, msgdata) >File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile >keepqueued = self._dispose(mlist, msg, msgdata) >File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in >_dispose >more = self._dopipeline(mlist, msg, msgdata, pipeline) >File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in >_dopipeline >sys.modules[modname].process(mlist, msg, msgdata) >File "/usr/lib/mailman/Mailman/Handlers/Moderate.py", line 109, in process >Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) >File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 224, in >hold_for_approval >id = mlist.HoldMessage(msg, reason, msgdata) >File "/usr/lib/mailman/Mailman/ListAdmin.py", line 189, in HoldMessage >self.__opendb() >File "/usr/lib/mailman/Mailman/ListAdmin.py", line 86, in __opendb >self.__db = cPickle.load(fp) >UnpicklingError: invalid load key, 'U'. > >Sep 12 11:50:49 2007 (1557) SHUNTING: >1189586196.3920839+935d0b4da5eaa35f51fe0714411d6b1d85fd8d38 >Sep 12 12:45:00 2007 (1557) Uncaught runner exception: >Sep 12 12:45:00 2007 (1557) Traceback (most recent call last): >File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop >self._onefile(msg, msgdata) >File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile >keepqueued = self._dispose(mlist, msg, msgdata) >File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in >_dispose >more = self._dopipeline(mlist, msg, msgdata, pipeline) >File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in >_dopipeline >sys.modules[modname].process(mlist, msg, msgdata) >File "/usr/lib/mailman/Mailman/Handlers/Moderate.py", line 109, in process >Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) >File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 224, in >hold_for_approval >id = mlist.HoldMessage(msg, reason, msgdata) >File "/usr/lib/mailman/Mailman/ListAdmin.py", line 189, in HoldMessage >self.__opendb() >File "/usr/lib/mailman/Mailman/ListAdmin.py", line 86, in __opendb >self.__db = cPickle.load(fp) >MemoryError > >Sep 12 12:45:00 2007 (1557) SHUNTING: >1189589342.6301639+c26ce6b7163c2cc5dfeacc835d0cda2c53095ae9 It appears that at least one list has a corrupt request.pck file causing the UnpicklingError. The MemoryError might also be due to a corrupt request.pck file. Run bin/show_qfiles on qfiles/shunt/* to see the shunted messages which will tell you what they are and what lists they're for. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From anne.ramey at ncmail.net Thu Sep 13 22:14:16 2007 From: anne.ramey at ncmail.net (Anne Ramey) Date: Thu, 13 Sep 2007 16:14:16 -0400 Subject: [Mailman-Users] invites for large user list fails In-Reply-To: References: Message-ID: <46E99A18.1090106@ncmail.net> Mark Sapiro wrote: > Anne Ramey wrote: > >> I see neither RLimitCPU nor RLimitMem in my apache config. >> >> The error in my apache log is pretty much just what shows on the screen: >> >> [Wed Sep 12 16:17:54 2007] [error] Premature end of script headers: >> admin, referer: http >> ://lists.domain.tld/mailman/admin/listname/members/add >> [Wed Sep 12 16:21:10 2007] [error] Premature end of script headers: >> confirm, referer: h >> ttp://lists.domain.tld/mailman/confirm/listname/6aa1c93a87faa005a204269528bab4968eeda7f3 >> [Wed Sep 12 16:23:05 2007] [error] Premature end of script headers: >> confirm, referer: h >> ttp://lists.domain.tld/mailman/confirm/listname/88534c254d1e0e5d4866814e7a4e3da15d75580a >> [Wed Sep 12 16:34:08 2007] [error] Premature end of script headers: >> admin, referer: htt >> p://lists.domain.tld/mailman/admin/listname/members/add >> [Wed Sep 12 16:37:54 2007] [error] Premature end of script headers: >> options, referer: ht >> tp://lists.domain.tld/mailman/options/listname >> [Wed Sep 12 16:38:28 2007] [error] Premature end of script headers: >> confirm, referer: ht >> tp://lists.domain.tld/mailman/confirm/listname/0abdea7d85f4df17e7007b00f86f3901421292aa >> [Wed Sep 12 16:38:40 2007] [error] Premature end of script headers: >> confirm, referer: ht >> tp://lists.domain.tld/mailman/confirm/listname/d1a76914852c2a8a920e1a6836adadb41e36d99e >> [Wed Sep 12 16:52:35 2007] [error] user 9944 not found: /NCMail/index.html >> [Wed Sep 12 17:34:16 2007] [error]Premature end of script headers: >> admin, referer: htt >> p://lists.domain.tld/mailman/admin/listname/members/add >> >> It looks like this list is having problems with both confirms and >> invites, but not every time. This appears to be the only list (out of >> several hundred) having this problem. But this is probably only one of >> a few that is sending out large quantities of invites. >> > > > I suspect there may be a problem with the pending database for this > list. > > Download > (mirrored at ), > save it in Mailman's bin/ directory and run it on the offending list > and see what happens. It will probably throw the "TypeError: > unsubscriptable object" exception. If so, there is at least one bad > entry in the pending.pck file. In that case, I can provide a modified > script which will delete the bad entries. > > > Thank you very much for the script. It didn't throw any errors that I could see...just a lot of entries that look like this: cookie: 796cc3d566c11147296cd748690a972a364a479c type: S data: I increased this time on my server # Timeout: The number of seconds before receives and sends time out. # Timeout 1000 from 300 to 1000 and managed to enter 1000 invites at once. It did the same thing with 2000. I think you were right about apache terminating the process. Is anyone else running lists that process large #s of invites at once? What should my apache limit be to be effective? Thanks, Anne From dragon at crimson-dragon.com Thu Sep 13 22:40:22 2007 From: dragon at crimson-dragon.com (Dragon) Date: Thu, 13 Sep 2007 13:40:22 -0700 Subject: [Mailman-Users] invites for large user list fails In-Reply-To: <46E99A18.1090106@ncmail.net> References: <46E99A18.1090106@ncmail.net> Message-ID: <200709132040.l8DKdkm7032045@unreal.eroded.org> Anne Ramey sent the message below at 13:14 9/13/2007: >I increased this time on my server ># Timeout: The number of seconds before receives and sends time out. ># >Timeout 1000 >from 300 to 1000 and managed to enter 1000 invites at once. It did the >same thing with 2000. I think you were right about apache terminating >the process. Is anyone else running lists that process large #s of >invites at once? What should my apache limit be to be effective? ---------------- End original message. --------------------- Why not just process it in batches? If a thousand works fine, then do a thousand at a time. Why is it so important to do it in one gulp? Dragon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Venimus, Saltavimus, Bibimus (et naribus canium capti sumus) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From msapiro at value.net Fri Sep 14 04:29:38 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 13 Sep 2007 19:29:38 -0700 Subject: [Mailman-Users] Default-Text goodbye_msg In-Reply-To: <002b01c7f528$1dbbeaa0$7501a8c0@durato.local> Message-ID: de ren0r wrote: > >i found that option SEND_GOODBYE_MSG in my Defaults.py - But i want to setup the Default-Text, too. > >How to do that? Actually, the Defaults.py/mm_cfg.py setting is DEFAULT_SEND_GOODBYE_MSG, not SEND_GOODBYE_MSG. There is no setting for default text for the goodbye_msg. This text has to be set individually for each list. The default is to just send a message with subject 'You have been unsubscribed from the mailing list' (translated to the list's preferred language), and an empty body. If the list has a goodbye_msg, that is used as the message body. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From arthurdouglashatch at hotmail.com Fri Sep 14 06:11:07 2007 From: arthurdouglashatch at hotmail.com (Arthur Hatch) Date: Thu, 13 Sep 2007 21:11:07 -0700 Subject: [Mailman-Users] Mailman version 2.1.9, content filtering action changed?? Message-ID: Hi, I need some help with unexplained behaviour changes to the "Content Filtering" action of a Mailman list, version 2.1.9. The Mailman list is Xxxxxx, and the unexplained behaviour was first noticed with e-mail postings on/after Sept.6/07. The unwelcome changes are that since Sept.6/07, the Content Filtering configuration is "not" stripping any e-mail message attachments; even though "multipart" and "image" content are listed. Multipart/mixed, and multipart/alternative were stripped from e-mail postings before Sept.6/07. Since Sept.6/07, such offending e-mails are now being Content filtered/rejected to the listowner. No multipart, or image attachments are now being removed from the e-mail posting attempts? Xxxxxx list Content Filtering configuration: **** **** Should Mailman filter the content of list traffic according to the settings below? (Edit filter_content) [ ] No [X] Yes Remove message attachments that have a matching content type. (Details for filter_mime_types) image multipart ("trial addition of: multipart/mixed multipart/alternative image/gif image/jpg resulted in the same multipart rejection of posting".) Remove message attachments that don't have a matching content type. Leave this field blank to skip this filter test. (Details for pass_mime_types) [Blank] ("trial addition of: multipart text/plain resulted in the same multipart rejection of posting".) Also, ("trial addition of: text/plain resulted in the same multipart rejection of posting".) Remove message attachments that have a matching filename extension. (Edit filter_filename_extensions) doc pdf exe bat cmd com pif ppt scr vbs cpl dat Also, ("trial removal of: vcf gif gif jpg jpg resulted in the same multipart rejection of posting".) Remove message attachments that don't have a matching filename extension. Leave this field blank to skip this filter test. (Edit pass_filename_extensions) [Blank] Should Mailman collapse multipart/alternative to its first part content? (Edit collapse_alternatives) [ ] No [X] Yes Should Mailman convert text/html parts to plain text? This conversion happens after MIME attachments have been stripped. (Edit convert_html_to_plaintext) [ ] No [X] Yes Action to take when a message matches the content filtering rules. (Details for filter_action) [ ] Discard [ ] Reject [X] Forward to List Owner [ ] Preserve **** **** I wish to re-establish the past, correct content filtering of: multipart/mixed multipart/alternative image/jpg image/gif winmail.dat htm html Since Sept.06/07 There have been 73 postings. There have been 35 multipart rejections/content filtering without stripping. There have been 36 text/plain postings that were accepted (normal). There have been 02 "blank", no message body content postings slip through. Can the missing, listed stripping actions be restored to the Content Filtering configuration? Help and advice appreciated. Thank you, Art _________________________________________________________________ Share More On Messenger with a Windows Live Space http://spaces.live.com/?mkt=en-ca From msapiro at value.net Fri Sep 14 06:48:46 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 13 Sep 2007 21:48:46 -0700 Subject: [Mailman-Users] Mailman version 2.1.9, content filtering action changed?? In-Reply-To: Message-ID: Arthur Hatch wrote: > >I need some help with unexplained behaviour changes to the "Content >Filtering" action of a Mailman list, version 2.1.9. The Mailman list >is Xxxxxx, and the unexplained behaviour was first noticed with e-mail >postings on/after Sept.6/07. And what happened on Sept 6, '07. What changed in your system or your Mailman. >The unwelcome changes are that since Sept.6/07, the Content Filtering >configuration is "not" stripping any e-mail message attachments; even >though "multipart" and "image" content are listed. Multipart/mixed, and >multipart/alternative were stripped from e-mail postings before Sept.6/07. >Since Sept.6/07, such offending e-mails are now being Content >filtered/rejected to the listowner. No multipart, or image attachments >are now being removed from the e-mail posting attempts? Because you has said that no multipart or image content-types should be accepted and that such messages should be forwarded to the listowner, so that's what Mailman is doing. It you restore the content filtering settings to what they were befor Sept 6, Mailman will do what it did before Sept 6. >Xxxxxx list Content Filtering configuration: > >**** >**** > >Should Mailman filter the content of list traffic according to the >settings below? >(Edit filter_content) > >[ ] No [X] Yes > > > >Remove message attachments that have a matching content type. >(Details for filter_mime_types) > >image >multipart ("trial addition of: > multipart/mixed > multipart/alternative > image/gif > image/jpg > resulted in the same multipart rejection of posting".) You are saying remove all content of type multipart/*. Thus anything which is not a single part message of content-type image/* will be filtered to nothing ad forwarded to the list owner per below. >Remove message attachments that don't have a matching content type. >Leave this field blank to skip this filter test. >(Details for pass_mime_types) > > [Blank] ("trial addition of: > multipart > text/plain > resulted in the same multipart rejection of posting".) > > Also, ("trial addition of: > text/plain > resulted in the same multipart rejection of posting".) > > >Remove message attachments that have a matching filename extension. >(Edit filter_filename_extensions) > >doc >pdf >exe >bat >cmd >com >pif >ppt >scr >vbs >cpl >dat Also, ("trial removal of: >vcf gif >gif jpg >jpg resulted in the same multipart rejection of posting".) This is irrelevant, because any multipart messages (i.e. messages with attachments) have already been completely filtered. >Remove message attachments that don't have a matching filename >extension. Leave this field blank to skip this filter test. >(Edit pass_filename_extensions) > >[Blank] > > >Should Mailman collapse multipart/alternative to its first part content? >(Edit collapse_alternatives) > >[ ] No [X] Yes > This is irrelevant because all multipart/alternative parts have already been removed. >Should Mailman convert text/html parts to plain text? >This conversion happens after MIME attachments have been stripped. >(Edit convert_html_to_plaintext) > >[ ] No [X] Yes > > > >Action to take when a message matches the content filtering rules. >(Details for filter_action) > >[ ] Discard [ ] Reject [X] Forward to List Owner [ ] Preserve > >**** >**** > >I wish to re-establish the past, correct content filtering of: >multipart/mixed >multipart/alternative >image/jpg >image/gif > >winmail.dat >htm >html > >Since Sept.06/07 >There have been 73 postings. >There have been 35 multipart rejections/content filtering without >stripping. >There have been 36 text/plain postings that were accepted (normal). >There have been 02 "blank", no message body content postings slip >through. > > >Can the missing, listed stripping actions be restored to the Content >Filtering >configuration? Sure, if you know what the pre Sept 6 settings were. The above does not make clear what you actually want to accept, but I suggest the following settings. filter_content - Yes filter_mime_types - empty You could put 'image' here, but it isn't necessary if you do the next. You don't want multipart because that will allow only single part text/* and possibly single part application/*, etc. if any MUA will create such a message. accept_mime_types - multipart text message/rfc822 This will accept multipart/* and message/rfc822 parts for further examination, but will only accept text/* parts from within those parts. filter_filename_extensions - irrelevant, because no attached files that aren't text/* will make it past accept_mime_types pass_filename_extensions - irrelevant, because no attached files that aren't text/* will make it past accept_mime_types collapse_alternatives - Yes to take the text/plain alternative over the text/html, etc. convert_html_to_plaintext - Yes, to convert a straight (not alternative) text/html part to plain text filter_action - as desired for disposition of original messages which have all their content removed by filtering. Then when you have the settings doing what you want, write them down so the next time some list admin changes them with undesired results, you'll know what to go back to. Alternatively, if you have a pre Sept 6 backup of the list's config.pck file, dump it with Mailman's bin/dumpdb and see what the various content filtering settings were. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Fri Sep 14 06:56:52 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 13 Sep 2007 21:56:52 -0700 Subject: [Mailman-Users] Mailman version 2.1.9, content filtering action changed?? In-Reply-To: Message-ID: Mark Sapiro wrote: >Arthur Hatch wrote: >> >>Remove message attachments that have a matching content type. >>(Details for filter_mime_types) >> >>image >>multipart ("trial addition of: >> multipart/mixed >> multipart/alternative >> image/gif >> image/jpg >> resulted in the same multipart rejection of posting".) > > >You are saying remove all content of type multipart/*. Thus anything >which is not a single part message of content-type image/* will be >filtered to nothing ad forwarded to the list owner per below. Sorry, that should say Thus anything which is not a single part message of content-type other than image/* will be filtered to nothing and the original forwarded to the list owner per below. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From tot at infopaq.dk Fri Sep 14 13:56:23 2007 From: tot at infopaq.dk (Thomas Ravn) Date: Fri, 14 Sep 2007 13:56:23 +0200 Subject: [Mailman-Users] Cannot send subscriptions to some of my lists Message-ID: <5D750988561203468C18A37D1FC0362F03EB58B0@dkcphntex01.infopaq.net> Hi All, I'm kind of new to this and I have a problem that really puzzles me. Our Mailman server hold close to 100 lists and subscriptions are normally made by sending e-mails using -join at mailman.infopaq.dk. All the new lists that has been created are copies of a standard list and have all their settings copied from this list. I have some lists that has been in use for a long time (1-3 years) and some of these won't accept subscription e-mails. E-mails to -join at mailman.infopaq.dk to these lists simply disappear. No pending request show up in the administration interface and the mails don't bounce back. I have checked the settings (several times and also had other people reviewing the settings) against some of the working lists, but I cannot see any difference. Any help or hints would be highly appreciated. Kind regards Thomas Ravn From msapiro at value.net Fri Sep 14 16:28:30 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 14 Sep 2007 07:28:30 -0700 Subject: [Mailman-Users] Cannot send subscriptions to some of my lists In-Reply-To: <5D750988561203468C18A37D1FC0362F03EB58B0@dkcphntex01.infopaq.net> Message-ID: Thomas Ravn wrote: > >I have some lists that has been in use for a long time (1-3 years) and >some of these won't accept subscription e-mails. E-mails to >-join at mailman.infopaq.dk to these lists simply disappear. No >pending request show up in the administration interface and the mails >don't bounce back. I have checked the settings (several times and also >had other people reviewing the settings) against some of the working >lists, but I cannot see any difference. The difference is probably in how the incoming MTA handles that mail. Check the aliases or whatever the MTA uses to deliver to Mailman. Check the MTA's logs to see what it does with this mail. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Fri Sep 14 17:11:20 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 14 Sep 2007 08:11:20 -0700 Subject: [Mailman-Users] Error when subscribing to list In-Reply-To: Message-ID: Brad Knowles wrote: >On 9/12/07, Ben Ostrowsky wrote: > >> admin(16095): OSError: [Errno 21] Is a directory: >> '/var/lib/mailman/archives/public/askref' > >None of these should be directories. They should be symlinks over to >corresponding directories in the .../mailman/archives/private/... >directory hierarchy. This is the whole problem. The list config has been changed from a public to a private archive. This in turn causes Mailman to try to remove the '/var/lib/mailman/archives/public/askref' symlink any time the list is 'saved', but in your case some prior (non-Mailman) copying/moving process has replaced the symlink with copies of the then existing files and directories in '/var/lib/mailman/archives/private/askref' The solution is to simply remove the directory '/var/lib/mailman/archives/public/askref' and also '/var/lib/mailman/archives/public/askref.mbox' if it exists. If the archive is ever made public again, Mailman will create the proper symlinks. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Fri Sep 14 17:44:28 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 14 Sep 2007 08:44:28 -0700 Subject: [Mailman-Users] invites for large user list fails In-Reply-To: Message-ID: Mark Sapiro wrote: >Anne Ramey wrote: > >>admin(10796): [----- Mailman Version: 2.1.9rc1 -----] >>admin(10796): [----- Traceback ------] >>admin(10796): Traceback (most recent call last): >>admin(10796): File "/usr/local/mailman/scripts/driver", line 101, in >>run_main >>admin(10796): main() >>admin(10796): File "/usr/local/mailman/Mailman/Cgi/confirm.py", line >>117, in main >>admin(10796): subscription_confirm(mlist, doc, cookie, cgidata) >>admin(10796): File "/usr/local/mailman/Mailman/Cgi/confirm.py", line >>350, in subscription_confirm >>admin(10796): userdesc = mlist.pend_confirm(cookie, expunge=False)[1] >>admin(10796): TypeError: unsubscriptable object > >The above traceback is not from the error in inviting. It is from an >error that occurred in trying to accept (or possibly not accept) an >invitation or some other subscription confirmation. It was generated >by the confirm CGI, not the admin CGI. > >I don't have time to look at it in more detail for a couple of days, >but I will. It could be due to some corruption in the list's pending >database caused by the invite error. I've looked at the code in confirm.py, and what it does is get the information for the cookie from the pending database, determines it's a subscription confirmation, locks the list and gets the user description information from the pending database. In this case, it successfully retrieved the pending data the first time, but then when it went back with the list locked, the pending data for the cookie was not there. This could happen if the cookie were expired, and another process evicted the expired cookies between the first retrieval and the locking of the list, or if two confirmations (say by email and web) were occurring at the same time with this cookie. In any case, the error seems to be an unlikely coincidence. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Fri Sep 14 18:10:58 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 14 Sep 2007 09:10:58 -0700 Subject: [Mailman-Users] invites for large user list fails In-Reply-To: <46E99A18.1090106@ncmail.net> Message-ID: Anne Ramey wrote: >Thank you very much for the script. It didn't throw any errors that I >could see...just a lot of entries that look like this: >cookie: 796cc3d566c11147296cd748690a972a364a479c > type: S > data: These are the invitations. You would know if it threw an exception becaus it would quit with a traceback. So, the pending.pck database is OK. >I increased this time on my server ># Timeout: The number of seconds before receives and sends time out. ># >Timeout 1000 >from 300 to 1000 and managed to enter 1000 invites at once. It did the >same thing with 2000. I think you were right about apache terminating >the process. Is anyone else running lists that process large #s of >invites at once? What should my apache limit be to be effective? Is this correct? I.e. it was taking 5 minutes before producing the error, and now it can do 1000 invitations in under about 17 minutes, but with 2000, it produces the error after about 17 minutes. Given the size of your pending database (thousands of outstanding invitations), I suppose it could take over 0.5 seconds to process an invitation (includes adding the info to the pending database and queueing the user notice in the virgin queue). As far as a 'reasonable' value for timeout is concerned, I, personally, would be unlikely to wait even 5 minutes for response to a button click from a web page. Is inviting thousands of users at a time to join this list a regular occurrence? One thing that might help is reducing the size of the qfiles/virgin/ directory. Even though it is normally empty, it's size on disk may be quite large. This makes adding new entries a slower process than necessary because the entire disk directory must be searched each time a new entry is added to be sure it doesn't already exist. To reduce the size, stop Mailman just to be sure nothing is lost, verify that qfiles/virgin/ is empty, remove it and recreate it with the same ownership and permissions and start Mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rde at tavi.co.uk Fri Sep 14 17:55:52 2007 From: rde at tavi.co.uk (Bob Eager) Date: Fri, 14 Sep 2007 16:55:52 +0100 Subject: [Mailman-Users] Problem generating aliases file when using Postfix Message-ID: <20070914155551.984FDC137@kipling.tavi.co.uk> I've recently set up Mailman and Postfix to handle a couple of lists. I did hit one problem which I only managed to solve by a small amendment to the Mailman code. It would be nice to know if there's a better way! The scenario is this. Mailman runs on the same server as the main MTA, running Postfix. There are *no* local users on this machine, apart from 'root', which is aliased elsewhere. In particular, the domain under which Mailman runs (let's call it xxx.org.uk) is a Postfix virtual domain, again with no local users. The machine's domain name is different (it handles mail for seven domains). When genaliases is run (either explicitly or otherwise) it generates a virtual aliases file of the form: user1 at xxx.org.uk user1 user2 at xxx.org.uk user2 etc. (this is in data/virtual-mailman). The problem is that the default domain for the RHS on this table is (in Postfix terms) $mydomain, which is *not* xxx.org.uk; it's another virtual domain. Thus there is no local delivery, and the local alias file is never invoked to call up the Mailman components. What this situation needs is for the table entries to look like: user1 at xxx.org.uk user1 at localmachine.my.domain user2 at xxx.org.uk user2 at localmachine.my.domain so that the local aliases file gets used. I fixed this by modifying the POSTFIX module to use an optional email host setting, then put a default (null) for that in Defaults.py, and a setting value in mm_cfg.py. Is there a better way that I've missed? Bob From jlieber at goengineer.com Fri Sep 14 18:49:23 2007 From: jlieber at goengineer.com (John Lieber) Date: Fri, 14 Sep 2007 11:49:23 -0500 Subject: [Mailman-Users] Hello, I am new to this list and need a little help Message-ID: I have two mailman mailing lists on my server, the first one is working great, however the second one is having some problems. When accessing the adminitrative website it is using 'localhost.localdomain.com' for the url. I am not sure where I can go to change this for the second list I have. The first list resolves to my actual domain correctly. I am using mailmain version 2.1.8, if you need any more information please let me know. Thank you in advance, John From msapiro at value.net Fri Sep 14 20:09:52 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 14 Sep 2007 11:09:52 -0700 Subject: [Mailman-Users] Hello, I am new to this list and need a little help In-Reply-To: Message-ID: John Lieber wrote: >When accessing the adminitrative website it is using >'localhost.localdomain.com' for the url. I am not sure where I can go >to change this for the second list I have. The first list resolves to >my actual domain correctly. The list's web_page_url attribute is wrong. See for more information about running fix_url to correct it. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jeffrey at goldmark.org Fri Sep 14 20:46:11 2007 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Fri, 14 Sep 2007 13:46:11 -0500 Subject: [Mailman-Users] Message templates not available to list-admins Message-ID: Hello, One of my list admins (whom I've copied on this message) wanted to know what the default invitation message before sending out an invite. It appears that this information is only available to those who have shell access to the mailman server. (I found it quickly in templates/invite.txt). I suppose that she could have sent a test invitation to herself to an address that wasn't already a list member, but that's hardly the first thing that's going to jump into people's minds. One of the great things about mailman is that it separates out various administrative functions. But in this case, the separation isn't in the right place. Those templates, either directly or in documentation, should be available to list-admins who don't have site admin nor shell access. This isn't a big issue, and I could always simply make the templates directory readable through Apache, but it might be something for the team working on version 3 to consider. Cheers, -j From ashley at pcraft.com Fri Sep 14 22:33:57 2007 From: ashley at pcraft.com (Ashley M. Kirchner) Date: Fri, 14 Sep 2007 14:33:57 -0600 Subject: [Mailman-Users] Where's Korea? (recurring problem) Message-ID: <46EAF035.9030901@pcraft.com> This seems to be a recurring problem, based on a Google search: No module named korean. I'm moving lists from one server running Mailman 2.1.9 to another server. I picked one list domain to move and test, so I grabbed the 'archives', 'data', 'lists', 'logs' and 'qfiles' folders and moved them over to the new server. Paths are all identical. Next I untarred Mailman 2.1.9, run configure and hit make...it ran till it hit the following: Compiling /home/mailman/lists.pcraft.net/Mailman/i18n.py ... Compiling /home/mailman/lists.pcraft.net/Mailman/mm_cfg.py ... Compiling /home/mailman/lists.pcraft.net/Mailman/versions.py ... Traceback (most recent call last): File "bin/update", line 46, in ? import paths File "/home/mailman/lists.pcraft.net/bin/paths.py", line 60, in ? import korean ImportError: No module named korean make: *** [update] Error 1 Looking in /pythonlib/ I only see an 'email' folder, nothing else. The system is running FC5 with Python 2.4.3. -- W | It's not a bug - it's an undocumented feature. +-------------------------------------------------------------------- Ashley M. Kirchner . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A. From msapiro at value.net Sat Sep 15 00:49:58 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 14 Sep 2007 15:49:58 -0700 Subject: [Mailman-Users] Where's Korea? (recurring problem) In-Reply-To: <46EAF035.9030901@pcraft.com> Message-ID: Ashley M. Kirchner wrote: > > I'm moving lists from one server running Mailman 2.1.9 to another >server. I picked one list domain to move and test, so I grabbed the >'archives', 'data', 'lists', 'logs' and 'qfiles' folders and moved them >over to the new server. Paths are all identical. > > Next I untarred Mailman 2.1.9, run configure and hit make...it ran >till it hit the following: > >Compiling /home/mailman/lists.pcraft.net/Mailman/i18n.py ... >Compiling /home/mailman/lists.pcraft.net/Mailman/mm_cfg.py ... >Compiling /home/mailman/lists.pcraft.net/Mailman/versions.py ... >Traceback (most recent call last): > File "bin/update", line 46, in ? > import paths > File "/home/mailman/lists.pcraft.net/bin/paths.py", line 60, in ? > import korean >ImportError: No module named korean >make: *** [update] Error 1 Presumably, this is from make install and not just make > > Looking in /pythonlib/ I only see an 'email' folder, nothing else. What is in the misc/ directory of the untarred distribution. In particular are all of JapaneseCodecs-1.4.11.tar.gz, KoreanCodecs-2.0.5.tar.gz and email-2.5.8.tar.gz there. Note that they must be the *.gz files because that's what the makefile looks for. Does misc/Makefile contain EMAILPKG= email-2.5.8 JACODECSPKG= JapaneseCodecs-1.4.11 KOCODECSPKG= KoreanCodecs-2.0.5 PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG) and install-packages: for p in $(PACKAGES); \ do \ gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \ (cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \ done (allowing for folded lines above)? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From ashley at pcraft.com Sat Sep 15 04:30:50 2007 From: ashley at pcraft.com (Ashley M. Kirchner) Date: Fri, 14 Sep 2007 20:30:50 -0600 Subject: [Mailman-Users] Where's Korea? (recurring problem) In-Reply-To: References: Message-ID: <46EB43DA.5040001@pcraft.com> Mark Sapiro wrote: > Presumably, this is from > > make install > > and not just > > make Sorry, you're correct. > What is in the misc/ directory of the untarred distribution. $> ls -l misc total 1728 drwxr-xr-x 2 mailman mailman 4096 Sep 14 20:28 ./ drwxr-xr-x 14 mailman mailman 4096 Sep 14 20:28 ../ -rw-r--r-- 1 mailman mailman 1139795 Jul 25 2006 email-2.5.8.tar.gz -rw-r--r-- 1 mailman mailman 3049 Dec 7 2000 gnu-head-tiny.jpg -rw-r--r-- 1 mailman mailman 288814 Nov 28 2004 JapaneseCodecs-1.4.11.tar.gz -rw-r--r-- 1 mailman mailman 260762 Dec 29 2003 KoreanCodecs-2.0.5.tar.gz -rw-r--r-- 1 mailman mailman 1696 Aug 26 2005 mailman.in -rw-r--r-- 1 mailman mailman 2022 Dec 7 2000 mailman.jpg -rw-r--r-- 1 mailman mailman 6150 Dec 7 2000 mailman-large.jpg -rw-r--r-- 1 mailman mailman 2838 Jul 25 2006 Makefile.in -rw-r--r-- 1 mailman mailman 281 Feb 1 2002 mm-icon.png -rw-r--r-- 1 mailman mailman 2677 Dec 30 2005 paths.py.in -rw-r--r-- 1 mailman mailman 945 Dec 7 2000 PythonPowered.png -rw-r--r-- 1 mailman mailman 14114 Aug 26 2005 sitelist.cfg > In > particular are all of JapaneseCodecs-1.4.11.tar.gz, > KoreanCodecs-2.0.5.tar.gz and email-2.5.8.tar.gz there. Note that they > must be the *.gz files because that's what the makefile looks for. That's what they show... > Does misc/Makefile contain > > EMAILPKG= email-2.5.8 > JACODECSPKG= JapaneseCodecs-1.4.11 > KOCODECSPKG= KoreanCodecs-2.0.5 > > PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG) EMAILPKG= email-2.5.8 JACODECSPKG= JapaneseCodecs-1.4.11 KOCODECSPKG= KoreanCodecs-2.0.5 PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG) > and > > install-packages: > for p in $(PACKAGES); \ > do \ > gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \ > (cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) > $(PYTHON) $(SETUPCMD)); \ > done install-packages: for p in $(PACKAGES); \ do \ gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \ (cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \ done See anything missing? Now, one thing I have to bring up though. When I hit 'make install', I do get a bazillion errors like these: src/_koco_uhc.h:3007: warning: pointer targets in initialization differ in signedness src/_koco_uhc.h:3007: warning: pointer targets in initialization differ in signedness src/_koco_uhc.h:3007: warning: pointer targets in initialization differ in signedness src/_koco_uhc.h:3007: warning: pointer targets in initialization differ in signedness src/_koco_uhc.h:3007: warning: pointer targets in initialization differ in signedness src/_koco_uhc.h:3008: warning: pointer targets in initialization differ in signedness src/_koco_uhc.h:3008: warning: pointer targets in initialization differ in signedness ...etc., etc... And at one point it fails when working in the misc folder: src/_koco.c:53: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token src/_koco.c:57: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token src/_koco.c: In function ???error_type???: src/_koco.c:82: error: ???NULL??? undeclared (first use in this function) src/_koco.c:82: error: (Each undeclared identifier is reported only once src/_koco.c:82: error: for each function it appears in.) src/_koco.c:82: warning: implicit declaration of function ???strcmp??? src/_koco.c:92: warning: implicit declaration of function ???PyErr_Format??? src/_koco.c:92: error: ???PyExc_ValueError??? undeclared (first use in this function) src/_koco.c: At top level: src/_koco.c:99: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token In file included from src/_koco.c:121: src/euckr_codec.h:29: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token src/euckr_codec.h:100: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token In file included from src/_koco.c:122: src/cp949_codec.h:29: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token src/cp949_codec.h:121: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token In file included from src/_koco.c:123: src/koco_stream.h:32: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token src/koco_stream.h:125: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token src/koco_stream.h:262: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token src/koco_stream.h: In function ???streaminfo_destroy???: src/koco_stream.h:295: warning: implicit declaration of function ???PyMem_Del??? src/koco_stream.h: At top level: src/koco_stream.h:300: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token src/koco_stream.h:352: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token src/koco_stream.h:418: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token src/koco_stream.h:484: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token src/koco_stream.h:549: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???*??? token src/koco_stream.h:569: error: array type has incomplete element type src/koco_stream.h:570: error: ???PyCFunction??? undeclared here (not in a function) src/koco_stream.h:570: error: expected ???}??? before ???StreamReader___init__??? src/koco_stream.h:573: error: expected ???}??? before ???StreamReader_read??? src/koco_stream.h:576: error: expected ???}??? before ???StreamReader_readline??? src/koco_stream.h:579: error: expected ???}??? before ???StreamReader_readlines??? src/koco_stream.h:582: error: expected ???}??? before ???StreamReader_reset??? src/koco_stream.h:585: error: ???NULL??? undeclared here (not in a function) src/_koco.c:129: error: array type has incomplete element type src/_koco.c:130: error: expected ???}??? before ???euc_kr_decode??? src/_koco.c:131: error: expected ???}??? before ???euc_kr_encode??? src/_koco.c:132: error: expected ???}??? before ???cp949_decode??? src/_koco.c:133: error: expected ???}??? before ???cp949_encode??? src/_koco.c: In function ???init_koco???: src/_koco.c:142: error: ???PyObject??? undeclared (first use in this function) src/_koco.c:142: error: ???m??? undeclared (first use in this function) src/_koco.c:142: error: ???d??? undeclared (first use in this function) src/_koco.c:142: warning: left-hand operand of comma expression has no effect src/_koco.c:142: error: ???t??? undeclared (first use in this function) src/_koco.c:142: warning: left-hand operand of comma expression has no effect src/_koco.c:145: warning: implicit declaration of function ???Py_InitModule??? src/_koco.c:148: warning: implicit declaration of function ???PyModule_GetDict??? src/_koco.c:150: warning: implicit declaration of function ???PyClass_New_WithMethods??? src/_koco.c:151: warning: implicit declaration of function ???PyDict_SetItemString??? src/_koco.c:152: warning: implicit declaration of function ???Py_DECREF??? src/_koco.c:154: warning: implicit declaration of function ???PyString_FromString??? src/_koco.c:158: error: ???ErrorObject??? undeclared (first use in this function) src/_koco.c:158: warning: implicit declaration of function ???PyErr_NewException??? src/_koco.c:163: warning: implicit declaration of function ???PyErr_Occurred??? src/_koco.c:164: warning: implicit declaration of function ???Py_FatalError??? error: command 'gcc' failed with exit status 1 make[1]: *** [install-packages] Error 1 make[1]: Leaving directory `/home/mailman/mailman-2.1.9/misc' ...right there. -- H | It's not a bug - it's an undocumented feature. +-------------------------------------------------------------------- Ashley M. Kirchner . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A. From msapiro at value.net Sat Sep 15 06:35:39 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 14 Sep 2007 21:35:39 -0700 Subject: [Mailman-Users] Where's Korea? (recurring problem) In-Reply-To: <46EB43DA.5040001@pcraft.com> References: <46EB43DA.5040001@pcraft.com> Message-ID: <46EB611B.90503@value.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ashley M. Kirchner wrote: > > Now, one thing I have to bring up though. When I hit 'make install', I > do get a bazillion errors like these: > > src/_koco_uhc.h:3007: warning: pointer targets in initialization differ > in signedness > src/_koco_uhc.h:3007: warning: pointer targets in initialization differ > in signedness > src/_koco_uhc.h:3007: warning: pointer targets in initialization differ > in signedness > src/_koco_uhc.h:3007: warning: pointer targets in initialization differ > in signedness > src/_koco_uhc.h:3007: warning: pointer targets in initialization differ > in signedness > src/_koco_uhc.h:3008: warning: pointer targets in initialization differ > in signedness > src/_koco_uhc.h:3008: warning: pointer targets in initialization differ > in signedness > > ...etc., etc... > > And at one point it fails when working in the misc folder: > > src/_koco.c:53: error: expected ?=?, ?,?, ?;?, ?asm? or > ?__attribute__? before ?*? token > src/_koco.c:57: error: expected ?=?, ?,?, ?;?, ?asm? or > ?__attribute__? before ?*? token > src/_koco.c:164: warning: implicit declaration of function > ?Py_FatalError? > error: command 'gcc' failed with exit status 1 > make[1]: *** [install-packages] Error 1 > make[1]: Leaving directory `/home/mailman/mailman-2.1.9/misc' > > ...right there. It looks like the #include "Python.h" near the beginning of _koco.c is failing. Is there a python2.4 directory in /usr/include? Of course, another option is to copy everything but email from the old system's pythonlib and then run Mailman's bin/update which is the only part of 'make install' that didn't complete - -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFG62EbVVuXXpU7hpMRAhuaAJ9aNvEaJZOl1XEekduetRdKkGuSJgCdE0sq VfzQGlt5pe9Pa5qUYoSJTBg= =6067 -----END PGP SIGNATURE----- From ashley at pcraft.com Sat Sep 15 08:54:07 2007 From: ashley at pcraft.com (Ashley M. Kirchner) Date: Sat, 15 Sep 2007 00:54:07 -0600 Subject: [Mailman-Users] Where's Korea? (recurring problem) In-Reply-To: <46EB611B.90503@value.net> References: <46EB43DA.5040001@pcraft.com> <46EB611B.90503@value.net> Message-ID: <46EB818F.9060709@pcraft.com> Mark Sapiro wrote: > It looks like the > > #include "Python.h" > > near the beginning of _koco.c is failing. Is there a python2.4 directory > in /usr/include? > That was it. python-devel was not installed on this machine. Would be nice if the configure script checked for all the necessary header files prior to compiling/installing. It installed now...though the bazillion errors were still there: src/_koco_uhc.h:3008: warning: pointer targets in initialization differ in signedness src/_koco_uhc.h:3008: warning: pointer targets in initialization differ in signedness src/_koco_uhc.h:3008: warning: pointer targets in initialization differ in signedness src/_koco_uhc.h:3008: warning: pointer targets in initialization differ in signedness src/_koco_uhc.h:3008: warning: pointer targets in initialization differ in signedness src/_koco_uhc.h:3008: warning: pointer targets in initialization differ in signedness src/_koco_uhc.h:3009: warning: pointer targets in initialization differ in signedness src/_koco_uhc.h:3009: warning: pointer targets in initialization differ in signedness In file included from src/_koco.c:121: src/euckr_codec.h: In function ???euc_kr_encode???: src/euckr_codec.h:127: warning: format ???%04x??? expects type ???unsigned int???, but argument 3 has type ???Py_UNICODE??? In file included from src/_koco.c:122: src/cp949_codec.h: In function ???cp949_encode???: src/cp949_codec.h:151: warning: format ???%04x??? expects type ???unsigned int???, but argument 3 has type ???Py_UNICODE??? In file included from src/_koco.c:123: src/koco_stream.h: In function ???__euc_kr_decode???: src/koco_stream.h:42: warning: pointer targets in assignment differ in signedness src/koco_stream.h:43: warning: pointer targets in assignment differ in signedness src/koco_stream.h: In function ???__cp949_decode???: src/koco_stream.h:135: warning: pointer targets in assignment differ in signedness src/koco_stream.h:136: warning: pointer targets in assignment differ in signedness -- H | It's not a bug - it's an undocumented feature. +-------------------------------------------------------------------- Ashley M. Kirchner . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A. From Kai-Behncke at gmx.de Sat Sep 15 12:33:09 2007 From: Kai-Behncke at gmx.de (Kai Behncke) Date: Sat, 15 Sep 2007 12:33:09 +0200 Subject: [Mailman-Users] Problem with mailman in combination with sendmail Message-ID: <20070915103309.231920@gmx.net> Dear list, I try to get to run mailman 2.1.9 with sendmail on Debian 4.0. With mailman everything seems to be fine. Well, I can create new lists and get a confirmation of that. Check_perms -f says that everything is all right and in the log-files of mailman are no errors at all. I configured it with: ./configure --prefix=/usr/local/mailman --with-mail-gid=mail --with-cgi-gid=www-data --with-mailhost=h1228898.stratoserver.net --with-urlhost=h1228898.stratoserver.net With: "--with-mail-gid=mail" I am not so very sure. In the manual is written: "On systems using sendmail, the ?sendmail.cf? configuration file designates the group id of sendmail processes using the DefaultUser option." So I watched sendmail.cf and it`s written: "# default UID (can be username or userid:groupid) O DefaultUser=mail:mail" I added the user "mail" with "useradd -g mail -s /bin/false mail" " - so this should be correct? Sendmail I installed with: apt-get install sendmail In /etc/aliases I have the default-mailmanlist and I have: help: "|/usr/local/mailman/mail/mailman post help" help-admin: "|/usr/local/mailman/mail/mailman admin help" help-bounces: "|/usr/local/mailman/mail/mailman bounces help" help-confirm: "|/usr/local/mailman/mail/mailman confirm help" help-join: "|/usr/local/mailman/mail/mailman join help" help-leave: "|/usr/local/mailman/mail/mailman leave help" help-owner: "|/usr/local/mailman/mail/mailman owner help" help-request: "|/usr/local/mailman/mail/mailman request help" help-subscribe: "|/usr/local/mailman/mail/mailman subscribe help" help-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe help" After that I did "newaliases" and got a confirmation of that. In sendmail.cf there is No entry for smrsh, so I should not have that. The problem is still: If I send a mail to the mailinglist it`s not posted to the members of the list. Has anybode experiences with mailman in combination with sendmail? Is there anything that is important to look at? What I don`t understand: If I get a confirmation after creating a mailinglist or after subscribing a user to a list it should mean that sendmail runs correctly? Or not???? Thank you very much, Kai -- Psssst! Schon vom neuen GMX MultiMessenger geh?rt? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger From jaco at kroon.co.za Sat Sep 15 14:20:25 2007 From: jaco at kroon.co.za (Jaco Kroon) Date: Sat, 15 Sep 2007 14:20:25 +0200 Subject: [Mailman-Users] failing qrunner Message-ID: <46EBCE09.2010905@kroon.co.za> Hi guys, We've got a problem with a half-completed delivery run, somehow an address with a ? at the end of the domain managed to get into the list addresses, ie, something like: jaco at kroon.co.za? instead of just jaco at kroon.co.za ... now exim drops the connection when it sees this address, which means that none of the recipients in that run receives the message. Firstly, mailman should not have accepted that address, but this may have been fixed (this is a rather old version, no, I can't upgrade it, nor am I allowed to fix the exim config ... don't even bother asking). What I want to know is how mailman handles the message delivery runs. Afaik each message that needs to go out is stored in some location, along with a list of recipients, so periodically mailman checks which messages needs to go out, and to which recipients, and it then tries to make those deliveries, removing the recipients that it successfully delivers. Is there a manual way to remove the problem-causing email addy from this list for the particular message? We've already removed it from the main list so it won't cause issues in future but it's now holding up the delivery of an already sent message. Jaco From msapiro at value.net Sat Sep 15 18:14:19 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 15 Sep 2007 09:14:19 -0700 Subject: [Mailman-Users] Where's Korea? (recurring problem) In-Reply-To: <46EB818F.9060709@pcraft.com> Message-ID: Ashley M. Kirchner wrote: >Mark Sapiro wrote: >> It looks like the >> >> #include "Python.h" >> >> near the beginning of _koco.c is failing. Is there a python2.4 directory >> in /usr/include? >> > That was it. python-devel was not installed on this machine. Would >be nice if the configure script checked for all the necessary header >files prior to compiling/installing. You're right. I'll look into that. >It installed now...though the >bazillion errors were still there: I don't see these here. Perhaps it's some difference between gcc versions or configurations. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sat Sep 15 18:54:07 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 15 Sep 2007 09:54:07 -0700 Subject: [Mailman-Users] Problem with mailman in combination with sendmail In-Reply-To: <20070915103309.231920@gmx.net> Message-ID: Kai Behncke wrote: > >With: "--with-mail-gid=mail" I am not so very sure. >In the manual is written: "On systems using sendmail, the 'sendmail.cf' configuration file >designates the group id of sendmail processes using the DefaultUser option." > >So I watched sendmail.cf and it`s written: >"# default UID (can be username or userid:groupid) >O DefaultUser=mail:mail" > >I added the user "mail" with "useradd -g mail -s /bin/false mail" >" - so this should be correct? Yes. That all should be correct. >Sendmail I installed with: apt-get install sendmail > > >In /etc/aliases I have the default-mailmanlist and I have: > > >help: "|/usr/local/mailman/mail/mailman post help" >help-admin: "|/usr/local/mailman/mail/mailman admin help" >help-bounces: "|/usr/local/mailman/mail/mailman bounces help" >help-confirm: "|/usr/local/mailman/mail/mailman confirm help" >help-join: "|/usr/local/mailman/mail/mailman join help" >help-leave: "|/usr/local/mailman/mail/mailman leave help" >help-owner: "|/usr/local/mailman/mail/mailman owner help" >help-request: "|/usr/local/mailman/mail/mailman request help" >help-subscribe: "|/usr/local/mailman/mail/mailman subscribe help" >help-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe help" > >After that I did "newaliases" and got a confirmation of that. > >In sendmail.cf there is No entry for smrsh, so I should not have that. > >The problem is still: If I send a mail to the mailinglist it`s not posted to the members of the list. Are you sending to the 'help' mailing list (help at h1228898.stratoserver.net)? >Has anybode experiences with mailman in combination with sendmail? >Is there anything that is important to look at? What happens to the mail to the list. Is it returned as undeliverable? If so, why? Look in sendmail's maillog and see what sendmail did with the mail. >What I don`t understand: If I get a confirmation after creating a mailinglist or after subscribing a user to a list >it should mean that sendmail runs correctly? Or not???? It means that sendmail is accepting mail via an SMTP connection FROM Mailman and delivering it to the recepient addresses. It does not say anything about whether or not sendmail knows how to deliver mail TO Mailman or even if the mail gets to sendmail. Note I just tried to connect to h1228898.stratoserver.net port 25 from two different machines and was unable to connect. This means that at least at this time sendmail is not listening for a port 25 connection from the outside, and thus mail from the outside cannot be delivered to this machine. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sat Sep 15 20:28:34 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 15 Sep 2007 11:28:34 -0700 Subject: [Mailman-Users] failing qrunner In-Reply-To: <46EBCE09.2010905@kroon.co.za> Message-ID: Jaco Kroon wrote: > >What I want to know is how mailman handles the message delivery runs. >Afaik each message that needs to go out is stored in some location, >along with a list of recipients, so periodically mailman checks which >messages needs to go out, and to which recipients, and it then tries to >make those deliveries, removing the recipients that it successfully >delivers. That is correct. Assuming this is at least Mailman 2.1.x, the messages to be sent are placed in Mailman's 'out' queue (normally Mailman's qfiles/out/ directory) and picked up and delivered by OutgoingRunner. If the MTA returns a non-retryable failure for one or more recipients, that is logged in Mailman's smtp-failure log and treated as a bounce for the failed recipients. If the MTA returns a retryable failure for one or more recipients, that is also logged in Mailman's smtp-failure log and the message is queued in the 'retry' queue for delivery to the failed recipients. Every 15 minutes, RetryRunner moves the message from the retry queue back to the out queue. This continues for DELIVERY_RETRY_PERIOD (default 5 days) after which, Mailman gives up on this message. >Is there a manual way to remove the problem-causing email >addy from this list for the particular message? We've already removed >it from the main list so it won't cause issues in future but it's now >holding up the delivery of an already sent message. First find the entry (a long, mostly numeric, name ending in .pck) in qfiles/retry, and move that file aside. Then use Mailman's bin/dumpdb to dump the file. This will output the raw message and the message metadata. The metadata contains a list of 'recips' which is the addresses remaining to be delivered. If you are proficient in Python, you could write a short script to unpickle the message and metadata from the file, remove the bad recipient from recips and repickle the message and metadata. then you could put the file in qfiles/out for delivery. (I'm currently debugging one I just wrote - I'll post a link soon). Alternatively, you could just remail the message outside of mailman to the remaining recipients. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sat Sep 15 21:23:35 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 15 Sep 2007 12:23:35 -0700 Subject: [Mailman-Users] failing qrunner In-Reply-To: Message-ID: Mark Sapiro wrote: > >If you are proficient in Python, you could write a short script to >unpickle the message and metadata from the file, remove the bad >recipient from recips and repickle the message and metadata. then you >could put the file in qfiles/out for delivery. (I'm currently >debugging one I just wrote - I'll post a link soon). The minimally tested script is at and mirrored at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jaco at kroon.co.za Sat Sep 15 22:50:45 2007 From: jaco at kroon.co.za (Jaco Kroon) Date: Sat, 15 Sep 2007 22:50:45 +0200 Subject: [Mailman-Users] failing qrunner In-Reply-To: References: Message-ID: <46EC45A5.4020906@kroon.co.za> Hi, Mark Sapiro wrote: > Jaco Kroon wrote: >> What I want to know is how mailman handles the message delivery runs. >> Afaik each message that needs to go out is stored in some location, >> along with a list of recipients, so periodically mailman checks which >> messages needs to go out, and to which recipients, and it then tries to >> make those deliveries, removing the recipients that it successfully >> delivers. > > That is correct. Awesome. > Assuming this is at least Mailman 2.1.x, the messages to be sent are > placed in Mailman's 'out' queue (normally Mailman's qfiles/out/ > directory) and picked up and delivered by OutgoingRunner. If the MTA > returns a non-retryable failure for one or more recipients, that is > logged in Mailman's smtp-failure log and treated as a bounce for the > failed recipients. I gathered that the queue mechanism is from 2.1.x as I did locate the out/ directory and the .pck files in there for each outbound message. > If the MTA returns a retryable failure for one or more recipients, that > is also logged in Mailman's smtp-failure log and the message is queued > in the 'retry' queue for delivery to the failed recipients. Every 15 > minutes, RetryRunner moves the message from the retry queue back to > the out queue. Ok. That covers the 4xx and 5xx responses to rcpt to:, what happens if the MTA simply closes the connection? What I gathered the smtp conversation had to look like was something like: S: 220 servername ESMTP Exim .... C: helo servername S: 250 servername Hello localhost [127.0.0.1] C: mail from: S: 250 OK C: rcpt to: S: 250 OK C: rcpt to: S: --- force close connection --- Now, the problem here is that you don't really know whether it's a 5xx or a 4xx error code, and it actually looks like the entire run for that message gets interrupted and put to sleep in it's entirety. Thus may have been a bug that got fixed at some point (I don't even know which exact version of mailman I'm working with, but it's at the latest something released around Feb 2007). So at this point it simply wouldn't continue any further, and smtp-failures actually logs the address after the faulty one as the one causing a problem. > This continues for DELIVERY_RETRY_PERIOD (default 5 days) after which, > Mailman gives up on this message. > > >> Is there a manual way to remove the problem-causing email >> addy from this list for the particular message? We've already removed >> it from the main list so it won't cause issues in future but it's now >> holding up the delivery of an already sent message. > > First find the entry (a long, mostly numeric, name ending in .pck) in > qfiles/retry, and move that file aside. Then use Mailman's bin/dumpdb > to dump the file. This will output the raw message and the message > metadata. The metadata contains a list of 'recips' which is the > addresses remaining to be delivered. I saw the dumpdb program, had no idea what it does though. Now I do, and it'll make my life a lot easier next time. Any way to repack the file? > If you are proficient in Python, you could write a short script to > unpickle the message and metadata from the file, remove the bad > recipient from recips and repickle the message and metadata. then you > could put the file in qfiles/out for delivery. (I'm currently > debugging one I just wrote - I'll post a link soon). ... or issue mailmanctl stop, use vim on the file, find the invalid address and without changing the size of the file change the address to an RFC legal address that is bogus, ie, jaco at kroon.co.za? can be changed to jaco at kroon.co.zaa which causes the pickle to not break, and will cause exim to not close the connection ... instead it will bounce back to mailman, harmlessly since this server isn't using VERP. > Alternatively, you could just remail the message outside of mailman to > the remaining recipients. That could have been simpler. Jaco From msapiro at value.net Sun Sep 16 00:30:24 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 15 Sep 2007 15:30:24 -0700 Subject: [Mailman-Users] failing qrunner In-Reply-To: <46EC45A5.4020906@kroon.co.za> Message-ID: Jaco Kroon wrote: > >Mark Sapiro wrote: >> Jaco Kroon wrote: > >Ok. That covers the 4xx and 5xx responses to rcpt to:, what happens if >the MTA simply closes the connection? What I gathered the smtp >conversation had to look like was something like: > >S: 220 servername ESMTP Exim .... >C: helo servername >S: 250 servername Hello localhost [127.0.0.1] >C: mail from: >S: 250 OK >C: rcpt to: >S: 250 OK >C: rcpt to: >S: --- force close connection --- It will be logged in the 'smtp-failure' as a 'Low level smtp error' and in the 'post' log with the number refused. It shouldn't be retried. What's in Mailman's 'smtp', 'smtp-failure' and 'post' logs? >Now, the problem here is that you don't really know whether it's a 5xx >or a 4xx error code, and it actually looks like the entire run for that >message gets interrupted and put to sleep in it's entirety. Thus may >have been a bug that got fixed at some point (I don't even know which >exact version of mailman I'm working with, but it's at the latest >something released around Feb 2007). > >So at this point it simply wouldn't continue any further, and >smtp-failures actually logs the address after the faulty one as the one >causing a problem. It depends on what exception is returned by Python's smtplib. If Exim really just closes the connection, it will be logged in 'post' with a number of failures as well as being logged in 'smtp-failure' as a 'Low level' error and in 'smtp', and each attempted recipient from that transaction (all the ones up to SMTP_MAX_RCPTS (default 500) that were going to be delivered, not just the ones whose rcpt to was not sent) will be logged in 'smtp-failure' as 'code -1: error'. Then the message will be put in the retry queue with the same recips list minus any that were successfully delivered in a prior smtp transaction. What is in the Mailman logs? >> This continues for DELIVERY_RETRY_PERIOD (default 5 days) after which, >> Mailman gives up on this message. >> >> >>> Is there a manual way to remove the problem-causing email >>> addy from this list for the particular message? We've already removed >>> it from the main list so it won't cause issues in future but it's now >>> holding up the delivery of an already sent message. >> >> First find the entry (a long, mostly numeric, name ending in .pck) in >> qfiles/retry, and move that file aside. Then use Mailman's bin/dumpdb >> to dump the file. This will output the raw message and the message >> metadata. The metadata contains a list of 'recips' which is the >> addresses remaining to be delivered. > >I saw the dumpdb program, had no idea what it does though. Now I do, >and it'll make my life a lot easier next time. Any way to repack the file? > >> If you are proficient in Python, you could write a short script to >> unpickle the message and metadata from the file, remove the bad >> recipient from recips and repickle the message and metadata. then you >> could put the file in qfiles/out for delivery. (I'm currently >> debugging one I just wrote - I'll post a link soon). > >... or issue mailmanctl stop, use vim on the file, find the invalid >address and without changing the size of the file change the address to >an RFC legal address that is bogus, ie, jaco at kroon.co.za? can be changed >to jaco at kroon.co.zaa which causes the pickle to not break, and will >cause exim to not close the connection ... instead it will bounce back >to mailman, harmlessly since this server isn't using VERP. Yes, you could do that, but as I posted later in this thread, there is now a script to just delete the bad address at and mirrored at . And, if you really wanted to use vim, there's no need to stop Mailman. Just move the file out of the queue directory, edit it, dump it with bin/dumpdb to verify it can still be unpickled and move it back. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rmharvey at snet.net Sun Sep 16 03:52:07 2007 From: rmharvey at snet.net (Roy Harvey) Date: Sat, 15 Sep 2007 18:52:07 -0700 (PDT) Subject: [Mailman-Users] Approved header problem Message-ID: <579561.96435.qm@web83214.mail.mud.yahoo.com> I've been using Mailman with great success for almost 9 months through EMWD (http://www.emwd.com/mailman.html). Now I have a question that I have been unable to find a match to in the old messages or FAQ. Following the instructions in the FAQ entry 3.11, "How do I create a newsletter/announcement/one-way list?", I have been sending to an announcement list for months by adding the Approved: line at the start of the message text. But sometimes I screw up and past it into the wrong email, and then have to change the password. In an attempt to avoid that mistake I figured out how to make my email program add this as a actual header line. It adds it as the third header line, after the From and To, before the Subject. But Mailman, running version 2.1.9.cp2, rejects it and sends it back as it would if I left the Approved out. Does anyone have any ideas? I see no way in my email program to control the position of the Approved header item in the list. Thanks! Roy Harvey Beacon Falls, CT From msapiro at value.net Sun Sep 16 04:56:27 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 15 Sep 2007 19:56:27 -0700 Subject: [Mailman-Users] Approved header problem In-Reply-To: <579561.96435.qm@web83214.mail.mud.yahoo.com> Message-ID: Roy Harvey wrote: > >But sometimes I screw up and past it into the wrong email, and then >have to change the password. > >In an attempt to avoid that mistake I figured out how to make my >email program add this as a actual header line. It adds it as the >third header line, after the From and To, before the Subject. But >Mailman, running version 2.1.9.cp2, rejects it and sends it back as >it would if I left the Approved out. > >Does anyone have any ideas? I see no way in my email program to >control the position of the Approved header item in the list. First, the order of the headers is not relevant. Mailman will find the Approved: header wherever it is and remove it from any message delivered to the list members. If the Approved: header contains the correct list password without any trailing whitespace, the message will be marked approved. Second, how does this protect you against revealing the password by sending it to the wrong place? You could still add the Approved: header to an email to a non-list address. Third, this is a cPanel Mailman so there could be a cPanel issue involved. See FAQ 6.11 . But, I suspect the issue is trailing whitespace on the Approved: header. I.e., if the password is aBc123, 'Approved: aBc123' will work, as will 'Approve: aBc123' and even 'Approved: aBc123', but 'Approved: aBc123 ' will not. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jrc at clshost.com Sun Sep 16 04:58:38 2007 From: jrc at clshost.com (J.R. Constance) Date: Sat, 15 Sep 2007 20:58:38 -0600 Subject: [Mailman-Users] Umbrella-bounces address? Message-ID: I've been working on setting up and umbrella list that sends to four sub-lists. I have this working well if someone submits an email to the umbrella list and they are subscribed to the sub-lists. However, I have a question about the proper configuration handling a post from someone who is not a member of a sublist . In Mailman FAQ 3.69 there is a section that states: "The second issue is when a member of one sub-list posts to the umbrella, her post is held by the sublists of which she is not a member. There are two ways to deal with this. if the mm_cfg.py option USE_ENVELOPE_SENDER is Yes or True, you can add the umbrella's - bounces address to accept_these_nonmembers of sublists. In any case, you can add the umbrella's -bounces address as a member with delivery disabled and password reminders off to the sublists." I know that this is a stupid question, but what is the umbrella- bounces address for any given list? If my list is List-A at domain.com, what would the -bounces address be? Thanks, J.R. From msapiro at value.net Sun Sep 16 05:49:40 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 15 Sep 2007 20:49:40 -0700 Subject: [Mailman-Users] Umbrella-bounces address? In-Reply-To: Message-ID: J.R. Constance wrote: > >I know that this is a stupid question, but what is the umbrella- >bounces address for any given list? If my list is List-A at domain.com, >what would the -bounces address be? List-A-bounces at domain.com which is the Sender: and envelope sender of mail from the List-A list. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brad at shub-internet.org Sun Sep 16 06:24:00 2007 From: brad at shub-internet.org (Brad Knowles) Date: Sat, 15 Sep 2007 23:24:00 -0500 Subject: [Mailman-Users] failing qrunner In-Reply-To: <46EC45A5.4020906@kroon.co.za> References: <46EC45A5.4020906@kroon.co.za> Message-ID: On 9/15/07, Jaco Kroon wrote: > So at this point it simply wouldn't continue any further, and > smtp-failures actually logs the address after the faulty one as the one > causing a problem. To avoid this problem in the future, try enabling personalization on the list, and using VERP. Then Mailman will make separate delivery attempts for each user, and only the invalid one would fail in the manner you described. The rest should go through normally. This would be a bigger performance hit on the server, but would help make your day-to-day operations more robust. This is especially important since you've said you can't upgrade any of the software, and we know that more recent versions of Mailman have significantly improved their ability to handle failures of various different types and continue trying to deliver everything else. -- Brad Knowles LinkedIn Profile: From michaelmcandrew at gmail.com Sun Sep 16 12:53:42 2007 From: michaelmcandrew at gmail.com (Michael McAndrew) Date: Sun, 16 Sep 2007 11:53:42 +0100 Subject: [Mailman-Users] moderation bit silently turns off on some lists Message-ID: <4b58d51b0709160353x7bf0ba62oc9766b0181b0079a@mail.gmail.com> Hi there, I operate a number of mailing lists. Some of these lists are announce only lists. The annouce only lists work by setting everyone's moderation bit to 1 apart from those that have posting permission. This is done automatically by a script that takes its data from a remote database via a text file that is created when requested. (and yes, I know that's a long winded way of doing things!) But every now and again on some lists (its only happened so far on large lists) all the moderation bits are set to 0 allowing anyone to post. Any ideas why this would be? Below are the script that sets posting permissions [A] and a sample of the text file that inputs into this script [B]. Any ideas why this would happen? As always, many thanks if you can help. PS I don't blame you if you tell me to use a simpler solution. In fact, I agree and I am completley redoing the project getting rid of the manual synching and using default mailman admin interface. But in the mean time it is still a problem that I would be really grateful if someone could help me find a solution to. [A] from Mailman.Errors import NotAMemberError from Mailman import mm_cfg from os.path import isfile whoCanPostListsData = [] if isfile('vawupdate/scripts/vaw_wcp.txt'): whoCanPostListsVAWFile = open('vawupdate/scripts/vaw_wcp.txt', 'r') for line in whoCanPostListsVAWFile: whoCanPostListsData.append(line.strip().split("/")) def wcpupdate(mlist): global whoCanPostListsData if not mlist.Locked(): mlist.Lock() for whoCanPostLine in whoCanPostListsData: if mlist.internal_name()==whoCanPostLine[0]: if whoCanPostLine[2]=='0': mlist.setMemberOption(whoCanPostLine[1].strip(), mm_cfg.Moderate, mm_cfg.No) else: mlist.setMemberOption(whoCanPostLine[1].strip(), mm_cfg.Moderate, mm_cfg.Yes) print whoCanPostLine[1], ' set' mlist.Save() mlist.Unlock() [/A] [B] bme/person1 at example.org/1 bme/person2 at example.org/1 bme/person3 at example.org/1 bme/person4 at example.net/1 bme/person5 at example.net/1 bme/michaelmcandrew at gmail.com/0 [/B] From rmharvey at snet.net Sun Sep 16 14:24:00 2007 From: rmharvey at snet.net (Roy Harvey) Date: Sun, 16 Sep 2007 05:24:00 -0700 (PDT) Subject: [Mailman-Users] Approved header problem In-Reply-To: Message-ID: <504806.41025.qm@web83208.mail.mud.yahoo.com> --- Mark Sapiro wrote: > First, the order of the headers is not relevant. Mailman will find > the > Approved: header wherever it is and remove it from any message > delivered to the list members. If the Approved: header contains the > correct list password without any trailing whitespace, the message > will be marked approved. The idea of position among the header lines did not seem like it should matter. Thanks for the confirmation. > Second, how does this protect you against revealing the password by > sending it to the wrong place? You could still add the Approved: > header to an email to a non-list address. My email program, Agent, provides a way to associate specific personas with specific destination addresses. I created a new persona just for this broadcast list. The special header line is associated with the persona. As long as I don't link the persona with any other target address I should be fine. > Third, this is a cPanel Mailman so there could be a cPanel issue > involved. See FAQ 6.11 > . When I started the list I read up on Mailman, but cPanel is new to me. Thanks for the pointer, I will look into that angle. > But, I suspect the issue is trailing whitespace on the Approved: > header. I.e., if the password is aBc123, 'Approved: > aBc123' > will work, as will 'Approve: aBc123' and even 'Approved: > aBc123', > but 'Approved: aBc123 ' will not. When I view the outgoing message in my Sent folder, and show all header fields, I am not seeing any trailing blank. When I edit the item in my email program where the password is entered there is no trailing blank. Which is not to say that there isn't one when it is sent, just that I can't see one. I will try saving the password again, perhaps that will do it. Thanks for your help. Roy Harvey Beacon Falls, CT From pb0q at andrew.cmu.edu Sun Sep 16 15:26:10 2007 From: pb0q at andrew.cmu.edu (Pete Bronder) Date: Sun, 16 Sep 2007 09:26:10 -0400 Subject: [Mailman-Users] Trouble adding new users Message-ID: <46ED2EF2.9040205@andrew.cmu.edu> I am having problems adding new members. It is something that I've done successfully many times in the past. The new addresses show up on the list through the administrative interface however the new people that are added do not receive any messages. I compared the profiles of members who are working correctly against those members who are not receiving messages and could not find any problems. I also checked the FAQs and did not see where this problem might have been addressed. Do you have any explanation or pointers for what else to try? Could this be a problem with the server? If so, what can I ask the service who runs the server to look at? This is the list.. http://seven.pairlist.net/mailman/listinfo/troop It is for our Boy Scout Troop and I am one of the administrators. Any help would be greatly appreciated. Thanks, Pete From msapiro at value.net Sun Sep 16 18:04:49 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 16 Sep 2007 09:04:49 -0700 Subject: [Mailman-Users] Approved header problem In-Reply-To: <504806.41025.qm@web83208.mail.mud.yahoo.com> Message-ID: Roy Harvey wrote: >--- Mark Sapiro wrote: > >> Second, how does this protect you against revealing the password by >> sending it to the wrong place? You could still add the Approved: >> header to an email to a non-list address. > >My email program, Agent, provides a way to associate specific >personas with specific destination addresses. I created a new >persona just for this broadcast list. The special header line is >associated with the persona. As long as I don't link the persona >with any other target address I should be fine. As long as you don't Cc: or Bcc: anyone other than the list with this persona. >When I view the outgoing message in my Sent folder, and show all >header fields, I am not seeing any trailing blank. When I edit the >item in my email program where the password is entered there is no >trailing blank. Which is not to say that there isn't one when it is >sent, just that I can't see one. > >I will try saving the password again, perhaps that will do it. If not, try sending the message to the list with a Bcc: to yourself. Then, if possible, examine the raw message received via Bcc:. It may not be sufficient to look at it in Agent, unless Agent can show you the raw message as received. You may be able to save it to a file from Agent and examine that with an editor, or possibly view Agent's mail folder with an editor. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sun Sep 16 18:27:57 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 16 Sep 2007 09:27:57 -0700 Subject: [Mailman-Users] Trouble adding new users In-Reply-To: <46ED2EF2.9040205@andrew.cmu.edu> Message-ID: Pete Bronder wrote: >I am having problems adding new members. It is something that I've done >successfully many times in the past. The new addresses show up on the >list through the administrative interface however the new people that >are added do not receive any messages. I compared the profiles of >members who are working correctly against those members who are not >receiving messages and could not find any problems. I also checked the >FAQs and did not see where this problem might have been addressed. Look at the new members in the admin Membership List. Are the 'nomail' and 'digest' columns both unchecked? If 'nomail' is checked, it was set either by [A]dmin, [B]ounce, or the [U]ser. You can uncheck it and Submit Your Changes. Normally, it would not be initially checked for a new user, but might by set by bounce after some time if the user is bouncing. Even if nomail is unchecked, you can click the user's address to go to the user's options page where there will be a not near the top if the user has a non zero bounce score. Also, you should make sure that bounce_processing and all the notifications on the Bounce processing admin page are set to Yes. If digest is checked, the member is receiving digest's and perhaps none have been sent. If this is the case, and you don't want members to be digested by default, make sure that digest_is_default on Digest options is set to Regular. If you want all members to be non-digest, set digestable to No. If it's OK for a member to receive digests, but they aren't being sent, make sure that digest_size_threshhold is not too large and/or digest_send_periodic is set to Yes. >Do you have any explanation or pointers for what else to try? Could >this be a problem with the server? If so, what can I ask the service >who runs the server to look at? If the above suggestions don't lead to a solution, The problem is in mail delivery outside of Mailman. The server admin's will need to look at Mailman's 'post', 'smtp', 'smtp-failure' and 'bounce' logs and the logs of the outgoing MTA to get more information, but even that may not reveal anything if the recipient's ISP(s) are just discarding the messages. BTW, have the new members checked their 'bulk' or 'spam' folders for the messages? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sun Sep 16 18:59:36 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 16 Sep 2007 09:59:36 -0700 Subject: [Mailman-Users] moderation bit silently turns off on some lists In-Reply-To: <4b58d51b0709160353x7bf0ba62oc9766b0181b0079a@mail.gmail.com> Message-ID: Michael McAndrew wrote: > >I operate a number of mailing lists. Some of these lists are announce only >lists. The annouce only lists work by setting everyone's moderation bit to >1 apart from those that have posting permission. This is done >automatically by a script that takes its data from a remote database via a >text file that is created when requested. (and yes, I know that's a long >winded way of doing things!) > >But every now and again on some lists (its only happened so far on large >lists) all the moderation bits are set to 0 allowing anyone to post. Any >ideas why this would be? Someone could log on to the admin interface and set everyone off using the button under Additional Member Tasks on the Membership List page. Some script could do it. I know of no way Mailman would do it automatically. >Below are the script that sets posting permissions [A] and a sample of the >text file that inputs into this script [B]. Presumably this is a withlist script. I would make the following change, but it may not help: @@ -1,3 +1,4 @@ +import sys from Mailman.Errors import NotAMemberError from Mailman import mm_cfg from os.path import isfile @@ -7,7 +8,11 @@ if isfile('vawupdate/scripts/vaw_wcp.txt'): whoCanPostListsVAWFile = open('vawupdate/scripts/vaw_wcp.txt', 'r') for line in whoCanPostListsVAWFile: - whoCanPostListsData.append(line.strip().split("/")) + entry = line.strip().split("/") + if len(entry) <> 3 or entry[2] not in ('0', '1'): + print >> sys.stderr, 'Skipping invalid entry: %s' % str(entry) + continue + whoCanPostListsData.append(entry) def wcpupdate(mlist): global whoCanPostListsData As far as recommendations for a different way, I would set Privacy options...->Sender filters->default_member_moderation to Yes if it isn't already. Then I would set everyone to Moderated using the button under Additional Member Tasks on the Membership List page. At this point all members are moderated and all new members will be moderated by default. Then I would have the authorized posters post using an Approved: header with the list's moderator password, but if you wish to have them be unmoderated, just unmoderate them manually via the admin interface. Unless the authorized posters change frequently, this should not be too burdensome. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sun Sep 16 19:40:27 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 16 Sep 2007 10:40:27 -0700 Subject: [Mailman-Users] moderation bit silently turns off on some lists In-Reply-To: Message-ID: Mark Sapiro wrote: > >Presumably this is a withlist script. I would make the following >change, but it may not help: > >@@ -1,3 +1,4 @@ >+import sys > from Mailman.Errors import NotAMemberError > from Mailman import mm_cfg > from os.path import isfile >@@ -7,7 +8,11 @@ > if isfile('vawupdate/scripts/vaw_wcp.txt'): > whoCanPostListsVAWFile = open('vawupdate/scripts/vaw_wcp.txt', 'r') > for line in whoCanPostListsVAWFile: >- whoCanPostListsData.append(line.strip().split("/")) >+ entry = line.strip().split("/") >+ if len(entry) <> 3 or entry[2] not in ('0', '1'): >+ print >> sys.stderr, 'Skipping invalid entry: %s' % str(entry) >+ continue >+ whoCanPostListsData.append(entry) > > def wcpupdate(mlist): > global whoCanPostListsData Looking more closely, I would do the following (I was initially thrown off by the import of NotAMemberError - I didn't notice you didn't use it) @@ -1,3 +1,4 @@ +import sys from Mailman.Errors import NotAMemberError from Mailman import mm_cfg from os.path import isfile @@ -7,7 +8,11 @@ if isfile('vawupdate/scripts/vaw_wcp.txt'): whoCanPostListsVAWFile = open('vawupdate/scripts/vaw_wcp.txt', 'r') for line in whoCanPostListsVAWFile: - whoCanPostListsData.append(line.strip().split("/")) + entry = line.strip().split("/") + if len(entry) <> 3 or entry[2] not in ('0', '1'): + print >> sys.stderr, 'Skipping invalid entry: %s' % str(entry) + continue + whoCanPostListsData.append(entry) def wcpupdate(mlist): global whoCanPostListsData @@ -15,10 +20,16 @@ mlist.Lock() for whoCanPostLine in whoCanPostListsData: if mlist.internal_name()==whoCanPostLine[0]: - if whoCanPostLine[2]=='0': - mlist.setMemberOption(whoCanPostLine[1].strip(), mm_cfg.Moderate, mm_cfg.No) - else: - mlist.setMemberOption(whoCanPostLine[1].strip(), mm_cfg.Moderate, mm_cfg.Yes) - print whoCanPostLine[1], ' set' + try: + if whoCanPostLine[2]=='0': + mlist.setMemberOption(whoCanPostLine[1].strip(), + mm_cfg.Moderate, mm_cfg.No) + else: + mlist.setMemberOption(whoCanPostLine[1].strip(), + mm_cfg.Moderate, mm_cfg.Yes) + print whoCanPostLine[1], ' set' + except NotAMemberError: + print >> sys.stderr, '%s: not in %s' % (whoCanPostLine[1], + whoCanPostLine[0]) mlist.Save() mlist.Unlock() -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rustyw007 at yahoo.com Mon Sep 17 15:08:36 2007 From: rustyw007 at yahoo.com (Rusty Wilson) Date: Mon, 17 Sep 2007 06:08:36 -0700 (PDT) Subject: [Mailman-Users] Where do I find mailman log file analysis tools Message-ID: <547569.92915.qm@web84106.mail.mud.yahoo.com> Hi all, I'm trying to find a good (or even usable) mailman log file analyzer - but I'm not having any luck. In my searching through the FAQ, the list archives, and sf.net I found references to: 1. sawmill (www.sawmill.net) 2. lire (www.logreport.org) 3. references to custom scripts (but could not find them) My needs are pretty simple, so before I set off and write my own scripts, I thought I would check here first. Right now - all I really need is something that will parse the "subscribe" log file so that I can report on things like: 1. how many people subscribed in a given time frame (week, month, ad-hoc) 2. how many people un-subscribed in a given time frame 3. how many people are "pending" 4. total subscribed, unsubsctibed, pending, etc... There was a refernce in an email to scipts "in the archive" that may do this and/or more - but I have not found them in the list, or on sf.net Can anyone get me pointed in the right direction - i dont see any need to re-invent what has most likely already been done... Thanks! Rusty From ashley at pcraft.com Mon Sep 17 18:08:21 2007 From: ashley at pcraft.com (Ashley M. Kirchner) Date: Mon, 17 Sep 2007 10:08:21 -0600 Subject: [Mailman-Users] Where's Korea? (recurring problem) In-Reply-To: References: Message-ID: <46EEA675.9080903@pcraft.com> Mark Sapiro wrote: > I don't see these here. Perhaps it's some difference between gcc > versions or configurations. > Would you like to see a full log of the compile, maybe that'll shed some light? -- A -- W | It's not a bug - it's an undocumented feature. +-------------------------------------------------------------------- Ashley M. Kirchner . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A. From msapiro at value.net Mon Sep 17 18:33:50 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 17 Sep 2007 09:33:50 -0700 Subject: [Mailman-Users] Where's Korea? (recurring problem) In-Reply-To: <46EEA675.9080903@pcraft.com> Message-ID: Ashley M. Kirchner wrote: >Mark Sapiro wrote: >> I don't see these here. Perhaps it's some difference between gcc >> versions or configurations. >> > Would you like to see a full log of the compile, maybe that'll shed >some light? You could send me the compile log off list. I think I understand what all the warnings are about, and I also think that the results of the compilation would actually work despite the warnings, but the log may be interesting. What I am more interested in is why configure succeeded when you didn't have the python-devel package installed. There are tests in configure for the presence of a full distutils package which should identify a missing python-devel. See the configure script around lines 1432-1475 and the corresponding results in config.log. Possibly, your packages are split differently with distutils in the python package, but the header files in the python-devel package, but this doesn't seem like good packaging. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From ACrosman at afsc.org Mon Sep 17 18:32:20 2007 From: ACrosman at afsc.org (Aaron Crosman) Date: Mon, 17 Sep 2007 12:32:20 -0400 Subject: [Mailman-Users] Subject line spacing Message-ID: I'm having an odd problem with messages from one list admin to a couple lists (that are used as newsletters). When he sends the message he gets a moderation confirmation message, and the subject of the original message is just fine. But when he approves the message to go to the whole list, it removes a space from the subject line. For the example he forwarded me the original subject was: Workers score second victory over Fujikura's greed And the subject that went out to all his list members was: CFOmaquiladoras Updater: Workers score second victory overFujikura's greed Does anyone have a suggestion about what might be causing this? Aaron From brad at shub-internet.org Mon Sep 17 19:20:02 2007 From: brad at shub-internet.org (Brad Knowles) Date: Mon, 17 Sep 2007 12:20:02 -0500 Subject: [Mailman-Users] Where do I find mailman log file analysis tools In-Reply-To: <547569.92915.qm@web84106.mail.mud.yahoo.com> References: <547569.92915.qm@web84106.mail.mud.yahoo.com> Message-ID: On 9/17/07, Rusty Wilson wrote: > I'm trying to find a good (or even usable) mailman log file analyzer - but > I'm not having any luck. For Mailman logs, I couldn't find anything myself, so I wrote mmdsr, the "Mailman Daily Status Report" script, mentioned in FAQ 1.30 at . This script is now included as part of the official tarball that you can download from our site. > In my searching through the FAQ, the list archives, and sf.net I > found references to: > > 1. sawmill (www.sawmill.net) > 2. lire (www.logreport.org) > 3. references to custom scripts (but could not find them) I've been a big supporter of Lire for years, but I've never heard of sawmill. Of course, most of these tools are going to analyze system log files as generated by your MTA, and not log files as generated by Mailman. > My needs are pretty simple, so before I set off and write my own scripts, > I thought I would check here first. Feel free to make modifications to mmdsr, if you like. All I ask is that you contribute your changes back to the group. > Right now - all I really need is something that will parse the "subscribe" > log file so that I can report on things like: > > 1. how many people subscribed in a given time frame (week, month, ad-hoc) > 2. how many people un-subscribed in a given time frame > 3. how many people are "pending" > 4. total subscribed, unsubsctibed, pending, etc... You'll get some of this from mmdsr, but only on a purely daily basis -- I haven't been looking at any longer time frames. > There was a refernce in an email to scipts "in the archive" that may do > this and/or more - but I have not found them in the list, or on sf.net The mmdsr script should be on SourceForge, because I put it there. If you've got the official Mailman 2.1.9 tarball from our site, you'll also find a copy included there. > Can anyone get me pointed in the right direction - i dont see any need > to re-invent what has most likely already been done... For longer periods of time, you may end up at least modifying the wheel, but for daily reports I've done everything I can think of in mmdsr, which is why the script hasn't changed in a fairly long time. If you can think of anything else that needs to be done, please let us know. -- Brad Knowles LinkedIn Profile: From msapiro at value.net Mon Sep 17 19:34:04 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 17 Sep 2007 10:34:04 -0700 Subject: [Mailman-Users] Subject line spacing In-Reply-To: Message-ID: Aaron Crosman wrote: > >For the example he forwarded me the original subject was: >Workers score second victory over Fujikura's greed > >And the subject that went out to all his list members was: >CFOmaquiladoras Updater: Workers score second victory overFujikura's >greed Mailman adds the subject prefix 'CFOmaquiladoras Updater:' and in the process the header becomes 'long' and gets folded. The MUA that is subsequently used to read the mail drops the folding whitespace. See for a more detailed discussion. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From zszalbot at gmail.com Mon Sep 17 20:02:26 2007 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Mon, 17 Sep 2007 20:02:26 +0200 Subject: [Mailman-Users] Where do I find mailman log file analysis tools In-Reply-To: References: <547569.92915.qm@web84106.mail.mud.yahoo.com> Message-ID: <94136a2c0709171102g15ffd8e1x110e2da7a34204fe@mail.gmail.com> Dear Brad and all, > For Mailman logs, I couldn't find anything myself, so I wrote mmdsr, > the "Mailman Daily Status Report" script, mentioned in FAQ 1.30 at > . > This script is now included as part of the official tarball that you > can download from our site. I have a few questions. 1. Where should the mmdsr file be placed? (any place or somewhere within mailman directory tree? 2. Should it have an *.sh extension or can it be run as such? 3. Your page mentions that as of mailman 2.1.7 the script is within contrib directory. I have mailman 2.1.9 but could not find this subdirectory. Not really important but I got curious why it was not there. Best regards, zbigniew szalbot From Kai-Behncke at gmx.de Mon Sep 17 20:05:10 2007 From: Kai-Behncke at gmx.de (Kai Behncke) Date: Mon, 17 Sep 2007 20:05:10 +0200 Subject: [Mailman-Users] Question to mailman and postfix Message-ID: <20070917180510.158210@gmx.net> Dear list, as I had no success in combining mailman and sendmail I try it now with mailman and postfix. I configured mailman like: ./configure --prefix=/usr/local/mailman --with-groupname=mailman --with-username=mailman --with-mail-gid=nogroup --with-cgi-gid=www-data --with-mailhost=h1228898.stratoserver.net --with-urlhost=h1228898.stratoserver.net and installed it. In the log-files of mailman there are no errors at all. Again I can create new list and subscribe users. But if I write a mail from my gmx-account to the new list/testing_b) it`s not delivered. In the log-file of Postfix it`s written: Sep 17 19:56:41 h1228898 postfix/smtpd[10550]: connect from mail.gmx.net[213.165.64.20] Sep 17 19:56:41 h1228898 postfix/smtpd[10550]: 3BAE917443AD: client=mail.gmx.net[213.165.64.20] Sep 17 19:56:41 h1228898 postfix/cleanup[10554]: 3BAE917443AD: message-id=<20070917175640.158210 at gmx.net> Sep 17 19:56:41 h1228898 postfix/qmgr[10525]: 3BAE917443AD: from=, size=1134, nrcpt=1 (queue active) Sep 17 19:56:41 h1228898 local[10556]: fatal: execvp /usr/local/testing_b/mail/testing_b: No such file or directory Sep 17 19:56:41 h1228898 postfix/smtpd[10550]: disconnect from mail.gmx.net[213.165.64.20] Sep 17 19:56:41 h1228898 postfix/local[10555]: 3BAE917443AD: to=, relay=local, delay=0.1, delays=0.08/0.01/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: local: fatal: execvp /usr/local/testing_b/mail/testing_b: No such file or directory ) What can I do to det it to run? Thank you again very much. -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer From daniel.herrmann1 at gmx.de Mon Sep 17 21:03:44 2007 From: daniel.herrmann1 at gmx.de (Daniel Herrmann) Date: Mon, 17 Sep 2007 21:03:44 +0200 Subject: [Mailman-Users] Problems with mailman and postfix Message-ID: <002d01c7f95d$793e9dd0$6bbbd970$@herrmann1@gmx.de> Hello List, first: I installed mailman now for the first time. I could make the new list "mailman" via ssh and the newlist command. The second list I created via the webinterface. Everything works well, but if I send now a message to Mailman-request at www.lists.bushido-wuestems.de I get the following Error: < Mailman-request at www.lists.bushido-wuestems.de>: mail for www.lists.bushido-wuestems.de loops back to myself What to do now ? Another Problem: I get the following Error every time I change something in the Web-Interface: Sorry, we hit a bug. I have to set the permissions "chmod 0777 /var/lib/mailman/* -R" until it works. I would be great to get an answer. Thanks Daniel From ivanlan at pauahtun.org Mon Sep 17 21:09:48 2007 From: ivanlan at pauahtun.org (Ivan Van Laningham) Date: Mon, 17 Sep 2007 13:09:48 -0600 Subject: [Mailman-Users] Has anyone done polls/surveys? Message-ID: <46EED0FC.2000605@pauahtun.org> Hi All-- Has anyone come up with a mailman-specific way to set up polls/surveys similar to what Yahoo does? I did a quick google and came up with nothing, but that doesn't mean that someone hasn't already written such a thing. If no one's done it already, would there be interest in such an addition? Or should I concentrate on quick Python cgi programs instead? Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.pauahtun.org/ http://www.python.org/workshops/1998-11/proceedings/papers/laningham/laningham.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours From parturi at bairesweb.com Mon Sep 17 20:22:54 2007 From: parturi at bairesweb.com (Pablo L. Arturi) Date: Mon, 17 Sep 2007 15:22:54 -0300 Subject: [Mailman-Users] Destination address in rcpt to: ? Message-ID: <056801c7f957$c966ffb0$0400a8c0@bworg196ib52so> Hello people, I am trying to find the bit to set the destionation address (member address) in the rcpt to header field instead of the mailing list address. Is this possible? Thanks in advance, Pablo From b19141 at britaine.ctd.anl.gov Mon Sep 17 22:09:30 2007 From: b19141 at britaine.ctd.anl.gov (Barry Finkel) Date: Mon, 17 Sep 2007 15:09:30 -0500 (CDT) Subject: [Mailman-Users] Problems with mailman and postfix In-Reply-To: Mail from '"Daniel Herrmann" ' dated: Mon, 17 Sep 2007 21:03:44 +0200 Message-ID: <200709172009.l8HK9U0d013929@britaine.ctd.anl.gov> Daniel Herrmann wrote: >Hello List, > >first: I installed mailman now for the first time. > >I could make the new list "mailman" via ssh and the newlist command. > >The second list I created via the webinterface. > >Everything works well, but if I send now a message to > >Mailman-request at www.lists.bushido-wuestems.de > >I get the following Error: > >< >Mailman-request at www.lists.bushido-wuestems.de>: mail for > > www.lists.bushido-wuestems.de loops back to myself You do not say if you are using sendmail as your MTA, but from the message I assume so. You need a Cw www.lists.bushido-wuestems.de record in your sendmail.cf file telling sendmail that it is allowed to accept mail destined for www.lists.bushido-wuestems.de ---------------------------------------------------------------------- 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 222, Room D209 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 From daniel.herrmann1 at gmx.de Mon Sep 17 22:20:47 2007 From: daniel.herrmann1 at gmx.de (Daniel Herrmann) Date: Mon, 17 Sep 2007 22:20:47 +0200 Subject: [Mailman-Users] Problems with mailman and postfix In-Reply-To: <200709172009.l8HK9U0d013929@britaine.ctd.anl.gov> References: Mail from '"Daniel Herrmann" ' dated: Mon, 17 Sep 2007 21:03:44 +0200 <200709172009.l8HK9U0d013929@britaine.ctd.anl.gov> Message-ID: <000001c7f968$3bb4ad00$b31e0700$@herrmann1@gmx.de> > >Hello List, > > > >first: I installed mailman now for the first time. > > > >I could make the new list "mailman" via ssh and the newlist command. > > > >The second list I created via the webinterface. > > > >Everything works well, but if I send now a message to > > > >Mailman-request at www.lists.bushido-wuestems.de > > > >I get the following Error: > > > >< > >Mailman-request at www.lists.bushido-wuestems.de>: mail for > > > > www.lists.bushido- > wuestems.de loops back to myself > > > You do not say if you are using sendmail as your MTA, but from the > message I assume so. You need a > [Daniel Herrmann] Oh, i'm sorry, i forgot to say. I'm using Postfix, not sendmail. What do I have to do here ? > Cw www.lists.bushido-wuestems.de > > record in your sendmail.cf file telling sendmail that it is allowed to > accept mail destined for > Daniel From ml at ancalagon.inka.de Mon Sep 17 08:54:40 2007 From: ml at ancalagon.inka.de (Thomas Hochstein) Date: Mon, 17 Sep 2007 08:54:40 +0200 Subject: [Mailman-Users] Approved header problem References: <504806.41025.qm@web83208.mail.mud.yahoo.com> Message-ID: Mark Sapiro schrieb: > It may > not be sufficient to look at it in Agent, unless Agent can show you > the raw message as received. It can. > You may be able to save it to a file from > Agent and examine that with an editor, That is possible, too. -thh From b19141 at britaine.ctd.anl.gov Mon Sep 17 22:47:14 2007 From: b19141 at britaine.ctd.anl.gov (Barry Finkel) Date: Mon, 17 Sep 2007 15:47:14 -0500 (CDT) Subject: [Mailman-Users] Problems with mailman and postfix In-Reply-To: Mail from '"Daniel Herrmann" ' dated: Mon, 17 Sep 2007 22:20:47 +0200 Message-ID: <200709172047.l8HKlEBf014904@britaine.ctd.anl.gov> >> >Hello List, >> > >> >first: I installed mailman now for the first time. >> > >> >I could make the new list "mailman" via ssh and the newlist command. >> > >> >The second list I created via the webinterface. >> > >> >Everything works well, but if I send now a message to >> > >> >Mailman-request at www.lists.bushido-wuestems.de >> > >> >I get the following Error: >> > >> >< >> >Mailman-request at www.lists.bushido-wuestems.de>: mail for >> > >> > www.lists.bushido- >> wuestems.de loops back to myself >> >> >> You do not say if you are using sendmail as your MTA, but from the >> message I assume so. You need a >> > >[Daniel Herrmann] > >Oh, i'm sorry, i forgot to say. > >I'm using Postfix, not sendmail. >What do I have to do here ? > > >> Cw www.lists.bushido-wuestems.de >> >> record in your sendmail.cf file telling sendmail that it is allowed to >> accept mail destined for >> > >Daniel In /etc/postfix/main.cf, add the nodename to mydestination = if it is not already there. If it is, then I would have to see a rejection message with mail headers to determine what might be the problem. ---------------------------------------------------------------------- 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 222, Room D209 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 From msapiro at value.net Mon Sep 17 22:54:59 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 17 Sep 2007 13:54:59 -0700 Subject: [Mailman-Users] Where do I find mailman log file analysis tools In-Reply-To: <94136a2c0709171102g15ffd8e1x110e2da7a34204fe@mail.gmail.com> Message-ID: Zbigniew Szalbot wrote: > >I have a few questions. >1. Where should the mmdsr file be placed? (any place or somewhere >within mailman directory tree? It can be anywhere. The only requirement is that the user:group that runs it have read access to Mailman's logs and the mmdsr script. >2. Should it have an *.sh extension or can it be run as such? It can be run as is as long as the shell that runs it understands the #!/bin/sh initial line. >3. Your page mentions that as of mailman 2.1.7 the script is within >contrib directory. I have mailman 2.1.9 but could not find this >subdirectory. Not really important but I got curious why it was not >there. The contrib directory is in the source distribution. Whether or not it is included in any rpm or other package is decided by the packager. If you install from source, it will be in the directory you unpack the tarball into, but it won't be in the installation directory. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 18 00:00:43 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 17 Sep 2007 15:00:43 -0700 Subject: [Mailman-Users] Destination address in rcpt to: ? In-Reply-To: <056801c7f957$c966ffb0$0400a8c0@bworg196ib52so> Message-ID: Pablo L. Arturi wrote: >Hello people, I am trying to find the bit to set the destionation address (member address) in the rcpt to header field instead of the mailing list address. I think what you are looking for is what is called Full Personalization. Go to the web admin Non-digest options page. If the second setting on that page (after nondigestable) is personalize, set it to Full Personalization. If the second setting on that page is msg_hdr, you or whoever administers your Mailman installation will need to set OWNERS_CAN_ENABLE_PERSONALIZATION = Yes in mm_cfg.py in order to enable the personalize options. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From diane at wittygal.com Tue Sep 18 00:56:00 2007 From: diane at wittygal.com (wittygal) Date: Mon, 17 Sep 2007 15:56:00 -0700 Subject: [Mailman-Users] How do I ban somebody? Message-ID: <014e01c7f97d$eb7dd8f0$c2798ad0$@com> I have someone who keeps resubscribing who is sending spam messages. I want to ban that address how do I do it? From msapiro at value.net Tue Sep 18 01:16:13 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 17 Sep 2007 16:16:13 -0700 Subject: [Mailman-Users] How do I ban somebody? In-Reply-To: <014e01c7f97d$eb7dd8f0$c2798ad0$@com> Message-ID: wittygal wrote: >I have someone who keeps resubscribing who is sending spam messages. I want >to ban that address how do I do it? Privacy options...->Subscription rules->ban_list The documentation is not completely clear, but the ban list accepts addresses like jdoe at example.com and regexps beginning with ^ like ^j.*doe@(.*\.)?example\.com which would match jdoe at example.com, janedoe at example.com and johndoe at mail.example.com but not jdoe at myexample.com. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 18 01:43:51 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 17 Sep 2007 16:43:51 -0700 Subject: [Mailman-Users] Question to mailman and postfix In-Reply-To: <20070917180510.158210@gmx.net> References: <20070917180510.158210@gmx.net> Message-ID: <46EF1137.6080704@value.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kai Behncke wrote: > > as I had no success in combining mailman and sendmail I try it now with mailman and postfix. Did you see my reply at to your last post? > I configured mailman like: > ./configure --prefix=/usr/local/mailman --with-groupname=mailman --with-username=mailman --with-mail-gid=nogroup --with-cgi-gid=www-data --with-mailhost=h1228898.stratoserver.net --with-urlhost=h1228898.stratoserver.net > > and installed it. > > In the log-files of mailman there are no errors at all. > > Again I can create new list and subscribe users. > But if I write a mail from my gmx-account to the new list/testing_b) it`s not delivered. > > > In the log-file of Postfix it`s written: At least Postfix is listening... > Sep 17 19:56:41 h1228898 postfix/smtpd[10550]: connect from mail.gmx.net[213.165.64.20] > Sep 17 19:56:41 h1228898 postfix/smtpd[10550]: 3BAE917443AD: client=mail.gmx.net[213.165.64.20] > Sep 17 19:56:41 h1228898 postfix/cleanup[10554]: 3BAE917443AD: message-id=<20070917175640.158210 at gmx.net> > Sep 17 19:56:41 h1228898 postfix/qmgr[10525]: 3BAE917443AD: from=, size=1134, nrcpt=1 (queue active) > Sep 17 19:56:41 h1228898 local[10556]: fatal: execvp /usr/local/testing_b/mail/testing_b: No such file or directory Your aliases are wrong. When you edited your 'mailman' aliases that looked like mailman: "|/usr/local/mailman/mail/mailman post mailman" etc, you replaced too many 'mailman occurrences. You changed the above into testing_b: "|/usr/local/testing_b/mail/testing_b post testing_b" instead of testing_b: "|/usr/local/mailman/mail/mailman post testing_b" > Sep 17 19:56:41 h1228898 postfix/smtpd[10550]: disconnect from mail.gmx.net[213.165.64.20] > Sep 17 19:56:41 h1228898 postfix/local[10555]: 3BAE917443AD: to=, relay=local, delay=0.1, delays=0.08/0.01/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: local: fatal: execvp /usr/local/testing_b/mail/testing_b: No such file or directory ) > > What can I do to det it to run? Fix your aliases. Then if you get 'group mismatch errors', see . Also, see for the way to integrate Mailman with Postfix so you don't need to do aliases manually. - -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFG7xE3VVuXXpU7hpMRAhQMAJ48OKg3rR3YzLRywP/K6xVVRnr+BQCdF1sR NBoDHdvynn02txgbC8XX/10= =8Hag -----END PGP SIGNATURE----- From brad at shub-internet.org Tue Sep 18 01:37:46 2007 From: brad at shub-internet.org (Brad Knowles) Date: Mon, 17 Sep 2007 18:37:46 -0500 Subject: [Mailman-Users] Where do I find mailman log file analysis tools In-Reply-To: <94136a2c0709171102g15ffd8e1x110e2da7a34204fe@mail.gmail.com> References: <547569.92915.qm@web84106.mail.mud.yahoo.com> <94136a2c0709171102g15ffd8e1x110e2da7a34204fe@mail.gmail.com> Message-ID: On 9/17/07, Zbigniew Szalbot wrote: > 1. Where should the mmdsr file be placed? (any place or somewhere > within mailman directory tree? It's a Bourne shell script, so it has no dependencies on Mailman, other than you telling it where the Mailman logs exist, where the Mailman queue directories exist, etc.... You should be able to put it just about anywhere you want. > 2. Should it have an *.sh extension or can it be run as such? It shouldn't matter. You should be able to do as you choose. > 3. Your page mentions that as of mailman 2.1.7 the script is within > contrib directory. I have mailman 2.1.9 but could not find this > subdirectory. Not really important but I got curious why it was not > there. Did you install Mailman from the source tarballs that we provide, or did you do a binary package install? If the latter, then we have no control over what is done with our code by the people who prepare the binary package, and you should ask them what happened. -- Brad Knowles LinkedIn Profile: From brad at shub-internet.org Tue Sep 18 01:39:23 2007 From: brad at shub-internet.org (Brad Knowles) Date: Mon, 17 Sep 2007 18:39:23 -0500 Subject: [Mailman-Users] Question to mailman and postfix In-Reply-To: <20070917180510.158210@gmx.net> References: <20070917180510.158210@gmx.net> Message-ID: On 9/17/07, Kai Behncke wrote: > as I had no success in combining mailman and sendmail I try it now > with mailman and postfix. It should be relatively easy to get Mailman to work with either sendmail or postfix. If you're having problems with one of these MTAs, it's not likely to resolve your issues by just changing to the other -- I think you have more fundamental problems that need to be fixed. -- Brad Knowles LinkedIn Profile: From brad at shub-internet.org Tue Sep 18 01:40:25 2007 From: brad at shub-internet.org (Brad Knowles) Date: Mon, 17 Sep 2007 18:40:25 -0500 Subject: [Mailman-Users] Has anyone done polls/surveys? In-Reply-To: <46EED0FC.2000605@pauahtun.org> References: <46EED0FC.2000605@pauahtun.org> Message-ID: On 9/17/07, Ivan Van Laningham wrote: > Has anyone come up with a mailman-specific way to set up polls/surveys > similar to what Yahoo does? I did a quick google and came up with > nothing, but that doesn't mean that someone hasn't already written such > a thing. Mailman has no facilities for doing anything remotely like this. > If no one's done it already, would there be interest in such an > addition? Or should I concentrate on quick Python cgi programs instead? It might be interesting to see what you can come up with. -- Brad Knowles LinkedIn Profile: From Kai-Behncke at gmx.de Tue Sep 18 09:18:46 2007 From: Kai-Behncke at gmx.de (Kai Behncke) Date: Tue, 18 Sep 2007 09:18:46 +0200 Subject: [Mailman-Users] Question to mailman and postfix In-Reply-To: <46EF1137.6080704@value.net> References: <20070917180510.158210@gmx.net> <46EF1137.6080704@value.net> Message-ID: <20070918071846.67640@gmx.net> Hi Mark, > > Your aliases are wrong. When you edited your 'mailman' aliases that > looked like > > mailman: "|/usr/local/mailman/mail/mailman post mailman" > etc, > > you replaced too many 'mailman occurrences. You changed the above into > > testing_b: "|/usr/local/testing_b/mail/testing_b post testing_b" > > instead of > > testing_b: "|/usr/local/mailman/mail/mailman post testing_b" > > > > Sep 17 19:56:41 h1228898 postfix/smtpd[10550]: disconnect from > mail.gmx.net[213.165.64.20] > > Sep 17 19:56:41 h1228898 postfix/local[10555]: 3BAE917443AD: > to=, relay=local, delay=0.1, > delays=0.08/0.01/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: local: > fatal: execvp /usr/local/testing_b/mail/testing_b: No such file or > directory ) > > > > What can I do to det it to run? > > > Fix your aliases. > Exactly that was it. Thank you very very much. :-) Mailman and postfix are working now. Your hints were really a very good support. Best regards, Kai -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser From diane at wittygal.com Tue Sep 18 09:32:58 2007 From: diane at wittygal.com (wittygal) Date: Tue, 18 Sep 2007 00:32:58 -0700 Subject: [Mailman-Users] How do I ban somebody? In-Reply-To: References: <014e01c7f97d$eb7dd8f0$c2798ad0$@com> Message-ID: <007c01c7f9c6$231862b0$69492810$@com> Thanks all -----Original Message----- From: Johnathen Lieber [mailto:jlieber at goengineer.com] Sent: Monday, September 17, 2007 4:04 PM To: wittygal Subject: Re: [Mailman-Users] How do I ban somebody? I believe you'll find what you need under the Privacy option... Section in the web admin section. Here there is a place to enter a list of banned email addresses.... From can.cizer at gmail.com Tue Sep 18 11:28:52 2007 From: can.cizer at gmail.com (Can Cizer) Date: Tue, 18 Sep 2007 02:28:52 -0700 Subject: [Mailman-Users] Mailman can't send mail Message-ID: <53c527140709180228v2b6d96afr59ef914cc90c1b19@mail.gmail.com> Hello, Although i can create a mail list and i can send mail to the list,that mail cannot be sent to other members of the list ( even no subscribe mails ). The mails that sent can be seen by the admin on the mail list page (tend to pending moderator requests). What should i do to fix this problem? ( I saw same topics in the archive,but they could not help me. ) Information about system; - The version of the mailman 2.1.9 - It is installed from source code. - The server - CentOS 5 - The mta - qmail thank you for your help Can ?izer From rmharvey at snet.net Tue Sep 18 13:46:02 2007 From: rmharvey at snet.net (Roy Harvey) Date: Tue, 18 Sep 2007 04:46:02 -0700 (PDT) Subject: [Mailman-Users] Approved header problem In-Reply-To: Message-ID: <890481.60637.qm@web83214.mail.mud.yahoo.com> --- Mark Sapiro wrote: > If not, try sending the message to the list with a Bcc: to > yourself. > Then, if possible, examine the raw message received via Bcc:. It > may > not be sufficient to look at it in Agent, unless Agent can show you > the raw message as received. You may be able to save it to a file > from > Agent and examine that with an editor, or possibly view Agent's > mail > folder with an editor. Good idea, provided good information. I tried the Bcc trick last night, and the header line did not come through, even though it appears in the copy in the Sent folder of my email program. I have to assume that Yahoo is removing the line on the outbound side. I have one email account with a different service I can try, but it will take some setting up. Roy Harvey Beacon Falls, CT From honeydospecialist at mindspring.com Tue Sep 18 13:56:25 2007 From: honeydospecialist at mindspring.com (Paul Hepp) Date: Tue, 18 Sep 2007 07:56:25 -0400 Subject: [Mailman-Users] Allowing attachments Message-ID: <97DBAD95-0895-4D52-92CE-FC7892EC7A28@mindspring.com> All, What is the correct way to set a Mailman list to allow attachments. I would like to only allow .pdf's. My attemps make me believe I am missing a setting. Thanks, Paul From cwaltham at bowdoin.edu Tue Sep 18 16:03:40 2007 From: cwaltham at bowdoin.edu (Chris Waltham) Date: Tue, 18 Sep 2007 10:03:40 -0400 Subject: [Mailman-Users] How to allow mail from domain.edu but no others? Message-ID: <1650213D-F233-4D47-B5A2-2888E98C56BE@bowdoin.edu> Hi all, I'd like to allow both list members and non-list members to be able to post to a mailing list I help admin. So, I want to allow *@bowdoin.edu to post, but no other domain names. Is there an easy way to do accomplish that? Looking at the web interface, I would ordinarily use the member_posting_only feature but that won't work in this case (because non-list members need to be able to post to the list, so long as they're from *@bowdoin.edu). Is there a way to accomplish this without involving the MTA? This is with mailman 2.0.12 (I know, I know!) on SPARC Solaris. Thanks, Chris -- Chris Waltham Systems Engineer Bowdoin College Tel: (207) 798-7029 Cel: (207) 607-3643 cwaltham at bowdoin.edu From daniel.herrmann1 at gmx.de Tue Sep 18 16:35:52 2007 From: daniel.herrmann1 at gmx.de (Daniel Herrmann) Date: Tue, 18 Sep 2007 16:35:52 +0200 Subject: [Mailman-Users] Problems with mailman and postfix Message-ID: <000601c7fa01$37280770$a5781650$@herrmann1@gmx.de> > >> >Hello List, > >> > > >> >first: I installed mailman now for the first time. > >> > > >> >I could make the new list "mailman" via ssh and the newlist > command. > >> > > >> >The second list I created via the webinterface. > >> > > >> >Everything works well, but if I send now a message to > >> > > >> >Mailman-request at www.lists.bushido-wuestems.de > >> > > >> >I get the following Error: > >> > > >> >< > >> >Mailman-request at www.lists.bushido-wuestems.de>: mail for > >> > > >> > www.lists.bushido- > >> wuestems.de loops back to myself > >> > >> > >> You do not say if you are using sendmail as your MTA, but from the > >> message I assume so. You need a > >> > > > >[Daniel Herrmann] > > > >Oh, i'm sorry, i forgot to say. > > > >I'm using Postfix, not sendmail. > >What do I have to do here ? > > > > > >> Cw www.lists.bushido-wuestems.de > >> > >> record in your sendmail.cf file telling sendmail that it is allowed > to > >> accept mail destined for > >> > > > >Daniel > > > In /etc/postfix/main.cf, add the nodename to > > mydestination = > > if it is not already there. If it is, then I would have to see a > rejection message with mail headers to determine what might be the > problem. [Daniel Herrmann] Ok, thank you. Now I get a new error, and I found the reason. I don't have the wrapper program, which should be normally In /usr/lib/mailman/mail , but it is nor there. I couldn't even find it with find / -name wrapper -print, I just don't have it. What to do now ? Daniel From msapiro at value.net Tue Sep 18 16:56:56 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 18 Sep 2007 07:56:56 -0700 Subject: [Mailman-Users] Allowing attachments In-Reply-To: <97DBAD95-0895-4D52-92CE-FC7892EC7A28@mindspring.com> Message-ID: Paul Hepp wrote: >What is the correct way to set a Mailman list to allow attachments. I >would like to only allow .pdf's. My attemps make me believe I am >missing a setting. In content filtering, use the following: filter_mime_types empty pass_mime_types multipart message/rfc822 text/plain application/pdf add text/html to the above list if you want to accept html and possibly convert it to plain text filter_filename_extensions doesn't matter as long as it doesn't contain pdf pass_filename_extensions pdf or empty pdf will mean that any mime part that has a file name or name parameter with an extension will be removed if the extension is not 'pdf'. This will also remove any text/plain attachment with a 'txt' or other extension which may not be what you want, so leaving this empty is probably what you want. collapse_alternatives If you want to keep only the text/plain subpart from a multipart/alternative part with text/plain and text/html subparts, set this to Yes. If you want to keep it as multipart/alternative with both subparts, set this to No. convert_html_to_plaintext filter_action as desired. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 18 17:05:21 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 18 Sep 2007 08:05:21 -0700 Subject: [Mailman-Users] Problems with mailman and postfix In-Reply-To: <000601c7fa01$37280770$a5781650$@herrmann1@gmx.de> Message-ID: Daniel Herrmann wrote: > >Now I get a new error, and I found the reason. >I don't have the wrapper program, which should be normally >In /usr/lib/mailman/mail , but it is nor there. > >I couldn't even find it with find / -name wrapper -print, >I just don't have it. You couldn't find it like that because it's name hasn't been 'wrapper' since Mailman 2.0. It is the file mail/mailman. Where it is depends on how you installed Mailman. The configure defaults put it in /usr/local/mailman/mail/mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 18 17:14:07 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 18 Sep 2007 08:14:07 -0700 Subject: [Mailman-Users] Allowing attachments In-Reply-To: <97DBAD95-0895-4D52-92CE-FC7892EC7A28@mindspring.com> Message-ID: Note to Paul Hepp: Go to to see my reply to your post. See the note at the bottom of FAQs 1.22 and 1.33 . When you post a question to a mail list, turn off your spam blocker. People who are trying to help you get really pissed off when you block their mail. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 18 17:40:14 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 18 Sep 2007 08:40:14 -0700 Subject: [Mailman-Users] How to allow mail from domain.edu but no others? In-Reply-To: <1650213D-F233-4D47-B5A2-2888E98C56BE@bowdoin.edu> Message-ID: Chris Waltham wrote: > >I'd like to allow both list members and non-list members to be able >to post to a mailing list I help admin. So, I want to allow >*@bowdoin.edu to post, but no other domain names. Is there an easy >way to do accomplish that? Looking at the web interface, I would >ordinarily use the member_posting_only feature but that won't work in >this case (because non-list members need to be able to post to the >list, so long as they're from *@bowdoin.edu). > >Is there a way to accomplish this without involving the MTA? This is >with mailman 2.0.12 (I know, I know!) on SPARC Solaris. It's trivial in Mailman 2.1. Just put ^.*@bowdoin\.edu in accept_these_nonmembers. In Mailman 2.0, the roughly corresponding list attribute is posters, but posters accepts only addresses, not regexps matching addresses. I think your choices are either upgrade or implement a custom handler. There is information on custom handlers in Mailman 2.1 at . Mailman 2.0 is similar, except the handler pipeline is not in Defaults.py and thus cannot be manipulated in mm_cfg.py, nor is a list pipeline attribute recognized. Adding a handler to the pipeline requires modifying Handlers/HandlerAPI.py, at which point it might be easier to just modify Handlers/Approve.py to accept posts for that list from senders in that domain. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 18 17:54:31 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 18 Sep 2007 08:54:31 -0700 Subject: [Mailman-Users] Mailman can't send mail In-Reply-To: <53c527140709180228v2b6d96afr59ef914cc90c1b19@mail.gmail.com> Message-ID: Can Cizer wrote: > > Although i can create a mail list and i can send mail to the list,that mail >cannot be sent to other members of the list ( even no subscribe mails ). The >mails that sent can be seen by the admin on the mail list page (tend to >pending moderator requests). What should i do to fix this problem? ( I saw >same topics in the archive,but they could not help me. ) > >Information about system; > >- The version of the mailman 2.1.9 >- It is installed from source code. >- The server - CentOS 5 >- The mta - qmail The information in may help, but since posts get as far as being held, but no outging mail is delivered, presumably even after approving the held posts, much of that FAQ isn't relevant. Do posts appear in the list's archive? No outgoing mail says either OutgoingRunner isn't running (but we know IncomingRunner is because posts get processed and held), so check that all the qrunners are running (FAQ 4.78 - 1b and 5b), check Mailman's queues (FAQ 4.78 - 8) and check Mailman's logs (FAQ 4.78 - 7), particularly 'smtp' and 'smtp-failure', but also 'error'. This should tell you whether the mail is getting out of Mailman or not. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brad at shub-internet.org Tue Sep 18 18:13:30 2007 From: brad at shub-internet.org (Brad Knowles) Date: Tue, 18 Sep 2007 11:13:30 -0500 Subject: [Mailman-Users] Mailman can't send mail In-Reply-To: <53c527140709180228v2b6d96afr59ef914cc90c1b19@mail.gmail.com> References: <53c527140709180228v2b6d96afr59ef914cc90c1b19@mail.gmail.com> Message-ID: On 9/18/07, Can Cizer wrote: > Although i can create a mail list and i can send mail to the list,that mail > cannot be sent to other members of the list ( even no subscribe mails ). The > mails that sent can be seen by the admin on the mail list page (tend to > pending moderator requests). What should i do to fix this problem? ( I saw > same topics in the archive,but they could not help me. ) What is in your logs as created by your MTA (qmail)? Without more information (especially the basics), there's not going to be anything that anyone can do to help you. -- Brad Knowles LinkedIn Profile: From raquel at thericehouse.net Tue Sep 18 19:38:59 2007 From: raquel at thericehouse.net (Raquel) Date: Tue, 18 Sep 2007 10:38:59 -0700 Subject: [Mailman-Users] migrating Mailman server In-Reply-To: References: <200701291511.l0TFBXFs026380@julie.lostwells.net> Message-ID: <20070918103859.4beb099d.raquel@thericehouse.net> On Mon, 29 Jan 2007 12:37:24 -0800 Mark Sapiro wrote: > >1. All of the files under the ./lists/ directory. > >2. All of the files under the ./archives/private/ > >directory. 3. ./Mailman/mm_cfg.py > >4. Any other files in the ./archives directory with in > >their names. When doing this, does a person also tar and move the "mailman" list? -- Raquel ============================================================ Arbitrary power is most easily established on the ruins of liberty abused to licentiousness. --George Washington From msapiro at value.net Tue Sep 18 19:59:38 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 18 Sep 2007 10:59:38 -0700 Subject: [Mailman-Users] migrating Mailman server In-Reply-To: <20070918103859.4beb099d.raquel@thericehouse.net> Message-ID: Raquel wrote: > >> >1. All of the files under the ./lists/ directory. >> >2. All of the files under the ./archives/private/ >> >directory. 3. ./Mailman/mm_cfg.py >> >4. Any other files in the ./archives directory with in >> >their names. > >When doing this, does a person also tar and move the "mailman" list? It depends. If you are moving lists to an already existing Mailman installation, that installation will already have a 'mailman' list, so it isn't necessary to move it. If you are moving to a brand new, from source installation that has no lists yet, then move the 'mailman' list too. In between is moving to a brand new, from a package installation. The package likely has already installed a 'mailman' list, but you might prefer the configuration of the one you already have. If so, move the old one. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From raquel at thericehouse.net Tue Sep 18 20:01:46 2007 From: raquel at thericehouse.net (Raquel) Date: Tue, 18 Sep 2007 11:01:46 -0700 Subject: [Mailman-Users] migrating Mailman server In-Reply-To: References: <20070918103859.4beb099d.raquel@thericehouse.net> Message-ID: <20070918110146.23bf1e99.raquel@thericehouse.net> On Tue, 18 Sep 2007 10:59:38 -0700 Mark Sapiro wrote: > Raquel wrote: > > > >> >1. All of the files under the ./lists/ directory. > >> >2. All of the files under the ./archives/private/ > >> >directory. 3. ./Mailman/mm_cfg.py > >> >4. Any other files in the ./archives directory with > >in > >their names. > > > >When doing this, does a person also tar and move the "mailman" > >list? > > > It depends. If you are moving lists to an already existing Mailman > installation, that installation will already have a 'mailman' > list, so it isn't necessary to move it. > > If you are moving to a brand new, from source installation that > has no lists yet, then move the 'mailman' list too. > > In between is moving to a brand new, from a package installation. > The package likely has already installed a 'mailman' list, but you > might prefer the configuration of the one you already have. If so, > move the old one. > > -- > Mark Sapiro Thank you, Mark. You told me exactly what I needed. -- Raquel ============================================================ Christianity neither is, nor ever was a part of the common law. --Thomas Jefferson From cwaltham at bowdoin.edu Tue Sep 18 22:31:07 2007 From: cwaltham at bowdoin.edu (Chris Waltham) Date: Tue, 18 Sep 2007 16:31:07 -0400 Subject: [Mailman-Users] How to allow mail from domain.edu but no others? In-Reply-To: References: Message-ID: On Sep 18, 2007, at 11:40 AM, Mark Sapiro wrote: > Chris Waltham wrote: >> >> I'd like to allow both list members and non-list members to be able >> to post to a mailing list I help admin. So, I want to allow >> *@bowdoin.edu to post, but no other domain names. Is there an easy >> way to do accomplish that? Looking at the web interface, I would >> ordinarily use the member_posting_only feature but that won't work in >> this case (because non-list members need to be able to post to the >> list, so long as they're from *@bowdoin.edu). >> >> Is there a way to accomplish this without involving the MTA? This is >> with mailman 2.0.12 (I know, I know!) on SPARC Solaris. > > > It's trivial in Mailman 2.1. Just put > > ^.*@bowdoin\.edu > > in accept_these_nonmembers. In Mailman 2.0, the roughly corresponding > list attribute is posters, but posters accepts only addresses, not > regexps matching addresses. > > I think your choices are either upgrade or implement a custom handler. Thanks for your reply, Mark. Because we're changing architectures (SPARC to Linux) and MTAs (postfix to Sendmail), we don't want to upgrade the existing 2.0.12 installation. So, I've been building a 2.1.9 installation for the new Linux box and trying to get everything squared away before we change. There's a lot of lists & a lot of mail, so we want to do it once and do it right! Thanks again for helping me apply band-aids to my current situation. Chris > There is information on custom handlers in Mailman 2.1 at > req=show&file=faq04.067.htp>. > Mailman 2.0 is similar, except the handler pipeline is not in > Defaults.py and thus cannot be manipulated in mm_cfg.py, nor is a list > pipeline attribute recognized. Adding a handler to the pipeline > requires modifying Handlers/HandlerAPI.py, at which point it might be > easier to just modify Handlers/Approve.py to accept posts for that > list from senders in that domain. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan From rtanner at linfield.edu Tue Sep 18 23:31:26 2007 From: rtanner at linfield.edu (Rob Tanner) Date: Tue, 18 Sep 2007 14:31:26 -0700 Subject: [Mailman-Users] Problem with URL host installing v2.1.9 Message-ID: <46F043AE.10602@linfield.edu> Hi, This is a new install and not an update. I first ran configure with no options and then built/installed mailman. Then I reran configure with the argument: --with-urlhost=www.linfield.edu. I also verified Defaults.py: DEFAULT_URL_HOST = 'www.linfield.edu'. The problem is that the banners (stuff in the blue bar at the top of the page) all show the host name of the machine and not the URL host. Also, how do I give myself the authority to create lists from the web as opposed to running newlist from the command line. Whenever I try I get an error back saying that I'm not authorized. Thanks, Rob -- Rob Tanner UNIX Services Manager Linfield College, McMinnville OR From msapiro at value.net Wed Sep 19 00:28:02 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 18 Sep 2007 15:28:02 -0700 Subject: [Mailman-Users] Problem with URL host installing v2.1.9 In-Reply-To: <46F043AE.10602@linfield.edu> Message-ID: Rob Tanner wrote: > >This is a new install and not an update. I first ran configure with no >options and then built/installed mailman. Then I reran configure with >the argument: --with-urlhost=www.linfield.edu. I also verified >Defaults.py: DEFAULT_URL_HOST = 'www.linfield.edu'. The problem is that >the banners (stuff in the blue bar at the top of the page) all show the >host name of the machine and not the URL host. If you created the list(s) before rerunning configure and make install, you now need to run fix_url . >Also, how do I give myself the authority to create lists from the web as >opposed to running newlist from the command line. Whenever I try I get >an error back saying that I'm not authorized. You have to provide either the Mailman installation site password or the Mailman installation list creator password in the "List creator's (authentication) password:" box on the form. Both these passwords are set via the command line tool bin/mmsitepass. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From can.cizer at gmail.com Wed Sep 19 12:45:09 2007 From: can.cizer at gmail.com (Can Cizer) Date: Wed, 19 Sep 2007 03:45:09 -0700 Subject: [Mailman-Users] Mailman can't send mail In-Reply-To: References: <53c527140709180228v2b6d96afr59ef914cc90c1b19@mail.gmail.com> Message-ID: <53c527140709190345p75dbc7d2jb96166c6a87e9386@mail.gmail.com> The problem has changed a little bit :). Now, the mailman can send the messages inside the domain server,but it cannot send any messages to outside like gmail,hotmail or yahoo.I checked the "smtp-failure" log and it is written that "delivery to can.cizer at gmail.com failed with code 553: sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)". From bluria at gmail.com Wed Sep 19 15:45:50 2007 From: bluria at gmail.com (Brian Luria) Date: Wed, 19 Sep 2007 09:45:50 -0400 Subject: [Mailman-Users] Membership List View in admin section Message-ID: Is there a way to set it to just show all the members so I can scroll down, without having to use the alphabetical listing? I have a list with 47 members so it wouldnt be that big. It seems like there's a setting where if the list is up to a certain number of members, then it lists them, otherwise it goes to the other format. Thanks in advance. From monurergin at yahoo.com Wed Sep 19 16:00:24 2007 From: monurergin at yahoo.com (M. Onur ERGiN) Date: Wed, 19 Sep 2007 07:00:24 -0700 (PDT) Subject: [Mailman-Users] List Subscription Error Message-ID: <128698.93426.qm@web30305.mail.mud.yahoo.com> Hi, I am running a RH9 server with qmail and Mailman v2.1.7. Lately, Mailman has begun to fail whenever one tries to subscribe to a list, and logs the following error: Sep 19 16:07:41 2007 admin(3387): /var/mailman/Mailman/MailList.py:905: DeprecationWarning: raising a string exception is deprecated raise Errors.MMSubscribeNeedsConfirmation And the subscribe log is this: Sep 19 16:00:43 2007 (3140) cse331: pending Onur 10.2.12.110 I don't remember I touched anything since it was last working fine. The other functions are fine as far as I observe now. What can be the possible reason for the above error? Best Reagards, Onur. --------------------------------- Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. From msapiro at value.net Wed Sep 19 16:34:21 2007 From: msapiro at value.net (Mark Sapiro) Date: Wed, 19 Sep 2007 07:34:21 -0700 Subject: [Mailman-Users] Mailman can't send mail In-Reply-To: <53c527140709190345p75dbc7d2jb96166c6a87e9386@mail.gmail.com> Message-ID: Can Cizer wrote: > >The problem has changed a little bit :). Now, the mailman can send the >messages inside the domain server,but it cannot send any messages to outside >like gmail,hotmail or yahoo.I checked the "smtp-failure" log and it is >written that "delivery to can.cizer at gmail.com failed with code 553: sorry, >that domain isn't in my list of allowed rcpthosts (#5.7.1)". This is an MTA (qmail) configuration issue. You have to tell qmail that it is allowed to relay mail from Mailman (localhost port 25) -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Wed Sep 19 16:38:48 2007 From: msapiro at value.net (Mark Sapiro) Date: Wed, 19 Sep 2007 07:38:48 -0700 Subject: [Mailman-Users] Membership List View in admin section In-Reply-To: Message-ID: Brian Luria wrote: >Is there a way to set it to just show all the members so I can scroll down, >without having to use the alphabetical listing? >I have a list with 47 members so it wouldnt be that big. >It seems like there's a setting where if the list is up to a certain number >of members, then it lists them, otherwise it goes to the other format. See -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Wed Sep 19 17:00:20 2007 From: msapiro at value.net (Mark Sapiro) Date: Wed, 19 Sep 2007 08:00:20 -0700 Subject: [Mailman-Users] List Subscription Error In-Reply-To: <128698.93426.qm@web30305.mail.mud.yahoo.com> Message-ID: M. Onur ERGiN wrote: > >I am running a RH9 server with qmail and Mailman v2.1.7. > >Lately, Mailman has begun to fail whenever one tries to subscribe to a list, and logs the following error: > >Sep 19 16:07:41 2007 admin(3387): /var/mailman/Mailman/MailList.py:905: DeprecationWarning: raising a string exception is deprecated > raise Errors.MMSubscribeNeedsConfirmation This is because you have or upgraded to Python 2.5 which issues the deprecation warning for string exceptions. This warning will be supressed in Mailman 2.1.10, but it is only a warning. Other than the log message, nothing has changed. >And the subscribe log is this: > >Sep 19 16:00:43 2007 (3140) cse331: pending Onur 10.2.12.110 Which means the subscription is pending confirmation by the user who has been sent an email requesting confirmation. This in turn is because Privacy options...->Subscription rules->subscribe_policy is either 'Confirm' or 'Confirm and approve' >I don't remember I touched anything since it was last working fine. The other functions are fine as far as I observe now. What can be the possible reason for the above error? Note that Mailman is not failing. It is doing what it is configured to do. The only 'error' is the deprecation warning from Python 2.5, and that is just a warning. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From cwaltham at bowdoin.edu Wed Sep 19 17:27:04 2007 From: cwaltham at bowdoin.edu (Chris Waltham) Date: Wed, 19 Sep 2007 11:27:04 -0400 Subject: [Mailman-Users] Confusion between sendmail and mailman for hostnames Message-ID: <62195450-21CF-4AE8-B270-5C24257F9AD7@bowdoin.edu> I must confess that it has been, well, years since I've used sendmail, and I guess things have changed in the meantime. Apparently there's this new sendmail.mc file? :-) Seriously though, I'm having difficulty getting sendmail (8.13.1) and Mailman (2.1.9) to play nice under RHEL 4. I have a new server called bingham.testing.bowdoin.edu, which has a CNAME in DNS so that newlists.bowdoin.edu points to bingham.testing.bowdoin.edu. Because bingham will do other things than just Mailman, I wanted this flexibility. I compiled Mailman with --with-mailhost=newlists.bowdoin.edu and --with- urlhost=newlists.bowdoin.edu so that I can make as few changes to mm_cfg.py as necessary. So, I'll create a list called "testing" on the machine that is bingham.testing.bowdoin.edu (but Mailman believes it's newlists.bowdoin.edu). I can email testing at newlists.bowdoin.edu and subscribe myself to the list and post to the list successfully. However, when I click "Reply" to a message posted to the testing list, the email address displayed is testing at bingham.testing.bowdoin.edu instead of testing at newlists.bowdoin.edu. I presume that this is a sendmail problem. I've added "newlists.bowdoin.edu" to /etc/mail/local-host-names but that didn't fix the issue. I've also tried setting "MASQUERADE_AS (`newlists.bowdoin.edu')dnl" but that didn't have the result I wanted, either. Could someone please help me out? Let me know if you need more information from my sendmail.mc and I'll gladly provide it. Thanks, Chris From msapiro at value.net Wed Sep 19 17:34:57 2007 From: msapiro at value.net (Mark Sapiro) Date: Wed, 19 Sep 2007 08:34:57 -0700 Subject: [Mailman-Users] Confusion between sendmail and mailman for hostnames In-Reply-To: <62195450-21CF-4AE8-B270-5C24257F9AD7@bowdoin.edu> Message-ID: Chris Waltham wrote: > >I have a new server called bingham.testing.bowdoin.edu, which has a >CNAME in DNS so that newlists.bowdoin.edu points to >bingham.testing.bowdoin.edu. Because bingham will do other things >than just Mailman, I wanted this flexibility. I compiled Mailman >with --with-mailhost=newlists.bowdoin.edu and --with- >urlhost=newlists.bowdoin.edu so that I can make as few changes to >mm_cfg.py as necessary. > >So, I'll create a list called "testing" on the machine that is >bingham.testing.bowdoin.edu (but Mailman believes it's >newlists.bowdoin.edu). I can email testing at newlists.bowdoin.edu and >subscribe myself to the list and post to the list successfully. >However, when I click "Reply" to a message posted to the testing >list, the email address displayed is >testing at bingham.testing.bowdoin.edu instead of >testing at newlists.bowdoin.edu. I believe this is the exact issue of the FAQ at The solution is to not use a CNAME for newlists.bowdoin.edu, use an A record with the same address as bingham.testing.bowdoin.edu. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From bluria at gmail.com Wed Sep 19 17:51:20 2007 From: bluria at gmail.com (Brian Luria) Date: Wed, 19 Sep 2007 11:51:20 -0400 Subject: [Mailman-Users] Membership List View in admin section In-Reply-To: References: Message-ID: mailman is on a host server (i.e. I pay a hosting company) I dont think I have access to the mailman install as I share the install on the server so I dont THINK I can edit those files -- unless you think otherwise. On 9/19/07, Mark Sapiro wrote: > > Brian Luria wrote: > > >Is there a way to set it to just show all the members so I can scroll > down, > >without having to use the alphabetical listing? > >I have a list with 47 members so it wouldnt be that big. > >It seems like there's a setting where if the list is up to a certain > number > >of members, then it lists them, otherwise it goes to the other format. > > > See > > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > -- Brian J. Luria DVM, DACVIM Florida Veterinary Specialists 3000 Busch Lake Blvd Tampa, FL 33614 Phone: (813) 933-8944 Fax: (813) 936-9595 http://www.fvs.com From cwaltham at bowdoin.edu Wed Sep 19 17:47:11 2007 From: cwaltham at bowdoin.edu (Chris Waltham) Date: Wed, 19 Sep 2007 11:47:11 -0400 Subject: [Mailman-Users] Confusion between sendmail and mailman for hostnames In-Reply-To: References: Message-ID: <598152F0-3C38-4E5E-A1B0-1A5CFD5D8359@bowdoin.edu> Hi Mark, On Sep 19, 2007, at 11:34 AM, Mark Sapiro wrote: > Chris Waltham wrote: >> >> I have a new server called bingham.testing.bowdoin.edu, which has a >> CNAME in DNS so that newlists.bowdoin.edu points to >> bingham.testing.bowdoin.edu. Because bingham will do other things >> than just Mailman, I wanted this flexibility. I compiled Mailman >> with --with-mailhost=newlists.bowdoin.edu and --with- >> urlhost=newlists.bowdoin.edu so that I can make as few changes to >> mm_cfg.py as necessary. >> >> So, I'll create a list called "testing" on the machine that is >> bingham.testing.bowdoin.edu (but Mailman believes it's >> newlists.bowdoin.edu). I can email testing at newlists.bowdoin.edu and >> subscribe myself to the list and post to the list successfully. >> However, when I click "Reply" to a message posted to the testing >> list, the email address displayed is >> testing at bingham.testing.bowdoin.edu instead of >> testing at newlists.bowdoin.edu. > > > I believe this is the exact issue of the FAQ at > > > The solution is to not use a CNAME for newlists.bowdoin.edu, use an A > record with the same address as bingham.testing.bowdoin.edu. I can't believe I missed that in the FAQ! I've gone through that FAQ a bunch for other issues (mostly moving lists), I feel embarrassed now. I removed the two masquerading entries from sendmail.mc, changed the CNAME to an A-record and now everything is peachy. Thanks again, Chris From brad at shub-internet.org Wed Sep 19 19:21:52 2007 From: brad at shub-internet.org (Brad Knowles) Date: Wed, 19 Sep 2007 12:21:52 -0500 Subject: [Mailman-Users] Membership List View in admin section In-Reply-To: References: Message-ID: On 9/19/07, Brian Luria wrote: > mailman is on a host server (i.e. I pay a hosting company) > I dont think I have access to the mailman install as I share the install on > the server so I dont THINK I can edit those files -- unless you think > otherwise. There is no web-accessible way to change that setting. In your case, you have a few choices: 1. Get your hosting company to change it for you. 2. Decide to live with it. 3. Decide to switch hosting companies. I don't see any other obvious alternatives. -- Brad Knowles LinkedIn Profile: From vik at nava.hu Wed Sep 19 19:38:29 2007 From: vik at nava.hu (=?ISO-8859-2?Q?P=E1l_Viktor?=) Date: Wed, 19 Sep 2007 19:38:29 +0200 Subject: [Mailman-Users] Mailman charset problems Message-ID: <46F15E95.3080102@nava.hu> Hi! I have a problem with the mailman web interface output. I use the hungarian translation, which should be generated as an ISO-8859-2 html file, but it generates an UTF-8 output. I have checked the text files which are related to the web output and they are all in ISO-8859-2. It seems to me like mailman would read the files in ISO-8859-2, and after that it converts it to UTF-8 and generates the html output. This is the add language row of my /usr/lib/mailman/Mailman/Defaults.py file. add_language('hu', _('Hungarian'), 'iso-8859-2') Default language in the /etc/mailman/mm_cfg.py file is: DEFAULT_SERVER_LANGUAGE = 'hu' In the html output the charset is ok: Apache header is also ISO-8859-2. So the browser reads it as ISO-8859-2 text, but it is UTF-8 text so it is unreadable. If I temporary chanage the charset in firefox to utf-8 it appears correct. It is an ubuntu dapper with mailman version 2.1.5-9ubuntu4.1. Thanks for the help. Viktor From bluria at gmail.com Wed Sep 19 19:50:37 2007 From: bluria at gmail.com (Brian Luria) Date: Wed, 19 Sep 2007 13:50:37 -0400 Subject: [Mailman-Users] Membership List View in admin section In-Reply-To: References: Message-ID: Thanks. I'll live with it :>) On 9/19/07, Brad Knowles wrote: > > On 9/19/07, Brian Luria wrote: > > > mailman is on a host server (i.e. I pay a hosting company) > > I dont think I have access to the mailman install as I share the > install on > > the server so I dont THINK I can edit those files -- unless you think > > otherwise. > > There is no web-accessible way to change that setting. In your case, > you have a few choices: > > 1. Get your hosting company to change it for you. > > 2. Decide to live with it. > > 3. Decide to switch hosting companies. > > I don't see any other obvious alternatives. > > -- > Brad Knowles > LinkedIn Profile: > -- Brian J. Luria DVM, DACVIM Florida Veterinary Specialists 3000 Busch Lake Blvd Tampa, FL 33614 Phone: (813) 933-8944 Fax: (813) 936-9595 http://www.fvs.com From mwelch at redwoodalliance.org Wed Sep 19 20:31:47 2007 From: mwelch at redwoodalliance.org (Michael Welch) Date: Wed, 19 Sep 2007 11:31:47 -0700 Subject: [Mailman-Users] option to send mail but disallow posting Message-ID: <20070919184721.B378A1E4007@bag.python.org> Hi gang. Beginner Mailman question here. Is there a subscription option which allows receipt of all list emails, but disallows some members from posting? It would need to be something that is Admin settable, but cannot be changed by the subscriber. I understand that I can put these folks on moderation and then delete any attempt to post, but I would rather have a hands-off method. This Mailman installation will be hosted by DreamHost, so I do not have access to command-line tools. - - - - - - - - - - - - Michael Welch, volunteer Redwood Alliance PO Box 293 Arcata, CA 95518 707-822-7884 mwelch at redwoodalliance.org www.redwoodalliance.org From monurergin at yahoo.com Wed Sep 19 22:14:41 2007 From: monurergin at yahoo.com (M. Onur ERGiN) Date: Wed, 19 Sep 2007 13:14:41 -0700 (PDT) Subject: [Mailman-Users] List Subscription Error In-Reply-To: Message-ID: <502137.1445.qm@web30314.mail.mud.yahoo.com> Thanks for pointing to Python upgrade. That's probably the reason of the problem. I guess, I have missed to stress on one point in my question :) Along with those mailman logs, no requests happen to be pending in the list admin view. A person submits subscription info to Mailman, and he doesn't receive any response. The admin doesn't recieve any subscription request/notification, either. So, the subscription request just disappears as if it has never been sent. Can I solve this problem by simply replacing some scripts with newer versions of them? Regards, Onur. Mark Sapiro wrote: M. Onur ERGiN wrote: > >I am running a RH9 server with qmail and Mailman v2.1.7. > >Lately, Mailman has begun to fail whenever one tries to subscribe to a list, and logs the following error: > >Sep 19 16:07:41 2007 admin(3387): /var/mailman/Mailman/MailList.py:905: DeprecationWarning: raising a string exception is deprecated > raise Errors.MMSubscribeNeedsConfirmation This is because you have or upgraded to Python 2.5 which issues the deprecation warning for string exceptions. This warning will be supressed in Mailman 2.1.10, but it is only a warning. Other than the log message, nothing has changed. >And the subscribe log is this: > >Sep 19 16:00:43 2007 (3140) cse331: pending Onur 10.2.12.110 Which means the subscription is pending confirmation by the user who has been sent an email requesting confirmation. This in turn is because Privacy options...->Subscription rules->subscribe_policy is either 'Confirm' or 'Confirm and approve' >I don't remember I touched anything since it was last working fine. The other functions are fine as far as I observe now. What can be the possible reason for the above error? Note that Mailman is not failing. It is doing what it is configured to do. The only 'error' is the deprecation warning from Python 2.5, and that is just a warning. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan --------------------------------- Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search. From stephen at xemacs.org Wed Sep 19 23:26:41 2007 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Thu, 20 Sep 2007 06:26:41 +0900 Subject: [Mailman-Users] Mailman charset problems In-Reply-To: <46F15E95.3080102@nava.hu> References: <46F15E95.3080102@nava.hu> Message-ID: <876426e48e.fsf@uwakimon.sk.tsukuba.ac.jp> P?l Viktor writes: > I have a problem with the mailman web interface output. > I use the hungarian translation, which should be generated as an > ISO-8859-2 html file, but it generates an UTF-8 output. > I have checked the text files which are related to the web output and > they are all in ISO-8859-2. I seem to recall that this is a known bug, and I believe it was fixed after Mailman 2.1.5. You should see if there is a more recent version of mailman packaged by Ubuntu. The fix may be fairly recent, and there are known security problems fixed in each revision. You should get the most recent version available, currently 2.1.9. From msapiro at value.net Thu Sep 20 03:31:46 2007 From: msapiro at value.net (Mark Sapiro) Date: Wed, 19 Sep 2007 18:31:46 -0700 Subject: [Mailman-Users] option to send mail but disallow posting In-Reply-To: <20070919184721.B378A1E4007@bag.python.org> Message-ID: Michael Welch wrote: > >Is there a subscription option which allows receipt of all list emails, but disallows some members from posting? It would need to be something that is Admin settable, but cannot be changed by the subscriber. > >I understand that I can put these folks on moderation and then delete any attempt to post, but I would rather have a hands-off method. You're half way there. You set them moderated, set the list's member_moderation_action to Reject and provide appropriate text in member_moderation_notice. These are on the Privacy options...->Sender filters page in the admin interface. >This Mailman installation will be hosted by DreamHost, so I do not have access to command-line tools. Not a problem. This is all done through the web admin interface. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Thu Sep 20 03:54:27 2007 From: msapiro at value.net (Mark Sapiro) Date: Wed, 19 Sep 2007 18:54:27 -0700 Subject: [Mailman-Users] List Subscription Error In-Reply-To: <502137.1445.qm@web30314.mail.mud.yahoo.com> Message-ID: M. Onur ERGiN wrote: > >Thanks for pointing to Python upgrade. That's probably the reason of the problem. It is the source of the deprecation warning, but that warning per se is not the source of any other problem. > I guess, I have missed to stress on one point in my question :) Along with those mailman logs, no requests happen to be pending in the list admin view. A person submits subscription info to Mailman, and he doesn't receive any response. The admin doesn't recieve any subscription request/notification, either. So, the subscription request just disappears as if it has never been sent. That is a separate issue from the deprecation warning and the warning is not the cause of the problem. Mailman adds the pending subscription to the pending.pck file and sends the confirmation email prior to raising the Errors.MMSubscribeNeedsConfirmation, so the deprecation warning resulting from this is not the cause of the confirmation email not being received. Are any Mailman generated notices being received? If not, is VirginRunner running? If you download and run (mirrored at , do you see the pending subscription? If you look in Mailman's smtp and smtp-failure logs, do you see anything relating the the sending of the notice to the user? > Can I solve this problem by simply replacing some scripts with newer versions of them? No. First, there are not currently any usable scripts that won't issue this warning. Second, when Mailman 2.1.10 is ready, all it will do is tell Python to supress the warning which won't change any behavior except the logging of the message. Third, we don't yet know what the problem is, but I suspect Mailman is successfully pending the subscription (list_pending will tell) and is successfully generating the user confirmation message, but that that message is still in the virgin queue or there is some other delivery problem. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mwelch at redwoodalliance.org Thu Sep 20 04:12:27 2007 From: mwelch at redwoodalliance.org (Michael Welch) Date: Wed, 19 Sep 2007 19:12:27 -0700 Subject: [Mailman-Users] option to send mail but disallow posting In-Reply-To: References: <20070919184721.B378A1E4007@bag.python.org> Message-ID: <20070920021944.B94881E5E6E@bag.python.org> Mark Sapiro wrote at 06:31 PM 09/19/2007: >>Is there a subscription option which allows receipt of all list emails, but disallows some members from posting? It would need to be something that is Admin settable, but cannot be changed by the subscriber. >> >>I understand that I can put these folks on moderation and then delete any attempt to post, but I would rather have a hands-off method. > >You're half way there. You set them moderated, set the list's >member_moderation_action to Reject and provide appropriate text in >member_moderation_notice. These are on the Privacy options...->Sender >filters page in the admin interface. Thanks, Mark. Seems like that would prevent me from being able to moderate other participants that do have permission to post, but must be baby-sat. So, unless there is something else, I guess I am stuck with putting them on the list moderated, and hand-rejecting their posts. Allowing non-posting list members would be a good feature request. The way we dealt with this on Topica was to have them view the archives online which obviously had to be made public. P.S. Still looking for a regexp wizard to help delete Topica body footers and ads from the emails in my mailboxes. - - - - - - - - - - - - Michael Welch, volunteer Redwood Alliance PO Box 293 Arcata, CA 95518 707-822-7884 mwelch at redwoodalliance.org www.redwoodalliance.org From raquel at thericehouse.net Thu Sep 20 04:52:22 2007 From: raquel at thericehouse.net (Raquel) Date: Wed, 19 Sep 2007 19:52:22 -0700 Subject: [Mailman-Users] FYI -- Re: migrating Mailman server In-Reply-To: References: <200701291511.l0TFBXFs026380@julie.lostwells.net> Message-ID: <20070919195222.74818810.raquel@thericehouse.net> On Mon, 29 Jan 2007 12:37:24 -0800 Mark Sapiro wrote: > Hank van Cleef wrote: > > >I have just moved a 9-year-old list from another installation to > >mine, and have a draft how-to faq on how I did it that isn't > >quite ready for prime time. Since I know there isn't any clear > >information on this in the current mailman FAQ tree, I'll give > >the salient points fairly briefly. I'm sure that the Mailman > >developers will want to comment, so I'll let them do the talking > >after posting this. > > > I have a few initial remarks interspersed below. > > > >It's fairly easy to do a seamless migration of an old Mailman > >list's personality and history into a new Mailman install. Based > >on a migration from Mailman 2.1.4 to 2.1.9, what you need from > >the old installation are: > > > >(base directory is the old mailman tree, typically > >/usr/local/mailman) > > > >1. All of the files under the ./lists/ directory. > >2. All of the files under the ./archives/private/ > >directory. 3. ./Mailman/mm_cfg.py > >4. Any other files in the ./archives directory with in > >their names. > > > Depending on how you do archives, you *may* not need 2. You may > just need the ./archives/private/.mbox/.mbox > files. > > > >A tar of those directory trees plus the mm_cfg.py file gives you > >the old list's configuration, personality, membership data base, > >and archives. > > > >On your new system, do a new installation of Mailman at the > >revision level that the old list was running on. I was moving > >from a 2.1.4 installation, and building from source, so had to > >get the Mailman 2.1.4 sources. Follow the instructions in the > >build and installation guide on the Mailman web site exactly > >(don't plan on just running configure and doing a make---there is > >a lot more you need to do). > > > It should not be necessary to install the "same" version and then > upgrade. In this example, it should be OK to just install Mailman > 2.1.9 directly on the new system. > > Mailman is aware enough to update a newly encountered, older > version config.pck (or even config.db from 2.0.x) to the current > format. A lot of what bin/update does when you update to a new > release is stuff that Mailman will do on the fly when you drop an > 'old' list into a working Mailman, or it is generic stuff having > to do with file locations, queue entry formats and other things > not directly relevant to a list. > > Thus, it is normally just fine to drop a 2.1.4 config.pck into a > working 2.1.9 installation. > > > >On the fresh installation, create a new list with the same name > >as the one you are moving. For example, if you're moving from > >"waffles at wafflehaus.org," create a new "waffles" list. Use that > >newly-created list to check out your installation. You can add a > >few local list member names to convenient mail addresses on your > >site, and use this to check out the integration with your mailer > >and web server. Use the old list's mm_cfg.py as a guide in > >chosing what to put in your installation's mm_cfg.py. > > > >Once you have your installation running, take a look in the > >./list/. You'll find config.pck. Check its > >owner/group and permissions. Copy the old list's config.pck file > >into the new installation's directory and set its owner/group and > >permissions to match. Run the fix_url script as needed to get > >the correct URL for your new installation installed. If there > >are html files in the old list's list/ directory > >(template file overlays), copy them over as well. > > > >You should now be able to go to the listinfo page for the list, > >go into the mailman administrator options page, and review such > >things as the administrator/moderator addresses and settings, > >list mailto address, etc. Double check that the link-across > >URL's between pages are correct for your installation. > > > >Populate the archives directories. I still haven't worked out > >the best way for doing this, but you'll need the pipermail > >archives directories and files, and control files that the old > >Mailman created. The ./bin/check_perms script will help you > >getting all the owner/group and permissions set properly (Mailman > >is quite fussy about these). > > > Assuming you have a complete > archives/private/.mbox/.mbox from the old > installation, you can completely build the pipermail archive on > the new installation by the following process. > > 0) Migrate the list and run fix_url if needed. > 1) Copy the archives/private/.mbox/.mbox to > the new installation. > 2) Run > bin/cleanarch -n < > archives/private/.mbox/.mbox > to help find any unescaped 'From ' lines in the .mbox file. If > that finds any problems, run > bin/cleanarch < archives/private/.mbox/.mbox > tmp > cp tmp archives/private/.mbox/.mbox > 3) Run > bin/arch --wipe > to build the new archive. If the .mbox is large, this may choke in > which case, run for example: > bin/arch --wipe --end=1000 > followed by > bin/arch --start=1001 --end=2000 > etc. > > Note --wipe on first bin/arch only. Do not try to run the above in > parallel - locks will prevent it anyway. > > > >You should now have your old list completely installed on your > >new site. From there, you can build the current versions of > >Python (2.5), Mailman (2.1.9) and do an upgrade installation. > > > As I indicate above, it is OK to start with an up-to-date > installation and avoid the upgrade step. > > -- > Mark Sapiro Just to let everyone know ... I moved some lists from an old server to a new server using the above. It worked very well, except for a few things I had to clean up under sendmail. Thank you for the good map to follow! -- Raquel ============================================================ This above all: to thine own self be true; And it must follow, as the night the day; Thou canst not then be false to any man. --William Shakespeare From msapiro at value.net Thu Sep 20 05:55:29 2007 From: msapiro at value.net (Mark Sapiro) Date: Wed, 19 Sep 2007 20:55:29 -0700 Subject: [Mailman-Users] option to send mail but disallow posting In-Reply-To: <20070920021944.B94881E5E6E@bag.python.org> Message-ID: Michael Welch wrote: > >Thanks, Mark. Seems like that would prevent me from being able to moderate other participants that do have permission to post, but must be baby-sat. Yes it would. With current Mailman, you can't have both. >So, unless there is something else, I guess I am stuck with putting them on the list moderated, and hand-rejecting their posts. Yes. >Allowing non-posting list members would be a good feature request. I'm not sure how much interest there would be. My feeling is that for most lists, the choices of moderating some or all members to be able to review their posts, versus moderating members to prohibit posting as for an announce list is sufficient. You could consider a second list which is a member of the first list and has as it's members, the people who should receive list posts but not be able to post. You could then set the second list as announce only with all members moderated and unable to post. See for more info on setting this up. Also, since the first list wouldn't be an umbrella per se, you would need to set the second list's options on its membership on the first list to not receive periodic password reminders. This is an imperfect solution as anyone can still go to the member options login page for the second list's membership of the first list and request a password reminder which will be sent to the second list. >The way we dealt with this on Topica was to have them view the archives online which obviously had to be made public. Public archives are an option with Mailman too. >P.S. Still looking for a regexp wizard to help delete Topica body footers and ads from the emails in my mailboxes. I don't know about the ads, but the footer is introduced with a line that begins with a few '-' followed by a '^' followed by more '-'. Something like ---^----------------------------------------------- It shouldn't be hard to match that - i.e. ^-{3}\^-{47}$ for the line above. Also, you might be interested in (mirrored at ) which will extract posts from a Topica archive into mbox format with minimal headers (From:, Date: and Subject:) and no ads or Topica footers. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Thu Sep 20 06:06:10 2007 From: msapiro at value.net (Mark Sapiro) Date: Wed, 19 Sep 2007 21:06:10 -0700 Subject: [Mailman-Users] List Subscription Error In-Reply-To: Message-ID: >M. Onur ERGiN wrote: > >> I guess, I have missed to stress on one point in my question :) Along with those mailman logs, no requests happen to be pending in the list admin view. I didn't specifically respond to this in my prior response, so ... The subscribe_policy is either 'Confirm' or 'Confirm and Approve'. I know this because of the 'pending' message in the subscribe log which is logged when the user confirmation is sent. If it is 'Confirm', the request never shows up in the admindb interface as it never requires moderator action. If it is 'Confirm and Approve', it doesn't show up in the admindb interface until after it is confirmed by the user. The list_pending script I mentioned in my prior reply will show you if it is waiting user confirmation. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From faisal at MyBSD.org.my Thu Sep 20 08:49:09 2007 From: faisal at MyBSD.org.my (Ahmad Faisal) Date: Thu, 20 Sep 2007 14:49:09 +0800 Subject: [Mailman-Users] Error during creating mailing list Message-ID: <46F217E5.7020608@MyBSD.org.my> I got these problem when try to create first mailing list using mailman after finish install mailman on my machine. Anyone could shed me a light ? [root at ns1]/usr/lib/mailman/bin# ./newlist -q mailman hostmaster at whatever.com ayamtua Traceback (most recent call last): File "./newlist", line 219, in ? main() File "./newlist", line 160, in main mlist.Create(listname, owner_mail, pw) File "/usr/lib/mailman/Mailman/MailList.py", line 457, in Create self.InitVars(name, admin, crypted_password) File "/usr/lib/mailman/Mailman/MailList.py", line 296, in InitVars self.web_page_url = ( TypeError: not all arguments converted during string formatting OS: CentOS release 4.5 (Final) Mailman version: mailman-2.1.5.1-34.rhel4.5 Uname: Linux ns1.whatever.com 2.6.9-55.plus.c4 #1 Sun May 20 10:10:53 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux --- ded1 "Will you meet me in the far away ?" http://www.ded1.net ------------------------------------------------------------------ - - - DISCLAIMER: This e-mail (including any attachments) may contain confidential information. If you are not the intended recipient, you are hereby notified that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender or MIMOS Berhad immediately and delete the original message. Opinions, conclusions and other information in this e-mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law. From mike.peachey at jennic.com Thu Sep 20 11:05:55 2007 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 20 Sep 2007 10:05:55 +0100 Subject: [Mailman-Users] Umbrella Lists & Subject Prefixes Message-ID: <46F237F3.2040105@jennic.com> Mailman Ver: 2.1.5 Our company now exclusively uses Mailman for it's departmental mailing lists and it's done through umbrella lists set up in the same way as the org chart for the company. I have managed to stop all sub-lists from re-archiving mails that have been through higher lists by adding an X-No-Archive to mails as soon as they're archived so that they only get archived once. However, Subject Prefixes are giving me a little more hassle. Currently, if a message goes through the lists "ListA, ListB and ListC" on their way to a recipient, the subject line looks like this: Subject: [ListC][ListB][ListA] $subject This is getting to be an annoyance for many within the company and I would like to get it to ONLY add a subject prefix if it's the first list it's been through. So, if you send to ListA, you get [ListA] instead of [ListC][ListB][ListA] and if you send to ListB you get [ListB] instead of [ListC][ListB]. I have spent a lot of time looking for a solution to this one, but the only solution I found is one from 1999 that might or might not work for this version of Mailman, but my lack of Python skill is letting me down in working it out. Can anyone offer any help on this? Roll-on Mailman v3! -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From monurergin at yahoo.com Thu Sep 20 12:33:17 2007 From: monurergin at yahoo.com (M. Onur ERGiN) Date: Thu, 20 Sep 2007 03:33:17 -0700 (PDT) Subject: [Mailman-Users] List Subscription Error In-Reply-To: Message-ID: <531026.76211.qm@web30303.mail.mud.yahoo.com> Yes, you are right. The subscribe policy is Confirm, so it is normal not to see any pending subscribe requests. Using the list_pending script, I can see the emails which requested membership and pending for confirmation. But still, the subscribers don't receive any confirmation emails. And neither smtp, nor smtp-failure log nothing. Qmail (which is working fine) doesn't log anything related to this, either. So, can you recommend anything but a reinstall? regards, Onur. Mark Sapiro wrote: >M. Onur ERGiN wrote: > >> I guess, I have missed to stress on one point in my question :) Along with those mailman logs, no requests happen to be pending in the list admin view. I didn't specifically respond to this in my prior response, so ... The subscribe_policy is either 'Confirm' or 'Confirm and Approve'. I know this because of the 'pending' message in the subscribe log which is logged when the user confirmation is sent. If it is 'Confirm', the request never shows up in the admindb interface as it never requires moderator action. If it is 'Confirm and Approve', it doesn't show up in the admindb interface until after it is confirmed by the user. The list_pending script I mentioned in my prior reply will show you if it is waiting user confirmation. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan --------------------------------- Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. From msapiro at value.net Thu Sep 20 18:13:40 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 20 Sep 2007 09:13:40 -0700 Subject: [Mailman-Users] List Subscription Error In-Reply-To: <531026.76211.qm@web30303.mail.mud.yahoo.com> Message-ID: M. Onur ERGiN wrote: > >Using the list_pending script, I can see the emails which requested membership and pending for confirmation. But still, the subscribers don't receive any confirmation emails. And neither smtp, nor smtp-failure log nothing. Qmail (which is working fine) doesn't log anything related to this, either. > >So, can you recommend anything but a reinstall? OK. What we know is everything looks as it should except users don't receive the subscription confirmation email and it appears Mailman isn't sending it (no relevant entries in smtp* logs). Look at sections 1b, 5b and 8. Is VirginRunner running? Are there files in the virgin/ queue? Are there any unusual messages in the qrunner log relating to VirginRunner? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From kaldari at gmail.com Thu Sep 20 19:11:49 2007 From: kaldari at gmail.com (Ryan Kaldari) Date: Thu, 20 Sep 2007 12:11:49 -0500 Subject: [Mailman-Users] what does the nomail reason code "U" mean? Message-ID: OK, I give up, what does the nomail reason code "U" mean? Apparently there is no documentation of these nomail reason codes anywhere on the internet. I've seen a couple posts explaining that "B" means excessing bounces, "A" means set by the administrator, and "?" means unknown. So what does "U" mean? -kaldari From dragon at crimson-dragon.com Thu Sep 20 19:20:15 2007 From: dragon at crimson-dragon.com (Dragon) Date: Thu, 20 Sep 2007 10:20:15 -0700 Subject: [Mailman-Users] what does the nomail reason code "U" mean? In-Reply-To: References: Message-ID: <200709201719.l8KHJErx013441@unreal.eroded.org> Ryan Kaldari wrote: >OK, I give up, what does the nomail reason code "U" mean? Apparently >there is no documentation of these nomail reason codes anywhere on the >internet. I've seen a couple posts explaining that "B" means excessing >bounces, "A" means set by the administrator, and "?" means unknown. So >what does "U" mean? ---------------- End original message. --------------------- U = User, meaning the person with that e-mail address went into their settings page and set their account to No mail. The other two are as you surmised. Dragon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Venimus, Saltavimus, Bibimus (et naribus canium capti sumus) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From msapiro at value.net Thu Sep 20 19:38:27 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 20 Sep 2007 10:38:27 -0700 Subject: [Mailman-Users] what does the nomail reason code "U" mean? In-Reply-To: <200709201719.l8KHJErx013441@unreal.eroded.org> Message-ID: Dragon wrote: >Ryan Kaldari wrote: >>OK, I give up, what does the nomail reason code "U" mean? Apparently >>there is no documentation of these nomail reason codes anywhere on the >>internet. I've seen a couple posts explaining that "B" means excessing >>bounces, "A" means set by the administrator, and "?" means unknown. So >>what does "U" mean? >---------------- End original message. --------------------- > >U = User, meaning the person with that e-mail address went into their >settings page and set their account to No mail. > >The other two are as you surmised. And if you click the "Click here to include the legend for this table." link above the membership list table, you will get this information as well as the details for all the column headings. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From kaldari at gmail.com Thu Sep 20 19:46:18 2007 From: kaldari at gmail.com (Ryan Kaldari) Date: Thu, 20 Sep 2007 12:46:18 -0500 Subject: [Mailman-Users] what does the nomail reason code "U" mean? In-Reply-To: References: <200709201719.l8KHJErx013441@unreal.eroded.org> Message-ID: Wow, so obvious, I totally missed it! Sorry about that :) Thanks for your help! -kaldari On 9/20/07, Mark Sapiro wrote: > Dragon wrote: > > >Ryan Kaldari wrote: > >>OK, I give up, what does the nomail reason code "U" mean? Apparently > >>there is no documentation of these nomail reason codes anywhere on the > >>internet. I've seen a couple posts explaining that "B" means excessing > >>bounces, "A" means set by the administrator, and "?" means unknown. So > >>what does "U" mean? > >---------------- End original message. --------------------- > > > >U = User, meaning the person with that e-mail address went into their > >settings page and set their account to No mail. > > > >The other two are as you surmised. > > > And if you click the "Click here to include the legend for this table." > link above the membership list table, you will get this information as > well as the details for all the column headings. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From msapiro at value.net Thu Sep 20 20:30:45 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 20 Sep 2007 11:30:45 -0700 Subject: [Mailman-Users] Umbrella Lists & Subject Prefixes In-Reply-To: <46F237F3.2040105@jennic.com> Message-ID: Mike Peachey wrote: > >I have managed to stop all sub-lists from re-archiving mails that have >been through higher lists by adding an X-No-Archive to mails as soon as >they're archived so that they only get archived once. > >However, Subject Prefixes are giving me a little more hassle. > >Currently, if a message goes through the lists "ListA, ListB and ListC" >on their way to a recipient, the subject line looks like this: > >Subject: [ListC][ListB][ListA] $subject > >This is getting to be an annoyance for many within the company and I >would like to get it to ONLY add a subject prefix if it's the first list >it's been through. So, if you send to ListA, you get [ListA] instead of >[ListC][ListB][ListA] and if you send to ListB you get [ListB] instead >of [ListC][ListB]. > >I have spent a lot of time looking for a solution to this one, but the >only solution I found is one from 1999 that might or might not work for >this version of Mailman, but my lack of Python skill is letting me down >in working it out. If you yould tell us what the 1999 solution is or give a link to it, we might be able to tell you if it applies. However, here's a solution. IIRC, you are using a custom handler to add the X-No-Archive: header to mail sent from a list so it is received by subsequent lists with the header and not archived. Thus, you already have the presence of this header to know if a message has been through a prior list. And, if you're concerned about the possibility of a message arriving at the first list with an X-No-Archive: header already there, you could add an X-Mailman-No-Prefix: or some such header too. Now given that the message has a header that identifies it as one not wanting to be prefixed you need to modify Mailman/Handlers/CookHeaders.py as follows: Find the lines (watch for wrapping) def prefix_subject(mlist, msg, msgdata): # Add the subject prefix unless the message is a digest or is being fast # tracked (e.g. internally crafted, delivered to a single user such as the # list admin). prefix = mlist.subject_prefix and add two lines after the comment so it becomes def prefix_subject(mlist, msg, msgdata): # Add the subject prefix unless the message is a digest or is being fast # tracked (e.g. internally crafted, delivered to a single user such as the # list admin). if msg.get('x-no-archive', None) == None: return prefix = mlist.subject_prefix If you decide to use a header other than X-No-Archive:, you'd replace 'x-no-archive' above with the name of that header. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Thu Sep 20 20:41:13 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 20 Sep 2007 11:41:13 -0700 Subject: [Mailman-Users] Error during creating mailing list In-Reply-To: <46F217E5.7020608@MyBSD.org.my> Message-ID: Ahmad Faisal wrote: >I got these problem when try to create first mailing list using mailman >after finish install mailman on my machine. Anyone could shed me a light ? > >[root at ns1]/usr/lib/mailman/bin# ./newlist -q mailman >hostmaster at whatever.com ayamtua >Traceback (most recent call last): > File "./newlist", line 219, in ? > main() > File "./newlist", line 160, in main > mlist.Create(listname, owner_mail, pw) > File "/usr/lib/mailman/Mailman/MailList.py", line 457, in Create > self.InitVars(name, admin, crypted_password) > File "/usr/lib/mailman/Mailman/MailList.py", line 296, in InitVars > self.web_page_url = ( >TypeError: not all arguments converted during string formatting I suspect you have set DEFAULT_URL_PATTERN in mm_cfg.py and in so doing, you have removed the '%s' that's in the default value('http://%s/mailman/') to receive the host name. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Thu Sep 20 21:48:30 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 20 Sep 2007 12:48:30 -0700 Subject: [Mailman-Users] Clearing Archives In-Reply-To: Message-ID: Mervyn Kahn wrote: > >I know this was posted some time ago on how to clear out all the archive >info, I just cannot locate the instructions. >Can any one please assist. It depends on what you want to accomplish. If you really want to irrevocably remove all archived messages for a list, the safest way to do it is cd mailmans/installed/directory cp /dev/null archives/private/listname.mbox/listname.mbox bin/arch --wipe listname If you want to clear the web archives, but keep the cumulative mbox, just do cd mailmans/installed/directory bin/arch --wipe listname The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mk at epasella.com Fri Sep 21 09:45:54 2007 From: mk at epasella.com (Mervyn Kahn) Date: Fri, 21 Sep 2007 09:45:54 +0200 Subject: [Mailman-Users] Mailman not sending Message-ID: 21 September 2007 I am trying to set up my mailman this after my host changed my plans and moved my data. Previously all was functioning. However now I am having a problem sending the mail. I cannot figure out what to check to find out what is preventing the mail from sending When I address an e mail to epasella at epasella.biz it is received in the Tend to pending moderator request. I then approve the message. However, it does not deliver the message and is not listed it in the Archives. Please assist with any suggestions on what I should be checking to try and rectify the problem Thank you. Mervyn Kahn From mike.peachey at jennic.com Fri Sep 21 10:41:33 2007 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 21 Sep 2007 09:41:33 +0100 Subject: [Mailman-Users] Umbrella Lists & Subject Prefixes In-Reply-To: References: Message-ID: <46F383BD.5010301@jennic.com> Mark Sapiro wrote: > Find the lines (watch for wrapping) > > def prefix_subject(mlist, msg, msgdata): > # Add the subject prefix unless the message is a digest or is being > fast > # tracked (e.g. internally crafted, delivered to a single user such > as the > # list admin). > prefix = mlist.subject_prefix > > and add two lines after the comment so it becomes > > def prefix_subject(mlist, msg, msgdata): > # Add the subject prefix unless the message is a digest or is being > fast > # tracked (e.g. internally crafted, delivered to a single user such > as the > # list admin). > if msg.get('x-no-archive', None) == None: > return > prefix = mlist.subject_prefix > > If you decide to use a header other than X-No-Archive:, you'd replace > 'x-no-archive' above with the name of that header. > Thank you Mark you wonderful genius - what would this list be without your input? That's just the solution I was looking for, but was being put off-track by the 1999 solution which, for reference, is here: http://mail.python.org/pipermail/mailman-developers/1999-September/005936.html -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From can.cizer at gmail.com Fri Sep 21 13:42:36 2007 From: can.cizer at gmail.com (Can Cizer) Date: Fri, 21 Sep 2007 04:42:36 -0700 Subject: [Mailman-Users] Mailman can't send mail In-Reply-To: References: <53c527140709190345p75dbc7d2jb96166c6a87e9386@mail.gmail.com> Message-ID: <53c527140709210442x692b130et50e5beaff6d1d580@mail.gmail.com> On 9/19/07, Mark Sapiro wrote: > > Can Cizer wrote: > > > >The problem has changed a little bit :). Now, the mailman can send the > >messages inside the domain server,but it cannot send any messages to > outside > >like gmail,hotmail or yahoo.I checked the "smtp-failure" log and it is > >written that "delivery to can.cizer at gmail.com failed with code 553: > sorry, > >that domain isn't in my list of allowed rcpthosts (#5.7.1)". > > > This is an MTA (qmail) configuration issue. You have to tell qmail that > it is allowed to relay mail from Mailman (localhost port 25) > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > Thank you, this may be the problem,but i don't know how to tell qmail that it is allowed to relay mail from Mailman. May you help me? -- Can ?izer Computer Engineer Computer Engineering Dept, Yeditepe University Istanbul, Turkiye From msapiro at value.net Fri Sep 21 16:40:43 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 21 Sep 2007 07:40:43 -0700 Subject: [Mailman-Users] Umbrella Lists & Subject Prefixes In-Reply-To: <46F383BD.5010301@jennic.com> Message-ID: Mike Peachey wrote: >Mark Sapiro wrote: >> >> and add two lines after the comment so it becomes >> >> def prefix_subject(mlist, msg, msgdata): >> # Add the subject prefix unless the message is a digest or is being >> fast >> # tracked (e.g. internally crafted, delivered to a single user such >> as the >> # list admin). >> if msg.get('x-no-archive', None) == None: >> return >> prefix = mlist.subject_prefix >> >> If you decide to use a header other than X-No-Archive:, you'd replace >> 'x-no-archive' above with the name of that header. >> > >That's just the solution I was looking for, but was being >put off-track by the 1999 solution ... Ooops... The code above contains a mistake. It will prefix the subject only for messages that DO have the X-No-Archive: header. What you want in the if test is if msg.get('x-no-archive', None) <> None: return to skip the prefix if the header is not None. Those double negatives will get you every time. ;-) -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mike.peachey at jennic.com Fri Sep 21 16:43:18 2007 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 21 Sep 2007 15:43:18 +0100 Subject: [Mailman-Users] Umbrella Lists & Subject Prefixes In-Reply-To: References: Message-ID: <46F3D886.7030103@jennic.com> Mark Sapiro wrote: > Mike Peachey wrote: > >> Mark Sapiro wrote: >>> and add two lines after the comment so it becomes >>> >>> def prefix_subject(mlist, msg, msgdata): >>> # Add the subject prefix unless the message is a digest or is being >>> fast >>> # tracked (e.g. internally crafted, delivered to a single user such >>> as the >>> # list admin). >>> if msg.get('x-no-archive', None) == None: >>> return >>> prefix = mlist.subject_prefix >>> >>> If you decide to use a header other than X-No-Archive:, you'd replace >>> 'x-no-archive' above with the name of that header. >>> >> That's just the solution I was looking for, but was being >> put off-track by the 1999 solution ... > > > Ooops... > > > The code above contains a mistake. It will prefix the subject only for > messages that DO have the X-No-Archive: header. What you want in the > if test is > > if msg.get('x-no-archive', None) <> None: > return > > to skip the prefix if the header is not None. Those double negatives > will get you every time. ;-) > I'm using this anyway :-) if msg.has_key('x-no-subject-prefix') and msg.get('x-no-subject-prefix', '').lower() == 'yes': -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From msapiro at value.net Fri Sep 21 16:46:32 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 21 Sep 2007 07:46:32 -0700 Subject: [Mailman-Users] Mailman can't send mail In-Reply-To: <53c527140709210442x692b130et50e5beaff6d1d580@mail.gmail.com> Message-ID: Can Cizer wrote: > >> Thank you, this may be the problem,but i don't know how to tell qmail >that it is allowed to relay mail from Mailman. May you help me? No, I can't help you. I don't know a thing about configuring qmail, and I don't know if anyone else on this list does either. Note that this is not a Mailman issue per se. I doubt that Mail, Mutt or other MUAs on this box can send to the outside world either. I suggest that you persue this question with support resources for qmail. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Fri Sep 21 16:48:26 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 21 Sep 2007 07:48:26 -0700 Subject: [Mailman-Users] Mailman not sending In-Reply-To: Message-ID: Mervyn Kahn wrote: > >I am trying to set up my mailman this after my host changed my plans and >moved my data. >Previously all was functioning. >However now I am having a problem sending the mail. >I cannot figure out what to check to find out what is preventing the mail >from sending > >When I address an e mail to epasella at epasella.biz it is received in the Tend >to pending moderator request. >I then approve the message. >However, it does not deliver the message and is not listed it in the >Archives. > >Please assist with any suggestions on what I should be checking to try and >rectify the problem See . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From can.cizer at gmail.com Fri Sep 21 16:53:50 2007 From: can.cizer at gmail.com (Can Cizer) Date: Fri, 21 Sep 2007 17:53:50 +0300 Subject: [Mailman-Users] Mailman can't send mail In-Reply-To: References: <53c527140709210442x692b130et50e5beaff6d1d580@mail.gmail.com> Message-ID: <53c527140709210753wbcd0a3ckf55c1649406259e7@mail.gmail.com> On 9/21/07, Mark Sapiro wrote: > > Can Cizer wrote: > > > >> Thank you, this may be the problem,but i don't know how to tell qmail > >that it is allowed to relay mail from Mailman. May you help me? > > > No, I can't help you. I don't know a thing about configuring qmail, and > I don't know if anyone else on this list does either. > > Note that this is not a Mailman issue per se. I doubt that Mail, Mutt > or other MUAs on this box can send to the outside world either. I > suggest that you persue this question with support resources for qmail. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > Ok. Thank you anyway. From msapiro at value.net Fri Sep 21 16:56:40 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 21 Sep 2007 07:56:40 -0700 Subject: [Mailman-Users] Umbrella Lists & Subject Prefixes In-Reply-To: <46F3D886.7030103@jennic.com> Message-ID: Mike Peachey wrote: > >I'm using this anyway :-) > >if msg.has_key('x-no-subject-prefix') and msg.get('x-no-subject-prefix', >'').lower() == 'yes': You don't need to test separately for the presence of the header. That's what the second argument to msg.get() is for. It is returned when the header named in the first argument isn't present, so the above can be simplified to if msg.get('x-no-subject-prefix', '').lower() == 'yes': which is true if and only if there is an 'x-no-subject-prefix' header with value 'yes' -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mike.peachey at jennic.com Fri Sep 21 17:35:21 2007 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 21 Sep 2007 16:35:21 +0100 Subject: [Mailman-Users] Umbrella Lists & Subject Prefixes In-Reply-To: References: Message-ID: <46F3E4B9.1020405@jennic.com> Mark Sapiro wrote: > Mike Peachey wrote: >> I'm using this anyway :-) >> >> if msg.has_key('x-no-subject-prefix') and msg.get('x-no-subject-prefix', >> '').lower() == 'yes': > > > You don't need to test separately for the presence of the header. > That's what the second argument to msg.get() is for. It is returned > when the header named in the first argument isn't present, so the > above can be simplified to > > if msg.get('x-no-subject-prefix', '').lower() == 'yes': > > which is true if and only if there is an 'x-no-subject-prefix' header > with value 'yes' > Ta. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From kevin at Dunlap.Org Fri Sep 21 22:27:15 2007 From: kevin at Dunlap.Org (Kevin J Dunlap) Date: Fri, 21 Sep 2007 13:27:15 -0700 Subject: [Mailman-Users] Return-Receipt and Outlook 12.0 Message-ID: <200709212027.l8LKRFpS098596@Dunlap.Org> I am seeing "Uncaught bounce notification" e-mail from my Mailman 2.1.9. The unhandled message looks like a "return-receipt" for a read of an orginal e-mail sent thru a list managed by Mailman. I have looked at the header of the e-mail that the reader is sending the receipt too. There is no "Return-Receipt" in the e-mail header. Thanks to Cleanse.py it is striped out. The orginal e-mail is generated by "Microsoft Outlook 12.0" and the e-mail client generating the receipt is : X-Mailer: Microsoft Office Outlook 12.0 Is anyone else seeing "Return-Recipt" e-mail generating uncought bounce notification e-mail? Is MS hiding "return-receipt" inside another field, like X-MS-TNEF-Correlator: Thanks, -Kevin From msapiro at value.net Fri Sep 21 23:39:38 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 21 Sep 2007 14:39:38 -0700 Subject: [Mailman-Users] Return-Receipt and Outlook 12.0 In-Reply-To: <200709212027.l8LKRFpS098596@Dunlap.Org> Message-ID: Kevin J Dunlap wrote: > >I am seeing "Uncaught bounce notification" e-mail from my Mailman 2.1.9. >The unhandled message looks like a "return-receipt" for a read of an orginal >e-mail sent thru a list managed by Mailman. > >I have looked at the header of the e-mail that the reader is sending the >receipt too. There is no "Return-Receipt" in the e-mail header. >Thanks to Cleanse.py it is striped out. Is there any header that even remotely looks like it's asking for a delivery receipt? If you haven't done so, try looking at the message in the archives/private/listname.mbox/listname.mbox file just in case there was such a header that got removed on it's way to some but not all recipients. >The orginal e-mail is generated by "Microsoft Outlook 12.0" >and the e-mail client generating the receipt is : >X-Mailer: Microsoft Office Outlook 12.0 > >Is anyone else seeing "Return-Recipt" e-mail generating uncought bounce notification e-mail? I haven't seen it on my production lists, and I'm sure some of my users must be using Outlook. >Is MS hiding "return-receipt" inside another field, like X-MS-TNEF-Correlator: That seems unlikely. Perhaps Outlook is sending unrequested receipts, but that seems unlikely too. Perhaps there is something in the application/ms-tnef (Winmail.dat) part itself that asks for a receipt. You could try using content filtering to remove these if you aren't already. If you do find a header that's causing this, please let us know as we definitely want to add it to the list of headers we remove in Cleanse.py. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sat Sep 22 01:09:47 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 21 Sep 2007 16:09:47 -0700 Subject: [Mailman-Users] Where's Korea? (recurring problem) In-Reply-To: <46EB818F.9060709@pcraft.com> Message-ID: Ashley M. Kirchner wrote: >Mark Sapiro wrote: >> It looks like the >> >> #include "Python.h" >> >> near the beginning of _koco.c is failing. Is there a python2.4 directory >> in /usr/include? >> > That was it. python-devel was not installed on this machine. Would >be nice if the configure script checked for all the necessary header >files prior to compiling/installing. In off list communication, we discovered that the RedHat FC5 'python' package contains a full distutils module, but does not contain the necessary header files for compiling/installing Python packages with C language extensions. A patch to configure.in (which is processed by autoconf to make configure) which makes configure test explicitly for the header files is attached and will be included in Mailman 2.1.10. >It installed now...though the >bazillion errors were still there: > >src/_koco_uhc.h:3008: warning: pointer targets in initialization differ >in signedness >src/_koco_uhc.h:3008: warning: pointer targets in initialization differ >in signedness >src/_koco_uhc.h:3008: warning: pointer targets in initialization differ >in signedness I was able to duplicate these warnings by giving the -pedantic option to gcc. They are not fatal, and the installed korean codecs will still work. Also, the configure in Mailman 2.1.10 will have a great deal more in it than the ones in 2.1.9 and previous versions. This is not because of any configure.in changes, but rather because it is generated with autoconf 2.59 which adds a bunch more stuff than autoconf 2.13 (which generated the Mailman 2.1.9 configure) did. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: configure.in.patch.txt Url: http://mail.python.org/pipermail/mailman-users/attachments/20070921/962ae7e0/attachment-0001.txt From jonsson at mj1.mine.nu Sun Sep 23 14:59:53 2007 From: jonsson at mj1.mine.nu (mattias) Date: Sun, 23 Sep 2007 14:59:53 +0200 Subject: [Mailman-Users] Remove a list Message-ID: <000001c7fde1$ab476400$2bbb930a@HP28437479811> How to remove a list via the web interface? From msapiro at value.net Sun Sep 23 16:56:45 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 23 Sep 2007 07:56:45 -0700 Subject: [Mailman-Users] Remove a list In-Reply-To: <000001c7fde1$ab476400$2bbb930a@HP28437479811> Message-ID: mattias wrote: >How to remove a list via the web interface? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From bluria at gmail.com Mon Sep 24 04:19:11 2007 From: bluria at gmail.com (Brian Luria) Date: Sun, 23 Sep 2007 22:19:11 -0400 Subject: [Mailman-Users] Membership List Retrieval Issue - Permissions Message-ID: I am the creator and administrator of all lists I've set up on a mailman install and my email is listed under general options of list administrator When I send a -request message with who in subject line, I get a bounce that I dont have permission to get list of members. This only happens with lists that I am NOT subscribed to, otherwise no problem. I assume there is a setting somewhere I'm missing? I'd rather not have to join each list Thanks (Mark :>) ) in advance. From msapiro at value.net Mon Sep 24 05:01:27 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 23 Sep 2007 20:01:27 -0700 Subject: [Mailman-Users] Membership List Retrieval Issue - Permissions In-Reply-To: Message-ID: Brian Luria wrote: >I am the creator and administrator of all lists I've set up on a mailman >install and my email is listed under general options of list administrator >When I send a -request message with who in subject line, I get a bounce that >I dont have permission to get list of members. >This only happens with lists that I am NOT subscribed to, otherwise no >problem. The roster (via web or email 'who' command) is available to Anyone, List members or List admin only depending on the setting of Privacy Options...->Subscription rules->private_roster. It seems that your lists are set up with the roster restricted to members. If that is the case, the simple format of the email 'who' command is who If you are the list admin and not also a list member, you can supply the list admin or moderator password, and in Mailman 2.1.10, this will have the additional benefit of showing hidden members. Also see for a different aspect of this subject. Note that the email 'who' command has different syntax depending on the setting of private_roster. If you send a 'help' command to a list's -request address, you will get a description of the various requests with the appropriate syntax for that list. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From viktorpal at yahoo.de Mon Sep 24 09:33:10 2007 From: viktorpal at yahoo.de (=?ISO-8859-1?Q?P=E1l_Viktor?=) Date: Mon, 24 Sep 2007 09:33:10 +0200 Subject: [Mailman-Users] Mailman charset problems Message-ID: <8b228bd90709240033x234250b6u9f8f499809ff66f0@mail.gmail.com> P?l Viktor writes: >> I have a problem with the mailman web interface output. >> I use the hungarian translation, which should be generated as an >> ISO-8859-2 html file, but it generates an UTF-8 output. >> I have checked the text files which are related to the web output and >> they are all in ISO-8859-2. > >I seem to recall that this is a known bug, and I believe it was fixed >after Mailman 2.1.5. You should see if there is a more recent version >of mailman packaged by Ubuntu. The fix may be fairly recent, and >there are known security problems fixed in each revision. You should >get the most recent version available, currently 2.1.9. I made a dist upgrade on my ubuntu from dapper to edgy. Now I have mailman version 2.1.9-4ubuntu1~edgy1. The problem is solved 90%. There is the page /cgi-bin/mailman/admin/LISTNAME. I do not mean the admin page itself, but the page where you are prompted to give the administrator password for the list. On this page there are still parts in UTF-8. The part above the hr tag. As I see all the other pages seem to be ok. The files which contain the text of this page are in ISO-8859-2. It's a little bit strange. Viktor From wmaina at uonbi.ac.ke Tue Sep 25 04:12:51 2007 From: wmaina at uonbi.ac.ke (Wanjiku Maina) Date: Mon, 24 Sep 2007 19:12:51 -0700 Subject: [Mailman-Users] authentication using unix authentication(passwd file) Message-ID: <002a01c7ff19$97b49cd0$c71dd670$@ac.ke> Is it possible to use my passwd(Unix Authentication) file to authenticate in the list creators pass word in create.py in place of the file that it is using to authenticate? Is there a script that I could use to authenticate passwd file using python? From bluria at gmail.com Mon Sep 24 19:24:32 2007 From: bluria at gmail.com (Brian Luria) Date: Mon, 24 Sep 2007 13:24:32 -0400 Subject: [Mailman-Users] Membership List Retrieval Issue - Permissions In-Reply-To: References: Message-ID: when I put the who command in, I supplied the password to no avail. The privacy option is restricted to list members but you're saying having password in subject line should allow viewing of the list..correct? If so, that doesn't seem to be working. On 9/23/07, Mark Sapiro wrote: > > Brian Luria wrote: > > >I am the creator and administrator of all lists I've set up on a mailman > >install and my email is listed under general options of list > administrator > >When I send a -request message with who in subject line, I get a bounce > that > >I dont have permission to get list of members. > >This only happens with lists that I am NOT subscribed to, otherwise no > >problem. > > > The roster (via web or email 'who' command) is available to Anyone, > List members or List admin only depending on the setting of Privacy > Options...->Subscription rules->private_roster. > > It seems that your lists are set up with the roster restricted to > members. If that is the case, the simple format of the email 'who' > command is > > who > > If you are the list admin and not also a list member, you can supply > the list admin or moderator password, and in Mailman 2.1.10, this will > have the additional benefit of showing hidden members. > > Also see > > for a different aspect of this subject. > > Note that the email 'who' command has different syntax depending on the > setting of private_roster. If you send a 'help' command to a list's > -request address, you will get a description of the various requests > with the appropriate syntax for that list. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > -- Brian J. Luria DVM, DACVIM Florida Veterinary Specialists 3000 Busch Lake Blvd Tampa, FL 33614 Phone: (813) 933-8944 Fax: (813) 936-9595 http://www.fvs.com From kd5de at nwla.com Mon Sep 24 19:06:22 2007 From: kd5de at nwla.com (Mel Sojka) Date: Mon, 24 Sep 2007 12:06:22 -0500 Subject: [Mailman-Users] Python Upgrade Message-ID: <46F7EE8E.4060503@nwla.com> Folks I have a stable 2.1.5 installation running but need to upgrade on that server to run another Python package will and upgrade to Python 2.4 break mailman 2.1.5? -- System Janitor/Network Plumber http://www.nwla.com Linux User #25446 Linux 2.6.20 From waage at macalester.edu Mon Sep 24 18:47:48 2007 From: waage at macalester.edu (Steve Waage) Date: Mon, 24 Sep 2007 11:47:48 -0500 Subject: [Mailman-Users] Help interpreting message bounces Message-ID: <46F7EA34.8010106@macalester.edu> M-Users, I'm running Mailman 2.1.5 on FreeBSD 5.5 and have been getting lots of entries like the following in my syslog email every morning. ------------------------------------------snip--------------------------------- l8K9iuKg061544 1320 Thu Sep 20 04:44 (Deferred: Name server: mail2.americantower.com.: host name l) l8L6LsnB067909 1490 Fri Sep 21 01:21 (Deferred: Name server: tmtb.co.uk.: host name lookup failure) l8K8TNKC061094 1551 Thu Sep 20 03:29 (Deferred: Operation timed out with ainyx.nnecnisiamsapie.com) References: <46F7EA34.8010106@macalester.edu> Message-ID: On 9/24/07, Steve Waage wrote: > I'm running Mailman 2.1.5 on FreeBSD 5.5 and have been getting lots > of entries like the following in my syslog email every morning. Syslog e-mail? I'm not sure I understand what you're talking about. So far as I know, syslog is written to a file, and you can look at that file with any program that can pull in standard ASCII text. But that file doesn't look anything like what you've displayed. > The bounce addresses are disguised but legitimate ... the addresses > that have been "Deferred" are not on my lists. I may be missing a basic > "spam-proofing" setting ?? Or have they just harvested my listnames in > an attempt to get their junk-mail past others email spam-blockers?? Odds are, they tried to spam you, you tried to auto-respond to them to tell them that their message is being held pending human review, but the auto-responses are not able to get back to them because they had forged a fake address in the first place. This is a typical side-effect of the spam problem when combined with auto-replies from mailing list management software. The technical term for this is "back scatter", which is being generated by your server in response to the spam. > Can I prevent this? You could configure Mailman to avoid auto-replies to messages where the sender is not subscribed and the message is being held for moderation, but that would be pretty unfriendly to the real human beings who try to use your list. You've got to decide where you want to try to strike this balance with your servers. If Mailman wasn't smart about avoiding excessive auto-replies to the same address, then you could be abused as a DDOS amplifier. As it is, Mailman will only send a small number of auto-replies per day per sender address, so while it may generate a small amount of "back scatter" when configured like this, it can't really effectively be used as a DDOS amplifier. Which means it's not all that dangerous to other sites. So, it's annoying to you, but that's really the biggest problem it poses. But there are some sites out there that will put you on a "back scatter" black list if you generate even one single example of back scatter to them, and you've got to weigh the risk of that against the significantly increased hassle to real human beings when they try to post legitimate messages to your system. -- Brad Knowles LinkedIn Profile: From brad at shub-internet.org Mon Sep 24 20:40:46 2007 From: brad at shub-internet.org (Brad Knowles) Date: Mon, 24 Sep 2007 13:40:46 -0500 Subject: [Mailman-Users] Python Upgrade In-Reply-To: <46F7EE8E.4060503@nwla.com> References: <46F7EE8E.4060503@nwla.com> Message-ID: On 9/24/07, Mel Sojka wrote: > Folks I have a stable 2.1.5 installation running but need to upgrade on > that server to run another Python package will and upgrade to Python 2.4 > break mailman 2.1.5? Yes. Later versions of Mailman will work fine with Python 2.4, and may even require it. But I'm pretty sure that installing Python 2.4 will break Mailman 2.1.5. See the FAQ. -- Brad Knowles LinkedIn Profile: From nozyneo at yahoo.com Tue Sep 25 01:07:13 2007 From: nozyneo at yahoo.com (nozy osborne) Date: Mon, 24 Sep 2007 16:07:13 -0700 (PDT) Subject: [Mailman-Users] Inquiry Message-ID: <110728.79597.qm@web33702.mail.mud.yahoo.com> hello good day i have a question, how can we remove a mailing list in mailman? thanks --- noz --------------------------------- Check out the hottest 2008 models today at Yahoo! Autos. From msapiro at value.net Tue Sep 25 01:51:38 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 24 Sep 2007 16:51:38 -0700 Subject: [Mailman-Users] Help interpreting message bounces In-Reply-To: Message-ID: Brad Knowles wrote: >On 9/24/07, Steve Waage wrote: > >> The bounce addresses are disguised but legitimate ... the addresses >> that have been "Deferred" are not on my lists. I may be missing a basic >> "spam-proofing" setting ?? Or have they just harvested my listnames in >> an attempt to get their junk-mail past others email spam-blockers?? > >Odds are, they tried to spam you, you tried to auto-respond to them >to tell them that their message is being held pending human review, Or Mailman tried to respond with a 'non-member post rejected' message. See Brad's original reply for the balance of his good advice. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 25 01:54:07 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 24 Sep 2007 16:54:07 -0700 Subject: [Mailman-Users] Inquiry In-Reply-To: <110728.79597.qm@web33702.mail.mud.yahoo.com> Message-ID: nozy osborne wrote: > > i have a question, how can we remove a mailing list in mailman? And we have the answer in the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 25 02:22:04 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 24 Sep 2007 17:22:04 -0700 Subject: [Mailman-Users] Membership List Retrieval Issue - Permissions In-Reply-To: Message-ID: Brian Luria wrote: > >when I put the who command in, I supplied the password to no avail. >The privacy option is restricted to list members but you're saying having >password in subject line should allow viewing of the list..correct? If so, >that doesn't seem to be working. You are correct. It is a bug. The bug is already fixed (inadvertently) by the Mailman 2.1.10 changes to show hidden members to the admin/moderator. The following patch to Mailman/Commands/cmd_who.py (caveat: compiled, but not tested) should fix recent versions through 2.1.9. --- cmd_who.py 2005-08-26 18:40:17.000000000 -0700 +++ cmd_whox.py 2007-09-24 17:10:39.500000000 -0700 @@ -90,10 +90,11 @@ usage(res) return STOP if mlist.isMember(address) and mlist.Authenticate( - (mm_cfg.AuthUser, - mm_cfg.AuthListModerator, + (mm_cfg.AuthUser), + password, address) or mlist.Authenticate( + (mm_cfg.AuthListModerator, mm_cfg.AuthListAdmin), - password, address): + password): # Then ok = 1 else: -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 25 02:37:13 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 24 Sep 2007 17:37:13 -0700 Subject: [Mailman-Users] authentication using unix authentication(passwdfile) In-Reply-To: <002a01c7ff19$97b49cd0$c71dd670$@ac.ke> Message-ID: Wanjiku Maina wrote: >Is it possible to use my passwd(Unix Authentication) file to authenticate in >the list creators pass word in create.py in place of the file that it is >using to authenticate? Only by modifying the code in Mailman/Cgi/create.py >Is there a script that I could use to authenticate passwd file using python? Probably someone has written Python code to authenticate via the passwd file, but it's not part of Mailman, and I don't know where it is. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 25 03:35:40 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 24 Sep 2007 18:35:40 -0700 Subject: [Mailman-Users] Membership List Retrieval Issue - Permissions In-Reply-To: Message-ID: Mark Sapiro wrote: > >You are correct. It is a bug. The bug is already fixed (inadvertently) >by the Mailman 2.1.10 changes to show hidden members to the >admin/moderator. The following patch to Mailman/Commands/cmd_who.py >(caveat: compiled, but not tested) should fix recent versions through >2.1.9. Or you could go to and browse to Mailman/Commands and download the latest cmd_who.py which will give you the 'show hidden members' changes too. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Tue Sep 25 18:46:04 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 25 Sep 2007 09:46:04 -0700 Subject: [Mailman-Users] Mailman charset problems In-Reply-To: <8b228bd90709240033x234250b6u9f8f499809ff66f0@mail.gmail.com> Message-ID: P?l Viktor wrote: Stephen J. Turnbull wrote: >P?l Viktor writes: > >>> I have a problem with the mailman web interface output. >>> I use the hungarian translation, which should be generated as an >>> ISO-8859-2 html file, but it generates an UTF-8 output. >>> I have checked the text files which are related to the web output and >>> they are all in ISO-8859-2. >> >>I seem to recall that this is a known bug, and I believe it was fixed >>after Mailman 2.1.5. You should see if there is a more recent version >>of mailman packaged by Ubuntu. The fix may be fairly recent, and >>there are known security problems fixed in each revision. You should >>get the most recent version available, currently 2.1.9. > >I made a dist upgrade on my ubuntu from dapper to edgy. >Now I have mailman version 2.1.9-4ubuntu1~edgy1. >The problem is solved 90%. >There is the page /cgi-bin/mailman/admin/LISTNAME. >I do not mean the admin page itself, but the page where you are >prompted to give the administrator password for the list. >On this page there are still parts in UTF-8. The part above the hr tag. >As I see all the other pages seem to be ok. >The files which contain the text of this page are in ISO-8859-2. > >It's a little bit strange. Yes, it is strange. I have tried to duplicate this, and I don't see it. Does this occur with the admin login only, or also with admindb login? And is private archive login OK? In your original post, you say you checked all the stuff I would suggest, and it all seems right. I can only think of two other things. 1) Is it possible there is an 'old' version of this page cached in your browser or a proxy? (I know that's a stretch, but ...) 2) It is possible for the template text to be coerced to Unicode during interpolation if any of the interpolated values are Unicode strings, or if interpolation throws a UnicodeError exception. It's hard to see how these exceptions might occur if the template isn't broken. Is there an edited template in any of lists//hu/admlogin.html templates//hu/admlogin.html templates/site/hu/admlogin.html -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From nozyneo at yahoo.com Wed Sep 26 01:57:43 2007 From: nozyneo at yahoo.com (nozy osborne) Date: Tue, 25 Sep 2007 16:57:43 -0700 (PDT) Subject: [Mailman-Users] Case Problem Message-ID: <787305.78068.qm@web33707.mail.mud.yahoo.com> Hello Good Day I have a problem with my Mailman Mailing List. I am the moderator and owner of the Mailing list. I am running Mailman in my linux machine. My Mail Server has this settings (below) Postfix = smtp (outgoing protocol) Tpop3d = pop (incoming protocol) w/ LDAP Support Mailman version 2.1.8 = Group Mailing List In the Mailing List Web UI I registered some email addresses in the "member list" then when a member of that mailing list is posting on the mailing list he/she often to redirect for an approval from the moderator/owner of the list, and notify me that certain member of the mailing list is under for approval of the moderator and presently not a member of the list, how come? and Im sure I registered him/her to the member's list, this is always happening everyday, how can i solve this problem? what is the lack in settings of my Mailman server? is there any bug existing on the version im working with? kindly help me, if ever any people has a knowledge with my problem because i need it very badly, i will appreciate any assistance from you guys thank you very much and God Bless -- niel --------------------------------- Tonight's top picks. What will you watch tonight? Preview the hottest shows on Yahoo! TV. From msapiro at value.net Wed Sep 26 02:22:22 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 25 Sep 2007 17:22:22 -0700 Subject: [Mailman-Users] Case Problem In-Reply-To: <787305.78068.qm@web33707.mail.mud.yahoo.com> Message-ID: nozy osborne wrote: > Tpop3d = pop (incoming protocol) w/ LDAP Support And how does this deliver to Mailman? > In the Mailing List Web UI I registered some email addresses in the "member list" > then when a member of that mailing list is posting on the mailing list > he/she often to redirect for an approval from the moderator/owner of the list, > and notify me that certain member of the mailing list > is under for approval of the moderator and presently not a member > of the list, how come? It the post is being held because the poster is not a list member, it is because the member's exact email address does not appear in a From:, Reply-To: or Sender: header of the incoming post and is not the envelope sender of the post if your delivery to Mailman preserves the envelope from information. Not that 'exact email address' means identical except for case. E.g., If user at example.com is a list member and a post comes from user at mail.example.com, it will be held unless user at mail.example.com is also a list member (or in accept_these_nonmembers). -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From paul.williams at uwex.edu Wed Sep 26 17:26:22 2007 From: paul.williams at uwex.edu (Williams, Paul) Date: Wed, 26 Sep 2007 10:26:22 -0500 Subject: [Mailman-Users] gzipped archive files. In-Reply-To: Message-ID: <990E6AF7BB4AD248BDBF7C9EB837EA8107C83D07@UWCXMAIL.uwc.edu> On our system, we do a monthly rotation of archives, and keep about 12 months of the gzipped files in the *.mbox directories. Then periodically we clean up the archives when we are running out of space and truncate the archives which can be downloaded, to either 6 or 12 months using the arch --wipe mailman feature. However, we still are running out of space on our mailman server and I was looking around where I might gain some space. I noticed that we are gzipping the archive files, nightly with 27 3 * * * /usr/bin/python -S /opt/mailman/cron/nightly_gzip but it also leaves a copy of the uncompressed archives. Is this the proper behavior? Is it possible to only have the gzipped archives and not the text files? If I comment out the above nightly_gzip line will it cause a problem? Thanks, paulw From msapiro at value.net Wed Sep 26 18:22:59 2007 From: msapiro at value.net (Mark Sapiro) Date: Wed, 26 Sep 2007 09:22:59 -0700 Subject: [Mailman-Users] gzipped archive files. In-Reply-To: <990E6AF7BB4AD248BDBF7C9EB837EA8107C83D07@UWCXMAIL.uwc.edu> Message-ID: Williams, Paul wrote: >I noticed that we are gzipping the archive files, nightly >with > >27 3 * * * /usr/bin/python -S /opt/mailman/cron/nightly_gzip > >but it also leaves a copy of the uncompressed archives. > >Is this the proper behavior? It is what it is designed to do. >Is it possible to only have the gzipped archives and not >the text files? Yes, but you have to do it outside of Mailman. E.g., set up a cron to run on say the 3rd day of the month that runs a script that removes the .txt files for the prior month. There is a small risk to this for the same reason you can't remove the current month's .txt file. If a post arrives for a month whose .txt file is missing, it will create a new .txt file containing only that post, and that file will be gzipped on the next nightly gzip (or immediately if GZIP_ARCHIVE_TXT_FILES = Yes in mm_cfg.py), thus losing the prior contents of the .gz file. Of course, everything is still in the list.mbox/list.mbox file, so it isn't completely lost, but it's awkward. >If I comment out the above nightly_gzip line will it >cause a problem? No. If there is no .txt.gz file, the archive link will be to the .txt file. The only reason to have the .txt.gz files is to reduce the size of the file(s) a user may download, but with many web servers configured to expand .gz files before serving them, this is not a consideration. Of course, the .gz files do save space on the server, but only if the .txt files are removed which isn't too practical as I note above. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From benoit.panizzon at imp.ch Thu Sep 27 15:38:12 2007 From: benoit.panizzon at imp.ch (Benoit Panizzon) Date: Thu, 27 Sep 2007 15:38:12 +0200 Subject: [Mailman-Users] majordomo type unique subscribe address for all lists on a site? Message-ID: <200709271538.12432.benoit.panizzon@imp.ch> Hi All A while ago I did migrate a listserver from majordomo to mailman. Everything worked very well, but there is one issue which causes me a headache. There are a few popular lists on this server which are mentioned on various websites 'out there'. Of course the instructions on how to subscribe still reffer to majordomo: => send a list to majordomo at listserver and put 'subscribe listname' in the mail body. I did hope to be able to get mailman to also understand such requests but I'm still failing. I made a mail forwarding from majordomo at listserver to mailman-request at listserver so the old majordomo address still does work. But mailman does only just understand the keyword 'subscribe' and does not parse the following maillist name. So all users trying to subscribe the majordomo way to the maillist end up by subscribing to the internal 'mailman' mailinglist instead to the one they wish to subscribe to. Does anyone know a solution to this problem? Regards -Benoit- From msapiro at value.net Thu Sep 27 16:46:11 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 27 Sep 2007 07:46:11 -0700 Subject: [Mailman-Users] majordomo type unique subscribe address for alllists on a site? In-Reply-To: <200709271538.12432.benoit.panizzon@imp.ch> Message-ID: Benoit Panizzon wrote: > >Of course the instructions on how to subscribe still reffer to majordomo: > >=> send a list to majordomo at listserver and put 'subscribe listname' in the >mail body. > >I did hope to be able to get mailman to also understand such requests but I'm >still failing. Try piping the mail to majordomo at example.com to procmail with, e.g. |/path/to/procmail -m /path/to/procmailrc with a procmailrc containing 0: B * ^ *subscribe *\/[^ ]+ ! $MATCH-subscribe at example.com 0: Here you could set EXITCODE = 69 to bounce the mail for 'service unavailable' or you could deliver the mail to a human. This would only be mail without 'subscribe ...' in the body. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From benoit.panizzon at imp.ch Thu Sep 27 18:27:23 2007 From: benoit.panizzon at imp.ch (Benoit Panizzon) Date: Thu, 27 Sep 2007 18:27:23 +0200 Subject: [Mailman-Users] majordomo type unique subscribe address for alllists on a site? In-Reply-To: References: Message-ID: <200709271827.24032.benoit.panizzon@imp.ch> > Try piping the mail to majordomo at example.com to procmail with, e.g. > > |/path/to/procmail -m /path/to/procmailrc > > with a procmailrc containing Thank you very much. That works perfectly fine for me. -Benoit- From subscribed-lists at sterndata.com Fri Sep 28 01:20:46 2007 From: subscribed-lists at sterndata.com (Steven Stern) Date: Thu, 27 Sep 2007 18:20:46 -0500 Subject: [Mailman-Users] Digest attachment links have Message-ID: <46FC3ACE.4070703@sterndata.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Clicking on the "an attachment was scrubbed" links in a digest email results in seeing the page as source. The first line of each page is . Is there a way to get rid of this ? - -- Steve -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFG/DrNeERILVgMyvARAvC/AJ9E0hxwVBiJ5EVtemjXhZ3XLoidrgCeNW6H bvU58VbUuQM5x2D1JgHQreU= =epqf -----END PGP SIGNATURE----- From msapiro at value.net Fri Sep 28 01:47:10 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 27 Sep 2007 16:47:10 -0700 Subject: [Mailman-Users] Digest attachment links have In-Reply-To: <46FC3ACE.4070703@sterndata.com> Message-ID: Steven Stern wrote: > >Clicking on the "an attachment was scrubbed" links in a digest email >results in seeing the page as source. The first line of each page is >. Is there a way to get rid of this ? You could experiment with setting ARCHIVE_HTML_SANITIZER = 2 in mm_cfg.py and restarting Mailman. This will leave the text/html parts in the (plain) digest, but since they will just be pieces of the text/plain digest, you will see source html text, not rendered html, but it won't be 'prettied' with tags,
tags, tab expansion, and spaces replaced with  . This will also affect the list archive in the same way. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rych67 at gmail.com Fri Sep 28 01:49:30 2007 From: rych67 at gmail.com (=?EUC-KR?B?t/nC+cir?=) Date: Fri, 28 Sep 2007 08:49:30 +0900 Subject: [Mailman-Users] Fwd: Welcome to the "Mailman-Users" mailing list (Digest mode) In-Reply-To: References: Message-ID: <7f7b9a5e0709271649t2cf3640dk61f8ec1c77970b56@mail.gmail.com> ---------- Forwarded message ---------- From: mailman-users-request at python.org Date: 2007. 9. 28 ?? 1:11 Subject: Welcome to the "Mailman-Users" mailing list (Digest mode) To: rych67 at gmail.com Welcome to the Mailman-Users at python.org mailing list! Don't forget to check out the Mailman FAQ at: http://www.python.org/cgi-bin/faqw-mm.py and the searchable archives at http://www.mail-archive.com/mailman-users%40python.org/ The Mailman Security Policy is detailed in FAQ 1.27 at <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp>. Before posting any messages to this mailing list, please make sure that you have read and understood this policy. To post to this list, send your email to: mailman-users at python.org General information about the mailing list is at: http://mail.python.org/mailman/listinfo/mailman-users If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://mail.python.org/mailman/options/mailman-users/rych67%40gmail.com You can also make such adjustments via email by sending a message to: Mailman-Users-request at python.org with the word `help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. It is: nasty383dip Normally, Mailman will remind you of your python.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. -- jeju localhost rych67 From rych67 at gmail.com Fri Sep 28 01:50:30 2007 From: rych67 at gmail.com (=?EUC-KR?B?t/nC+cir?=) Date: Fri, 28 Sep 2007 08:50:30 +0900 Subject: [Mailman-Users] Fwd: Welcome to the "Mailman-Users" mailing list (Digest mode) In-Reply-To: <7f7b9a5e0709271647t23d0c84l253ee51d0d93bad@mail.gmail.com> References: <7f7b9a5e0709271647t23d0c84l253ee51d0d93bad@mail.gmail.com> Message-ID: <7f7b9a5e0709271650k7b858d99w38a631c39cf5d076@mail.gmail.com> ---------- Forwarded message ---------- From: ??? Date: 2007. 9. 28 ?? 8:47 Subject: Fwd: Welcome to the "Mailman-Users" mailing list (Digest mode) To: "themailarchive at gmail.com" dear sufort It is an additional confirmation demand ---------- Forwarded message ---------- From: mailman-users-request at python.org Date: 2007. 9. 28 ?? 1:11 Subject: Welcome to the "Mailman-Users" mailing list (Digest mode) To: rych67 at gmail.com Welcome to the Mailman-Users at python.org mailing list! Don't forget to check out the Mailman FAQ at: http://www.python.org/cgi-bin/faqw-mm.py and the searchable archives at http://www.mail-archive.com/mailman-users%40python.org/ The Mailman Security Policy is detailed in FAQ 1.27 at <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp>. Before posting any messages to this mailing list, please make sure that you have read and understood this policy. To post to this list, send your email to: mailman-users at python.org General information about the mailing list is at: http://mail.python.org/mailman/listinfo/mailman-users If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://mail.python.org/mailman/options/mailman-users/rych67%40gmail.com You can also make such adjustments via email by sending a message to: Mailman-Users-request at python.org with the word `help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. It is: nasty383dip Normally, Mailman will remind you of your python.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. -- jeju localhost rych67 -- jeju localhost rych67 From mk at epasella.com Fri Sep 28 02:44:42 2007 From: mk at epasella.com (Mervyn Kahn) Date: Fri, 28 Sep 2007 02:44:42 +0200 Subject: [Mailman-Users] Mail not arriving at mailman Message-ID: When I send a message to a test list plus minus 10 e mail addresses it works. However, when I load up a large list and send to mailman, the mail is not arriving at mailman. I have resent the email many times and it does not arrive to be moderated. Please advise. Thank you Mervyn Kahn From msapiro at value.net Fri Sep 28 02:57:01 2007 From: msapiro at value.net (Mark Sapiro) Date: Thu, 27 Sep 2007 17:57:01 -0700 Subject: [Mailman-Users] Mail not arriving at mailman In-Reply-To: Message-ID: Mervyn Kahn wrote: >When I send a message to a test list plus minus 10 e mail addresses it >works. >However, when I load up a large list and send to mailman, the mail is not >arriving at mailman. >I have resent the email many times and it does not arrive to be moderated. Does the mail bounce? What does the MTA log say happened to the mail? Are MTA aliases installed for the large list? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From carnold at electrichendrix.com Fri Sep 28 05:14:02 2007 From: carnold at electrichendrix.com (Chris Arnold) Date: Thu, 27 Sep 2007 23:14:02 -0400 Subject: [Mailman-Users] Beginner questions Message-ID: <46FC717A.7000002@electrichendrix.com> Hello all! I would like to run mailman 2.1.9 at my site. I have a web server with apache2 and a mailserver with zimbra; these are 2 different servers. Where do i install mailman? On the apache2 server or on the mailserver, or does it matter which one? Please excuse my novice-ness. Chris From brad at shub-internet.org Fri Sep 28 08:13:04 2007 From: brad at shub-internet.org (Brad Knowles) Date: Fri, 28 Sep 2007 01:13:04 -0500 Subject: [Mailman-Users] Fwd: Welcome to the "Mailman-Users" mailing list (Digest mode) In-Reply-To: <7f7b9a5e0709271649t2cf3640dk61f8ec1c77970b56@mail.gmail.com> References: <7f7b9a5e0709271649t2cf3640dk61f8ec1c77970b56@mail.gmail.com> Message-ID: On 9/28/07, ????? wrote: > You must know your password to change your options (including changing > the password, itself) or to unsubscribe. It is: > > nasty383dip So, is there a reason why you sent your private acknowledgement message to the entire mailman-users mailing list, including your own private password to control your subscription? BTW, you might want to change that password now. -- Brad Knowles LinkedIn Profile: From brad at shub-internet.org Fri Sep 28 08:14:47 2007 From: brad at shub-internet.org (Brad Knowles) Date: Fri, 28 Sep 2007 01:14:47 -0500 Subject: [Mailman-Users] Beginner questions In-Reply-To: <46FC717A.7000002@electrichendrix.com> References: <46FC717A.7000002@electrichendrix.com> Message-ID: On 9/27/07, Chris Arnold wrote: > Hello all! I would like to run mailman 2.1.9 at my site. I have a web > server with apache2 and a mailserver with zimbra; these are 2 different > servers. Where do i install mailman? On the apache2 server or on the > mailserver, or does it matter which one? Please excuse my novice-ness. You could set it up in either place, but it might make more sense to set it up on the webserver, and have the mail server configured to forward all mail for those addresses over to the appropriate machine. You will need to control your alias definitions in some way, whether that's through Zimbra or through the automated methods that Mailman makes available. However, which solution you choose will depend on what software you have and which method you prefer. -- Brad Knowles LinkedIn Profile: From zszalbot at gmail.com Fri Sep 28 11:13:45 2007 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Fri, 28 Sep 2007 11:13:45 +0200 Subject: [Mailman-Users] hacking mailman.po Message-ID: <94136a2c0709280213i565c4f74s8d6fefa2a3f842ac@mail.gmail.com> Hello, What are my options when I need to edit some text within /usr/local/mailman/messages/uk/LC_MESSAGES/mailman.pl? Is it enough to just hack the text or does it need to be re-built then? If so, how? I just want to delete 3 lines: "

You can now\n" " proceed to your membership login\n" " page." Thanks! zbigniew szalbot From srb at umich.edu Fri Sep 28 15:44:48 2007 From: srb at umich.edu (Steve Burling) Date: Fri, 28 Sep 2007 09:44:48 -0400 Subject: [Mailman-Users] Query about low-level SMTP errors Message-ID: <6BF4F6DD434E093FB786404B@srb.icpsr.umich.edu> This is really an "is my understanding correct" question... Our mail server is getting the snot beat out of it by spambots, and even though I've turned on pretty aggressive connection rate control and limiting of the number of concurrent connections from any particular bot, we still occasionally hit sendmail's (configured) limit of 70 child processes, at which point we start refusing connections for awhile. During those times, mailman is also refused connections, resulting in errors like this from smtp-failure: Log file: smtp-failure ============================== 23 delivery failed with code -1: (111, 'Connection refused') 1 Low level smtp error: (111, 'Connection refused'), msgid: 1 Low level smtp error: (111, 'Connection refused'), msgid: Am I correct that Mailman doesn't consider these permanent errors, and will re-try these attempts later? Nothing seems to be left lying around in the queue files, so I'm hoping that subsequent retries succeeded, and not that Mailman just gave up and tossed things. (That doesn't seem likely to me, but I figured it was better to ask, so I know if I have to spend more time trying to figure out how to make sendmail only refuse connections on the non-localhost interface. Although if anyone knows the magic knob to do that, I would appreciate a hint.) -- Steve Burling University of Michigan, ICPSR Voice: +1 734 615.3779 330 Packard Street FAX: +1 734 647.8700 Ann Arbor, MI 48104-2910 From cmefford at eruditium.org Fri Sep 28 16:06:01 2007 From: cmefford at eruditium.org (Chip Mefford) Date: Fri, 28 Sep 2007 10:06:01 -0400 Subject: [Mailman-Users] news gateway question, importing archive Message-ID: <46FD0A49.90006@eruditium.org> Good day; I have mailman archive with ~4K emails going back a couple of years. I'd like to copy these over to a newsgroup on a local innd server. The archive is the regular mbox format, and I've played around with formail and mailpost a bit, with no joy. Is there a simple way of doing this that I'm just too clueless to catch? Thanks kindly in advance for any clues. -- From R.E.Sonneveld at sonnection.nl Fri Sep 28 16:57:16 2007 From: R.E.Sonneveld at sonnection.nl (Rolf E. Sonneveld) Date: Fri, 28 Sep 2007 16:57:16 +0200 Subject: [Mailman-Users] Double '@' in member mail address; can't remove this address (Solved) In-Reply-To: <46FD12F1.4090900@sonnection.nl> References: <46FD12F1.4090900@sonnection.nl> Message-ID: <46FD164C.7020701@sonnection.nl> Rolf E. Sonneveld wrote: > Hi, > > a user has subscribed via the web interface, making a typo in the mail > address. The address subscribed is something like > First.Last@@domain.com. When I try to remove that address, I get an > error (no matter whether I use the admin web interface to remove the > address, or whether I try it from the command line). From the command > line, I get: > > bash-2.05# ./remove_members maillist First.Last@@domain.com > Traceback (most recent call last): > File "./remove_members", line 186, in > main() > File "./remove_members", line 176, in main > admin_notif, userack) > File "/usr/local/mailman/Mailman/MailList.py", line 1014, in > ApprovedDeleteMember > self.removeMember(emailaddr) > File "/usr/local/mailman/Mailman/OldStyleMemberships.py", line 220, > in removeMember > self.__assertIsMember(member) > File "/usr/local/mailman/Mailman/OldStyleMemberships.py", line 113, > in __assertIsMember > raise Errors.NotAMemberError, member > Mailman.Errors.NotAMemberError: First.Last@ > > > no matter whether I enclose the mail address in single-quotes, > double-quotes, no-quotes-at-all or whether I use regexp format to > escape the dots and/or the at-signs. When I try to remove the address > via the admin web interface I get: > > > Error Unsubscribing: > > * First.Last@@domain.com -- Not subscribed > > > Is there any other way to remove this address from the list? Just came across the sync_members tool. I created a file with a list of all members, but left out the address with the double '@'. Then I ran the sync_members tool against that file, and Mailman correctly removed that one address. Sorry to have bothered you. /rolf From msapiro at value.net Fri Sep 28 17:32:15 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 28 Sep 2007 08:32:15 -0700 Subject: [Mailman-Users] Double '@' in member mail address; can't remove this address (Solved) In-Reply-To: <46FD164C.7020701@sonnection.nl> Message-ID: Rolf E. Sonneveldwrote: >Rolf E. Sonneveld wrote: >> Hi, >> >> a user has subscribed via the web interface, making a typo in the mail >> address. The address subscribed is something like >> First.Last@@domain.com. When I try to remove that address, I get an >> error (no matter whether I use the admin web interface to remove the >> address, or whether I try it from the command line). From the command >> line, I get: When was this posted? I can't find it anywhere in the mailman-users archive. If I had seen it at the time, I would have referred you to . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From R.E.Sonneveld at sonnection.nl Fri Sep 28 16:42:57 2007 From: R.E.Sonneveld at sonnection.nl (Rolf E. Sonneveld) Date: Fri, 28 Sep 2007 16:42:57 +0200 Subject: [Mailman-Users] Double '@' in member mail address; can't remove this address Message-ID: <46FD12F1.4090900@sonnection.nl> Hi, a user has subscribed via the web interface, making a typo in the mail address. The address subscribed is something like First.Last@@domain.com. When I try to remove that address, I get an error (no matter whether I use the admin web interface to remove the address, or whether I try it from the command line). From the command line, I get: bash-2.05# ./remove_members maillist First.Last@@domain.com Traceback (most recent call last): File "./remove_members", line 186, in main() File "./remove_members", line 176, in main admin_notif, userack) File "/usr/local/mailman/Mailman/MailList.py", line 1014, in ApprovedDeleteMember self.removeMember(emailaddr) File "/usr/local/mailman/Mailman/OldStyleMemberships.py", line 220, in removeMember self.__assertIsMember(member) File "/usr/local/mailman/Mailman/OldStyleMemberships.py", line 113, in __assertIsMember raise Errors.NotAMemberError, member Mailman.Errors.NotAMemberError: First.Last@ no matter whether I enclose the mail address in single-quotes, double-quotes, no-quotes-at-all or whether I use regexp format to escape the dots and/or the at-signs. When I try to remove the address via the admin web interface I get: Error Unsubscribing: * First.Last@@domain.com -- Not subscribed Is there any other way to remove this address from the list? /rolf From msapiro at value.net Fri Sep 28 17:47:54 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 28 Sep 2007 08:47:54 -0700 Subject: [Mailman-Users] Query about low-level SMTP errors In-Reply-To: <6BF4F6DD434E093FB786404B@srb.icpsr.umich.edu> Message-ID: Steve Burling wrote: > >Our mail server is getting the snot beat out of it by spambots, and even >though I've turned on pretty aggressive connection rate control and >limiting of the number of concurrent connections from any particular bot, >we still occasionally hit sendmail's (configured) limit of 70 child >processes, at which point we start refusing connections for awhile. During >those times, mailman is also refused connections, resulting in errors like >this from smtp-failure: > >Log file: smtp-failure >============================== > 23 delivery failed with code -1: (111, 'Connection refused') > 1 Low level smtp error: (111, 'Connection refused'), msgid: > > 1 Low level smtp error: (111, 'Connection refused'), msgid: > > >Am I correct that Mailman doesn't consider these permanent errors, and will >re-try these attempts later? Yes. This error should result in the message being placed in the retry queue and being retried every 15 minutes until it is delivered or DELIVERY_RETRY_PERIOD (default 5 days) expires. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Fri Sep 28 17:53:33 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 28 Sep 2007 08:53:33 -0700 Subject: [Mailman-Users] Double '@' in member mail address; can't remove this address (Solved) In-Reply-To: Message-ID: Mark Sapiro wrote: > >When was this posted? I can't find it anywhere in the mailman-users >archive. It's there now. Apparently it was delayed an hour between mail.springer-sbm.com and bag.python.org. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From R.E.Sonneveld at sonnection.nl Fri Sep 28 17:56:46 2007 From: R.E.Sonneveld at sonnection.nl (Rolf E. Sonneveld) Date: Fri, 28 Sep 2007 17:56:46 +0200 Subject: [Mailman-Users] Double '@' in member mail address; can't remove this address (Solved) In-Reply-To: References: Message-ID: <46FD243E.1010606@sonnection.nl> Hi, Mark, Mark Sapiro wrote: > Rolf E. Sonneveldwrote: > > >> Rolf E. Sonneveld wrote: >> >>> Hi, >>> >>> a user has subscribed via the web interface, making a typo in the mail >>> address. The address subscribed is something like >>> First.Last@@domain.com. When I try to remove that address, I get an >>> error (no matter whether I use the admin web interface to remove the >>> address, or whether I try it from the command line). From the command >>> line, I get: >>> > > > > When was this posted? I can't find it anywhere in the mailman-users > archive. If I had seen it at the time, I would have referred you to > . > excuse me. I had searched (my personal) archive for '@@' but that gave a lot of hits, none of which seemed to apply. I didn't realize it was already covered in the FAQ. Thanks. /rolf From R.E.Sonneveld at sonnection.nl Fri Sep 28 18:07:35 2007 From: R.E.Sonneveld at sonnection.nl (Rolf E. Sonneveld) Date: Fri, 28 Sep 2007 18:07:35 +0200 Subject: [Mailman-Users] Double '@' in member mail address; can't remove this address (Solved) In-Reply-To: References: Message-ID: <46FD26C7.5020009@sonnection.nl> Mark Sapiro wrote: > Mark Sapiro wrote: > >> When was this posted? I can't find it anywhere in the mailman-users >> archive. >> > > It's there now. Apparently it was delayed an hour between > mail.springer-sbm.com and bag.python.org. > It was delayed, yes, due to greylisting at bag.python.org. First attempt: 28-Sep-2007 16:43:05.09 tcp_internet Q 2560 R.E.Sonneveld at sonnection.nl rfc822;mailman-users at python.org mailman-users at python.org <46FD12F1.4090900 at sonnection.nl> dns;mail.python.org (bag.python.org ESMTP Postfix [Debian/GNU]) smtp;450 4.7.1 : Recipient address rejected: Greylisted, see http://isg.ee.ethz.ch/tools/postgrey/help/python.org.html mailman-users at python.org: smtp;450 4.7.1 dns;mail.python.org (bag.python.org ESMTP Postfix [Debian/GNU]) smtp;250 2.1.5 Ok /rolf From msapiro at value.net Fri Sep 28 18:11:04 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 28 Sep 2007 09:11:04 -0700 Subject: [Mailman-Users] hacking mailman.po In-Reply-To: <94136a2c0709280213i565c4f74s8d6fefa2a3f842ac@mail.gmail.com> Message-ID: Zbigniew Szalbot wrote: > >What are my options when I need to edit some text within >/usr/local/mailman/messages/uk/LC_MESSAGES/mailman.pl? I assume you mean /usr/local/mailman/messages/uk/LC_MESSAGES/mailman.po. >Is it enough to just hack the text or does it need to be re-built >then? If so, how? You need to rebuild the .mo file with Mailman's bin/msgfmt.py. You can also use the standard GNU msgfmt, but it is fussier about it's input and there are some things in some language .po files it complains about. >I just want to delete 3 lines: > >"

You can now\n" >" proceed to your membership login\n" >" page." I'm not sure what you mean here. You cannot change anything at all, not even one character in the 'msgid' lines. If you do, i18n will not find the msgid (key) and will thus just not translate the message. You can change the translation (the 'msgstr' lines) anyway you want. Whatever you put in 'msgstr' will be returned as the translation of what's in 'msgid'. Now, if what you mean is you want to change (or have changed) the English text in Mailman/Cgi/confirm.py, and you now need to change the translation, then yes, you need to change 'msgid' to match exactly the new English text, and change 'msgstr' to the appropriate translation. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From carnold at electrichendrix.com Fri Sep 28 19:28:11 2007 From: carnold at electrichendrix.com (Chris Arnold) Date: Fri, 28 Sep 2007 13:28:11 -0400 (EDT) Subject: [Mailman-Users] First time install Message-ID: <9986753.40941191000491442.JavaMail.root@mail> OK, i have installed mailman-2.1.9 from source on SLES10 SP1. I installed to the default /usr/local/mailman. I am walking through the doc completely and i make it to 13 Create your first mailing list For more detailed information about using Mailman, including creating and configuring mailing lists, see the Mailman List Adminstration Manual. These instructions provide a quick guide to creating your first mailing list via the web interface: * Start by visiting the url http://my.dom.ain/mailman/create. Well, the above link brings up a 404 page not found. Here is a section of my apache2 2.2.3 default-server.conf file: ScriptAlias /mailman/* "/usr/local/mailman/cgi-bin/" # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all This should allow me to visit http://my.dom.ain/mailman/create right? I have stopped and started apache2 without any errors. I have not stopped or restarted my email server as of yet but this should not stop me from getting to http://my.dom.ain/mailman/create. Can anyone help? Chris From carnold at electrichendrix.com Fri Sep 28 19:49:42 2007 From: carnold at electrichendrix.com (Chris Arnold) Date: Fri, 28 Sep 2007 13:49:42 -0400 Subject: [Mailman-Users] First time install In-Reply-To: <9986753.40941191000491442.JavaMail.root@mail> References: <9986753.40941191000491442.JavaMail.root@mail> Message-ID: <46FD3EB6.8020701@electrichendrix.com> Chris Arnold wrote: > OK, i have installed mailman-2.1.9 from source on SLES10 SP1. I installed to the default /usr/local/mailman. I am walking through the doc completely and i make it to > 13 Create your first mailing list > > For more detailed information about using Mailman, including creating and configuring mailing lists, see the Mailman List Adminstration Manual. These instructions provide a quick guide to creating your first mailing list via the web interface: > > * Start by visiting the url http://my.dom.ain/mailman/create. > > Well, the above link brings up a 404 page not found. Here is a section of my apache2 2.2.3 default-server.conf file: > ScriptAlias /mailman/* "/usr/local/mailman/cgi-bin/" > > # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased > # CGI directory exists, if you have that configured. > # > > AllowOverride None > Options +ExecCGI -Includes > Order allow,deny > Allow from all > > > This should allow me to visit http://my.dom.ain/mailman/create right? I have stopped and started apache2 without any errors. I have not stopped or restarted my email server as of yet but this should not stop me from getting to http://my.dom.ain/mailman/create. Can anyone help? > I got it now. Seems i had some config info placed in the wrong file. From carnold at electrichendrix.com Fri Sep 28 20:11:36 2007 From: carnold at electrichendrix.com (Chris Arnold) Date: Fri, 28 Sep 2007 14:11:36 -0400 Subject: [Mailman-Users] List create error Message-ID: <46FD43D8.5000007@electrichendrix.com> This is the first list i am trying to create on mailman 2.1.9. I fill out the info and click "create list" and get *Error: /Unknown virtual host: www.mydomain.tld/* Where is it getting this from? Is this reflective of my apache2 config? I have only 2 vhosts configured in apache and all of these work fine. Not sure where to go from here. I would appreciate any help Chris From msapiro at value.net Fri Sep 28 20:38:57 2007 From: msapiro at value.net (Mark Sapiro) Date: Fri, 28 Sep 2007 11:38:57 -0700 Subject: [Mailman-Users] List create error In-Reply-To: <46FD43D8.5000007@electrichendrix.com> Message-ID: Chris Arnold wrote: >This is the first list i am trying to create on mailman 2.1.9. I fill >out the info and click "create list" and get > > > *Error: /Unknown virtual host: www.mydomain.tld/* See . www.mydomain.tld must be either the --with-urlhost you specified to configure or it must be in an add_virtualhost() directive in mm_cfg.py. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From carnold at electrichendrix.com Sat Sep 29 00:27:06 2007 From: carnold at electrichendrix.com (Chris Arnold) Date: Fri, 28 Sep 2007 18:27:06 -0400 Subject: [Mailman-Users] Beginner questions In-Reply-To: References: <46FC717A.7000002@electrichendrix.com> Message-ID: <46FD7FBA.6070306@electrichendrix.com> Brad Knowles wrote: > On 9/27/07, Chris Arnold wrote: > >> Hello all! I would like to run mailman 2.1.9 at my site. I have a web >> server with apache2 and a mailserver with zimbra; these are 2 different >> servers. Where do i install mailman? On the apache2 server or on the >> mailserver, or does it matter which one? Please excuse my novice-ness. > > You could set it up in either place, but it might make more sense to > set it up on the webserver, and have the mail server configured to > forward all mail for those addresses over to the appropriate machine. How would you do this? I have mailman setup on the webserver and a list created. This webserver has sendmail installed, if that means anything. > > You will need to control your alias definitions in some way, whether > that's through Zimbra or through the automated methods that Mailman > makes available. However, which solution you choose will depend on > what software you have and which method you prefer. > Would it be easier to use the automated methods that mailman has? Thanks for your patience From brad at shub-internet.org Sat Sep 29 00:59:15 2007 From: brad at shub-internet.org (Brad Knowles) Date: Fri, 28 Sep 2007 17:59:15 -0500 Subject: [Mailman-Users] Beginner questions In-Reply-To: <46FD7FBA.6070306@electrichendrix.com> References: <46FC717A.7000002@electrichendrix.com> <46FD7FBA.6070306@electrichendrix.com> Message-ID: On 9/28/07, Chris Arnold wrote: >> You could set it up in either place, but it might make more sense to >> set it up on the webserver, and have the mail server configured to >> forward all mail for those addresses over to the appropriate machine. > > How would you do this? I have mailman setup on the webserver and a list > created. This webserver has sendmail installed, if that means anything. You would set up the forwarding through Zimbra. Exactly how you do that will depend on Zimbra and how you administer it. >> You will need to control your alias definitions in some way, whether >> that's through Zimbra or through the automated methods that Mailman >> makes available. However, which solution you choose will depend on >> what software you have and which method you prefer. > > Would it be easier to use the automated methods that mailman has? Thanks > for your patience It certainly could be, yes. One thing you could do is to define a separate "lists.yourdomain.example.com" entry in your DNS, which points to the same IP address as your webserver, and has MX records in the DNS which point to your webserver. Then when mail comes in for "listname at lists.yourdomain.example.com", it automatically gets sent to where it belongs. This would isolate the Zimbra main mail server on one machine from the mailing list server on a different machine, and allow you to easily integrate Mailman with sendmail on the webserver. That sort of thing would be covered in the Mailman installation & configuration documentation, although you'd need to choose which method of integration you would want to use. -- Brad Knowles LinkedIn Profile: From carnold at electrichendrix.com Sat Sep 29 05:56:42 2007 From: carnold at electrichendrix.com (Chris Arnold) Date: Fri, 28 Sep 2007 23:56:42 -0400 Subject: [Mailman-Users] Beginner questions In-Reply-To: References: <46FC717A.7000002@electrichendrix.com> <46FD7FBA.6070306@electrichendrix.com> Message-ID: <46FDCCFA.80202@electrichendrix.com> Brad Knowles wrote: > It certainly could be, yes. > > One thing you could do is to define a separate > "lists.yourdomain.example.com" entry in your DNS, which points to the > same IP address as your webserver, and has MX records in the DNS which > point to your webserver. Then when mail comes in for > "listname at lists.yourdomain.example.com", it automatically gets sent to > where it belongs. > > This would isolate the Zimbra main mail server on one machine from the > mailing list server on a different machine, and allow you to easily > integrate Mailman with sendmail on the webserver. That sort of thing > would be covered in the Mailman installation & configuration > documentation, although you'd need to choose which method of > integration you would want to use. > OK, i have posfix installed and configured on the webserver (according to the mailman doc). When i send a test message to the list, i get a undeliverable notice: I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. Reporting-MTA: dns; host.domain.tld X-Postfix-Queue-ID: ACA9EE97B X-Postfix-Sender: rfc822; email at domain.tld Arrival-Date: Fri, 28 Sep 2007 23:38:10 -0400 (EDT) Final-Recipient: rfc822; listname at domain.tld Original-Recipient: rfc822;listname at domain.tld Action: failed Status: 5.0.0 Diagnostic-Code: X-Postfix; mytimewithgod.net I have a dns entry that points to the webserver and a mx record that points to the webserver. I just thought of something that might be causing the problem: the "real" mail server serves the virtual domain that the list also is for. It appears all mail is going to that mailserver and the user does not exist on the mailserver. Just in case, i have a skype, aim and yahoo IM account. From brad at shub-internet.org Sat Sep 29 09:16:12 2007 From: brad at shub-internet.org (Brad Knowles) Date: Sat, 29 Sep 2007 02:16:12 -0500 Subject: [Mailman-Users] Beginner questions In-Reply-To: <46FDCCFA.80202@electrichendrix.com> References: <46FC717A.7000002@electrichendrix.com> <46FD7FBA.6070306@electrichendrix.com> <46FDCCFA.80202@electrichendrix.com> Message-ID: On 9/28/07, Chris Arnold wrote: > I have a dns entry that points to the webserver and a mx record that > points to the webserver. I just thought of something that might be > causing the problem: the "real" mail server serves the virtual domain > that the list also is for. It appears all mail is going to that > mailserver and the user does not exist on the mailserver. Right, so either you need to change the list address to be "listname at webserver.yourdomain.example.com", or you need to set up those aliases on your main mail server, as previously discussed. Alternatively, you can still add a new hostname called "lists.yourdomain.example.com" which has the same IP address as the webserver, and has an MX record which points to the same IP address, and then you need to change all your mailing lists to be "listname at lists.yourdomain.example.com". -- Brad Knowles LinkedIn Profile: From zszalbot at gmail.com Sat Sep 29 11:09:46 2007 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Sat, 29 Sep 2007 11:09:46 +0200 Subject: [Mailman-Users] hacking mailman.po In-Reply-To: References: <94136a2c0709280213i565c4f74s8d6fefa2a3f842ac@mail.gmail.com> Message-ID: <94136a2c0709290209o36b42b3am5a9a4a9ed9944855@mail.gmail.com> Hello, 2007/9/28, Mark Sapiro : > >What are my options when I need to edit some text within > >/usr/local/mailman/messages/uk/LC_MESSAGES/mailman.pl? > I assume you mean /usr/local/mailman/messages/uk/LC_MESSAGES/mailman.po. Yes, my typo, sorry! > >I just want to delete 3 lines: > > > >"

You can now\n" > >" proceed to your membership login\n" > >" page." OK - I do not really want people to be looking at their membership page. I have monthly distribution lists (not discussion ones) and I just want to make sure people have links to my custom opt-in, opt-out pages. That's all. However, when people confirm subscription via web, they see then the above text. If I cannot delete it, can I just change it into anything else (like a thank you note or whatever)? Of course I need to do the same with the Polish translation. English and Polish are the only languages that are of interest to me at the moment. Thank you! Zbigniew Szalbot From carnold at electrichendrix.com Sat Sep 29 13:59:23 2007 From: carnold at electrichendrix.com (Chris Arnold) Date: Sat, 29 Sep 2007 07:59:23 -0400 Subject: [Mailman-Users] Beginner questions In-Reply-To: References: <46FC717A.7000002@electrichendrix.com> <46FD7FBA.6070306@electrichendrix.com> <46FDCCFA.80202@electrichendrix.com> Message-ID: <46FE3E1B.9010903@electrichendrix.com> Brad Knowles wrote: > Right, so either you need to change the list address to be > "listname at webserver.yourdomain.example.com", or you need to set up > those aliases on your main mail server, as previously discussed. > > Alternatively, you can still add a new hostname called > "lists.yourdomain.example.com" which has the same IP address as the > webserver, and has an MX record which points to the same IP address, > and then you need to change all your mailing lists to be > "listname at lists.yourdomain.example.com". Brad and all! You all have been kind and patient with me but i do not see where to change the list address. I was going to just delete the list and create a new one but i don't see how to delete any list. From msapiro at value.net Sat Sep 29 15:58:51 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 29 Sep 2007 06:58:51 -0700 Subject: [Mailman-Users] hacking mailman.po In-Reply-To: <94136a2c0709290209o36b42b3am5a9a4a9ed9944855@mail.gmail.com> Message-ID: Zbigniew Szalbot wrote: > >> >I just want to delete 3 lines: >> > >> >"

You can now\n" >> >" proceed to your membership login\n" >> >" page." > >OK - I do not really want people to be looking at their membership >page. I have monthly distribution lists (not discussion ones) and I >just want to make sure people have links to my custom opt-in, opt-out >pages. That's all. However, when people confirm subscription via web, >they see then the above text. If I cannot delete it, can I just change >it into anything else (like a thank you note or whatever)? Of course I >need to do the same with the Polish translation. English and Polish >are the only languages that are of interest to me at the moment. I think you may have misunderstood my first response. I said you could not JUST delete text from 'msgid' in the mailman.po file. What you need to do is edit the text in Mailman/Cgi/Confirm.py anyway you want. You can delete those lines, change them whatever. If you do JUST that, that edited text will display in English on both the English and Polish versions of the page. To make the Polish translation work, you then have to edit the 'msgid' text in the Polish mailman.po so it matches exactly the edited text in Mailman/Cgi/Confirm.py and edit the Polish translation in 'msgstr' appropriately and then run bin/msgfmt.py to update the mailman.mo. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From carnold at electrichendrix.com Sat Sep 29 19:02:47 2007 From: carnold at electrichendrix.com (Chris Arnold) Date: Sat, 29 Sep 2007 13:02:47 -0400 Subject: [Mailman-Users] Beginner questions In-Reply-To: References: <46FC717A.7000002@electrichendrix.com> <46FD7FBA.6070306@electrichendrix.com> <46FDCCFA.80202@electrichendrix.com> Message-ID: <46FE8537.8050001@electrichendrix.com> Brad Knowles wrote: > On 9/28/07, Chris Arnold wrote: > >> I have a dns entry that points to the webserver and a mx record that >> points to the webserver. I just thought of something that might be >> causing the problem: the "real" mail server serves the virtual domain >> that the list also is for. It appears all mail is going to that >> mailserver and the user does not exist on the mailserver. > > Right, so either you need to change the list address to be > "listname at webserver.yourdomain.example.com", or you need to set up > those aliases on your main mail server, as previously discussed. > > Alternatively, you can still add a new hostname called > "lists.yourdomain.example.com" which has the same IP address as the > webserver, and has an MX record which points to the same IP address, > and then you need to change all your mailing lists to be > "listname at lists.yourdomain.example.com". > I am not understanding this at all. I have made an alias on the mailserver with listname at domain.tld and it redirects mail to my personal account; i can send mail to it from inside and outside the network but how are other people going to get mail with this config? From greg at headingup.net Sat Sep 29 21:33:11 2007 From: greg at headingup.net (Greg Sims) Date: Sat, 29 Sep 2007 12:33:11 -0700 Subject: [Mailman-Users] Bounce Processing -- Disable/Removal Notification Message-ID: <00d001c802cf$92dfde90$650a2b0a@WS> We have a newsletter type list that has been running for almost two years now. The list currently has 1,100 members who receive one email each morning. The Bounce Configuration page for this list is configured as follows: Yes, 5.0, 30, 2, 7, Yes, Yes, Yes which I believe may be the defaults. The system is running under RedHat V4. I ran the following command: grep 'score' /var/log/mailman/bounce and received a list of 28 users that have records containing "(score 5.0 >= 5.0)". I can see one duplicate email address in this list of 28 - most of the records appear to be unique email addresses. The dates on the records cover a period of one week. It appears there are a number of candidates that could have their subscriptions Disabled and/or Removed from the list. I have been the list admin for two years now and I have never received an email saying a list member has been Disabled or Removed. This seems odd based on what I am seeing in the logs. I do receive emails for bounce messages that fail detection regularly. Is it possible to see in a log (or through the online interface) when a user is placed in Disabled status? I would like to be able to grep this log and see if anyone is being Disabled or Removed - this may confirm if there is actually a problem or not. Let's say looking at the logs reveals that list members are not ever being Disabled or Removed - what is the next step to debugging this problem? Thank you in advance for your help! Greg Sims From msapiro at value.net Sun Sep 30 03:46:36 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 29 Sep 2007 18:46:36 -0700 Subject: [Mailman-Users] Beginner questions In-Reply-To: <46FE8537.8050001@electrichendrix.com> Message-ID: Chris Arnold wrote: >> >I am not understanding this at all. I have made an alias on the >mailserver with listname at domain.tld and it redirects mail to my personal >account; i can send mail to it from inside and outside the network but >how are other people going to get mail with this config? I'm probably as lost as you about what you've done on which machine, but here's some basic information. Each list requires a set of 10 aliases to be installed in the MTA of the Mailman machine. In a default installation, they look like the following set for a list named 'list'. list: "|/usr/local/mailman/mail/mailman post list" list-admin: "|/usr/local/mailman/mail/mailman admin list" list-bounces: "|/usr/local/mailman/mail/mailman bounces list" list-confirm: "|/usr/local/mailman/mail/mailman confirm list" list-join: "|/usr/local/mailman/mail/mailman join list" list-leave: "|/usr/local/mailman/mail/mailman leave list" list-owner: "|/usr/local/mailman/mail/mailman owner list" list-request: "|/usr/local/mailman/mail/mailman request list" list-subscribe: "|/usr/local/mailman/mail/mailman subscribe list" list-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe list" These aliases allow the MTA on the Mailman machine to pipe mail addressed to 'list' and its 'list-*' administrative addresses. You say you have Postfix installed on the Mailman machine, so if you configure Postfix-Mailman integration per , these aliases should be generated automatically as you create lists. The above will allow list mail that reaches Postfix on the Mailman machine to be delivered to Mailman. Now you will need to arrange for list mail from the outside world to be delivered to the Mailman machine. This can be done by having a unique domain or domains for the Mailman lists and using DNS to rout that mail to the Mailman machine, or if list mail is going first to the maim mail server machine, then it needs to be told to relay all 10 addresses per list to the Mailman machine. . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sun Sep 30 03:53:34 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 29 Sep 2007 18:53:34 -0700 Subject: [Mailman-Users] Beginner questions In-Reply-To: <46FE3E1B.9010903@electrichendrix.com> Message-ID: Chris Arnold wrote: >Brad and all! You all have been kind and patient with me but i do not >see where to change the list address. I was going to just delete the >list and create a new one but i don't see how to delete any list. See for changing list domains, although if all you wan't to change is the email domain and not the web domain, you can just change the host_name attribute on the list's General Options page. See for changing the list name itself, but that's not what Brad meant. See for removing a list. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From carnold at electrichendrix.com Sun Sep 30 04:21:02 2007 From: carnold at electrichendrix.com (Chris Arnold) Date: Sat, 29 Sep 2007 22:21:02 -0400 Subject: [Mailman-Users] Beginner questions In-Reply-To: References: Message-ID: <46FF080E.7020106@electrichendrix.com> Mark Sapiro wrote: > I'm probably as lost as you about what you've done on which machine, > but here's some basic information. > > Each list requires a set of 10 aliases to be installed in the MTA of > the Mailman machine. In a default installation, they look like the > following set for a list named 'list'. > > list: "|/usr/local/mailman/mail/mailman post list" > list-admin: "|/usr/local/mailman/mail/mailman admin list" > list-bounces: "|/usr/local/mailman/mail/mailman bounces list" > list-confirm: "|/usr/local/mailman/mail/mailman confirm list" > list-join: "|/usr/local/mailman/mail/mailman join list" > list-leave: "|/usr/local/mailman/mail/mailman leave list" > list-owner: "|/usr/local/mailman/mail/mailman owner list" > list-request: "|/usr/local/mailman/mail/mailman request list" > list-subscribe: "|/usr/local/mailman/mail/mailman subscribe list" > list-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe list" > > These aliases allow the MTA on the Mailman machine to pipe mail > addressed to 'list' and its 'list-*' administrative addresses. > > You say you have Postfix installed on the Mailman machine, so if you > configure Postfix-Mailman integration per > , these aliases > should be generated automatically as you create lists. > Yes, it is configured per that link and i remember seeing those created during the install > The above will allow list mail that reaches Postfix on the Mailman > machine to be delivered to Mailman. > > Now you will need to arrange for list mail from the outside world to be > delivered to the Mailman machine. > > This can be done by having a unique domain or domains for the Mailman > lists and using DNS to rout that mail to the Mailman machine, I have public dns with an entry in it for the lists and it points to my public ip. My firewall then "NAT's" or "PAT's" that connection to the main mailserver. > or if > list mail is going first to the maim mail server machine, then it > needs to be told to relay all 10 addresses per list to the Mailman > machine. > . > Heres where i am not understanding: if list mail is going first to the maim mail server machine, then it needs to be told to relay all 10 addresses per list to the Mailman machine. I don't see how to do that on my mailserver. I can forward to email addresses but i dont see how to forward to a machine. Of course, sending mail is fine and i get an email to confirm a subscription. From msapiro at value.net Sun Sep 30 04:45:35 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 29 Sep 2007 19:45:35 -0700 Subject: [Mailman-Users] Bounce Processing -- Disable/Removal Notification In-Reply-To: <00d001c802cf$92dfde90$650a2b0a@WS> Message-ID: Greg Sims wrote: >We have a newsletter type list that has been running for almost two years >now. The list currently has 1,100 members who receive one email each >morning. The Bounce Configuration page for this list is configured as >follows: Yes, 5.0, 30, 2, 7, Yes, Yes, Yes which I believe may be the >defaults. The system is running under RedHat V4. These may be the mm_cfg.py defaults for ne lists at your site, but the Defaults.py defaults are Yes, 5.0, 7, 3, 7, Yes, Yes, Yes, but that doesn't really affect the rest of your question. >I ran the following command: grep 'score' /var/log/mailman/bounce and >received a list of 28 users that have records containing "(score 5.0 >= >5.0)". I can see one duplicate email address in this list of 28 - most of >the records appear to be unique email addresses. The dates on the records >cover a period of one week. Do these entries say "sending listname list probe to: user at example.com (score 5.0 >= 5.0)"? Is VERP_PROBES = Yes in mm_cfg.py (or is this Mailman 2.1.5 where VERP probes was unconditionally on)? If so, do you see in the bounce log that a probe was sent but didn't bounce? If so, it is likely that your MTA doesn't recognize the '+' delimiter to separate the VERP probe token from the local part of an address and can't deliver the bounce. >It appears there are a number of candidates that could have their >subscriptions Disabled and/or Removed from the list. I have been the list >admin for two years now and I have never received an email saying a list >member has been Disabled or Removed. This seems odd based on what I am >seeing in the logs. I do receive emails for bounce messages that fail >detection regularly. With the settings you have, you should receive disabled notices. >Is it possible to see in a log (or through the online interface) when a user >is placed in Disabled status? I would like to be able to grep this log and >see if anyone is being Disabled or Removed - this may confirm if there is >actually a problem or not. Let's say looking at the logs reveals that list >members are not ever being Disabled or Removed - what is the next step to >debugging this problem? 'Disabling' entries will appear in the bounce log if members are actually disabled. bin/list_members --nomail=bybounce listname will list all the disabled by bounce members. If there aren't any, and I suspect there aren't, I suspect that examination of the bounce log will show "sending listname list probe to: user at example.com (score 5.0 >= 5.0)" entries, but no "listname: user at example.com disabling due to probe bounce received" entries. If this is the case, I suspect it is because the MTA does not know how to deliver mail addressed to listname-bounces+xxxxxx at listdomain or at least doesn't pipe it to the wrapper as it does for mail to listname-bounces at listdomain. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sun Sep 30 05:00:01 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 29 Sep 2007 20:00:01 -0700 Subject: [Mailman-Users] Beginner questions In-Reply-To: <46FF080E.7020106@electrichendrix.com> Message-ID: Chris Arnold wrote: >Heres where i am not understanding: > >if >list mail is going first to the maim mail server machine, then it >needs to be told to relay all 10 addresses per list to the Mailman >machine. > >I don't see how to do that on my mailserver. I can forward to email >addresses but i dont see how to forward to a machine. If I understand correctly from your prior posts, this is a zimbra configuration question that I can't answer. However, can you forward to an address at an IP instead of a domain. I.e. mail to listname at example.com goes to the main mail server and gets forwarded to listname@[192.168.0.2] (or whatever the IP of the Mailman machine is)? With some MTAs, you'd need to specifically allow domain literals for this to work. I don't know if any incantation is required for Postfix or what it would be. Alternatively, you can use aliases to deliver to a local mailbox on the main mail server, and use something like fetchmail on the Mailman machine to retrieve mail from the mail server mailbox and deliver it to Postfix. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From greg at headingup.net Sun Sep 30 05:30:48 2007 From: greg at headingup.net (Greg Sims) Date: Sat, 29 Sep 2007 20:30:48 -0700 Subject: [Mailman-Users] Bounce Processing -- Disable/Removal Notification In-Reply-To: References: <00d001c802cf$92dfde90$650a2b0a@WS> Message-ID: <000901c80312$4c266b20$650a2b0a@WS> Mark, I believe you have the problem narrowed down. Here are the answers to your questions: Do these entries say "sending listname list probe to: user at example.com (score 5.0 >= 5.0)"? >> Yes Is VERP_PROBES = Yes in mm_cfg.py (or is this Mailman 2.1.5 where VERP probes was unconditionally on)? >> 2.1.5 If so, do you see in the bounce log that a probe was sent but didn't bounce? If so, it is likely that your MTA doesn't recognize the '+' delimiter to separate the VERP probe token from the local part of an address and can't deliver the bounce. >> I believe so. A score of 5.0 is reached, the probe message is sent >> and the next thing I see is another bounce with a score of 1.0. >It appears there are a number of candidates that could have their >subscriptions Disabled and/or Removed from the list. I have been the list >admin for two years now and I have never received an email saying a list >member has been Disabled or Removed. This seems odd based on what I am >seeing in the logs. I do receive emails for bounce messages that fail >detection regularly. 'Disabling' entries will appear in the bounce log if members are actually disabled. >> There are no Disabling entries in the logs. bin/list_members --nomail=bybounce listname will list all the disabled by bounce members. >> This command returns null. If there aren't any, and I suspect there aren't, I suspect that examination of the bounce log will show "sending listname list probe to: user at example.com (score 5.0 >= 5.0)" entries, but no "listname: user at example.com disabling due to probe bounce received" entries. >> Correct! If this is the case, I suspect it is because the MTA does not know how to deliver mail addressed to listname-bounces+xxxxxx at listdomain or at least doesn't pipe it to the wrapper as it does for mail to listname-bounces at listdomain. >> The server is using Qmail. What can I do to fix this problem or work >> around it. Do I need to remove entries from the subscription manually? >> If this is the case, this will need to be automated in some way as it >> will be very time consuming. Thanks again for your help Mark! Greg From msapiro at value.net Sun Sep 30 07:13:05 2007 From: msapiro at value.net (Mark Sapiro) Date: Sat, 29 Sep 2007 22:13:05 -0700 Subject: [Mailman-Users] Bounce Processing -- Disable/Removal Notification In-Reply-To: <000901c80312$4c266b20$650a2b0a@WS> Message-ID: Greg Sims wrote: > >I believe you have the problem narrowed down. Here are the answers to your >questions: > >Do these entries say "sending listname list probe to: user at example.com >(score 5.0 >= 5.0)"? >>> Yes > >Is VERP_PROBES = Yes in mm_cfg.py (or is this Mailman 2.1.5 where VERP >probes was unconditionally on)? >>> 2.1.5 > >If so, do you see in the bounce log that a probe was sent but didn't >bounce? If so, it is likely that your MTA doesn't recognize the '+' >delimiter to separate the VERP probe token from the local part of an >address and can't deliver the bounce. >>> I believe so. A score of 5.0 is reached, the probe message is sent >>> and the next thing I see is another bounce with a score of 1.0. OK. The probes aren't bouncing or the bounced probes aren't delivered back to Mailman. It's extremely unlikely that no probes are bouncing, so the most likely thing is the probe bounces aren't getting back to Mailman. >>> The server is using Qmail. What can I do to fix this problem or work >>> around it. Do I need to remove entries from the subscription manually? >>> If this is the case, this will need to be automated in some way as it >>> will be very time consuming. There a couple of possibilities. First, I suggest that you verify that mail to user+xyz at example.com is not properly delivered to user where example.com is your mail domain and user is a valid local address. Then we know for sure that this is the problem. Or, you could check qmail's logs from the time a probe bounce was sent to see the return in the log and what happened to it. If possible, you could upgrade to a later than 2.1.5 Mailman version in which you can set VERP_PROBES = No in mm_cfg.py to avoid the issue. There is some information on qmail at . It looks like in order to make this recognition work with qmail, you may have to put VERP_PROBE_FORMAT = '%(bounces)s-+%(token)s' VERP_PROBE_REGEXP = r'^(?P.*?)-\+(?P[^@]+)@.*$' mm_cfg.py (the install manual talks about VERP_FORMAT and VERP_REGEXP, but that is not what we need here). This changes the delimiter from '+' to '-+' and changes the recognizer to recognize it. It looks like you also need and additional .qmail-$i-bounces-default alias file ($i is the list name) for each affected list. There may be a way to change qmail's VERP delimiter from '-' to '+' which may be enough by itself, but I don't know. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From gspivey at georgefox.edu Sun Sep 30 07:30:44 2007 From: gspivey at georgefox.edu (Gary Spivey) Date: Sat, 29 Sep 2007 22:30:44 -0700 Subject: [Mailman-Users] Preventing spam to list owners Message-ID: <4067829B4871054DB7E77A511FCE9224757E9A@exch-emp.campus.georgefox.edu> My lists are locked down to only allow posts from members, so my members are not getting any SPAM. However, as list owner, every one of my lists is getting a large amount of SPAM - generally sent to the listname-owner or to mailman-owner. My maillog entry looks like this: Sep 23 10:39:34 hostname sendmail[17245]: l8NHdYwF017244: to="|/usr/lib/mailman/mail /mailman owner mailman", ctladdr= (8/0), delay =00:00:00, xdelay=00:00:00, mailer=prog, pri=140071, dsn=2.0.0, stat=Sent Sep 23 10:39:35 hostname sendmail[17247]: l8NHdZV9017247: from=, size=2069, class=-60, nrcpts=1, msgid=, proto=ESMTP, daemon=Daemon0, relay=localhost.loc aldomain [127.0.0.1] Does anyone know how to best stop these? Are these SPAM's coming from the outside direct to the e-mail address, or are they somehow going through mailman? If the latter, can I stop it in mailman somehow? If the former, does somebody have a recommended way to stop them? I have a SPAM filter running on my end system, but I am just tired of the constant flow of SPAM. Thanks for any help. From brad at shub-internet.org Sun Sep 30 09:14:47 2007 From: brad at shub-internet.org (Brad Knowles) Date: Sun, 30 Sep 2007 02:14:47 -0500 Subject: [Mailman-Users] Preventing spam to list owners In-Reply-To: <4067829B4871054DB7E77A511FCE9224757E9A@exch-emp.campus.georgefox.edu> References: <4067829B4871054DB7E77A511FCE9224757E9A@exch-emp.campus.georgefox.edu> Message-ID: On 9/29/07, Gary Spivey wrote: > Does anyone know how to best stop these? Are these SPAM's coming from > the outside direct to the e-mail address, or are they somehow going > through mailman? If the latter, can I stop it in mailman somehow? If the > former, does somebody have a recommended way to stop them? I have a SPAM > filter running on my end system, but I am just tired of the constant > flow of SPAM. These messages are coming from Mailman internally, where some outside user has tried to spam your list, but instead the message has wound up being held for moderation. Then it's up to you to go through and administer the moderator queue at least once a day, for every list. The alternative is to make the default non-subscriber action to be reject instead of holding for moderation. However, this won't be very friendly to real humans who try to post to your list, and you'll be sending an auto-response back to the sender address, which is probably forged. This is a "lesser of two evils" choice. You have to decide for yourself and your user community as to what the lesser evil is between these two options. -- Brad Knowles LinkedIn Profile: From carnold at electrichendrix.com Sun Sep 30 14:06:18 2007 From: carnold at electrichendrix.com (Chris Arnold) Date: Sun, 30 Sep 2007 08:06:18 -0400 Subject: [Mailman-Users] Beginner questions In-Reply-To: References: Message-ID: <46FF913A.9010509@electrichendrix.com> Mark Sapiro wrote: > Chris Arnold wrote: > > >> Heres where i am not understanding: >> >> if >> list mail is going first to the maim mail server machine, then it >> needs to be told to relay all 10 addresses per list to the Mailman >> machine. >> >> I don't see how to do that on my mailserver. I can forward to email >> addresses but i dont see how to forward to a machine. >> > > > If I understand correctly from your prior posts, this is a zimbra > configuration question that I can't answer. > > However, can you forward to an address at an IP instead of a domain. > I.e. mail to listname at example.com goes to the main mail server and > gets forwarded to listname@[192.168.0.2] (or whatever the IP of the > Mailman machine is)? With some MTAs, you'd need to specifically allow > domain literals for this to work. I don't know if any incantation is > required for Postfix or what it would be. > This did not let me use @192.168.x.x as it is complaining about the syntax (not a .whatever) > Alternatively, you can use aliases to deliver to a local mailbox on the > main mail server, and use something like fetchmail on the Mailman > machine to retrieve mail from the mail server mailbox and deliver it > to Postfix. > > I have gotten an answer from the zimbra forums on how to achieve this: http://wiki.zimbra.com/index.php?title=Split_Domain In the section Configuring Zimbra as the Primary System I need to follow those steps for every email address that needs to be routed to the mailman system. From dennis at eaachat.org Sun Sep 30 15:32:00 2007 From: dennis at eaachat.org (Dennis Morgan) Date: Sun, 30 Sep 2007 08:32:00 -0500 Subject: [Mailman-Users] Preventing spam to list owners In-Reply-To: <4067829B4871054DB7E77A511FCE9224757E9A@exch-emp.campus.georgefox.edu> References: <4067829B4871054DB7E77A511FCE9224757E9A@exch-emp.campus.georgefox.edu> Message-ID: <46FFA550.2040603@eaachat.org> The way I approached this was I sort of built a new front end. (Thank you Mark for your help!) Instead of people starting at the default Mailman 'advertised lists" page I sent everyone here: http://e-aa.org/maillist.html I created new lists and moved all the subscribers. I edited the HTML in the /mailman/listinfo/list_name_here pages so there were no mailto: links, there is a typed out address if people really want to get in touch with the moderators. If you follow the link to the administrative page for each list it has a mailto: link that discards all the mail that comes in. On our website we have 2 email addresses in public view with mailto: links used for support purposes, we change these whenever the spam level gets irritating. This has worked very well, every once in a while someone becomes a spam bot, we track them down and encourage them to clean their computer, other than that we have no spam to our lists. Dennis Gary Spivey wrote: > My lists are locked down to only allow posts from members, so my members > are not getting any SPAM. However, as list owner, every one of my lists > is getting a large amount of SPAM - generally sent to the listname-owner > or to mailman-owner. My maillog entry looks like this: > > > > Sep 23 10:39:34 hostname sendmail[17245]: l8NHdYwF017244: > to="|/usr/lib/mailman/mail > > /mailman owner mailman", ctladdr= (8/0), > delay > > =00:00:00, xdelay=00:00:00, mailer=prog, pri=140071, dsn=2.0.0, > stat=Sent > > Sep 23 10:39:35 hostname sendmail[17247]: l8NHdZV9017247: > from= > .domain.com>, size=2069, class=-60, nrcpts=1, > msgid= > 86.mailman at my.domain.com>, proto=ESMTP, daemon=Daemon0, > relay=localhost.loc > > aldomain [127.0.0.1] > > > > Does anyone know how to best stop these? Are these SPAM's coming from > the outside direct to the e-mail address, or are they somehow going > through mailman? If the latter, can I stop it in mailman somehow? If the > former, does somebody have a recommended way to stop them? I have a SPAM > filter running on my end system, but I am just tired of the constant > flow of SPAM. > > > > Thanks for any help. > > > > ------------------------------------------------------ > Mailman-Users mailing list > Mailman-Users at python.org > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: http://mail.python.org/mailman/options/mailman-users/dennis%40eaachat.org > > Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp > > From msapiro at value.net Sun Sep 30 16:47:24 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 30 Sep 2007 07:47:24 -0700 Subject: [Mailman-Users] Beginner questions In-Reply-To: <46FF913A.9010509@electrichendrix.com> Message-ID: Chris Arnold wrote: >Mark Sapiro wrote: >> >> However, can you forward to an address at an IP instead of a domain. >> I.e. mail to listname at example.com goes to the main mail server and >> gets forwarded to listname@[192.168.0.2] (or whatever the IP of the >> Mailman machine is)? With some MTAs, you'd need to specifically allow >> domain literals for this to work. I don't know if any incantation is >> required for Postfix or what it would be. >> >This did not let me use @192.168.x.x as it is complaining about the >syntax (not a .whatever) You have to put the IP in square brackets as I did in my example. >I have gotten an answer from the zimbra forums on how to achieve this: >http://wiki.zimbra.com/index.php?title=Split_Domain >In the section > > > Configuring Zimbra as the Primary System > >I need to follow those steps for every email address that needs to be >routed to the mailman system. Yes, but that seems to be the correct solution as long as the mail can't be routed to the mailman machine directly via DNS. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sun Sep 30 17:23:35 2007 From: msapiro at value.net (Mark Sapiro) Date: Sun, 30 Sep 2007 08:23:35 -0700 Subject: [Mailman-Users] Preventing spam to list owners In-Reply-To: <4067829B4871054DB7E77A511FCE9224757E9A@exch-emp.campus.georgefox.edu> Message-ID: Gary Spivey wrote: >My lists are locked down to only allow posts from members, so my members >are not getting any SPAM. However, as list owner, every one of my lists >is getting a large amount of SPAM - generally sent to the listname-owner >or to mailman-owner. My maillog entry looks like this: > > > >Sep 23 10:39:34 hostname sendmail[17245]: l8NHdYwF017244: >to="|/usr/lib/mailman/mail > >/mailman owner mailman", ctladdr= (8/0), >delay > >=00:00:00, xdelay=00:00:00, mailer=prog, pri=140071, dsn=2.0.0, >stat=Sent This message was sent to the mailman-owner address. It could have been sent directly there or it could be a Mailman generated notice. If the latter, it will look like a notice, I.e. it will have a subject like "listname post from a at example.com requires approval" or "Uncaught bounce notification" and will be a multipart message with the original spam in a separate part. If this is just a straight spam, it was sent by the spammer to the mailman-owner address. It could also be the result of spam sent to some remote address which spoofed the mailman-owner address as the sender and got bounced back to mailman-owner by the remote server. >Sep 23 10:39:35 hostname sendmail[17247]: l8NHdZV9017247: >from= >.domain.com>, size=2069, class=-60, nrcpts=1, >msgid= >86.mailman at my.domain.com>, proto=ESMTP, daemon=Daemon0, >relay=localhost.loc > >aldomain [127.0.0.1] This is a Mailman generated message-id for a notice from the 'mailman' list, so it is a Mailman notice, but I don't think it is the same message as the first one because it has a different sendmail id. >Does anyone know how to best stop these? Are these SPAM's coming from >the outside direct to the e-mail address, If they just look like spam, then yes, they are coming directly to the -owner address. >or are they somehow going >through mailman? If the latter, can I stop it in mailman somehow? If the >former, does somebody have a recommended way to stop them? I have a SPAM >filter running on my end system, but I am just tired of the constant >flow of SPAM. I use spamassassin with a pretty low threshold, but there is so much volume that the 5% that gets through is a bunch. I wish I had a better solution. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From stephen at xemacs.org Sun Sep 30 19:08:14 2007 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Mon, 01 Oct 2007 02:08:14 +0900 Subject: [Mailman-Users] Preventing spam to list owners In-Reply-To: <4067829B4871054DB7E77A511FCE9224757E9A@exch-emp.campus.georgefox.edu> References: <4067829B4871054DB7E77A511FCE9224757E9A@exch-emp.campus.georgefox.edu> Message-ID: <87bqbkxerl.fsf@uwakimon.sk.tsukuba.ac.jp> Gary Spivey writes: > former, does somebody have a recommended way to stop them? I have a SPAM > filter running on my end system, but I am just tired of the constant > flow of SPAM. There's no recommended way. As Mark says, only a choice of evils. The basic problem that we face is that email (and wikis and HTML forms) are *designed* to be open access. That means that they're open to spammers too. All of them can be abused; email is easiest/cheapest to abuse, HTML forms are typically hard/costly to abuse. But somebody is going to try. That's the nature of the beast. As I see it there are three basic strategies: 1. Private networks. The design varies, but the basic idea is that only authorized users can post. This is the strategy that ensures that your users don't get (much) spam. This strategy is inappropriate for an admin address, because "the doorkeeper won't let me in" is a very common problem that legitimate users have. You can't use the same doorkeeper for the support channel! 2. Automated filtering, laxer than the moderation standard, set to "discard" (not "reject", as somebody suggested, because that leads to backscatter). This is basically abdicating much of your responsibility, because legitimate inquiries may get discarded without notice. However, it's fairly easy to tune these to pass all legitimate internal mail (mail from Mailman is very stylized and doesn't look like spam, although nobody in their right mind enjoys reading it :-/ ). 3. Improved human moderation. I have two queues, one which basically amounts to "spamassassin rating 1.0 to 5.0" and the other is Mailman's moderation filters (not a member, etc). I have separate script (using grep and rm -i) which more or less allows discarding the former a page at a time. It's still a burden, but one I find acceptable since the lists are support services for free software, and so I prefer them to be essentially open-post. If (3) interests you, I can go into more detail about my solution, but I gotta run right now. From rbraver at ohww.norman.ok.us Sun Sep 30 19:54:10 2007 From: rbraver at ohww.norman.ok.us (Robert Braver) Date: Sun, 30 Sep 2007 12:54:10 -0500 Subject: [Mailman-Users] Preventing spam to list owners In-Reply-To: <4067829B4871054DB7E77A511FCE9224757E9A@exch-emp.campus.georgefox.edu> References: <4067829B4871054DB7E77A511FCE9224757E9A@exch-emp.campus.georgefox.edu> Message-ID: <706732014.20070930125410@ohww.norman.ok.us> On Sunday, September 30, 2007, 12:30:44 AM, Gary Spivey wrote: GS> My lists are locked down to only allow posts from members, so my GS> members are not getting any [spam]. However, as list owner, every GS> one of my lists is getting a large amount of [spam] - generally GS> sent to the listname-owner or to mailman-owner. I run only a small handful of lists, with anywhere from 20 to 200 members each, and filter out at least 200 spams to the various list addresses daily by running everything through SpamAssassin via a small bit of procmail. I've been doing this for about a year now, and very few spams get through, resulting in very few messages for a moderator and uncaught bounce notifications. Legitimate bounces (e.g. a user submitting a message from a recently changed email addresses) still occur as expected & desired. Wholesale bouncing of list mail to non-subscribers is totally unacceptable due to the amount of outscatter this will cause. (see http://en.wikipedia.org/wiki/Backscatter#Backscatter_of_email_spam ) It only took one list member from one of the smaller lists (which is private and not listed anywhere) who had their address book harvested by a trojan to cause about 50 spam emails a day to that list alone on an ongoing basis... so hiding the list addresses doesn't guarantee that they won't eventually leak out and get on the spam lists. Aliases file entries and procmail script is below. I'm currently tagging list filtered spam and shunting it to a specific folder which I periodically review and flush, but it could just as easily be sent to /dev/null. From the aliases file: ## listname mailing list listname: "| /usr/bin/procmail -m /etc/procmailrcs/mailman.rc post listname" listname-admin: "| /usr/bin/procmail -m /etc/procmailrcs/mailman.rc admin listname" listname-bounces: "| /usr/bin/procmail -m /etc/procmailrcs/mailman.rc bounces listname" listname-confirm: "| /usr/bin/procmail -m /etc/procmailrcs/mailman.rc confirm listname" listname-join: "| /usr/bin/procmail -m /etc/procmailrcs/mailman.rc join listname" listname-leave: "| /usr/bin/procmail -m /etc/procmailrcs/mailman.rc leave listname" listname-owner: "| /usr/bin/procmail -m /etc/procmailrcs/mailman.rc owner listname" listname-request: "| /usr/bin/procmail -m /etc/procmailrcs/mailman.rc request listname" listname-subscribe: "| /usr/bin/procmail -m /etc/procmailrcs/mailman.rc subscribe listname" listname-unsubscribe: "| /usr/bin/procmail -m /etc/procmailrcs/mailman.rc unsubscribe listname" The mailman.rc file is: VERBOSE=yes LOGFILE=/var/log/mailman-procmail.log MMCOMMAND=$1 MMLIST=$2 :0fw * < 256000 |/usr/bin/spamc # Send on to Mailman if not marked as spam :0 H * !^X-Spam-Status: Yes |/var/mailman/mail/mailman $MMCOMMAND $MMLIST # Otherwise add tag and send to abuse mailbox :0 * ^Subject:[ ]*\/[^ ].* { SUBJECT=$MATCH } # create the new subject token SUBJECT="[$MMLIST Filtered] $MATCH" # insert it into the headers :0hf | formail -I "Subject: $SUBJECT" # and forward :0 ! spam -- Best regards, Robert Braver rbraver at ohww.norman.ok.us From carnold at electrichendrix.com Sun Sep 30 21:58:32 2007 From: carnold at electrichendrix.com (Chris Arnold) Date: Sun, 30 Sep 2007 15:58:32 -0400 Subject: [Mailman-Users] Beginner questions In-Reply-To: References: Message-ID: <46FFFFE8.5080108@electrichendrix.com> Mark Sapiro wrote: >>> >>> >> This did not let me use @192.168.x.x as it is complaining about the >> syntax (not a .whatever) >> > > > You have to put the IP in square brackets as I did in my example. > I did, it does not like that format and will not let me add it like that > > >> I have gotten an answer from the zimbra forums on how to achieve this: >> http://wiki.zimbra.com/index.php?title=Split_Domain >> In the section >> >> >> Configuring Zimbra as the Primary System >> >> I need to follow those steps for every email address that needs to be >> routed to the mailman system. >> > > > Yes, but that seems to be the correct solution as long as the mail > can't be routed to the mailman machine directly via DNS. > > LOL, Mark, can we take this off-list as i am getting more and more confused? I have aim, skype and yahoo IM? Do you have any of those IM's? From carnold at electrichendrix.com Sun Sep 30 22:14:58 2007 From: carnold at electrichendrix.com (Chris Arnold) Date: Sun, 30 Sep 2007 16:14:58 -0400 Subject: [Mailman-Users] Beginner questions In-Reply-To: <46FFFFE8.5080108@electrichendrix.com> References: <46FFFFE8.5080108@electrichendrix.com> Message-ID: <470003C2.9030700@electrichendrix.com> Chris Arnold wrote: > Mark Sapiro wrote: > >>>> >>>> >>>> >>> This did not let me use @192.168.x.x as it is complaining about the >>> syntax (not a .whatever) >>> >>> >> You have to put the IP in square brackets as I did in my example. >> >> > I did, it does not like that format and will not let me add it like that > >> >> >>> I have gotten an answer from the zimbra forums on how to achieve this: >>> http://wiki.zimbra.com/index.php?title=Split_Domain >>> In the section >>> >>> >>> Configuring Zimbra as the Primary System >>> >>> I need to follow those steps for every email address that needs to be >>> routed to the mailman system. >>> >>> >> Yes, but that seems to be the correct solution as long as the mail >> can't be routed to the mailman machine directly via DNS. >> >> >> > LOL, Mark, can we take this off-list as i am getting more and more > confused? I have aim, skype and yahoo IM? Do you have any of those IM's? > OK, i have setup an email account on the main mail server like list at lists.domain.tld. I have subscribed to the list from my gmail account and am trying to send mail from gmail to the list at lists.domain.tld list. The good news is that my emails are NOT bouncing back to the gmail account as undelivered. However, i am not getting an email at my gmail account of the email i sent to the list. I should be getting that email back to the gmail account, right? From carnold at electrichendrix.com Sun Sep 30 23:02:14 2007 From: carnold at electrichendrix.com (Chris Arnold) Date: Sun, 30 Sep 2007 17:02:14 -0400 Subject: [Mailman-Users] Beginner questions In-Reply-To: References: <46FFFFE8.5080108@electrichendrix.com> <470003C2.9030700@electrichendrix.com> Message-ID: <47000ED6.90605@electrichendrix.com> Dan Phillips wrote: > > On Sep 30, 2007, at 3:14 PM, Chris Arnold wrote: >> i am not >> getting an email at my gmail account of the email i sent to the list. I >> should be getting that email back to the gmail account, right? >> > > Nope. See the last paragraph of: > > http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.042.htp > > Dan > Thanks Dan. There are some lists that i belong to that i do not get the email that i sent but i see others response to it. Well, i subscribed to my list with my yahoo account and sent an email from gmail to the list and i did not get that email in my yahoo account. Still seems like something is not working.