From maria at shadlen.org Sat Sep 1 02:20:20 2012 From: maria at shadlen.org (Maria McKinley) Date: Fri, 31 Aug 2012 17:20:20 -0700 Subject: [Mailman-Users] genaliases not updating aliases file Message-ID: <504154C4.3080008@shadlen.org> Hi there, I am having difficulty getting genaliases to work. When I run it, it outputs a list of my mailing lists, but it does not change the file /var/lib/mailman/data/aliases or aliases.db I am using postfix, and have the following in my main.cf file alias_maps = hash:/etc/aliases, ldap:ldapdata, hash:/var/lib/mailman/data/aliases alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases virtual_alias_maps = hash:/etc/postfix/virtual, hash:/var/lib/mailman/data/virtual-mailman virtual_alias_domains = $virtual_alias_maps I believe when I set this up I was not using virtual aliases, but can't find documentation on this anymore, and not sure how to tell for sure. I think it does not matter if I do or not, since I only have one domain that I am using for mailman. I am using postfix-to-mailman.py, since I have this line in /etc/postfix/master.cf mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user} In postfix-to-mailman.py it gives instructions for virtual aliases, but not for non-virtual aliases, so maybe now I have to use virtual aliases if I am using postfix-to-mailman.py? I am confused by somewhat conflicting documentation. In mm_cfg.py, it says: # Uncomment if you use Postfix virtual domains (but not # postfix-to-mailman.py), but be sure to see # /usr/share/doc/mailman/README.Debian first. #MTA='Postfix' But then in postfix-to-mailman.py, it says # /etc/mailman/mm_cfg.py # MTA = Postfix # So that mailman generates the recipients table The README was not particularly helpful in this case. The stuff for mailman in main.cf (in addition to the alias stuff above) is # stuff for mailman relay_domains = lists.shadlen.org transport_maps = hash:/etc/postfix/transport mailman_destination_recipient_limit = 1 I have this in /etc/postfix/transport: lists.example.com mailman: Can anyone help make sense of this? thanks, maria From mark at msapiro.net Sat Sep 1 04:13:00 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 31 Aug 2012 19:13:00 -0700 Subject: [Mailman-Users] genaliases not updating aliases file In-Reply-To: <504154C4.3080008@shadlen.org> References: <504154C4.3080008@shadlen.org> Message-ID: <50416F2C.5010605@msapiro.net> On 8/31/2012 5:20 PM, Maria McKinley wrote: > > I am having difficulty getting genaliases to work. When I run it, it > outputs a list of my mailing lists, but it does not change the file > /var/lib/mailman/data/aliases or aliases.db If you want to use aliases and have genaliases update files, you must have MTA = 'Postfix' (uncommented) in mm_cfg.py. > I am using postfix, and have the following in my main.cf file > > alias_maps = hash:/etc/aliases, ldap:ldapdata, > hash:/var/lib/mailman/data/aliases > alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases > > virtual_alias_maps = hash:/etc/postfix/virtual, > hash:/var/lib/mailman/data/virtual-mailman > virtual_alias_domains = $virtual_alias_maps What do you have in Postfix's transport maps? > I believe when I set this up I was not using virtual aliases, but can't > find documentation on this anymore, and not sure how to tell for sure. I > think it does not matter if I do or not, since I only have one domain > that I am using for mailman. I am using postfix-to-mailman.py, since I > have this line in /etc/postfix/master.cf > > mailman unix - n n - - pipe > flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py > ${nexthop} ${user} Defining the transport doesn't mean it's used. Do you have an entry like lists.shadlen.org mailman: in /etc/postfix/transport? (sigh...) second time this week ... Please read the posts at , and . > In postfix-to-mailman.py it gives instructions for virtual aliases, but > not for non-virtual aliases, so maybe now I have to use virtual aliases > if I am using postfix-to-mailman.py? The "officially unsupported by the GNU Mailman project", 3rd party postfix_to_mailman.py delivery method is an alternative to and incompatible with aliases. > I am confused by somewhat conflicting documentation. In mm_cfg.py, it says: Talk to Debian/Ubuntu about this. > In mm_cfg.py, it says: > # Uncomment if you use Postfix virtual domains (but not > # postfix-to-mailman.py), but be sure to see > # /usr/share/doc/mailman/README.Debian first. > #MTA='Postfix' > > But then in postfix-to-mailman.py, it says > # /etc/mailman/mm_cfg.py > # MTA = Postfix # So that mailman generates the recipients table I *think* that the Debian/Ubuntu package with postfix_to_mailman.py uses the Mailman generated virtual-mailman file (created with MTA = 'Postfix' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.shadlen.org'] in mm_cfg.py) as a recipient_maps table, not as virtual_alias_maps. My mind boggles at the nonsensical nature of all this. The only point (and it's a weak one) of using postfix_to_mailman.py in the first place is so you don't have to rely on Mailman's generation of aliases and virtual_alias_maps, but then they (Debian) turn around and rely on Mailman to generate a virtual alias map which they use as a relay recipient map to stop non-list mail from getting to the 'mailman' transport. > The README was not particularly helpful in this case. > > The stuff for mailman in main.cf (in addition to the alias stuff above) is > > # stuff for mailman > relay_domains = lists.shadlen.org > transport_maps = hash:/etc/postfix/transport > mailman_destination_recipient_limit = 1 > > I have this in /etc/postfix/transport: > lists.example.com mailman: > > Can anyone help make sense of this? Unfortunately, Yes. The basic thing you have to decide is whether to use postfix_to_mailman.py or Mailman's Postfix integration. postfix_to_mailman.py: advantages: - doesn't require aliases - at least as originally intended without relay_recipient_maps, once it's working it continues to work as lists are created and deleted disadvantages: - no support from the people who distribute it in their package (why else are you here?) - required a dedicated domain for mailing lists - does not support non-list addresses in the dedicated domain - triggers grumpy rants when you ask for help on this list. Mailman - Postfix integration: advantages: - documented and supported by the GNU Mailman project. - works well in hundreds if not thousands of Mailman installations - allows multiple list domains, both local and virtual. - allows non-list addresses in list domains disadvantages: - you tell me. Maybe it doesn't work or is hard to configure in some arcane Postfix configurations. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Sep 1 04:33:00 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 31 Aug 2012 19:33:00 -0700 Subject: [Mailman-Users] genaliases not updating aliases file In-Reply-To: <50416F2C.5010605@msapiro.net> Message-ID: Mark Sapiro wrote: > >The basic thing you have to decide is whether to use >postfix_to_mailman.py or Mailman's Postfix integration. In case it wasn't clear, by Mailman's Postfix integration, I meant Mailman's automatic maintenance of the aliases and virtual-mailman files to be used as alias_maps and virtual_alias_maps in Postfix. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From maria at shadlen.org Sat Sep 1 05:00:57 2012 From: maria at shadlen.org (Maria McKinley) Date: Fri, 31 Aug 2012 20:00:57 -0700 Subject: [Mailman-Users] genaliases not updating aliases file In-Reply-To: <50416F2C.5010605@msapiro.net> References: <504154C4.3080008@shadlen.org> <50416F2C.5010605@msapiro.net> Message-ID: <50417A69.9050501@shadlen.org> On 8/31/12 7:13 PM, Mark Sapiro wrote: > On 8/31/2012 5:20 PM, Maria McKinley wrote: >> >> I am having difficulty getting genaliases to work. When I run it, it >> outputs a list of my mailing lists, but it does not change the file >> /var/lib/mailman/data/aliases or aliases.db > > > If you want to use aliases and have genaliases update files, you must have > > MTA = 'Postfix' > > (uncommented) in mm_cfg.py. > > Great, I'll do this. >> I am using postfix, and have the following in my main.cf file >> >> alias_maps = hash:/etc/aliases, ldap:ldapdata, >> hash:/var/lib/mailman/data/aliases >> alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases >> >> virtual_alias_maps = hash:/etc/postfix/virtual, >> hash:/var/lib/mailman/data/virtual-mailman >> virtual_alias_domains = $virtual_alias_maps > > > What do you have in Postfix's transport maps? I actually had that included in my original email, but here you go: I have this in /etc/postfix/transport: lists.example.com mailman: Or is this not what you mean by transport maps? > > >> I believe when I set this up I was not using virtual aliases, but can't >> find documentation on this anymore, and not sure how to tell for sure. I >> think it does not matter if I do or not, since I only have one domain >> that I am using for mailman. I am using postfix-to-mailman.py, since I >> have this line in /etc/postfix/master.cf >> >> mailman unix - n n - - pipe >> flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py >> ${nexthop} ${user} > > > Defining the transport doesn't mean it's used. Do you have an entry like > > lists.shadlen.org mailman: > > in /etc/postfix/transport? > > (sigh...) second time this week ... > > Please read the posts at > , > and > . > Thanks so much, no idea why these don't show up when googling. My one annoyance with Mailman is it has no good search feature. Sorry for asking a question that had so recently been brought up. > >> In postfix-to-mailman.py it gives instructions for virtual aliases, but >> not for non-virtual aliases, so maybe now I have to use virtual aliases >> if I am using postfix-to-mailman.py? > > > The "officially unsupported by the GNU Mailman project", 3rd party > postfix_to_mailman.py delivery method is an alternative to and > incompatible with aliases. > > >> I am confused by somewhat conflicting documentation. In mm_cfg.py, it says: > > > Talk to Debian/Ubuntu about this. > >> In mm_cfg.py, it says: >> # Uncomment if you use Postfix virtual domains (but not >> # postfix-to-mailman.py), but be sure to see >> # /usr/share/doc/mailman/README.Debian first. >> #MTA='Postfix' >> >> But then in postfix-to-mailman.py, it says >> # /etc/mailman/mm_cfg.py >> # MTA = Postfix # So that mailman generates the recipients table > > > I *think* that the Debian/Ubuntu package with postfix_to_mailman.py uses > the Mailman generated virtual-mailman file (created with > > MTA = 'Postfix' > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.shadlen.org'] > > in mm_cfg.py) as a recipient_maps table, not as virtual_alias_maps. My > mind boggles at the nonsensical nature of all this. The only point (and > it's a weak one) of using postfix_to_mailman.py in the first place is so > you don't have to rely on Mailman's generation of aliases and > virtual_alias_maps, but then they (Debian) turn around and rely on > Mailman to generate a virtual alias map which they use as a relay > recipient map to stop non-list mail from getting to the 'mailman' transport. > > >> The README was not particularly helpful in this case. >> >> The stuff for mailman in main.cf (in addition to the alias stuff above) is >> >> # stuff for mailman >> relay_domains = lists.shadlen.org >> transport_maps = hash:/etc/postfix/transport >> mailman_destination_recipient_limit = 1 >> >> I have this in /etc/postfix/transport: >> lists.example.com mailman: >> >> Can anyone help make sense of this? > > > Unfortunately, Yes. > > The basic thing you have to decide is whether to use > postfix_to_mailman.py or Mailman's Postfix integration. > > postfix_to_mailman.py: > advantages: > - doesn't require aliases > - at least as originally intended without relay_recipient_maps, > once it's working it continues to work as lists are created > and deleted > disadvantages: > - no support from the people who distribute it in their package > (why else are you here?) > - required a dedicated domain for mailing lists > - does not support non-list addresses in the dedicated domain > - triggers grumpy rants when you ask for help on this list. > Mailman - Postfix integration: > advantages: > - documented and supported by the GNU Mailman project. > - works well in hundreds if not thousands of Mailman > installations > - allows multiple list domains, both local and virtual. > - allows non-list addresses in list domains > disadvantages: > - you tell me. Maybe it doesn't work or is hard to > configure in some arcane Postfix configurations. > Perfectly happy to switch. Just took the Debian default years ago, and have no idea why it only became a problem now. Well, I have some idea; many upgrades and moving servers later, and haven't tried to make, move or remove any lists for many years. In addition to the instructions you pointed me to for using postfix with mailman, I am assuming I also do the following (stuff that I did following instructions in postfix_to_mailman.py, some of which has been confirmed that I need to get rid of in links you gave me, but including all for completeness): #get rid of the virtual-mailman entry in virtual_alias_maps from postfix/main.cf: virtual_alias_maps = hash:/etc/postfix/virtual, hash:/var/lib/mailman/data/virtual-mailman # and this other stuff in main.cf: relay_domains = lists.shadlen.org transport_maps = hash:/etc/postfix/transport mailman_destination_recipient_limit = 1 # Get rid of these lines from master.cf: mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user} # remove this line from /etc/postfix/transport: lists.example.com mailman: # and finally from /etc/mailman/mm_cfg.py POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.example.com'] # alias for postmaster, abuse and mailer-daemon DEB_LISTMASTER = 'postmaster at example.com' Thanks so much for your help. From mark at msapiro.net Sat Sep 1 05:35:54 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 31 Aug 2012 20:35:54 -0700 Subject: [Mailman-Users] genaliases not updating aliases file In-Reply-To: <50417A69.9050501@shadlen.org> Message-ID: Maria McKinley wrote: >On 8/31/12 7:13 PM, Mark Sapiro wrote: >> >> What do you have in Postfix's transport maps? > >I actually had that included in my original email, but here you go: >I have this in /etc/postfix/transport: >lists.example.com mailman: > >Or is this not what you mean by transport maps? Sorry, I missed that in the OP. Yes, That's what I meant. [...] >Thanks so much for your help. You're welcome, even if it didn't seem so from my original reply. If you have any further problems, please let us know. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From g.c.b.at.work at gmail.com Thu Sep 6 07:56:29 2012 From: g.c.b.at.work at gmail.com (G B) Date: Wed, 5 Sep 2012 22:56:29 -0700 Subject: [Mailman-Users] 3.0.0b1 fails bootstrap.py on Mountain Lion Message-ID: I'm installing Mailman for the first time, and chose to try the beta. I'm installing on a Mountain Lion Server, that was cleanly installed. I've since updated the OS to 10.8.1 I got as far as 'python bootstrap.py' and it failed immediately with the following traceback: ????????????????????????-- Traceback (most recent call last): File "bootstrap.py", line 157, in import pkg_resources File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/../../Extras/lib/python/pkg_resources.py", line 698, in class Environment(object): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/../../Extras/lib/python/pkg_resources.py", line 701, in Environment def __init__(self, search_path=None, platform=get_supported_platform(), python=PY_MAJOR): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/../../Extras/lib/python/pkg_resources.py", line 99, in get_supported_platform plat = 'macosx-%s-%s' % ('.'.join(_macosx_vers()[:2]), m.group(3)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/../../Extras/lib/python/pkg_resources.py", line 209, in _macosx_vers _cache.append(mac_ver()[0].split('.')) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.py", line 803, in mac_ver File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.py", line 780, in _mac_ver_xml File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 78, in readPlist File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 406, in parse File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 418, in handleEndElement File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 452, in end_key File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 436, in getData LookupError: unknown encoding: ascii ?????????????????????????? FWIW, I can open an interactive Python session and execute "import pkg_resources" from the command line without error. Any ideas? Thanks? Greg From charlesgpuckett at gmail.com Wed Sep 5 18:28:11 2012 From: charlesgpuckett at gmail.com (ChuckPuckett) Date: Wed, 5 Sep 2012 09:28:11 -0700 (PDT) Subject: [Mailman-Users] Something is hiding Subject/Sender for Hotmail/MSN recipients Message-ID: <34393034.post@talk.nabble.com> This just started, but it may be result of change in Settings. I use Mailman list primarily as an announcement service (of theatrical events in the area). I myself receive the emails, once in my Hotmail account, once in my Gmail account. I send the announcements from the Hotmail account. In the last month or so, I've noticed that when I receive the email in my Hotmail account, the Subject says "(No Subject)" and the sender is "(Unknown)". The Gmail receipt is fine: subject and sender are perfectly visible. I just ignored the problem until one of my patrons, using an MSN (also Microsoft, so you can see where I'm heading with my suspicions) reported the same phenomenon. My settings are hopefully set up so that members can only receive the postings, there is no provision for anyone else posting to the list (it's not a discussion forum) anonymous_list is set to NO first_strip_reply_to set to YES reply_goes_to_list is Explicit address (mine) subject_prefix is "[Theatre Happenings]" (don't see how this would affect, just mentioning settings that seem at least potentially related) There may be other settings that are germane, happy to provide them. Or maybe it's nothing in my Settings at all. Any help is appreciated. Chuck Puckett http://www.puckettpublishing.com http://www.puckettpublishing.com "I don't want to steal the show. I only want to borrow it for a while." -- View this message in context: http://old.nabble.com/Something-is-hiding-Subject-Sender-for-Hotmail-MSN-recipients-tp34393034p34393034.html Sent from the Mailman - Users mailing list archive at Nabble.com. From brad at shub-internet.org Thu Sep 6 19:30:50 2012 From: brad at shub-internet.org (Brad Knowles) Date: Thu, 6 Sep 2012 10:30:50 -0700 Subject: [Mailman-Users] 3.0.0b1 fails bootstrap.py on Mountain Lion In-Reply-To: References: Message-ID: <24E67ADA-9664-4B2C-93EC-E4514057E489@shub-internet.org> On Sep 5, 2012, at 10:56 PM, G B wrote: > I'm installing Mailman for the first time, and chose to try the beta. I'm installing on a Mountain Lion Server, that was cleanly installed. I've since updated the OS to 10.8.1 If you have questions regarding Mailman 3, I would expect that the mailman-developers list would be a better place to post than on this list. Mailman 3 is still in beta, and I don't think there are many people on the mailman-users list who are trying to work with it, at least not so far. -- Brad Knowles LinkedIn Profile: From bsfinkel at att.net Thu Sep 6 21:03:29 2012 From: bsfinkel at att.net (Barry S. Finkel) Date: Thu, 06 Sep 2012 14:03:29 -0500 Subject: [Mailman-Users] Something is hiding Subject/Sender for Hotmail/MSN recipients In-Reply-To: <34393034.post@talk.nabble.com> References: <34393034.post@talk.nabble.com> Message-ID: <5048F381.4010307@att.net> On 9/5/2012 11:28 AM, ChuckPuckett wrote: > This just started, but it may be result of change in Settings. I use Mailman > list primarily as an announcement service (of theatrical events in the > area). I myself receive the emails, once in my Hotmail account, once in my > Gmail account. I send the announcements from the Hotmail account. > > In the last month or so, I've noticed that when I receive the email in my > Hotmail account, the Subject says "(No Subject)" and the sender is > "(Unknown)". The Gmail receipt is fine: subject and sender are perfectly > visible. I just ignored the problem until one of my patrons, using an MSN > (also Microsoft, so you can see where I'm heading with my suspicions) > reported the same phenomenon. > > My settings are hopefully set up so that members can only receive the > postings, there is no provision for anyone else posting to the list (it's > not a discussion forum) > > anonymous_list is set to NO > first_strip_reply_to set to YES > reply_goes_to_list is Explicit address (mine) > subject_prefix is "[Theatre Happenings]" (don't see how this would affect, > just mentioning settings that seem at least potentially related) > > There may be other settings that are germane, happy to provide them. Or > maybe it's nothing in my Settings at all. > > Any help is appreciated. > > Chuck Puckett > http://www.puckettpublishing.com http://www.puckettpublishing.com > "I don't want to steal the show. I only want to borrow it for a while." I have never used Hotmail. Is there a way in Hotmail to see the entire "source" of the mail (i.e., the entire RFC 5321 headers)? Maybe Hotmail is misinterpreting the mail header lines or corrupting them. Thunderbird allows viewing the headers, as does Comcast mail. Those are the two with which I am familiar. --Barry Finkel From mark at msapiro.net Fri Sep 7 00:08:04 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 6 Sep 2012 15:08:04 -0700 Subject: [Mailman-Users] Something is hiding Subject/Sender for Hotmail/MSNrecipients In-Reply-To: <34393034.post@talk.nabble.com> Message-ID: ChuckPuckett wrote: > >This just started, but it may be result of change in Settings. I use Mailman >list primarily as an announcement service (of theatrical events in the >area). I myself receive the emails, once in my Hotmail account, once in my >Gmail account. I send the announcements from the Hotmail account. > >In the last month or so, I've noticed that when I receive the email in my >Hotmail account, the Subject says "(No Subject)" and the sender is >"(Unknown)". The Gmail receipt is fine: subject and sender are perfectly >visible. It is difficult to understand what the issue with any message would be that would allow Gmail to correctly display the Subject: and Sender: but Hotmail not. >I just ignored the problem until one of my patrons, using an MSN >(also Microsoft, so you can see where I'm heading with my suspicions) >reported the same phenomenon. > >My settings are hopefully set up so that members can only receive the >postings, there is no provision for anyone else posting to the list (it's >not a discussion forum) > >anonymous_list is set to NO >first_strip_reply_to set to YES >reply_goes_to_list is Explicit address (mine) Possibly you have a hard return at the end of your address in reply_to_address. I don't know offhand what this would produce in the generated Reply-To: header, but if it were some kind of encoded return, Hotmail might see it as the end of the headers and Gmail not. >subject_prefix is "[Theatre Happenings]" (don't see how this would affect, >just mentioning settings that seem at least potentially related) > >There may be other settings that are germane, happy to provide them. Or >maybe it's nothing in my Settings at all. > >Any help is appreciated. I would like to see the raw message as sent from Mailman. I don't think you can get this in Hotmail, but in Gmail, in the message view, near the top and to the right of the date and the swooping 'reply' arrow there is a down arrow for 'more'. Pull that down and click 'show original'. Then copy and paste all the headers - you can mung things for privacy if you wish, but try not to obscure anything that isn't simple text, and not particularly if there seem to be any blank lines. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From alex_tw_lam at hkpo.gov.hk Fri Sep 7 09:05:26 2012 From: alex_tw_lam at hkpo.gov.hk (Alex TW LAM) Date: Fri, 07 Sep 2012 15:05:26 +0800 Subject: [Mailman-Users] Unable to approve messages Message-ID: <50499CB6.2030409@hkpo.gov.hk> Dear All, We have a mailman system setup a long time ago, it requires approval for any messages posted on the mailing list. Starting recently, the moderator of list no longer able approve newly posted message, they are still able to receive the "waiting for approval" message, which I suppose means the wrapper script in aliases file works. But after they entered "Approved " in the first line of the confirm mail (email command). Nothing would happened, list members would not receive posted, nor would the moderator received "Confirmation succeeded" message. I have tried all the method, at first I suspected it was the group settings problem. But then I realize if this is the case the "waiting for approval" would not have been sent. The "confirm and approve" email command originally worked, but just suddenly stopped working. The Any one have ideas? Regards, Alex Lam From ma.76 at osu.edu Fri Sep 7 16:43:24 2012 From: ma.76 at osu.edu (Ma, Yuan) Date: Fri, 7 Sep 2012 14:43:24 +0000 Subject: [Mailman-Users] May I know which file I need to modify to change the Welcome page content? Message-ID: <3D7D185549C2E048814EC5CF34B8FD67015EC30F@CIO-KRC-D1MBX02.osuad.osu.edu> Hi, I am trying to change the line in the Welcome! below from (Send questions and comments to mailman at lists.service.ohio-state.edu.) to (Send questions and comments to smith.78910 at osu.edu.) May I know which file I need to modify? Thank you very much in advance. Yuan Ma -------------------This is the Welcome web page content of our mailing list server----------------- https://lists.service.ohio-state.edu/mailman/admin/ lists.service.ohio-state.edu mailing lists - Admin Links Welcome! Below is the collection of publicly-advertised Mailman mailing lists on lists.service.ohio-state.edu. Click on a list name to visit the configuration pages for that list.To visit the administrators configuration page for an unadvertised list, open a URL similar to this one, but with a '/' and the list name appended. If you have the proper authority, you can also create a new mailing list. General list information can be found at the mailing list overview page. (Send questions and comments to mailman at lists.service.ohio-state.edu.) List Description 10medcohort for 2010-11 MEd cohort in social studies and global ed 160dinstructors For issues related to teaching Art Education 160D 1900kennyroad 1900 Kenny Road Building staff list for building issues alerts info ... -----------------------------------------end------------------------- From mark at msapiro.net Fri Sep 7 17:40:06 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 7 Sep 2012 08:40:06 -0700 Subject: [Mailman-Users] May I know which file I need to modify to changethe Welcome page content? In-Reply-To: <3D7D185549C2E048814EC5CF34B8FD67015EC30F@CIO-KRC-D1MBX02.osuad.osu.edu> Message-ID: Ma, Yuan wrote: >I am trying to change the line in the Welcome! below from (Send questions and comments to mailman at lists.service.ohio-state.edu.) to (Send questions and comments to smith.78910 at osu.edu.) >May I know which file I need to modify? This address is hard coded in the module Mailman/Cgi/admin.py. If you really want to change it, you need to find the line mailman_owner = Utils.get_site_email() in the definition of the admin_overview() function in that module and change it to mailman_owner = 'smith.78910 at osu.edu' but the intended way to deal with this is to set the 'mailman' list to accept posts from non-members (Privacy options... -> Sender filters -> generic_nonmember_action = Accept) and subscribe smith.78910 at osu.edu to the list. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From cpz at tuunq.com Fri Sep 7 17:18:39 2012 From: cpz at tuunq.com (Carl Zwanzig) Date: Fri, 07 Sep 2012 08:18:39 -0700 Subject: [Mailman-Users] Unable to approve messages In-Reply-To: <50499CB6.2030409@hkpo.gov.hk> References: <50499CB6.2030409@hkpo.gov.hk> Message-ID: <504A104F.1040608@tuunq.com> On 9/7/2012 12:05 AM, Alex TW LAM wrote: > But after they entered "Approved " in the first line of the confirm > mail (email command). Nothing would happened, list members would not receive > posted, nor would the moderator received "Confirmation succeeded" message. Did they change email clients or domains? IIRC, the Approved line has to be the first line of the message body, and some MUAs add other spacing or headers. Have them bcc you on an approve message and then look at the raw message itself. I think this might be a FAQ, but I'm not going to check at the moment. z! From mark at msapiro.net Fri Sep 7 17:48:01 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 7 Sep 2012 08:48:01 -0700 Subject: [Mailman-Users] Unable to approve messages In-Reply-To: <50499CB6.2030409@hkpo.gov.hk> Message-ID: Alex TW LAM wrote: > >Starting recently, the moderator of list no longer able approve newly >posted message, they are still able to receive the "waiting for >approval" message, which I suppose means the wrapper script in aliases >file works. > >But after they entered "Approved " in the first line of the >confirm mail (email command). Nothing would happened, list members would >not receive posted, nor would the moderator received "Confirmation >succeeded" message. Do other messages to the LISTNAME-request address work. If you send a message with Subject: help to the LISTNAME-request at ... address, what happens? What's in your MTA logs for the message that the moderator sends? What's in Mailman's logs? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From bsfinkel at att.net Fri Sep 7 17:47:11 2012 From: bsfinkel at att.net (Barry S. Finkel) Date: Fri, 07 Sep 2012 10:47:11 -0500 Subject: [Mailman-Users] Unable to approve messages In-Reply-To: <50499CB6.2030409@hkpo.gov.hk> References: <50499CB6.2030409@hkpo.gov.hk> Message-ID: <504A16FF.2060807@att.net> On 9/7/2012 2:05 AM, Alex TW LAM wrote: > Dear All, > > We have a mailman system setup a long time ago, it requires approval > for any messages posted on the mailing list. > > Starting recently, the moderator of list no longer able approve newly > posted message, they are still able to receive the "waiting for > approval" message, which I suppose means the wrapper script in aliases > file works. > > But after they entered "Approved " in the first line of the > confirm mail (email command). Nothing would happened, list members > would not receive posted, nor would the moderator received > "Confirmation succeeded" message. > > I have tried all the method, at first I suspected it was the group > settings problem. But then I realize if this is the case the "waiting > for approval" would not have been sent. > > The "confirm and approve" email command originally worked, but just > suddenly stopped working. The Any one have ideas? > > Regards, > Alex Lam > Alex, if you are trying to approve via an e-mail message, then check your mail logs to see what happens to the mail. --Barry Finkel From vlad at hollebcons.com Sat Sep 8 04:08:11 2012 From: vlad at hollebcons.com (Vladimir Mikhelson) Date: Fri, 07 Sep 2012 21:08:11 -0500 Subject: [Mailman-Users] Cannot Modify MOD on the Membership List in the Mailman Admin WEB UI Message-ID: <504AA88B.7030305@hollebcons.com> Hi, Has anybody run into a problem when the "mod" column does not change when managed via the Membership Management page in the Mailman admin WEB UI? I can change the mod value by running the "withlist" script, and the modification shows up on the WEB page. Mailman version 2.1.15 Pyphon version: 2.7.3 Thank you, Vladimir From mark at msapiro.net Sat Sep 8 17:03:21 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 8 Sep 2012 08:03:21 -0700 Subject: [Mailman-Users] Cannot Modify MOD on the Membership List in theMailman Admin WEB UI In-Reply-To: <504AA88B.7030305@hollebcons.com> Message-ID: Vladimir Mikhelson wrote: > >Has anybody run into a problem when the "mod" column does not change >when managed via the Membership Management page in the Mailman admin WEB UI? Can you change other user setting checkboxes from the web UI? If not, see the FAQ at . This could also be a browser issue. Have you tried other browsers/workstations? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From barry at list.org Sun Sep 9 01:28:36 2012 From: barry at list.org (Barry Warsaw) Date: Sat, 8 Sep 2012 19:28:36 -0400 Subject: [Mailman-Users] RELEASED: GNU Mailman 3.0 beta 2 Message-ID: <20120908192836.5e54ab49@resist> Hello friends of Mailman! Sometimes we freeze until the light comes Sometimes we're wrong and sometimes we're right I'm happy to announce the second beta release of Mailman 3.0, code named "Freeze". I expect the code name to appropriately reflect the stability of the database schema and REST API. From here on out, there should be no more major changes or new features, just bug fixes leading to the 3.0 final release. You can download GNU Mailman 3.0b2 from Launchpad or the Python Cheeseshop: https://launchpad.net/mailman http://pypi.python.org/pypi/mailman The GNU Mailman documentation is available online at: http://packages.python.org/mailman/ Don't forget that alpha releases of Postorious, our new web ui are also available: https://launchpad.net/postorius http://pypi.python.org/pypi/postorius You can submit bug reports to GNU Mailman and Postorius at: https://bugs.launchpad.net/mailman https://bugs.launchpad.net/postorius GNU Mailman and Postorius are released under the GNU General Public License version 3 or later. Detailed changes in Mailman 3.0b2 are available here: http://tinyurl.com/93xlt5m Here's a summary of the most user and developer visible change: * The link between members and mailing lists is now the list-id, not the mailing list's posting address. This is reflected in changes to the REST API for members, and other internal APIs. * Many other database schema changes have been made, compatible with both the SQLite3 and PostgreSQL backends, and with fully tested automatic migration. * passlib is now used for password hashing instead of flufl.password. There is a separate configuration file for controlling the hash used, with the default being sha512_crypt. * Internally, all datetimes are interpreted in UTC, but stored in naive format. * The `news` runner is now called the `nntp` runner. Beta testers can safely remove $var_dir/queue/news. * Many internal events have been added and renamed. * Archiving policies are now controlled by a single enumeration. This change is also reflected in the REST API. * Many configuration file changes have been made, including the addition of the new [antispam] section. * The usual slew of bug fixes have been applied. Enjoy, -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From alex_tw_lam at hkpo.gov.hk Mon Sep 10 03:21:10 2012 From: alex_tw_lam at hkpo.gov.hk (Alex TW LAM) Date: Mon, 10 Sep 2012 09:21:10 +0800 Subject: [Mailman-Users] Unable to approve messages In-Reply-To: <504A104F.1040608@tuunq.com> References: <50499CB6.2030409@hkpo.gov.hk> <504A104F.1040608@tuunq.com> Message-ID: <504D4086.5000706@hkpo.gov.hk> The source file looked like this, it was posted using Thunderbird. Message-ID: <504D3F9D.202@.com> Date: Mon, 10 Sep 2012 09:17:17 +0800 From: @.com> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: testlist-request@.com Subject: Re: confirm 428de52f22d37c5175c0182148fb8bb7e3dcc356 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-header-AAKDJ08: NULL Approved: On 1/1/1970 8:00 AM, testlist-request@.com wrote: >
> If you reply to this message, keeping the Subject: header intact,
> Mailman will discard the held message.  Do this if the message is
> spam.  If you reply to this message and include an Approved: header
> with the list password in it, the message will be approved for posting
> to the list.  The Approved: header can also appear in the first line
> of the body of the reply.
> 
> > Regards, Alex On 9/7/2012 11:18 PM, Carl Zwanzig wrote: > On 9/7/2012 12:05 AM, Alex TW LAM wrote: > >> But after they entered "Approved " in the first line of the >> confirm >> mail (email command). Nothing would happened, list members would not >> receive >> posted, nor would the moderator received "Confirmation succeeded" >> message. > > Did they change email clients or domains? IIRC, the Approved line has > to be the first line of the message body, and some MUAs add other > spacing or headers. Have them bcc you on an approve message and then > look at the raw message itself. > > I think this might be a FAQ, but I'm not going to check at the moment. > > z! > From alex_tw_lam at hkpo.gov.hk Mon Sep 10 03:26:41 2012 From: alex_tw_lam at hkpo.gov.hk (Alex TW LAM) Date: Mon, 10 Sep 2012 09:26:41 +0800 Subject: [Mailman-Users] Unable to approve messages In-Reply-To: References: Message-ID: <504D41D1.8060807@hkpo.gov.hk> The help command seemed to get to mailman. Sep 10 09:21:40 app1 sendmail[25224]: q8A1LdEP025222: to="|/var/mailman/mail/mailman request testlist", ctladdr= (8/0), delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=31165, dsn=2.0.0, stat=Sent But nothing in mailman log (/var/log/mailman) Regards, Alex Lam On 9/7/2012 11:48 PM, Mark Sapiro wrote: > Alex TW LAM wrote: >> Starting recently, the moderator of list no longer able approve newly >> posted message, they are still able to receive the "waiting for >> approval" message, which I suppose means the wrapper script in aliases >> file works. >> >> But after they entered "Approved " in the first line of the >> confirm mail (email command). Nothing would happened, list members would >> not receive posted, nor would the moderator received "Confirmation >> succeeded" message. > > Do other messages to the LISTNAME-request address work. If you send a > message with > > Subject: help > > to the LISTNAME-request at ... address, what happens? > > What's in your MTA logs for the message that the moderator sends? > What's in Mailman's logs? > From mark at msapiro.net Mon Sep 10 04:31:54 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 9 Sep 2012 19:31:54 -0700 Subject: [Mailman-Users] Unable to approve messages In-Reply-To: <504D41D1.8060807@hkpo.gov.hk> Message-ID: Alex TW LAM wrote: > >The help command seemed to get to mailman. > > Sep 10 09:21:40 app1 sendmail[25224]: q8A1LdEP025222: > to="|/var/mailman/mail/mailman request testlist", > ctladdr= (8/0), delay=00:00:01, > xdelay=00:00:00, mailer=prog, pri=31165, dsn=2.0.0, stat=Sent How does that compare with a list post, i.e., mail to testlist at hostname.com? That log message looks wrong to me. Clearly, there is an alias involved like testlist-request: "|/var/mailman/mail/mailman request testlist" and I am not familiar with sendmail logs so it may be just fine. Does a post that works show "mailer=prog"? What happened to that mail? Did the sender receive a reply? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Sep 10 05:05:33 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 9 Sep 2012 20:05:33 -0700 Subject: [Mailman-Users] Unable to approve messages In-Reply-To: <504D53EC.1070803@hkpo.gov.hk> Message-ID: Alex TW LAM wrote: >I tried the confirm and help email command, the mail seemed to reach >mailman no problem, but no reply from mailman afterward. In this >occasion, I did not get a reply from that mail. Then either the mail did not reach Mailman or some issue occurred in processing or in delivery of the reply from Mailman. Is there any entry with a nearby time stamp in Mailman's 'smtp', 'smtp-failure' or 'error' logs? And again >On 9/10/2012 10:31 AM, Mark Sapiro wrote: >> Alex TW LAM wrote: >>> The help command seemed to get to mailman. >>> >>> Sep 10 09:21:40 app1 sendmail[25224]: q8A1LdEP025222: >>> to="|/var/mailman/mail/mailman request testlist", >>> ctladdr= (8/0), delay=00:00:01, >>> xdelay=00:00:00, mailer=prog, pri=31165, dsn=2.0.0, stat=Sent >> >> How does that compare with a list post, i.e., mail to >> testlist at hostname.com? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From alex_tw_lam at hkpo.gov.hk Mon Sep 10 04:43:56 2012 From: alex_tw_lam at hkpo.gov.hk (Alex TW LAM) Date: Mon, 10 Sep 2012 10:43:56 +0800 Subject: [Mailman-Users] Unable to approve messages In-Reply-To: References: Message-ID: <504D53EC.1070803@hkpo.gov.hk> I tried the confirm and help email command, the mail seemed to reach mailman no problem, but no reply from mailman afterward. In this occasion, I did not get a reply from that mail. Alex On 9/10/2012 10:31 AM, Mark Sapiro wrote: > Alex TW LAM wrote: >> The help command seemed to get to mailman. >> >> Sep 10 09:21:40 app1 sendmail[25224]: q8A1LdEP025222: >> to="|/var/mailman/mail/mailman request testlist", >> ctladdr= (8/0), delay=00:00:01, >> xdelay=00:00:00, mailer=prog, pri=31165, dsn=2.0.0, stat=Sent > > How does that compare with a list post, i.e., mail to > testlist at hostname.com? > > That log message looks wrong to me. Clearly, there is an alias involved > like > > testlist-request: "|/var/mailman/mail/mailman request testlist" > > and I am not familiar with sendmail logs so it may be just fine. Does a > post that works show "mailer=prog"? > > What happened to that mail? Did the sender receive a reply? > From massimo at fsfe.org Tue Sep 11 08:39:34 2012 From: massimo at fsfe.org (Massimo Barbieri) Date: Tue, 11 Sep 2012 08:39:34 +0200 Subject: [Mailman-Users] Mailman archive forbidden Message-ID: <504EDCA6.4090505@fsfe.org> Hi, I have a fresh installation of Mailman on Debian Wheezy, and my public mailing list archive is inaccessible (403 Forbidden), but if I switch to private archive it works without error. 1) I tryed to run check_perms -f as root and I got: wrong group for /var/lib/mailman/cron (ha root invece di list) (fixed) wrong group for /var/lib/mailman/mail (ha root invece di list) (fixed) wrong group for /var/lib/mailman/icons (ha root invece di list) (fixed) wrong group for /var/lib/mailman/logs (ha root invece di list) (fixed) wrong group for /var/lib/mailman/bin (ha root invece di list) (fixed) wrong group for /var/lib/mailman/scripts (ha root invece di list) (fixed) wrong group for /var/lib/mailman/templates (ha root invece di list) (fixed) wrong group for /var/lib/mailman/Mailman (ha root invece di list) (fixed) wrong group for /var/lib/mailman/cgi-bin (ha root invece di list) (fixed) wrong group for /var/lib/mailman/locks (ha root invece di list) (fixed) Problemi riscontrati: 10 Per correggere gli errori rilancia il comando come list (o root) con il flag -f 2) I tryed to put the user list in the www-data group as reported here: http://www.mail-archive.com/debian-bugs-dist at lists.debian.org/msg1046834.html ------------------------------------ Here is a part of my mailman.conf: Options FollowSymLinks AllowOverride None Order allow,deny Allow from all Alias /pipermail/ /var/lib/mailman/archives/public/ Alias /images/mailman/ /usr/share/images/mailman/ ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm ScriptAlias /create /usr/lib/cgi-bin/mailman/create ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo ScriptAlias /options /usr/lib/cgi-bin/mailman/options ScriptAlias /private /usr/lib/cgi-bin/mailman/private ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/ ScriptAlias / /usr/lib/cgi-bin/mailman/listinfo ------------------------------------- Here are some file and folder permission that could be interesting to solve: :/var/lib/mailman$ ls -l drwxrwsr-x 4 root list 4096 apr 16 21:21 archives :/var/lib/mailman/archives$ ls -l drwxrws--- 8 list list 4096 set 10 21:37 private drwxrwsr-x 2 list list 4096 set 11 08:07 public :/var/lib/mailman/archives$ ls -l public/ lrwxrwxrwx 1 root list 41 apr 16 21:25 mailman -> /var/lib/mailman/archives/private/mailman lrwxrwxrwx 1 www-data list 39 set 11 08:07 users -> /var/lib/mailman/archives/private/users :/var/lib/mailman/archives$ ls -l /var/lib/mailman/archives/private drwxrwsr-x 2 root list 4096 apr 16 21:25 mailman drwxrwsr-x 2 root list 4096 apr 16 21:25 mailman.mbox drwxrwsr-x 6 www-data list 4096 set 11 03:27 users drwxrwsr-x 2 www-data list 4096 set 10 21:47 users.mbox Does anyone have any suggestions? Ciao, Max-B -- IM: max-b at jabber.org - OpenPGP Key-Id: 0x5D168FC1 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 294 bytes Desc: OpenPGP digital signature URL: From massimo at fsfe.org Tue Sep 11 09:24:14 2012 From: massimo at fsfe.org (Massimo Barbieri) Date: Tue, 11 Sep 2012 09:24:14 +0200 Subject: [Mailman-Users] Mailman archive forbidden In-Reply-To: <504EDCA6.4090505@fsfe.org> References: <504EDCA6.4090505@fsfe.org> Message-ID: <504EE71E.7070108@fsfe.org> Hi, I solved, in case could be useful for other here is my solution. Il 11/09/2012 08:39, Massimo Barbieri ha scritto: > :/var/lib/mailman/archives$ ls -l > drwxrws--- 8 list list 4096 set 10 21:37 private > drwxrwsr-x 2 list list 4096 set 11 08:07 public The problem is that the private folder has wrong owner. I change it to www-data. Ciao, Max-B -- IM: max-b at jabber.org - OpenPGP Key-Id: 0x5D168FC1 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 294 bytes Desc: OpenPGP digital signature URL: From mark at msapiro.net Wed Sep 12 04:23:01 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 11 Sep 2012 19:23:01 -0700 Subject: [Mailman-Users] Mailman archive forbidden In-Reply-To: <504EE71E.7070108@fsfe.org> Message-ID: Massimo Barbieri wrote: >I solved, in case could be useful for other here is my solution. > >Il 11/09/2012 08:39, Massimo Barbieri ha scritto: >> :/var/lib/mailman/archives$ ls -l >> drwxrws--- 8 list list 4096 set 10 21:37 private >> drwxrwsr-x 2 list list 4096 set 11 08:07 public > >The problem is that the private folder has wrong owner. I change it to >www-data. This issue and its solution are well known. See section 4 of the GNU Mailman installation manual . I'm sorry you encountered this issue. Perhaps there is something lacking in the Debian installation documentation. Please see the FAQ at , and if appropriate, report this to Debian. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From janreimone at gmail.com Wed Sep 12 14:20:27 2012 From: janreimone at gmail.com (Jan Reimann) Date: Wed, 12 Sep 2012 14:20:27 +0200 Subject: [Mailman-Users] Create an alias address for a mailing list Message-ID: <50507E0B.3090504@gmail.com> Hello, I created a mailing list via the mailman web interface. The address fir it is listA at domain.org. Is it possible to create an alias for this address so that listB at domain.org represents the same list as listA at domain.org? best regards, Jan From mark at msapiro.net Wed Sep 12 17:25:17 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 12 Sep 2012 08:25:17 -0700 Subject: [Mailman-Users] Create an alias address for a mailing list In-Reply-To: <50507E0B.3090504@gmail.com> Message-ID: Jan Reimann wrote: >I created a mailing list via the mailman web interface. The address fir >it is listA at domain.org. Is it possible to create an alias for this >address so that listB at domain.org represents the same list as >listA at domain.org? If you want to alias the email address only, you can do this in your MTA. If your MTA uses aliases to deliver to Mailman, you can just make copies of the listA aliases changing the listA alias name to listB, but not the name in the post command. I.e., make copies of the aliases of the form lista: "|/usr/local/mailman/mail/mailman post lista" lista-admin: "|/usr/local/mailman/mail/mailman admin lista" lista-bounces: "|/usr/local/mailman/mail/mailman bounces lista" ... that look like listb: "|/usr/local/mailman/mail/mailman post lista" listb-admin: "|/usr/local/mailman/mail/mailman admin lista" listb-bounces: "|/usr/local/mailman/mail/mailman bounces lista" ... If your MTA delivers to Mailman programmatically (e.g. the recommended way for Exim), you will need to modify that process to deliver listB mail to listA. Also, if listA's Privacy options... -> Recipient filters -> require_explicit_destination is Yes, you will need to add listB at domain.org to listA's Privacy options... -> Recipient filters -> acceptable_aliases. If you also want to be able to access the web interface for listA using listB URLs, you will need to modify your web server config to rewrite URLs of the form http://www.example.com/mailman/*/listb/* to http://www.example.com/mailman/*/lista/* -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From pvantony at singnet.com.sg Thu Sep 13 07:36:28 2012 From: pvantony at singnet.com.sg (P.V.Anthony) Date: Thu, 13 Sep 2012 13:36:28 +0800 Subject: [Mailman-Users] local emails cannot receive. Message-ID: <505170DC.4050100@singnet.com.sg> Hi, I really have a very strange problem. I must have messed up somewhere. When I create mailling lists named "support at example.com" and "sales at example.com", local users like user1 at example.com and user2 at example.com cannot receive the emails. Where else external emails like user at external.com receives the email. Then I created another mailing list called "another at example.com", for this local and external emails accounts receive the emails. It looks like, the name "support" and "sales" has something wrong on my system. I am really lost now. I do not know where to even start looking for the fault. There are no email accounts with the name support at example.com or sales at example.com on the server. The server is CentOS 6.3 64bit. Smtp is postfix with dovecot. Mailman version 2.1.12. Really need some advice. Please share a solution or suggest where to look for possible setting error. P.V.Anthony From mark at msapiro.net Thu Sep 13 17:37:33 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 13 Sep 2012 08:37:33 -0700 Subject: [Mailman-Users] local emails cannot receive. In-Reply-To: <505170DC.4050100@singnet.com.sg> Message-ID: P.V.Anthony wrote: > >When I create mailling lists named "support at example.com" and >"sales at example.com", local users like user1 at example.com and >user2 at example.com cannot receive the emails. Where else external emails >like user at external.com receives the email. > >Then I created another mailing list called "another at example.com", for >this local and external emails accounts receive the emails. > >It looks like, the name "support" and "sales" has something wrong on my >system. I am really lost now. I do not know where to even start looking >for the fault. Check your mail log (/var/log/maillog) for messages from Postfix and Dovecot about the (non-)delivery of these messages to the local users. There should be some log message that will give a clue. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From bsfinkel at att.net Thu Sep 13 17:47:01 2012 From: bsfinkel at att.net (Barry S. Finkel) Date: Thu, 13 Sep 2012 10:47:01 -0500 Subject: [Mailman-Users] local emails cannot receive. In-Reply-To: <505170DC.4050100@singnet.com.sg> References: <505170DC.4050100@singnet.com.sg> Message-ID: <5051FFF5.5040801@att.net> On 9/13/2012 12:36 AM, P.V.Anthony wrote: > Hi, > > I really have a very strange problem. I must have messed up somewhere. > > When I create mailling lists named "support at example.com" and > "sales at example.com", local users like user1 at example.com and > user2 at example.com cannot receive the emails. Where else external > emails like user at external.com receives the email. > > Then I created another mailing list called "another at example.com", for > this local and external emails accounts receive the emails. > > It looks like, the name "support" and "sales" has something wrong on > my system. I am really lost now. I do not know where to even start > looking for the fault. > > There are no email accounts with the name support at example.com or > sales at example.com on the server. > > The server is CentOS 6.3 64bit. Smtp is postfix with dovecot. > > Mailman version 2.1.12. > > Really need some advice. Please share a solution or suggest where to > look for possible setting error. > > P.V.Anthony > > All outbound mail from Mailman goes through your MTA - Postfix in your case. What do the Postfix logs report about the mail to the support and/or sales mailboxes? Check the Postfix configuration to see what alias files Postfix is reading. Maybe you have an "unknown" alias file that routes support and sales somewhere else? And check that "postalias" has been run on all of the alias files. --Barry Finkel From pvantony at singnet.com.sg Thu Sep 13 17:56:58 2012 From: pvantony at singnet.com.sg (P.V.Anthony) Date: Thu, 13 Sep 2012 23:56:58 +0800 Subject: [Mailman-Users] local emails cannot receive. In-Reply-To: References: Message-ID: <5052024A.4020405@singnet.com.sg> On 13/09/2012 23:37, Mark Sapiro wrote: > Check your mail log (/var/log/maillog) for messages from Postfix and > Dovecot about the (non-)delivery of these messages to the local users. > There should be some log message that will give a clue. Thank you for replying. Just checked it and no errors there. P.V.Anthony From pvantony at singnet.com.sg Thu Sep 13 18:02:13 2012 From: pvantony at singnet.com.sg (P.V.Anthony) Date: Fri, 14 Sep 2012 00:02:13 +0800 Subject: [Mailman-Users] [SOLVED] local emails cannot receive. In-Reply-To: <5051FFF5.5040801@att.net> References: <505170DC.4050100@singnet.com.sg> <5051FFF5.5040801@att.net> Message-ID: <50520385.3080405@singnet.com.sg> On 13/09/2012 23:47, Barry S. Finkel wrote: > All outbound mail from Mailman goes through your MTA - Postfix in your > case. > What do the Postfix logs report about the mail to the support and/or sales > mailboxes? Check the Postfix configuration to see what alias files > Postfix is > reading. Maybe you have an "unknown" alias file that routes support and > sales > somewhere else? And check that "postalias" has been run on all of the > alias > files. Thank you! Thank you! Thank you for the advice. This solved the problem. Checked the file /etc/aliases and there was an alias for sales and support going to postmaster. Commented them out and run the command newaliases. All is working great now! Once again thank you all in the list for replying and advising. P.V.Anthony From mark at msapiro.net Thu Sep 13 18:10:27 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 13 Sep 2012 09:10:27 -0700 Subject: [Mailman-Users] local emails cannot receive. In-Reply-To: <5052024A.4020405@singnet.com.sg> References: <5052024A.4020405@singnet.com.sg> Message-ID: "P.V.Anthony" wrote: >On 13/09/2012 23:37, Mark Sapiro wrote: > >> Check your mail log (/var/log/maillog) for messages from Postfix and >> Dovecot about the (non-)delivery of these messages to the local >users. >> There should be some log message that will give a clue. > >Thank you for replying. > >Just checked it and no errors there. Don't look for errors. Look for any messages relating to the addresses that don't receive the mail . -- Mark Sapiro Sent from my Android phone with K-9 Mail. Please excuse my brevity. From pvantony at singnet.com.sg Thu Sep 13 18:15:33 2012 From: pvantony at singnet.com.sg (P.V.Anthony) Date: Fri, 14 Sep 2012 00:15:33 +0800 Subject: [Mailman-Users] local emails cannot receive. In-Reply-To: References: <5052024A.4020405@singnet.com.sg> Message-ID: <505206A5.6000801@singnet.com.sg> On 14/09/2012 00:10, Mark Sapiro wrote: > Don't look for errors. Look for any messages relating to the addresses that don't receive the mail . Thank you again for replying. The problem was that there was some alias for support and sales in the /etc/alias file. Commented them out and run newaliases. And all is working great now. P.V.Anthony From Rose.Futchko at INFORMS.ORG Fri Sep 14 18:27:14 2012 From: Rose.Futchko at INFORMS.ORG (Futchko, Rose) Date: Fri, 14 Sep 2012 12:27:14 -0400 Subject: [Mailman-Users] Ddelivery status not sent to Mailman Message-ID: <050C37C3BC21CC4483AC395BAFEC94E5061F5C98@mail1.informs.org> Dear Mailman Users Group, I know I have a misconfiguration somewhere in my POSTFIX MTA, but am not sure where and was hoping someone could point me to the right documentation. I have some users sending messages to lists of which they are subscribed to and they successfully deliver, but there are some email users deliveries that fail and that delivery status is sent back to them (the sender) rather than the MAILMAN list owner. Can someone please advise what I need to do to properly return a delivery status notification to the MAILMAN List Owner to correct this problem? Thank you, Rose From mark at msapiro.net Fri Sep 14 20:10:05 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 14 Sep 2012 11:10:05 -0700 Subject: [Mailman-Users] Ddelivery status not sent to Mailman In-Reply-To: <050C37C3BC21CC4483AC395BAFEC94E5061F5C98@mail1.informs.org> Message-ID: Futchko, Rose wrote: > >I have some users sending messages to lists of which they are subscribed >to and they successfully deliver, but there are some email users >deliveries that fail and that delivery status is sent back to them (the >sender) rather than the MAILMAN list owner. This is probably not something you can do anything about. Mailman sends messages with the envelope from LISTNAME-bounces at example.com, or if VERPed, LISTNAME-bounces+recipient=example.net at example.com. bounces (DSNs) should be returned to this address where they are processed by Mailman according to the list's bounce processing settings. What you are seeing is some MTA in the delivery path to the recipient is returning a DSN to the poster (i.e. the address in a From: or perhaps Reply-To: header) rather than to the envelope sender. The misconfiguration or more likely, just plain brokenness, is in this MTA which serves the intended recipient and is probably not under your control. Short of reporting this to the admins of the MTA that generated the DSN, there's little if anything you can do. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Rose.Futchko at INFORMS.ORG Fri Sep 14 20:31:18 2012 From: Rose.Futchko at INFORMS.ORG (Futchko, Rose) Date: Fri, 14 Sep 2012 14:31:18 -0400 Subject: [Mailman-Users] Ddelivery status not sent to Mailman In-Reply-To: References: <050C37C3BC21CC4483AC395BAFEC94E5061F5C98@mail1.informs.org> Message-ID: <050C37C3BC21CC4483AC395BAFEC94E5061F5CF2@mail1.informs.org> Shapiro, Mark wrote: >What you are seeing is some MTA in the delivery path to the recipient is returning a DSN to the poster (i.e. the address in a From: or perhaps Reply-To: header) rather than to the envelope >sender. The misconfiguration or more likely, just plain brokenness, is in this MTA which serves the intended recipient and is probably not under your control. Our organization owns the MTA and supports it internally. What should I tell the admin of the POSTFIX MTA to change or look for? From mark at msapiro.net Fri Sep 14 21:24:57 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 14 Sep 2012 12:24:57 -0700 Subject: [Mailman-Users] Ddelivery status not sent to Mailman In-Reply-To: <050C37C3BC21CC4483AC395BAFEC94E5061F5CF2@mail1.informs.org> Message-ID: Futchko, Rose wrote: >Shapiro (sic), Mark wrote: > >>What you are seeing is some MTA in the delivery path to the recipient >is returning a DSN to the poster (i.e. the address in a From: or perhaps >Reply-To: header) rather than to the envelope >sender. The >misconfiguration or more likely, just plain brokenness, is in this MTA >which serves the intended recipient and is probably not under your >control.=20 > > >Our organization owns the MTA and supports it internally. What should I >tell the admin of the POSTFIX MTA to change or look for? I have never seen Postfix do this. As far as I know there is no way to misconfigure Postfix that would make it do this. Are you certain that the DSNs your posters are receiving come from your organization's Postfix? More likely Mailman delivers to your Postfix which in turn delivers successfully to the remote domain's MX and that MTA then encounters a delivery problem and returns the DSN. Look at all the headers of the errant DSN. Often it will be From: mailer-daemon at some.domain or something similar which may identify the MTA's domain. Also, the first Received: header (furthest from the top of the headers) will show the server the DSN came from. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From s.hamling at internode.on.net Fri Sep 14 22:16:59 2012 From: s.hamling at internode.on.net (Stewart Hamling) Date: Sat, 15 Sep 2012 06:16:59 +1000 Subject: [Mailman-Users] (no subject) In-Reply-To: References: <050C37C3BC21CC4483AC395BAFEC94E5061F5CF2@mail1.informs.org> Message-ID: <001801cd92b5$e5c4fac0$b14ef040$@hamling@internode.on.net> Hello List, I have some lists set up that i essentially use as distribution lists to communicate with members of an amateur sporting club. I originally sent a message advising of an event on 22nd and 23rd September. Last night, I forwarded that message to the list as a reminder, but both the original message and the reminder message were received as attachments, 1 text document and 1 HTML document. Is this normal? I don't believe that it has happened before. Thanks very much in advance, Stewart. From mark at msapiro.net Fri Sep 14 22:36:11 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 14 Sep 2012 13:36:11 -0700 Subject: [Mailman-Users] Messages received as attachments was: (no subject) In-Reply-To: <001801cd92b5$e5c4fac0$b14ef040$@hamling@internode.on.net> Message-ID: Stewart Hamling wrote: >I have some lists set up that i essentially use as distribution lists to >communicate with members of an amateur sporting club. >I originally sent a message advising of an event on 22nd and 23rd September. >Last night, I forwarded that message to the list as a reminder, but both the >original message and the reminder message were received as attachments, 1 >text document and 1 HTML document. > >Is this normal? I don't believe that it has happened before. There are many things possibly involved in this. The MUA used to compose the message and its settings and whether the forward was "inline" or "as attachment" affect the MIME structure of the message delivered to Mailman. Then Mailman's content filtering settings, the Mailman version and whether the list adds msg_header and/or msg_footer affect the MIME structure of the message sent from Mailman. Also, various agents along the way may add disclaimers or privacy notices to the message which may affect its MIME structure. Finally, the MUA used to view the message received from Mailman will affect how any particular MIME structure is rendered. See the FAQ at for some more on this. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From es at fruitcom.com Sat Sep 15 13:47:44 2012 From: es at fruitcom.com (Eric Smith) Date: Sat, 15 Sep 2012 13:47:44 +0200 Subject: [Mailman-Users] Single password per user Message-ID: <20120915114744.GA23456@foodsniffer.eu> I have a number of mailing lists. Many users subscribe to several of these lists. Is there a concept in a mailman instance of a user, such that this user may have a single password? Or does the user need to create the password each time that they subscribe? PS. Are there any screenshots of Postorius? -- Eric Smith From tom.browder at gmail.com Sat Sep 15 13:55:11 2012 From: tom.browder at gmail.com (Tom Browder) Date: Sat, 15 Sep 2012 06:55:11 -0500 Subject: [Mailman-Users] Sort Member List Message-ID: I notice the member list is sorted by email addresses. Is there any way to sort it on the display name? if not, will that be possible with Mailman 3? Best, -Tom From mark at msapiro.net Sat Sep 15 16:53:41 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 15 Sep 2012 07:53:41 -0700 Subject: [Mailman-Users] Single password per user In-Reply-To: <20120915114744.GA23456@foodsniffer.eu> Message-ID: Eric Smith wrote: >Is there a concept in a mailman instance of a user, such that >this user may have a single password? Not in Mailman 2.1, but Mailman 3 works this way. >Or does the user need to create the password each time that >they subscribe? For Mailman 2.1, yes. >PS. Are there any screenshots of Postorius? There is some information and some mock-ups (not screen images) linked from . There may be other stuff available. Ask on mailman-developers . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Sep 16 03:55:39 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 15 Sep 2012 18:55:39 -0700 Subject: [Mailman-Users] Sort Member List In-Reply-To: Message-ID: Tom Browder wrote: >I notice the member list is sorted by email addresses. Is there any >way to sort it on the display name? Of the four membership lists, the results of the email who command are separated into non-digest members and digest members but are otherwise unsorted while the web admin membership list, the web roster and the results of the bin/list_members command are all sorted by email address. In addition, the web roster is split into non-digest and digest members. It is not possible to get any of these lists sorted by display name directly from Mailman. Part of the problem are display names can be empty and even if not, are free form so how do you parse them for a sort key when some are first name first, some are last name first and some are title first. Of course you can always take the list from mailman and sort it yourself as for example bin/list_members --fullnames LISTNAME | sort >if not, will that be possible with Mailman 3? Possible, yes with your own process that gets the list from the core and sorts it. I don't know if there is core functionality to get a list sorted by display name or if Postorious will provide a list sorted by display name. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Sep 16 06:02:23 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 15 Sep 2012 21:02:23 -0700 Subject: [Mailman-Users] Problems with Moderation In-Reply-To: <6CA236F2-D771-44E7-B489-7463B0BF7794@d2net.net> References: <6CA236F2-D771-44E7-B489-7463B0BF7794@d2net.net> Message-ID: <50554F4F.7060202@msapiro.net> On 9/15/2012 8:46 PM, David Dodell wrote: > Hi trying to finally follow through on this, and figure it out. > > I found my DEFAULT_URL_PATTERN was missing totally in my mm_cfg.py file. > > Put that in. > > Then ran > > > python withlist -l -a -r fix_url within the mailman/bin directory > > Loaded my list, said "Locked" and then a bunch of errors. > > How do I unlock the list? First of all, when withlist tells you Loading list LISTNAME (locked) It is telling you that it loaded the list named LISTNAME and locked it because you gave the '-l' option to withlist which tells it to lock the list which it has to do if it's going to make any changes. So what were the "bunch of errors"? Note if the list is really in a locked state and withlist couldn't acquire the lock, see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Sep 16 06:47:06 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 15 Sep 2012 21:47:06 -0700 Subject: [Mailman-Users] Problems with Moderation In-Reply-To: References: Message-ID: <505559CA.6010604@msapiro.net> On 9/15/2012 9:39 PM, David Dodell wrote: > This is the output of the error: > > d2net:bin david$ python withlist -l -a -r fix_url > Importing fix_url... > Running fix_url.fix_url()... > Loading list axium-consortium-meeting (locked) > Traceback (most recent call last): > File "withlist", line 299, in > main() > File "withlist", line 274, in main > r = [do_list(listname, args, func) for listname in Utils.list_names()] > File "withlist", line 195, in do_list > m = MailList.MailList(listname, lock=LOCK) > File "/usr/share/mailman/Mailman/MailList.py", line 128, in __init__ > self.Lock() > File "/usr/share/mailman/Mailman/MailList.py", line 161, in Lock > self.__lock.lock(timeout) > File "/usr/share/mailman/Mailman/LockFile.py", line 243, in lock > self.__write() > File "/usr/share/mailman/Mailman/LockFile.py", line 422, in __write > fp = open(self.__tmpfname, 'w') > IOError: [Errno 13] Permission denied: > '/private/var/mailman/locks/axium-consortium-meeting.lock.d2net.net.855.0' > d2net:bin david$ 'david' doesn't have permission to create the lock. Run the withlist command as root (via sudo) or as a user in Mailman's group. I think this may be _mailman in Apple's Mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From david at d2net.net Sun Sep 16 05:46:02 2012 From: david at d2net.net (David Dodell) Date: Sat, 15 Sep 2012 20:46:02 -0700 Subject: [Mailman-Users] Problems with Moderation In-Reply-To: References: Message-ID: <6CA236F2-D771-44E7-B489-7463B0BF7794@d2net.net> Hi trying to finally follow through on this, and figure it out. I found my DEFAULT_URL_PATTERN was missing totally in my mm_cfg.py file. Put that in. Then ran python withlist -l -a -r fix_url within the mailman/bin directory Loaded my list, said "Locked" and then a bunch of errors. How do I unlock the list? David On Aug 20, 2012, at 6:14 PM, Mark Sapiro wrote: > David Dodell wrote: > >> I am running mailman on OSX Lion. >> >> Moderation through the web interface does not work. >> >> If I try to do anything from the web interface (see screenshot) ... I can see a split second of it accessing the server, and the screen refreshes and goes back to this default of "defer" >> >> Just no actions at all work. >> >> Any idea where I should look ... > > > See the FAQ at (ignore the "keeps asking > me to re-enter my password" part of the title). > > Also, view the source of the page and look at the action= URL in the > form tag. Is this the same URL you see in the address bar of the > browser? If not, the issue is probably that of the web server > redirecting the URL and losing the POST data. > > This can be fixed by setting DEFAULT_URL_PATTERN appropriately in > mm_cfg.py and running fix_url on the affected lists. See > . > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > From david at d2net.net Sun Sep 16 06:44:44 2012 From: david at d2net.net (David Dodell) Date: Sat, 15 Sep 2012 21:44:44 -0700 Subject: [Mailman-Users] Problems with Moderation In-Reply-To: <50554F4F.7060202@msapiro.net> References: <6CA236F2-D771-44E7-B489-7463B0BF7794@d2net.net> <50554F4F.7060202@msapiro.net> Message-ID: <223e52ee259cb5f0ba24ed3977ac6a2b@d2net.net> This is the error I'm getting: d2net:bin david$ python withlist -l -a -r fix_url Importing fix_url... Running fix_url.fix_url()... Loading list axium-consortium-meeting (locked) Traceback (most recent call last): File "withlist", line 299, in main() File "withlist", line 274, in main r = [do_list(listname, args, func) for listname in Utils.list_names()] File "withlist", line 195, in do_list m = MailList.MailList(listname, lock=LOCK) File "/usr/share/mailman/Mailman/MailList.py", line 128, in __init__ self.Lock() File "/usr/share/mailman/Mailman/MailList.py", line 161, in Lock self.__lock.lock(timeout) File "/usr/share/mailman/Mailman/LockFile.py", line 243, in lock self.__write() File "/usr/share/mailman/Mailman/LockFile.py", line 422, in __write fp = open(self.__tmpfname, 'w') IOError: [Errno 13] Permission denied: '/private/var/mailman/locks/axium-consortium-meeting.lock.d2net.net.855.0' d2net:bin david$ On 15.09.2012 21:02, Mark Sapiro wrote: > On 9/15/2012 8:46 PM, David Dodell wrote: > >> Hi trying to finally follow through on this, and figure it out. I found my DEFAULT_URL_PATTERN was missing totally in my mm_cfg.py file. Put that in. Then ran python withlist -l -a -r fix_url within the mailman/bin directory Loaded my list, said "Locked" and then a bunch of errors. How do I unlock the list? > > First of all, when withlist tells you > > Loading list LISTNAME (locked) > > It is telling you that it loaded the list named LISTNAME and locked it > because you gave the '-l' option to withlist which tells it to lock the > list which it has to do if it's going to make any changes. > > So what were the "bunch of errors"? > > Note if the list is really in a locked state and withlist couldn't > acquire the lock, see the FAQ at . Links: ------ [1] http://wiki.list.org/x/noA9 From ddodell at mac.com Sun Sep 16 06:20:26 2012 From: ddodell at mac.com (David Dodell) Date: Sun, 16 Sep 2012 04:20:26 +0000 (GMT) Subject: [Mailman-Users] Problems with Moderation In-Reply-To: <50554F4F.7060202@msapiro.net> Message-ID: This is the output: d2net:bin david$ python withlist -l -a -r fix_url Importing fix_url... Running fix_url.fix_url()... Loading list axium-consortium-meeting (locked) Traceback (most recent call last): ? File "withlist", line 299, in ? ? main() ? File "withlist", line 274, in main ? ? r = [do_list(listname, args, func) for listname in Utils.list_names()] ? File "withlist", line 195, in do_list ? ? m = MailList.MailList(listname, lock=LOCK) ? File "/usr/share/mailman/Mailman/MailList.py", line 128, in __init__ ? ? self.Lock() ? File "/usr/share/mailman/Mailman/MailList.py", line 161, in Lock ? ? self.__lock.lock(timeout) ? File "/usr/share/mailman/Mailman/LockFile.py", line 243, in lock ? ? self.__write() ? File "/usr/share/mailman/Mailman/LockFile.py", line 422, in __write ? ? fp = open(self.__tmpfname, 'w') IOError: [Errno 13] Permission denied: '/private/var/mailman/locks/axium-consortium-meeting.lock.d2net.net.46065.0' d2net:bin david$? On Sep 15, 2012, at 09:02 PM, Mark Sapiro wrote: On 9/15/2012 8:46 PM, David Dodell wrote: > Hi trying to finally follow through on this, and figure it out. > > I found my DEFAULT_URL_PATTERN was missing totally in my mm_cfg.py file. > > Put that in. > > Then ran > > > python withlist -l -a -r fix_url within the mailman/bin directory > > Loaded my list, said "Locked" and then a bunch of errors. > > How do I unlock the list? First of all, when withlist tells you Loading list LISTNAME (locked) It is telling you that it loaded the list named LISTNAME and locked it because you gave the '-l' option to withlist which tells it to lock the list which it has to do if it's going to make any changes. So what were the "bunch of errors"? Note if the list is really in a locked state and withlist couldn't acquire the lock, see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users at python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/ddodell%40mac.com From ddodell at mac.com Sun Sep 16 06:39:39 2012 From: ddodell at mac.com (David Dodell) Date: Sun, 16 Sep 2012 04:39:39 +0000 (GMT) Subject: [Mailman-Users] Problems with Moderation In-Reply-To: <50554F4F.7060202@msapiro.net> Message-ID: This is the output of the error: d2net:bin david$ python withlist -l -a -r fix_url Importing fix_url... Running fix_url.fix_url()... Loading list axium-consortium-meeting (locked) Traceback (most recent call last): ? File "withlist", line 299, in ? ? main() ? File "withlist", line 274, in main ? ? r = [do_list(listname, args, func) for listname in Utils.list_names()] ? File "withlist", line 195, in do_list ? ? m = MailList.MailList(listname, lock=LOCK) ? File "/usr/share/mailman/Mailman/MailList.py", line 128, in __init__ ? ? self.Lock() ? File "/usr/share/mailman/Mailman/MailList.py", line 161, in Lock ? ? self.__lock.lock(timeout) ? File "/usr/share/mailman/Mailman/LockFile.py", line 243, in lock ? ? self.__write() ? File "/usr/share/mailman/Mailman/LockFile.py", line 422, in __write ? ? fp = open(self.__tmpfname, 'w') IOError: [Errno 13] Permission denied: '/private/var/mailman/locks/axium-consortium-meeting.lock.d2net.net.855.0' d2net:bin david$? On Sep 15, 2012, at 09:02 PM, Mark Sapiro wrote: On 9/15/2012 8:46 PM, David Dodell wrote: > Hi trying to finally follow through on this, and figure it out. > > I found my DEFAULT_URL_PATTERN was missing totally in my mm_cfg.py file. > > Put that in. > > Then ran > > > python withlist -l -a -r fix_url within the mailman/bin directory > > Loaded my list, said "Locked" and then a bunch of errors. > > How do I unlock the list? First of all, when withlist tells you Loading list LISTNAME (locked) It is telling you that it loaded the list named LISTNAME and locked it because you gave the '-l' option to withlist which tells it to lock the list which it has to do if it's going to make any changes. So what were the "bunch of errors"? Note if the list is really in a locked state and withlist couldn't acquire the lock, see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users at python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/ddodell%40mac.com From ddodell at mac.com Sun Sep 16 16:15:37 2012 From: ddodell at mac.com (David Dodell) Date: Sun, 16 Sep 2012 07:15:37 -0700 Subject: [Mailman-Users] Mass Subscription Message-ID: Is there a specific format to have the text file if you want to import the subscribers name along with their email address into a mailman list? David From mark at msapiro.net Sun Sep 16 16:33:33 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 16 Sep 2012 07:33:33 -0700 Subject: [Mailman-Users] Mass Subscription In-Reply-To: Message-ID: David Dodell wrote: >Is there a specific format to have the text file if you want to import the subscribers name along with their email address into a mailman list? See the FAQ at . Also see . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Rose.Futchko at INFORMS.ORG Sun Sep 16 21:26:59 2012 From: Rose.Futchko at INFORMS.ORG (Futchko, Rose) Date: Sun, 16 Sep 2012 15:26:59 -0400 Subject: [Mailman-Users] Ddelivery status not sent to Mailman In-Reply-To: References: <050C37C3BC21CC4483AC395BAFEC94E5061F5CF2@mail1.informs.org> Message-ID: <050C37C3BC21CC4483AC395BAFEC94E5061F5DA7@mail1.informs.org> >Sapiro, Mark wrote: >>Are you certain that the DSNs your posters are receiving come from your organization's Postfix? No, the response are coming from the destination DSN's. >>More likely Mailman delivers to your Postfix which in turn delivers successfully to the remote domain's MX and that MTA then encounters a delivery problem and returns the DSN. This is correct and appears to be handling it properly. How can I configure posted messages sent to only send errors back to the list owner or moderator? Some of the mail lists have over 2,000 participants, and do not want to flood valid posters mailboxes with messages that cannot be delivered. Thank you, Rose From mark at msapiro.net Mon Sep 17 01:04:01 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 16 Sep 2012 16:04:01 -0700 Subject: [Mailman-Users] Ddelivery status not sent to Mailman In-Reply-To: <050C37C3BC21CC4483AC395BAFEC94E5061F5DA7@mail1.informs.org> Message-ID: Futchko, Rose wrote: >>Sapiro, Mark wrote: > >>>Are you certain that the DSNs your posters are receiving come from >your organization's Postfix? >No, the response are coming from the destination DSN's. [...] >How can I configure posted messages sent to only send errors back to the >list owner or moderator? Some of the mail lists have over 2,000 >participants, and do not want to flood valid posters mailboxes with >messages that cannot be delivered. You can't. Mailman is already doing everything it can short of munging the From: address of posts to ensure that DSNs are returned to Mailman. In addition to setting the envelope sender of posts to the listname-bounces address, Mailman also puts the listname-bounces address in Sender: and Errors-To: headers in the post. If in spite of all this and in violation of all standards, some remote MTA insists on returning a DSN to the From: address, there are really only two things you can do. You can contact the admins of the MTA that sends the DSN and complain. This is probably futile. You or another list admin can post fairly frequently to the list, and when you receive a DSN addressed to you, immediately remove the offending recipient from the list. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Steven.Jones at vuw.ac.nz Tue Sep 18 05:32:12 2012 From: Steven.Jones at vuw.ac.nz (Steven Jones) Date: Tue, 18 Sep 2012 03:32:12 +0000 Subject: [Mailman-Users] Mail delays Message-ID: <833D8E48405E064EBC54C84EC6B36E4053CA666C@STAWINCOX10MBX1.staff.vuw.ac.nz> Hi, I am trying to figure out a delay to a posting with moderation set. It looks like postfix received the list post at 11am, 17th September it was transferred into mailman then and there. However the list has moderation on so the moderators were emailed but at 8am the next day 18th...this seems strange....21 hour delay. Any ideas what to look at? thanks regards Steven From Steven.Jones at vuw.ac.nz Tue Sep 18 05:59:21 2012 From: Steven.Jones at vuw.ac.nz (Steven Jones) Date: Tue, 18 Sep 2012 03:59:21 +0000 Subject: [Mailman-Users] Mail delays In-Reply-To: <833D8E48405E064EBC54C84EC6B36E4053CA666C@STAWINCOX10MBX1.staff.vuw.ac.nz> References: <833D8E48405E064EBC54C84EC6B36E4053CA666C@STAWINCOX10MBX1.staff.vuw.ac.nz> Message-ID: <833D8E48405E064EBC54C84EC6B36E4053CA66C1@STAWINCOX10MBX1.staff.vuw.ac.nz> Hi, I have checked in /var/log/s/mailman/* and the post and smtp logs say they got the post at 8:00 while the postfix log says it was sent to mailman at 11am the day before? confused...... regards Steven Jones Technical Specialist - Linux RHCE Victoria University, Wellington, NZ 0064 4 463 6272 ________________________________________ From: Mailman-Users [mailman-users-bounces+steven.jones=vuw.ac.nz at python.org] on behalf of Steven Jones [Steven.Jones at vuw.ac.nz] Sent: Tuesday, 18 September 2012 3:32 p.m. To: Mailman-Users at python.org Subject: [Mailman-Users] Mail delays Hi, I am trying to figure out a delay to a posting with moderation set. It looks like postfix received the list post at 11am, 17th September it was transferred into mailman then and there. However the list has moderation on so the moderators were emailed but at 8am the next day 18th...this seems strange....21 hour delay. Any ideas what to look at? thanks regards Steven ------------------------------------------------------ Mailman-Users mailing list Mailman-Users at python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/steven.jones%40vuw.ac.nz From Ralf.Hildebrandt at charite.de Tue Sep 18 10:03:31 2012 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Tue, 18 Sep 2012 10:03:31 +0200 Subject: [Mailman-Users] Mail delays In-Reply-To: <833D8E48405E064EBC54C84EC6B36E4053CA666C@STAWINCOX10MBX1.staff.vuw.ac.nz> References: <833D8E48405E064EBC54C84EC6B36E4053CA666C@STAWINCOX10MBX1.staff.vuw.ac.nz> Message-ID: <20120918080330.GD12135@charite.de> * Steven Jones : > Hi, > > I am trying to figure out a delay to a posting with moderation set. > > It looks like postfix received the list post at 11am, 17th September it was transferred into mailman then and there. However the list has moderation on so the moderators were emailed but at 8am the next day 18th...this seems strange....21 hour delay. > > Any ideas what to look at? admin_immed_notify is maybe set to "no" (to be found on the main admin page of the list) -- Ralf Hildebrandt Charite Universit?tsmedizin Berlin ralf.hildebrandt at charite.de Campus Benjamin Franklin http://www.charite.de Hindenburgdamm 30, 12203 Berlin Gesch?ftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155 From rosenbaumlm at ornl.gov Tue Sep 18 21:01:03 2012 From: rosenbaumlm at ornl.gov (Rosenbaum, Larry M.) Date: Tue, 18 Sep 2012 15:01:03 -0400 Subject: [Mailman-Users] Info about /var/spool/mailman directories Message-ID: Where can I find some documentation about the usage of the directories under /var/spool/mailman, and how to manage the files in those directories? I think it might be useful to monitor the number of files and send a report if the backlog gets too big, and to be able to remove or hold messages. Larry M. Rosenbaum Oak Ridge National Laboratory From mark at msapiro.net Wed Sep 19 05:09:26 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 18 Sep 2012 20:09:26 -0700 Subject: [Mailman-Users] Info about /var/spool/mailman directories In-Reply-To: Message-ID: Rosenbaum, Larry M. wrote: >Where can I find some documentation about the usage of the directories under /var/spool/mailman, and how to manage the files in those directories? I think it might be useful to monitor the number of files and send a report if the backlog gets too big, and to be able to remove or hold messages. First of all, if you have directories in /var/spool/mailman/ instead of $var_prefix/qfiles, you have installed Mailman from a package, probably RedHat/CentOS, so see the FAQ at . There are normally 10 directories, 8 of which are the input queues for the 8 qrunner processes that do all of Mailman's message handling. These 8 are: archive - queue for ArchRunner bounces - queue for BounceRunner commands - queue for CommandRunner in - queue for IncomingRunner news - queue for NewsRunner out - queue for OutgoingRunner retry - queue for RetryRunner virgin - queue for VirginRunner There are two more directories for storage of messages that encounter some kind of error in processing. bad - place for preservation of unprocessable queue entries shunt - place for storage of entries for messages that throw uncaught exceptions in processing The files in these queue directories are all Python pickles. Mailman's bin/show_qfiles will show the message content of one or more of these files. Mailman's bin/dumpdb will show both the message content and the metadata for a single file at a time. Normally, if all the qrunners are running, the eight queue directories should be empty or nearly so. In some installations, the out/ queue becomes backlogged. This may indicate a serious problem in SMTP between OutgoingRunner and the outgoing MTA which needs to be fixed, normally by eliminating various address validations for remote addresses at SMTP time. It could indicate that you've installed the throttling patch linked from and your settings don't allow for fast enough message delivery. For more information on the bad and shunt directories, see the ##### # Qrunner defaults ##### section in Defaults.py, particularly the documentation for the settings QRUNNER_SAVE_BAD_MESSAGES = Yes BAD_SHUNT_STALE_AFTER = days(7) BAD_SHUNT_ARCHIVE_DIRECTORY = None For reporting, see the mmdsr and README.mmdsr files at (I don't think RedHat distributes this with their package). If you have other questions about this, ask more specifically. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From joan at calbasi.net Thu Sep 20 13:25:34 2012 From: joan at calbasi.net (Joan) Date: Thu, 20 Sep 2012 13:25:34 +0200 Subject: [Mailman-Users] Payed work Message-ID: <505AFD2E.7020904@calbasi.net> Hello, I've got a customer with a problem with their lists and now they can not send messages (in fact, messages to their staff people are sended, but not to other external people). Lists are installed under Plesk web panell. Server is mantained for non professional people, and maybe it could be a issue related with a server upgrade, etc. We can pay to fix this issue. Please, if you could help us, send us a message with your price. If you need more info, send a message to this list. Thanks, -- Joan Cervan i Andreu www.calbasi.net ~ Desenvolupament web From mark at msapiro.net Thu Sep 20 17:03:30 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 20 Sep 2012 08:03:30 -0700 Subject: [Mailman-Users] Payed work In-Reply-To: <505AFD2E.7020904@calbasi.net> Message-ID: Joan wrote: > >I've got a customer with a problem with their lists and now they can not >send messages (in fact, messages to their staff people are sended, but >not to other external people). If list mail is delivered to local but not remote users, it's most likely an MTA issue rather trhan a Mailman issue per se. >Lists are installed under Plesk web panell. Server is mantained for non >professional people, and maybe it could be a issue related with a server >upgrade, etc. See the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From dap1 at bellsouth.net Thu Sep 20 18:18:48 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Thu, 20 Sep 2012 12:18:48 -0400 Subject: [Mailman-Users] Configuring mailman on a VM where host ip != relay ip Message-ID: <505B41E8.4090900@bellsouth.net> I am trying to set up mailman on a VM and have it up and running. However, when it tries to send mail it is deferred with a 450 message: 450 service permits 2 unverifyable sending IPs - is not nnn.nnn.nnn.nnn (in reply to MAIL FROM command)) I am assuming this is because the mailing hostname resolves to an IP but the reverse lookup on that IP is the relay hostname instead. I know that somewhere in either mailman or Postfix this can be fixed but I cannot find anything on how to do that (probably because I don't know what key words to search for). Can someone point me in the right direction. Thanks. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From Rose.Futchko at INFORMS.ORG Thu Sep 20 21:24:05 2012 From: Rose.Futchko at INFORMS.ORG (Futchko, Rose) Date: Thu, 20 Sep 2012 15:24:05 -0400 Subject: [Mailman-Users] Message posting and re-enabling membership Message-ID: <050C37C3BC21CC4483AC395BAFEC94E5061F683D@mail1.informs.org> Good Afternoon, I am having two challenges with Mailman and could use some guidance. These two items are around message posting and re-enabling membership. 1. I have a user that is not receiving the POST successful message. The user submits a post and it is held to be released. The message is released by the moderator and it goes out to all members successfully. They received an email saying that either the message would be distributed after approval by the monitor or that they would receive an email saying why it was not. However, the poster did not receive a confirmation that the message was successfully released or denied. 2. Regarding excessive bounces. I have a member of a list who was disabled due to excessive bounces. They received the following email (with items changed to protect identity): Subject: confirm 0c56cb666666dad6c66666cb1f1dc1a11a0e666b1 Your membership in the mailing list name-of-list has been disabled due to excessive bounces. The last bounce received from you was dated 02-Sep-2012. You will not get any more messages from this list until you re-enable your membership. You will receive 2 more reminders like this before your membership in the list is deleted. To re-enable your membership, you can simply respond to this message (leaving the Subject: line intact), or visit the confirmation page at http://list.informs.org/mailman/confirm/optimization-society/0c56cb66666 6dad6c66666cb1f1dc1a11a0e666b1 You can also visit your membership page at http://list.informs.org/mailman/options/name-of-list/email_address On your membership page, you can change various delivery options such as your email address and whether you get digests or not. As a reminder, your membership password is password If you have any questions or problems, you can contact the list owner at name-of-list-owner at list.informs.org A. When they click on the above link they are getting the error: http://list.informs.org/mailman/confirm/name-of-list/0c56cb666666dad6c66 666cb1f1dc1a11a0e666b1 Bad confirmation string Invalid confirmation string: 0c56cb666666dad6c66666cb1f1dc1a11a0e666b1. Note that confirmation strings expire approximately 3 days after the initial subscription request. If your confirmation has expired, please try to re-submit your subscription. Otherwise, re-enter your confirmation string. B. In addition, if they try to respond to re-enable via email they get the following message: From: Mail Delivery System [mailto:MAILER-DAEMON at email_address] Sent: Tuesday, September 11, 2012 12:37 PM To: email_address Subject: Undelivered Mail Returned to Sender This is the mail system at host server_name. 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. The mail system : host cluster4.us.messagelabs.com[216.82.241.211] said: 550-Invalid recipient (#5.1.1) (in reply to RCPT TO command) Thank you! From mark at msapiro.net Fri Sep 21 03:18:57 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 20 Sep 2012 18:18:57 -0700 Subject: [Mailman-Users] Umbrella list behavior - subject_prefix ; undesired result In-Reply-To: References: Message-ID: <505BC081.1050604@msapiro.net> On 9/20/2012 12:22 PM, Drew Tenenholz wrote: > > When I post to the umbrella and I am a subscriber to BOTH child lists, I see: > > Subject: Child1> UMBRELLA> Test Post > Subject: Child2> UMBRELLA> Test Post > > It's not really what I want to see, so I wonder if this changed in future versions of mailman? No. > P.S. What I hoped to see was: > Subject: UMBRELLA> Test Post > > In other words, since the messsage has already been through Mailman once, I'd prefer that the subject_prefix for the child lists NOT be used at all. There are times when a post will be sent to one or the other child list alone and not the umbrella, so I would still want a subject_prefix on those messages. If that were not true, I could just skip the subject_prefix on the child lists altogether. Subject prefixing doesn't take into account the fact that the post came through another list. There are no plans to make it do so. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Sep 21 03:34:04 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 20 Sep 2012 18:34:04 -0700 Subject: [Mailman-Users] Message posting and re-enabling membership In-Reply-To: <050C37C3BC21CC4483AC395BAFEC94E5061F683D@mail1.informs.org> Message-ID: Futchko, Rose wrote: > >1. I have a user that is not receiving the POST successful message. The >user submits a post and it is held to be released. The message is >released by the moderator and it goes out to all members successfully. >They received an email saying that either the message would be >distributed after approval by the monitor or that they would receive an >email saying why it was not. However, the poster did not receive a >confirmation that the message was successfully released or denied. The intent of the message the user sees when their post is held is that the post will be accepted in which case the user receives the list post and knows it was approved, or the post will be rejected in which case the user receives the rejection. It does not take into account the case where the moderator discards the post or the user doesn't receive the post because she is not a list member or is a gmail/googlemail user (see ) or has set the option not to receive their own posts. >2. Regarding excessive bounces. I have a member of a list who was >disabled due to excessive bounces. They received the following email >(with items changed to protect identity): [...] >A. When they click on the above link they are getting the error: >http://list.informs.org/mailman/confirm/name-of-list/0c56cb666666dad6c66 >666cb1f1dc1a11a0e666b1 > >Bad confirmation string >Invalid confirmation string: 0c56cb666666dad6c66666cb1f1dc1a11a0e666b1. > >Note that confirmation strings expire approximately 3 days after the >initial subscription request. If your confirmation has expired, please >try to re-submit your subscription. Otherwise, re-enter your >confirmation string. So, was the confirmation expired or already confirmed or what? Is the user's delivery currently enabled or not? > The mail system >: host > cluster4.us.messagelabs.com[216.82.241.211] said: 550-Invalid >recipient > (#5.1.1) (in reply to > RCPT TO command) The address should be deliverable. There is a missing alias or other MTA issue if it is not. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From stephen at xemacs.org Fri Sep 21 04:12:40 2012 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Fri, 21 Sep 2012 11:12:40 +0900 Subject: [Mailman-Users] Umbrella list behavior - subject_prefix ; undesired result In-Reply-To: <505BC081.1050604@msapiro.net> References: <505BC081.1050604@msapiro.net> Message-ID: <877grop1if.fsf@uwakimon.sk.tsukuba.ac.jp> >>>>>On 9/20/2012 12:22 PM, Drew Tenenholz wrote: > When I post to the umbrella and I am a subscriber to BOTH child lists, I see: > > Subject: Child1> UMBRELLA> Test Post > Subject: Child2> UMBRELLA> Test Post > > It's not really what I want to see, so I wonder if this changed > in future versions of mailman? Mark says no, but it can be addressed using a custom Handler. The main logic is def process: if is_a_child_list_of(list, umbrella): subject = subject.subst(list_tag, "") and the handler should be inserted after the subject header is munged (which happens in CookHeaders, IIRC) but before the message is sent. (Sorry, I don't have time to chase down how to look up the child list predicate or the list_tag at runtime. Maybe somebody else knows offhand.) I don't think it's a good idea to try to address the duplicates issue on the Mailman side. The messages are slightly different in a way that is important in some use cases, such as replying to one child list. From dap1 at bellsouth.net Fri Sep 21 15:25:24 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Fri, 21 Sep 2012 09:25:24 -0400 Subject: [Mailman-Users] DEFAULT_EMAIL_HOST Not Working? Message-ID: <505C6AC4.8030507@bellsouth.net> I am getting the FQDN in my email footer (html pages are correct) rather than the DEFAULT_EMAIL_HOST setting. When I change that do I need to do something other than just restart mailman or is there a separate variable for the email templates? TIA. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From mark at msapiro.net Fri Sep 21 16:24:47 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 21 Sep 2012 07:24:47 -0700 Subject: [Mailman-Users] DEFAULT_EMAIL_HOST Not Working? In-Reply-To: <505C6AC4.8030507@bellsouth.net> Message-ID: Dennis Putnam wrote: > >I am getting the FQDN in my email footer (html pages are correct) rather >than the DEFAULT_EMAIL_HOST setting. When I change that do I need to do >something other than just restart mailman or is there a separate >variable for the email templates? TIA. See the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From dap1 at bellsouth.net Fri Sep 21 16:30:09 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Fri, 21 Sep 2012 10:30:09 -0400 Subject: [Mailman-Users] Web Page owner email address Message-ID: <505C79F1.5030207@bellsouth.net> I guess by default the list owner email address is displayed on web pages. What I want is for listname-owner at whatever.com to be displayed and that email forwarded to the list owner so the owner's address is not publicly displayed. I thought that was what I was setting up but obviously not. How do I configure mailman to do that? TIA. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From Rose.Futchko at INFORMS.ORG Fri Sep 21 16:31:03 2012 From: Rose.Futchko at INFORMS.ORG (Futchko, Rose) Date: Fri, 21 Sep 2012 10:31:03 -0400 Subject: [Mailman-Users] Message posting and re-enabling membership In-Reply-To: References: <050C37C3BC21CC4483AC395BAFEC94E5061F683D@mail1.informs.org> Message-ID: <050C37C3BC21CC4483AC395BAFEC94E5061F69A6@mail1.informs.org> Sapiro, Mark wrote: >The intent of the message the user sees when their post is held is that the post will be accepted in which case the user receives the list post and knows it was approved, >or the post will be rejected in which case the user receives the rejection. It does not take into account the case where the moderator discards the post or the user doesn't >receive the post because she is not a list member or is a gmail/googlemail user (see ) or has set the option not to receive their own posts. Understood regarding the discard. In addition, I understand the intent of the first message as relating to the held message. Therefore, should the user who posted the message expect to receive a confirmation email once the post is approved for distribution? > So, was the confirmation expired or already confirmed or what? It was not expired nor confirmed. When the user clicked on the link for the first time, they received the error. >Is the user's delivery currently enabled or not? I am not sure what this means? Email to the user is enabled. Do you mean is email to name-of-list-request at list.informs.org not being blocked by a spam filter? From dtenenholz at rcn.com Thu Sep 20 21:22:52 2012 From: dtenenholz at rcn.com (Drew Tenenholz) Date: Thu, 20 Sep 2012 15:22:52 -0400 Subject: [Mailman-Users] Umbrella list behavior - subject_prefix ; undesired result Message-ID: All -- I hope this is a quick question about Umbrella lists in Mailman 2.1.9 (sorry about that, not my choice). If I'm using the subject_prefix setting as follows: umbrella list: subject_prefix="UMBRELLA>" child list1: subject_prefix="Child1>" child list2: subject_prefix="Child2>" When I post to the umbrella and I am a subscriber to BOTH child lists, I see: Subject: Child1> UMBRELLA> Test Post Subject: Child2> UMBRELLA> Test Post It's not really what I want to see, so I wonder if this changed in future versions of mailman? -- Drew Tenenholz P.S. What I hoped to see was: Subject: UMBRELLA> Test Post In other words, since the messsage has already been through Mailman once, I'd prefer that the subject_prefix for the child lists NOT be used at all. There are times when a post will be sent to one or the other child list alone and not the umbrella, so I would still want a subject_prefix on those messages. If that were not true, I could just skip the subject_prefix on the child lists altogether. P.P.S. I have read the Wiki on methods to eliminate duplicate delivery. I actually not interested in making that happen right now, just playing with the subject line.... From mark at msapiro.net Fri Sep 21 17:11:18 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 21 Sep 2012 08:11:18 -0700 Subject: [Mailman-Users] Message posting and re-enabling membership In-Reply-To: <050C37C3BC21CC4483AC395BAFEC94E5061F69A6@mail1.informs.org> Message-ID: Futchko, Rose wrote: > >Understood regarding the discard. In addition, I understand the intent >of the first message as relating to the held message. Therefore, should >the user who posted the message expect to receive a confirmation email >once the post is approved for distribution? If the user is a list member, once the post is approved, the user should receive the post from the list and/or an acknowledgment from the list depending on the user's options. There is no separate notice to the user. Also, if the user is not a list member, she doesn't get anything, so yes, the message is misleading in this case, and if it is important for the non-member poster to know that the post was accepted, the moderator needs to manually send a notice. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Sep 21 17:41:24 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 21 Sep 2012 08:41:24 -0700 Subject: [Mailman-Users] Web Page owner email address In-Reply-To: <505C79F1.5030207@bellsouth.net> Message-ID: Dennis Putnam wrote: > >I guess by default the list owner email address is displayed on web >pages. What I want is for listname-owner at whatever.com to be displayed >and that email forwarded to the list owner so the owner's address is not >publicly displayed. I thought that was what I was setting up but >obviously not. How do I configure mailman to do that? TIA. It's a kludge, but whatever is displayed as the owner is a mailto: link, the target of which is the listname-owner at ... address, and mail to that address is resent to all the owner and moderator addresses, so you could set some benign string as the owner address and set the real owner addresses as moderator addresses. *CAVEAT* Don't put listname-owner at ... as the owner. I think this will create a mail loop. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From dap1 at bellsouth.net Sat Sep 22 01:49:35 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Fri, 21 Sep 2012 19:49:35 -0400 Subject: [Mailman-Users] Anonymous Posting Message-ID: <505CFD0F.8000301@bellsouth.net> I'm a little confused by the option to hide the sender of a message. I THINK if I leave this as yes, then users will wind up sending replies to the sender rather than the list (that is the way this list works much to my chagrin but I understand the reasons) unless they remember to change the To: field every time. If that is true how do I set it up so that the From: is the poster and the Reply-To: is the list? TIA. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From dap1 at bellsouth.net Sat Sep 22 01:57:32 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Fri, 21 Sep 2012 19:57:32 -0400 Subject: [Mailman-Users] GPG S/MIME Support Message-ID: <505CFEEC.5090701@bellsouth.net> I've been searching for GPG support for mailman. While this seems to have been a project some time ago I can find nothing recent on it. The last thing I could find from a few years ago was that it is not yet ready for prime time. Has that project been abandoned or can someone update me on the status? TIA. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From mark at msapiro.net Sat Sep 22 02:39:34 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 21 Sep 2012 17:39:34 -0700 Subject: [Mailman-Users] Anonymous Posting In-Reply-To: <505CFD0F.8000301@bellsouth.net> Message-ID: Dennis Putnam wrote; > >I'm a little confused by the option to hide the sender of a message. I >THINK if I leave this as yes, then users will wind up sending replies to >the sender rather than the list (that is the way this list works much to >my chagrin but I understand the reasons) unless they remember to change >the To: field every time. If that is true how do I set it up so that the >From: is the poster and the Reply-To: is the list? TIA. if anonymous_list is set to Yes, posts will be From: the list and the actual poster will not be revealed in any headers in the message. To do what you want, set first_strip_reply_to to Yes and reply_goes_to_list to This list. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Sep 22 02:47:31 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 21 Sep 2012 17:47:31 -0700 Subject: [Mailman-Users] GPG S/MIME Support In-Reply-To: <505CFEEC.5090701@bellsouth.net> Message-ID: Dennis Putnam wrote: > >I've been searching for GPG support for mailman. To do specifically what? >While this seems to >have been a project some time ago I can find nothing recent on it. The >last thing I could find from a few years ago was that it is not yet >ready for prime time. Has that project been abandoned or can someone >update me on the status? TIA. There are patches in the tracker at and . There are no plans to incorporate this functionality in Mailman 2.1 -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From dap1 at bellsouth.net Sat Sep 22 12:16:43 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Sat, 22 Sep 2012 06:16:43 -0400 Subject: [Mailman-Users] GPG S/MIME Support In-Reply-To: References: Message-ID: <505D900B.2060702@bellsouth.net> On 9/21/2012 8:47 PM, Mark Sapiro wrote: > Dennis Putnam wrote: >> I've been searching for GPG support for mailman. > > To do specifically what? Encrypted message distribution. Users send encrypted messages to the list using the list's public key. The list decrypts the message and re-encrypts it using each member's public key when it distributes messages. The user must provide their public key as an attachment when they subscribe. That is precisely what the GPG S/MIME project describes. > > >> While this seems to >> have been a project some time ago I can find nothing recent on it. The >> last thing I could find from a few years ago was that it is not yet >> ready for prime time. Has that project been abandoned or can someone >> update me on the status? TIA. > > There are patches in the tracker at > and > . There are no plans > to incorporate this functionality in Mailman 2.1 > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From dap1 at bellsouth.net Sat Sep 22 12:19:41 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Sat, 22 Sep 2012 06:19:41 -0400 Subject: [Mailman-Users] Anonymous Posting In-Reply-To: References: Message-ID: <505D90BD.5000106@bellsouth.net> I'll try it. Thanks. On 9/21/2012 8:39 PM, Mark Sapiro wrote: > Dennis Putnam wrote; >> I'm a little confused by the option to hide the sender of a message. I >> THINK if I leave this as yes, then users will wind up sending replies to >> the sender rather than the list (that is the way this list works much to >> my chagrin but I understand the reasons) unless they remember to change >> the To: field every time. If that is true how do I set it up so that the >> From: is the poster and the Reply-To: is the list? TIA. > > if anonymous_list is set to Yes, posts will be From: the list and the > actual poster will not be revealed in any headers in the message. > > To do what you want, set first_strip_reply_to to Yes and > reply_goes_to_list to This list. > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From dap1 at bellsouth.net Sat Sep 22 20:38:10 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Sat, 22 Sep 2012 14:38:10 -0400 Subject: [Mailman-Users] Anonymous Posting In-Reply-To: References: Message-ID: <505E0592.2090209@bellsouth.net> That didn't seem to change anything. Since I did it via the web admin page do I need to restart mailman or run withlist? My current settings are: Hide sender: no Reply-to header stripped: yes Replies to list messages: this list On 9/21/2012 8:39 PM, Mark Sapiro wrote: > Dennis Putnam wrote; >> I'm a little confused by the option to hide the sender of a message. I >> THINK if I leave this as yes, then users will wind up sending replies to >> the sender rather than the list (that is the way this list works much to >> my chagrin but I understand the reasons) unless they remember to change >> the To: field every time. If that is true how do I set it up so that the >> From: is the poster and the Reply-To: is the list? TIA. > > if anonymous_list is set to Yes, posts will be From: the list and the > actual poster will not be revealed in any headers in the message. > > To do what you want, set first_strip_reply_to to Yes and > reply_goes_to_list to This list. > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From mark at msapiro.net Sat Sep 22 21:53:17 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 22 Sep 2012 12:53:17 -0700 Subject: [Mailman-Users] Anonymous Posting In-Reply-To: <505E0592.2090209@bellsouth.net> Message-ID: Dennis Putnam wrote: > >That didn't seem to change anything. Since I did it via the web admin >page do I need to restart mailman or run withlist? No. >My current settings are: > >Hide sender: no >Reply-to header stripped: yes >Replies to list messages: this list And that should result in posts received from the list (not directly via To: or Cc:) being From: the poster with Reply-To: the list address. Is that not the case? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From dap1 at bellsouth.net Sat Sep 22 22:03:48 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Sat, 22 Sep 2012 16:03:48 -0400 Subject: [Mailman-Users] Anonymous Posting In-Reply-To: References: Message-ID: <505E19A4.4030101@bellsouth.net> Correct, that was not the case. However, a co-moderator made a change using the config script (not sure what) and that worked. Thanks. On 9/22/2012 3:53 PM, Mark Sapiro wrote: > Dennis Putnam wrote: >> That didn't seem to change anything. Since I did it via the web admin >> page do I need to restart mailman or run withlist? > > No. > > >> My current settings are: >> >> Hide sender: no >> Reply-to header stripped: yes >> Replies to list messages: this list > > And that should result in posts received from the list (not directly > via To: or Cc:) being From: the poster with Reply-To: the list address. > > Is that not the case? > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From mark at msapiro.net Sun Sep 23 01:58:22 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 22 Sep 2012 16:58:22 -0700 Subject: [Mailman-Users] GPG S/MIME Support In-Reply-To: <505D900B.2060702@bellsouth.net> Message-ID: Dennis Putnam wrote: >Encrypted message distribution. Users send encrypted messages to the >list using the list's public key. The list decrypts the message and >re-encrypts it using each member's public key when it distributes >messages. The user must provide their public key as an attachment when >they subscribe. That is precisely what the GPG S/MIME project describes. I am not familiar with a Mailman GPG S/MIME project. The patch at purports to do this. There are no plans to incorporate this functionality in Mailman 2.1. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Sep 23 02:12:31 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 22 Sep 2012 17:12:31 -0700 Subject: [Mailman-Users] Anonymous Posting In-Reply-To: <505E19A4.4030101@bellsouth.net> Message-ID: Dennis Putnam wrote: > >Correct, that was not the case. However, a co-moderator made a change >using the config script (not sure what) and that worked. Thanks. There is no difference between changing a setting via config_list and changing it via the web admin interface. Are you sure the failing post was processed by Mailman after you made the changes? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From es at fruitcom.com Sun Sep 23 20:12:07 2012 From: es at fruitcom.com (Eric Smith) Date: Sun, 23 Sep 2012 20:12:07 +0200 Subject: [Mailman-Users] List of members in msg_footer Message-ID: <20120923181207.GA1805@foodsniffer.eu> Is it possible to expand the list members in the msg_footer? (Obviously this only intended for lists with a few members) -- Eric Smith From es at fruitcom.com Sun Sep 23 20:12:07 2012 From: es at fruitcom.com (Eric Smith) Date: Sun, 23 Sep 2012 20:12:07 +0200 Subject: [Mailman-Users] List of members in msg_footer Message-ID: <20120923181207.GA1805@foodsniffer.eu> Is it possible to expand the list members in the msg_footer? (Obviously this only intended for lists with a few members) -- Eric Smith From mark at msapiro.net Mon Sep 24 02:42:30 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 23 Sep 2012 17:42:30 -0700 Subject: [Mailman-Users] List of members in msg_footer In-Reply-To: <20120923181207.GA1805@foodsniffer.eu> Message-ID: Eric Smith wrote: >Is it possible to expand the list members in the msg_footer? If you mean is there currently a substitution variable that you can put in msg_footer that will expand to the membership of the list, the answer is No. If you mean is it possible to modify code to implement such a thing, then Yes. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From dap1 at bellsouth.net Mon Sep 24 14:50:13 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Mon, 24 Sep 2012 08:50:13 -0400 Subject: [Mailman-Users] Automate Moderator Functions Message-ID: <50605705.3070008@bellsouth.net> I've seen various queries on this but nothing definitive about it being added as a feature or even a customizable mod. There are certain moderator actions that potentially could be automated. For example, I would never approve a posting from a non-member of a restricted list. It would make my moderator duties much easier if I could have mailman automatically reject or discard such posts. The same might be true for exceeding the size limit. Is this something that has been considered and rejected as a feature or is it something that is doable now that I have just not been able to find? TIA. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From odhiambo at gmail.com Mon Sep 24 15:02:07 2012 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon, 24 Sep 2012 16:02:07 +0300 Subject: [Mailman-Users] Automate Moderator Functions In-Reply-To: <50605705.3070008@bellsouth.net> References: <50605705.3070008@bellsouth.net> Message-ID: On Mon, Sep 24, 2012 at 3:50 PM, Dennis Putnam wrote: > I've seen various queries on this but nothing definitive about it being > added as a feature or even a customizable mod. There are certain > moderator actions that potentially could be automated. For example, I > would never approve a posting from a non-member of a restricted list. It > would make my moderator duties much easier if I could have mailman > automatically reject or discard such posts. The same might be true for > exceeding the size limit. Is this something that has been considered and > rejected as a feature or is it something that is doable now that I have > just not been able to find? TIA. > > Under Privacy settings, I can see something! Read on and see. About message size, well, content filtering uses regexps, so perhaps you can craft something. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. From malcolm.austen at weald.org.uk Mon Sep 24 15:12:45 2012 From: malcolm.austen at weald.org.uk (Malcolm Austen) Date: Mon, 24 Sep 2012 14:12:45 +0100 Subject: [Mailman-Users] Automate Moderator Functions In-Reply-To: References: <50605705.3070008@bellsouth.net> Message-ID: On Mon, 24 Sep 2012 14:02:07 +0100, Odhiambo Washington wrote: > About message size, well, content filtering uses regexps, so perhaps you > can craft something. I think content filtering only deals with attachments. Large messages from non-members are no problem as they can be discarded as non-member posts but I can't see any way to discard on message size - but then I don't feel a need to :-) = Malcolm = -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From malcolm.austen at weald.org.uk Mon Sep 24 15:02:00 2012 From: malcolm.austen at weald.org.uk (Malcolm Austen) Date: Mon, 24 Sep 2012 14:02:00 +0100 Subject: [Mailman-Users] Automate Moderator Functions In-Reply-To: <50605705.3070008@bellsouth.net> References: <50605705.3070008@bellsouth.net> Message-ID: On Mon, 24 Sep 2012 13:50:13 +0100, Dennis Putnam wrote: > I've seen various queries on this but nothing definitive about it being > added as a feature or even a customizable mod. There are certain > moderator actions that potentially could be automated. For example, I > would never approve a posting from a non-member of a restricted list. It > would make my moderator duties much easier if I could have mailman > automatically reject or discard such posts. The same might be true for > exceeding the size limit. Is this something that has been considered and > rejected as a feature or is it something that is doable now that I have > just not been able to find? TIA. The latter: Privacy options > Sender filters > Non-member filters Much used here :-) = Malcolm = -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From dap1 at bellsouth.net Mon Sep 24 16:00:40 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Mon, 24 Sep 2012 10:00:40 -0400 Subject: [Mailman-Users] Automate Moderator Functions In-Reply-To: <5060594E.2020706@emwd.com> References: <50605705.3070008@bellsouth.net> <5060594E.2020706@emwd.com> Message-ID: <50606788.6070109@bellsouth.net> First, thanks for all the replies. The non-members filter seems to do exactly what I want. However, it is not clear what the members filter is doing. If I turn that on, does it mean every message will be Held, Rejected or Discarded? That does not make sense to me as I cannot think of any circumstance where that would be useful, especially the reject and discard. I think it would make more sense if that applied to any member post that would not otherwise be distributed such as when it exceeds the size. Could someone clarify. Thanks. On 9/24/2012 8:59 AM, Brian Carpenter wrote: > > On 9/24/2012 8:50 AM, Dennis Putnam wrote: >> I've seen various queries on this but nothing definitive about it being >> added as a feature or even a customizable mod. There are certain >> moderator actions that potentially could be automated. For example, I >> would never approve a posting from a non-member of a restricted list. It >> would make my moderator duties much easier if I could have mailman >> automatically reject or discard such posts. The same might be true for >> exceeding the size limit. Is this something that has been considered and >> rejected as a feature or is it something that is doable now that I have >> just not been able to find? TIA. > Hi Dennis: > > In regards to non-members, you can adjust the following setting to > discard on the Privacy options --> Sender Filters page: > > "Action to take for postings from non-members for which no explicit > action is defined." > > As for the message-size exceeded messages, you can just leave them in > the moderation queue and just adjust the following General Options > page setting to something that would work for you: > > "Discard held messages older than this number of days. Use 0 for no > automatic discarding." > > Someone else may have a better suggestion. > > > *Brian Carpenter > *EMWD.com > > T: 336-755-0685 > E: brian at emwd.com > http://www.emwd.com > > Facebook > LinkedIn -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From brian at emwd.com Mon Sep 24 14:59:58 2012 From: brian at emwd.com (Brian Carpenter) Date: Mon, 24 Sep 2012 08:59:58 -0400 Subject: [Mailman-Users] Automate Moderator Functions In-Reply-To: <50605705.3070008@bellsouth.net> References: <50605705.3070008@bellsouth.net> Message-ID: <5060594E.2020706@emwd.com> On 9/24/2012 8:50 AM, Dennis Putnam wrote: > I've seen various queries on this but nothing definitive about it being > added as a feature or even a customizable mod. There are certain > moderator actions that potentially could be automated. For example, I > would never approve a posting from a non-member of a restricted list. It > would make my moderator duties much easier if I could have mailman > automatically reject or discard such posts. The same might be true for > exceeding the size limit. Is this something that has been considered and > rejected as a feature or is it something that is doable now that I have > just not been able to find? TIA. Hi Dennis: In regards to non-members, you can adjust the following setting to discard on the Privacy options --> Sender Filters page: "Action to take for postings from non-members for which no explicit action is defined." As for the message-size exceeded messages, you can just leave them in the moderation queue and just adjust the following General Options page setting to something that would work for you: "Discard held messages older than this number of days. Use 0 for no automatic discarding." Someone else may have a better suggestion. *Brian Carpenter *EMWD.com T: 336-755-0685 E: brian at emwd.com http://www.emwd.com Facebook LinkedIn From dap1 at bellsouth.net Mon Sep 24 16:45:16 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Mon, 24 Sep 2012 10:45:16 -0400 Subject: [Mailman-Users] Reject reason not given in rejection message Message-ID: <506071FC.4080906@bellsouth.net> I am getting complaints from list members that their messages are being rejected without a reason. When I look at the message from the admin page, the reason show us there but when I reject the message the member apparently does not get that. Do I have something configured wrong? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From odhiambo at gmail.com Mon Sep 24 17:06:57 2012 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon, 24 Sep 2012 18:06:57 +0300 Subject: [Mailman-Users] Reject reason not given in rejection message In-Reply-To: <506071FC.4080906@bellsouth.net> References: <506071FC.4080906@bellsouth.net> Message-ID: Mailman 2.1.15. My reasons, unless I fail to give, always gets to the member/member-to-be. However, they fail to read them quite often! On Mon, Sep 24, 2012 at 5:45 PM, Dennis Putnam wrote: > I am getting complaints from list members that their messages are being > rejected without a reason. When I look at the message from the admin > page, the reason show us there but when I reject the message the member > apparently does not get that. Do I have something configured wrong? > > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at python.org > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: > http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: > http://mail.python.org/mailman/options/mailman-users/odhiambo%40gmail.com > -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. From dap1 at bellsouth.net Mon Sep 24 19:08:13 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Mon, 24 Sep 2012 13:08:13 -0400 Subject: [Mailman-Users] Reject reason not given in rejection message In-Reply-To: References: <506071FC.4080906@bellsouth.net> Message-ID: <5060937D.80700@bellsouth.net> I didn't send a reason explicitly. Since the reason was given as part of the admin display, I thought that reason would go to the member as part of the rejection message. Is that not the case? If not, I would consider that a bug. On 9/24/2012 11:06 AM, Odhiambo Washington wrote: > Mailman 2.1.15. My reasons, unless I fail to give, always gets to the > member/member-to-be. > However, they fail to read them quite often! > > > On Mon, Sep 24, 2012 at 5:45 PM, Dennis Putnam > wrote: > > I am getting complaints from list members that their messages are > being > rejected without a reason. When I look at the message from the admin > page, the reason show us there but when I reject the message the > member > apparently does not get that. Do I have something configured wrong? > > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at python.org > > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: > http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: > http://mail.python.org/mailman/options/mailman-users/odhiambo%40gmail.com > > > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > I can't hear you -- I'm using the scrambler. > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From rnewton at digium.com Mon Sep 24 23:47:49 2012 From: rnewton at digium.com (Rusty Newton) Date: Mon, 24 Sep 2012 16:47:49 -0500 Subject: [Mailman-Users] messages in Pipermail archive thread view are mostly out of order with no pattern Message-ID: <5060D505.1040407@digium.com> Mailman version 2.1.11 Pipermail 0.09 (Mailman edition) Description: A week or so ago, mailing list members started reporting an issue with the archives thread view for archives at lists.digium.com The thread view for just about any month or year I click on is all out of whack. The threads are not in any particular order. We've never had a threading issue with the archives up to this point that I know of (over several years of use). No changes were made anytime near the problem first occurring besides minor membership management - deleting a user, moderation of messages, etc. I poked around the bug tracker, MailMan mailing list archives, and other places. I can't find any issues similar to this one (sudden changes in threading for all archives) Has anyone seen this before? Example of the issue: http://lists.digium.com/pipermail/asterisk-users/2012-September/thread.html -- Rusty Newton Digium, Inc | Open Source Community Support Manager Check us out at: www.digium.com www.asterisk.org From mark at msapiro.net Tue Sep 25 02:16:50 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 24 Sep 2012 17:16:50 -0700 Subject: [Mailman-Users] Reject reason not given in rejection message In-Reply-To: <5060937D.80700@bellsouth.net> Message-ID: Dennis Putnam wrote: > >I didn't send a reason explicitly. Since the reason was given as part of >the admin display, I thought that reason would go to the member as part >of the rejection message. Is that not the case? If not, I would consider >that a bug. It is the case that the default reason shown in the admindb page or whatever you put there if you change it is included as part of the rejection message. What is in Mailman's vette log for these rejects? If it doesn't show the reason that was in the admindb page, it may be a manifestion of the issue of the FAQ at . If the reason is in the rejection message in the vette log but was not in the rejection message sent to the user, you may have an edited version of the refuse.txt template that applies to the list(s) and is missing the %(reason)s replacement. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Sep 25 02:43:09 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 24 Sep 2012 17:43:09 -0700 Subject: [Mailman-Users] Automate Moderator Functions In-Reply-To: <50605705.3070008@bellsouth.net> Message-ID: Dennis Putnam wrote: > >The same might be true for >exceeding the size limit. To automatically reject or discard messages that exceed the list's size limit, find the section of the Mailman/Handlers/Hold.py that ends with the lines if bodylen/1024.0 > mlist.max_message_size: hold_for_approval(mlist, msg, msgdata, MessageTooBig(bodylen, mlist.max_message_size)) # no return (there is one wrapped line in the above) and replace hold_for_approval(mlist, msg, msgdata, MessageTooBig(bodylen, mlist.max_message_size)) with rej = MessageTooBig(bodylen, mlist.max_message_size)) raise Errors.RejectMessage, rej.reason_notice to reject the message or with raise Errors.DiscardMessage to discard the message. Note that this will not honor the list's forward_auto_discards setting. to do that you would need to put from Mailman.Handlers.Moderate import do_discard with the other imports near the beginning of the Mailman.Handlers.hold.py module and then replace the lines with do_discard(mlist, msg) If you are actually going to do any of the above, I suggest you also put the following in mm_cfg.py for the stated reason # # Put MimeDel ahead of Hold so "too big" is based on content filtered # message. # GLOBAL_PIPELINE.remove('MimeDel') GLOBAL_PIPELINE.insert(GLOBAL_PIPELINE.index('Hold'), 'MimeDel') Instead of modifying Hold.py, you could make a custom handler (see ) to deal with oversized messages and put it ahead of Hold in the pipeline or possibly just replace Hold.py with a custom version. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Sep 25 06:23:14 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 24 Sep 2012 21:23:14 -0700 Subject: [Mailman-Users] messages in Pipermail archive thread view aremostly out of order with no pattern In-Reply-To: <5060D505.1040407@digium.com> Message-ID: Rusty Newton wrote: >Mailman version 2.1.11 >Pipermail 0.09 (Mailman edition) And whose package? See the FAQ at . >Has anyone seen this before? Yes >Example of the issue: >http://lists.digium.com/pipermail/asterisk-users/2012-September/thread.html This appears to be a manifestation of a problem caused by a bad Debian/Ubuntu patch. See . The underlying bug reported at was fixed in GNU Mailman 2.1.13 in a way that doesn't break threading, and the Debian patch is not in any current Debian packages. I don't know how this happened if you didn't do anything. Perhaps it was just unreported. Assuming this is caused by the bad Debian patch, I think in order to fix it, you need to remove the bad patch, fix a few problems in archives/private/asterisk-users.mbox/asterisk-users.mbox and run bin/arch --wipe asterisk-users. The problems I see are incorrect dates (May 2016 instead of Sep 2006) in the From_ separator of those posts indexed at . Note that there is a possibility that running bin/arch --wipe could alter some or many message numbers, thus invalidating any saved URLs to messages. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Sep 25 06:35:32 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 24 Sep 2012 21:35:32 -0700 Subject: [Mailman-Users] messages in Pipermail archive thread viewaremostly out of order with no pattern In-Reply-To: Message-ID: Mark Sapiro wrote: > >The problems I see are incorrect dates (May 2016 instead of Sep 2006) >in the From_ separator of those posts indexed at >. I forgot to mention, I see another, unrelated issue as well. The .txt.gz files appear to be gzipped twice. See . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From lummoxx at gmail.com Tue Sep 25 03:00:54 2012 From: lummoxx at gmail.com (Lummoxx) Date: Mon, 24 Sep 2012 21:00:54 -0400 Subject: [Mailman-Users] Hangs when trying to start mailman as root Message-ID: Regardless of method, "service mailman start", "./mailmanctl -s start", when I try to start mailman as root, it hangs. I modified the mailman user from the default of /sbin/nologin, to /bin/bash, so I could log in as mailman. When I'm logged in as mailman, it starts successfully. I did quite a bit of troubleshooting, but didn't make any progress until I inserted some debug lines into mailmanctl to figure out at what point it was hanging. This is the results: openge entered check_privs openge gid is: 41 openge uid is: 41 openge myuid is: 0 openge check_privs - entered myuid == 0 ...hangs on the line groups = [x[2] for x in grp.getgrall() if mm_cfg.MAILMAN_USER in x[3]] To see all my debug lines, and a lot more information I compiled while testing, please see this pastebin link: http://pastebin.com/axfg4Dx2 Any assistance greatly appreciated. Thanks, Chris From mark at msapiro.net Tue Sep 25 08:37:06 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 24 Sep 2012 23:37:06 -0700 Subject: [Mailman-Users] Hangs when trying to start mailman as root In-Reply-To: Message-ID: Lummoxx wrote: >...hangs on the line >groups = [x[2] for x in grp.getgrall() if mm_cfg.MAILMAN_USER in x[3]] It appears that the Python library function grp.getgrall() is hanging or looping. What happens if as root you invoke the Python command in the shebang line of bin/mailmanctl and then do >>> import grp >>> print '%r' grp.getgrall() -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From dap1 at bellsouth.net Tue Sep 25 15:15:49 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Tue, 25 Sep 2012 09:15:49 -0400 Subject: [Mailman-Users] Reject reason not given in rejection message In-Reply-To: References: Message-ID: <5061AE85.90807@bellsouth.net> Interestingly, the vette log has nothing in it for those rejects. Perhaps that is a clue to the problem. It appears to be none of the above. I have not implemented SSL yet so that is out. It must be saving my changes because when I revisit the admin page, the radio button is correct and no redirects are involved. Admittedly the only suspect is the ineffective mm_cfg.py variables. As you might recall that was an issue earlier but using the config script solved the problem so I haven't worried about it since. Here is my refuse.txt which looks correct: Your request to the %(listname)s mailing list %(request)s has been rejected by the list moderator. The moderator gave the following reason for rejecting your request: "%(reason)s" Any questions or comments should be directed to the list administrator at: %(adminaddr)s I don't have any idea where to start on this. Can I somehow trace this if I have the offending message resent? On 9/24/2012 8:16 PM, Mark Sapiro wrote: > Dennis Putnam wrote: >> I didn't send a reason explicitly. Since the reason was given as part of >> the admin display, I thought that reason would go to the member as part >> of the rejection message. Is that not the case? If not, I would consider >> that a bug. > > It is the case that the default reason shown in the admindb page or > whatever you put there if you change it is included as part of the > rejection message. > > What is in Mailman's vette log for these rejects? If it doesn't show > the reason that was in the admindb page, it may be a manifestion of > the issue of the FAQ at . > > If the reason is in the rejection message in the vette log but was not > in the rejection message sent to the user, you may have an edited > version of the refuse.txt template that applies to the list(s) and is > missing the %(reason)s replacement. > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From lummoxx at gmail.com Tue Sep 25 19:25:52 2012 From: lummoxx at gmail.com (Lummoxx) Date: Tue, 25 Sep 2012 13:25:52 -0400 Subject: [Mailman-Users] Hangs when trying to start mailman as root In-Reply-To: References: Message-ID: Hi, thanks for the reply. [root at openge bin]# head mailmanctl #! /usr/bin/python [root at openge bin]# which python /usr/bin/python [root at openge bin]# /usr/bin/python Python 2.4.3 (#1, Jun 11 2009, 14:09:37) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import grp >>> print '%r' grp.getgrall() File "", line 1 print '%r' grp.getgrall() ^ SyntaxError: invalid syntax >>> I know very little about advanced python. I've only done some basic scripting using lists. Do you think I'm getting that error when mailmanctl is being run by root? Thanks! Chris On Tue, Sep 25, 2012 at 2:37 AM, Mark Sapiro wrote: > Lummoxx wrote: > > >...hangs on the line > >groups = [x[2] for x in grp.getgrall() if mm_cfg.MAILMAN_USER in x[3]] > > > It appears that the Python library function grp.getgrall() is hanging > or looping. > > What happens if as root you invoke the Python command in the shebang > line of bin/mailmanctl and then do > > >>> import grp > >>> print '%r' grp.getgrall() > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From cwieland at uci.edu Tue Sep 25 20:30:50 2012 From: cwieland at uci.edu (Con Wieland) Date: Tue, 25 Sep 2012 11:30:50 -0700 Subject: [Mailman-Users] prune_arch Message-ID: <8FF5D4C5-70A0-44D9-8037-E22DD9E5D683@uci.edu> Hello, I just found this very useful looking script but am getting the following errors when I try running it. ./prune_arch -l mgsa-l -d 1095 -n Traceback (most recent call last): File "./prune_arch", line 191, in ? main() File "./prune_arch", line 156, in main mdate = mktime_tz(parsedate_tz(msg['date'])) File "/usr/local/mailman/pythonlib/email/_parseaddr.py", line 140, in mktime_tz if data[9] is None: TypeError: unsubscriptable object Any help would be appreciated Con Wieland Office of Information Technology University of California at Irvine From mark at msapiro.net Tue Sep 25 20:50:18 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 25 Sep 2012 11:50:18 -0700 Subject: [Mailman-Users] Hangs when trying to start mailman as root In-Reply-To: Message-ID: Lummoxx wrote: > >Hi, thanks for the reply. > >[root at openge bin]# head mailmanctl >#! /usr/bin/python > >[root at openge bin]# which python >/usr/bin/python >[root at openge bin]# /usr/bin/python >Python 2.4.3 (#1, Jun 11 2009, 14:09:37) >[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 >Type "help", "copyright", "credits" or "license" for more information. >>>> import grp >>>> print '%r' grp.getgrall() > File "", line 1 > print '%r' grp.getgrall() > ^ >SyntaxError: invalid syntax Sorry, my bad. That should be >>> print '%r' % grp.getgrall() Please try again. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From lummoxx at gmail.com Tue Sep 25 21:17:39 2012 From: lummoxx at gmail.com (Lummoxx) Date: Tue, 25 Sep 2012 15:17:39 -0400 Subject: [Mailman-Users] Hangs when trying to start mailman as root In-Reply-To: References: Message-ID: That hangs just like trying to start mailman. Whatever it's doing, it's a nasty little hang. A ctrl-c in the window won't even kill it. Here in python or the mailmanctl file. Here's a thought. The server is also using libnss-pgsql. The mailman user and group exist normally in /etc/passwd and /etc/group, but it still may be getting confused by this functionality? Is it possible that this section can be modified to specifically set whatever that line is trying to do? We know that the mailman user and group on this machine is mailman. Thanks! On Tue, Sep 25, 2012 at 2:50 PM, Mark Sapiro wrote: > Lummoxx wrote: > > > >Hi, thanks for the reply. > > > >[root at openge bin]# head mailmanctl > >#! /usr/bin/python > > > >[root at openge bin]# which python > >/usr/bin/python > >[root at openge bin]# /usr/bin/python > >Python 2.4.3 (#1, Jun 11 2009, 14:09:37) > >[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 > >Type "help", "copyright", "credits" or "license" for more information. > >>>> import grp > >>>> print '%r' grp.getgrall() > > File "", line 1 > > print '%r' grp.getgrall() > > ^ > >SyntaxError: invalid syntax > > > > Sorry, my bad. That should be > > >>> print '%r' % grp.getgrall() > > Please try again. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From mark at msapiro.net Tue Sep 25 21:46:23 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 25 Sep 2012 12:46:23 -0700 Subject: [Mailman-Users] Hangs when trying to start mailman as root In-Reply-To: Message-ID: Lummoxx wrote: > >That hangs just like trying to start mailman. Whatever it's doing, it's a >nasty little hang. A ctrl-c in the window won't even kill it. Here in >python or the mailmanctl file. > >Here's a thought. The server is also using libnss-pgsql. The mailman user >and group exist normally in /etc/passwd and /etc/group, but it still may be >getting confused by this functionality? I don't know if this is the issue or not. It certainly seems possible. I've looked at the code for the Python grp module. It is a C language module and uses the C library functions setgrent, getgrent and endgrent to get the group information. My guess is there is some incompatibility with the C library used to build your Python and your system configuration. >Is it possible that this section can be modified to specifically set >whatever that line is trying to do? We know that the mailman user and >group on this machine is mailman. The code that contains the failing line is attempting to determine all the supplemental groups of which the 'mailman' user is a member and set those groups as the suplemental groups for the process. This could be necessary if you had local mods to Mailman which required the Mailman processes to be a member of one or more of those groups (other than 'mailman') to access something, but in a standard Mailman, this shouldn't be necessary. Thus, if you modify mailmanctl as follows, I think you'll be OK. In the section if myuid == 0: # Set the process's supplimental groups. groups = [x[2] for x in grp.getgrall() if mm_cfg.MAILMAN_USER in x[3]] groups.append(gid) try: os.setgroups(groups) except AttributeError: # Python 2.1 doesn't have setgroups syslog('error', 'Warning: unable to setgroups(%s)' % groups) os.setgid(gid) os.setuid(uid) remove or comment all but the first and last 2 lines to make it effectively if myuid == 0: os.setgid(gid) os.setuid(uid) -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From lummoxx at gmail.com Tue Sep 25 22:00:38 2012 From: lummoxx at gmail.com (Lummoxx) Date: Tue, 25 Sep 2012 16:00:38 -0400 Subject: [Mailman-Users] Hangs when trying to start mailman as root In-Reply-To: References: Message-ID: That's what I thought, seemed fairly straightforward, but thanks for the verification. Made that modification and mailman started right up. Verified by sending a couple messages, and this is all set. Thank you again for the help, I appreciate it! On Tue, Sep 25, 2012 at 3:46 PM, Mark Sapiro wrote: > Lummoxx wrote: > > > >That hangs just like trying to start mailman. Whatever it's doing, it's a > >nasty little hang. A ctrl-c in the window won't even kill it. Here in > >python or the mailmanctl file. > > > >Here's a thought. The server is also using libnss-pgsql. The mailman > user > >and group exist normally in /etc/passwd and /etc/group, but it still may > be > >getting confused by this functionality? > > > I don't know if this is the issue or not. It certainly seems possible. > I've looked at the code for the Python grp module. It is a C language > module and uses the C library functions setgrent, getgrent and > endgrent to get the group information. My guess is there is some > incompatibility with the C library used to build your Python and your > system configuration. > > > >Is it possible that this section can be modified to specifically set > >whatever that line is trying to do? We know that the mailman user and > >group on this machine is mailman. > > > The code that contains the failing line is attempting to determine all > the supplemental groups of which the 'mailman' user is a member and > set those groups as the suplemental groups for the process. This could > be necessary if you had local mods to Mailman which required the > Mailman processes to be a member of one or more of those groups (other > than 'mailman') to access something, but in a standard Mailman, this > shouldn't be necessary. > > Thus, if you modify mailmanctl as follows, I think you'll be OK. > > In the section > > if myuid == 0: > # Set the process's supplimental groups. > groups = [x[2] for x in grp.getgrall() if mm_cfg.MAILMAN_USER > in x[3]] > groups.append(gid) > try: > os.setgroups(groups) > except AttributeError: > # Python 2.1 doesn't have setgroups > syslog('error', 'Warning: unable to setgroups(%s)' % groups) > os.setgid(gid) > os.setuid(uid) > > remove or comment all but the first and last 2 lines to make it > effectively > > if myuid == 0: > os.setgid(gid) > os.setuid(uid) > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From mark at msapiro.net Tue Sep 25 22:37:35 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 25 Sep 2012 13:37:35 -0700 Subject: [Mailman-Users] Reject reason not given in rejection message In-Reply-To: <5061AE85.90807@bellsouth.net> Message-ID: Dennis Putnam wrote: > >Interestingly, the vette log has nothing in it for those rejects. >Perhaps that is a clue to the problem. When you reject the message from the admindb page, does the admindb page refresh and no longer show the held post? Is there anything in Mailman's error log from the time of the admindb reject? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Sep 25 23:07:19 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 25 Sep 2012 14:07:19 -0700 Subject: [Mailman-Users] prune_arch In-Reply-To: <8FF5D4C5-70A0-44D9-8037-E22DD9E5D683@uci.edu> Message-ID: Con Wieland wrote: > >I just found this very useful looking script but am getting the following errors when I try running it. > >./prune_arch -l mgsa-l -d 1095 -n >Traceback (most recent call last): > File "./prune_arch", line 191, in ? > main() > File "./prune_arch", line 156, in main > mdate = mktime_tz(parsedate_tz(msg['date'])) > File "/usr/local/mailman/pythonlib/email/_parseaddr.py", line 140, in mktime_tz > if data[9] is None: >TypeError: unsubscriptable object > >Any help would be appreciated The issue is the script didn't take into account messages in the mailbox without Date: headers. The scripts at and have been updated. The fix is to change line 156 from mdate = mktime_tz(parsedate_tz(msg['date'])) to mdate = msg['date'] and mktime_tz(parsedate_tz(msg['date'])) (watch out for wrapping above) -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From dap1 at bellsouth.net Tue Sep 25 23:29:48 2012 From: dap1 at bellsouth.net (Dennis Putnam) Date: Tue, 25 Sep 2012 17:29:48 -0400 Subject: [Mailman-Users] Reject reason not given in rejection message In-Reply-To: References: Message-ID: <5062224C.3020304@bellsouth.net> On 9/25/2012 4:37 PM, Mark Sapiro wrote: > Dennis Putnam wrote: >> Interestingly, the vette log has nothing in it for those rejects. >> Perhaps that is a clue to the problem. > > When you reject the message from the admindb page, does the admindb > page refresh and no longer show the held post? Correct. > > Is there anything in Mailman's error log from the time of the admindb > reject? > No. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: OpenPGP digital signature URL: From mark at msapiro.net Tue Sep 25 23:51:15 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 25 Sep 2012 14:51:15 -0700 Subject: [Mailman-Users] Reject reason not given in rejection message In-Reply-To: <5062224C.3020304@bellsouth.net> Message-ID: Dennis Putnam wrote: > >On 9/25/2012 4:37 PM, Mark Sapiro wrote: >> Dennis Putnam wrote: >>> Interestingly, the vette log has nothing in it for those rejects. >>> Perhaps that is a clue to the problem. >> >> When you reject the message from the admindb page, does the admindb >> page refresh and no longer show the held post? >Correct. >> >> Is there anything in Mailman's error log from the time of the admindb >> reject? >> >No. Are you sure you're looking at the correct logs? Are there post, smtp and qrunner logs in the same directory with current messages? It is not possible for a post to be rejected and a reject message sent to the user without a vette log entry unless the code in Mailman/ListAdmin.py has been modified or some exception is thrown and any exception should be logged in the error log. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From cwieland at uci.edu Wed Sep 26 17:27:06 2012 From: cwieland at uci.edu (Con Wieland) Date: Wed, 26 Sep 2012 08:27:06 -0700 Subject: [Mailman-Users] more prune_arch errors In-Reply-To: References: Message-ID: <6748A41C-4FF5-4B51-B499-BACAE840847C@uci.edu> Now it processes some but I now get: ./prune_arch -l mgsa-l -d 1095 -bpnv Processing mgsa-l mailbox Traceback (most recent call last): File "./prune_arch", line 191, in ? main() File "./prune_arch", line 156, in main mdate = msg['date'] and mktime_tz(parsedate_tz(msg['date'])) TypeError: string indices must be integers My "date' command gives this format Wed Sep 26 08:21:50 PDT 2012 con On Sep 25, 2012, at 2:07 PM, Mark Sapiro wrote: > Con Wieland wrote: >> >> I just found this very useful looking script but am getting the following errors when I try running it. >> >> ./prune_arch -l mgsa-l -d 1095 -n >> Traceback (most recent call last): >> File "./prune_arch", line 191, in ? >> main() >> File "./prune_arch", line 156, in main >> mdate = mktime_tz(parsedate_tz(msg['date'])) >> File "/usr/local/mailman/pythonlib/email/_parseaddr.py", line 140, in mktime_tz >> if data[9] is None: >> TypeError: unsubscriptable object >> >> Any help would be appreciated > > > The issue is the script didn't take into account messages in the > mailbox without Date: headers. The scripts at > and > have been > updated. > > The fix is to change line 156 from > > mdate = mktime_tz(parsedate_tz(msg['date'])) > > to > > mdate = msg['date'] and > mktime_tz(parsedate_tz(msg['date'])) > > (watch out for wrapping above) > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at python.org > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: http://mail.python.org/mailman/options/mailman-users/cwieland%40uci.edu From mark at msapiro.net Wed Sep 26 17:53:09 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 26 Sep 2012 08:53:09 -0700 Subject: [Mailman-Users] more prune_arch errors In-Reply-To: <6748A41C-4FF5-4B51-B499-BACAE840847C@uci.edu> References: <6748A41C-4FF5-4B51-B499-BACAE840847C@uci.edu> Message-ID: <506324E5.8020802@msapiro.net> On 9/26/2012 8:27 AM, Con Wieland wrote: > Now it processes some but I now get: > > ./prune_arch -l mgsa-l -d 1095 -bpnv > Processing mgsa-l mailbox > Traceback (most recent call last): > File "./prune_arch", line 191, in ? > main() > File "./prune_arch", line 156, in main > mdate = msg['date'] and mktime_tz(parsedate_tz(msg['date'])) > TypeError: string indices must be integers I don't know what the issue could be. The code is doing for msg in mbox: msgs += 1 mdate = msg['date'] and mktime_tz(parsedate_tz(msg['date'])) And the above error seems to be saying that msg is not a mailbox.Message object, but I don't know what that could be. I have made a change in the script changing line 144 from mbox = Mailbox.Mailbox(mboxf) to mbox = Mailbox.mbox(mboxf) The former was not strictly correct, but worked in my tests. The online scripts have been updated. If this doesn't fix it, I think I'll need access to the actual mailbox to debug this. > My "date' command gives this format Wed Sep 26 08:21:50 PDT 2012 That's not relevant to this problem. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From wcook at mycoachonline.com Wed Sep 26 20:57:37 2012 From: wcook at mycoachonline.com (Wayne Cook) Date: Wed, 26 Sep 2012 13:57:37 -0500 Subject: [Mailman-Users] timeout settings? In-Reply-To: <6748A41C-4FF5-4B51-B499-BACAE840847C@uci.edu> References: <6748A41C-4FF5-4B51-B499-BACAE840847C@uci.edu> Message-ID: I seem to be getting a lot of "connection timeout" messages and I'd like to change my time out settings....and get some advice from the list on reducing the number of time outs. I'm running Mailman 2.1.14 on OSX 10.6 client (NOT server) with MailServe for snow leopard It seems like when I did this installation, there were tuning instructions I found that had information about changing time out settings, the number of threads and such, but I can't seem to find that information now and I use terminal so little that I don't want to play around and screw something up that's working fairly good. thanks W Wayne Cook wcook at mycoachonline.com http://www.mycoachonline.com/ ------------------- I've flown faster than the speed of sound, stared down a shark while standing on the ocean floor and launched men into space. Care to join me tomorrow? From ma.76 at osu.edu Wed Sep 26 22:56:54 2012 From: ma.76 at osu.edu (Ma, Yuan) Date: Wed, 26 Sep 2012 20:56:54 +0000 Subject: [Mailman-Users] Which file contains "Contact the Mailman site administrator"? Message-ID: <3D7D185549C2E048814EC5CF34B8FD670160C263@CIO-KRC-D1MBX02.osuad.osu.edu> Hi, In the bounced message, there are lines "Questions? Contact the Mailman site administrator at mailman at lists.service.ohio-state.edu." Please see the example below. ---------------------example of bounced message which has the line "mailman at lists.service.ohio-state.edu".------ From: > Date: September 24, 2012 3:20:23 PM EDT To: > Subject: Bounce action notification This is a Mailman mailing list bounce action notice: List: ATI Member: holderman.11 at osu.edu Action: Subscription disabled. Reason: Excessive or fatal bounces. The triggering bounce notice is attached below. Questions? Contact the Mailman site administrator at mailman at lists.service.ohio-state.edu. From: > Date: September 24, 2012 3:18:05 PM EDT To: > Subject: Undeliverable: [Ati] Renewable Energy Orientation Series Delivery has failed to these recipients or groups: holderman.11 at osu.edu Your message wasn't delivered due to a permission or security issue. It may have been rejected by a moderator, the address may only accept e-mail from certain senders, or another restriction may be preventing delivery. holderman.11 at osu.edu Your message wasn't delivered due to a permission or security issue. It may have been rejected by a moderator, the address may only accept e-mail from certain senders, or another restriction may be preventing delivery. Diagnostic information for administrators: Generating server: osu.edu holderman.11 at osu.edu #550 5.7.1 The e-mail account does not exist at the organization this message was sent to. (NLA13) ##rfc822;holderman.11 at osu.edu holderman.11 at osu.edu #550 5.7.1 The e-mail account does not exist at the organization this message was sent to. (NLA13) ##rfc822;edwards.850 at osu.edu Original message headers: ... ... ----------------------------------end of example----------------------------------------- I am trying to change from "Contact the Mailman site administrator at mailman at lists.service.ohio-state.edu" to "Contact the Mailman site administrator at smith.78910 at osu.edu" May I know in which file these lines " Questions? Contact the Mailman site administrator at mailman at lists.service.ohio-state.edu" are located? I used grep to search but did not find the file which contains the line "Contact the Mailman site administrator at mailman at lists.service.ohio-state.edu" Thank you very much in advance. Yuan Ohio State University From cwieland at uci.edu Wed Sep 26 23:24:20 2012 From: cwieland at uci.edu (Con Wieland) Date: Wed, 26 Sep 2012 14:24:20 -0700 Subject: [Mailman-Users] more prune_arch errors In-Reply-To: <506324E5.8020802@msapiro.net> References: <6748A41C-4FF5-4B51-B499-BACAE840847C@uci.edu> <506324E5.8020802@msapiro.net> Message-ID: The mbox variable changed seemed to take care of that error. Now after running for about 4 hours I get this ./prune_arch -l mgsa-l -d 1095 -bpnv Traceback (most recent call last): File "./prune_arch", line 191, in ? main() File "./prune_arch", line 173, in main os.umask(omask) UnboundLocalError: local variable 'omask' referenced before assignment any ideas, thanks On Sep 26, 2012, at 8:53 AM, Mark Sapiro wrote: > On 9/26/2012 8:27 AM, Con Wieland wrote: >> Now it processes some but I now get: >> >> ./prune_arch -l mgsa-l -d 1095 -bpnv >> Processing mgsa-l mailbox >> Traceback (most recent call last): >> File "./prune_arch", line 191, in ? >> main() >> File "./prune_arch", line 156, in main >> mdate = msg['date'] and mktime_tz(parsedate_tz(msg['date'])) >> TypeError: string indices must be integers > > > I don't know what the issue could be. The code is doing > > > for msg in mbox: > msgs += 1 > mdate = msg['date'] and mktime_tz(parsedate_tz(msg['date'])) > > And the above error seems to be saying that msg is not a mailbox.Message > object, but I don't know what that could be. I have made a change in the > script changing line 144 from > > mbox = Mailbox.Mailbox(mboxf) > > to > > mbox = Mailbox.mbox(mboxf) > > The former was not strictly correct, but worked in my tests. The online > scripts have been updated. > > If this doesn't fix it, I think I'll need access to the actual mailbox > to debug this. > > >> My "date' command gives this format Wed Sep 26 08:21:50 PDT 2012 > > > That's not relevant to this problem. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan From lstone19 at stonejongleux.com Thu Sep 27 01:39:06 2012 From: lstone19 at stonejongleux.com (Larry Stone) Date: Wed, 26 Sep 2012 18:39:06 -0500 Subject: [Mailman-Users] timeout settings? In-Reply-To: References: <6748A41C-4FF5-4B51-B499-BACAE840847C@uci.edu> Message-ID: <0C9BB167-38E0-4AC4-9039-66780B22B58F@stonejongleux.com> I'd like to suggest that no one provide Mr. Cook any assistance. Since I helped answer a question of his some months ago, mycoachonline.com has been a persistent spam source on my server. The most recent piece of spam from his company was received 11 hours ago. -- Larry Stone lstone19 at stonejongleux.com On Sep 26, 2012, at 1:57 PM, Wayne Cook wrote: > I seem to be getting a lot of "connection timeout" messages and I'd like to change my time out settings....and get some advice from the list on reducing the number of time outs. > > I'm running Mailman 2.1.14 on OSX 10.6 client (NOT server) with MailServe for snow leopard > > It seems like when I did this installation, there were tuning instructions I found that had information about changing time out settings, the number of threads and such, but I can't seem to find that information now and I use terminal so little that I don't want to play around and screw something up that's working fairly good. > > thanks > W > > > > Wayne Cook > wcook at mycoachonline.com > http://www.mycoachonline.com/ > > ------------------- > > I've flown faster than the speed of sound, stared down a shark while standing on the ocean floor and launched men into space. > Care to join me tomorrow? > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at python.org > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: http://mail.python.org/mailman/options/mailman-users/lstone19%40stonejongleux.com From wcook at mycoachonline.com Thu Sep 27 02:31:15 2012 From: wcook at mycoachonline.com (Wayne Cook) Date: Wed, 26 Sep 2012 19:31:15 -0500 Subject: [Mailman-Users] timeout settings? In-Reply-To: <0C9BB167-38E0-4AC4-9039-66780B22B58F@stonejongleux.com> References: <6748A41C-4FF5-4B51-B499-BACAE840847C@uci.edu> <0C9BB167-38E0-4AC4-9039-66780B22B58F@stonejongleux.com> Message-ID: <0944CFDA-F650-4640-8184-D758AEE41B6B@mycoachonline.com> And I'd like to know what address you claim is being spammed? I can't find anything in any of my databases that contain "stonejongleux.com" w Wayne Cook wcook at mycoachonline.com http://www.mycoachonline.com/ --------------------- I live in a world where mistakes are evil, accidents are newsworthy and being late is allowed once. On Sep 26, 2012, at 6:39 PM, Larry Stone wrote: > I'd like to suggest that no one provide Mr. Cook any assistance. Since I helped answer a question of his some months ago, mycoachonline.com has been a persistent spam source on my server. The most recent piece of spam from his company was received 11 hours ago. > > -- > Larry Stone > lstone19 at stonejongleux.com > > On Sep 26, 2012, at 1:57 PM, Wayne Cook wrote: > >> I seem to be getting a lot of "connection timeout" messages and I'd like to change my time out settings....and get some advice from the list on reducing the number of time outs. >> >> I'm running Mailman 2.1.14 on OSX 10.6 client (NOT server) with MailServe for snow leopard >> >> It seems like when I did this installation, there were tuning instructions I found that had information about changing time out settings, the number of threads and such, but I can't seem to find that information now and I use terminal so little that I don't want to play around and screw something up that's working fairly good. >> >> thanks >> W >> >> >> >> Wayne Cook >> wcook at mycoachonline.com >> http://www.mycoachonline.com/ >> >> ------------------- >> >> I've flown faster than the speed of sound, stared down a shark while standing on the ocean floor and launched men into space. >> Care to join me tomorrow? >> >> ------------------------------------------------------ >> Mailman-Users mailing list Mailman-Users at python.org >> http://mail.python.org/mailman/listinfo/mailman-users >> Mailman FAQ: http://wiki.list.org/x/AgA3 >> Security Policy: http://wiki.list.org/x/QIA9 >> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ >> Unsubscribe: http://mail.python.org/mailman/options/mailman-users/lstone19%40stonejongleux.com > > > > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at python.org > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: http://mail.python.org/mailman/options/mailman-users/wcook%40mycoachonline.com From mark at msapiro.net Thu Sep 27 03:52:13 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 26 Sep 2012 18:52:13 -0700 Subject: [Mailman-Users] more prune_arch errors In-Reply-To: Message-ID: Con Wieland wrote: >The mbox variable changed seemed to take care of that error. Actually, it didn't. That change was totally wrong, my bad. >Now after running for about 4 hours I get this > > ./prune_arch -l mgsa-l -d 1095 -bpnv >Traceback (most recent call last): > File "./prune_arch", line 191, in ? > main() > File "./prune_arch", line 173, in main > os.umask(omask) >UnboundLocalError: local variable 'omask' referenced before assignment I think it ran for 4 hours because the list was left locked by the previous failure and at least part of that time, it was waiting for the list lock to expire. I don't know how that would have happened though because the list should have been unlocked in the finally: clause of the try: in which the error occurred. The above error is because of the incorrect change of line 144 from mbox = Mailbox.Mailbox(mboxf) to mbox = Mailbox.mbox(mboxf) This threw an exception because of the erroneous change. I have changed the script again to move the omask = os.umask(2) line ahead of the try: finally: to protect against the above error and to restore the mbox = Mailbox.Mailbox(mboxf) line. I also added a test for an unparseable message being returned as a null string by Mailman's Mailbox class which was the cause of the mdate = msg['date'] and mktime_tz(parsedate_tz(msg['date'])) TypeError: string indices must be integers exception. The current script is at and . See the FAQ at and remove the stale locks for the mgsa-l list. Then, before running prune_arch again, try checking the archives/private/mgsa-l.mbox/mgsa-l.mbox file for unescaped From_ lines with bin/cleanarch and fix any problems. This may or may not fix the unparseable message issue, but now the script should just report it and continue. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Sep 27 04:10:03 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 26 Sep 2012 19:10:03 -0700 Subject: [Mailman-Users] timeout settings? In-Reply-To: Message-ID: Wayne Cook wrote: >I seem to be getting a lot of "connection timeout" messages and I'd like to change my time out settings....and get some advice from the list on reducing the number of time outs. Please don't hijack threads. Compost a new message to the list rather than replying to an unrelated message. Is this even a Mailman question? Where do these "connection timeout" messages occur? If on a web access, it would seem to be a web server or DNS issue. If on a connect to the MTA, a MTA issue? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Sep 27 04:20:15 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 26 Sep 2012 19:20:15 -0700 Subject: [Mailman-Users] Which file contains "Contact the Mailman siteadministrator"? In-Reply-To: <3D7D185549C2E048814EC5CF34B8FD670160C263@CIO-KRC-D1MBX02.osuad.osu.edu> Message-ID: Ma, Yuan wrote: > >May I know in which file these lines " Questions? Contact the Mailman site administrator at mailman at lists.service.ohio-state.edu" are located? [mark at sbh16 ~]$ cd ~mailman [mark at sbh16 mailman]$ grep -r "Contact the Mailman" . ./messages/ar/LC_MESSAGES/mailman.po:#~ "Contact the Mailman site administrator at %(owneraddr)s." ./templates/sr/bounce.txt:Contact the Mailman site administrator at %(owneraddr)s. ./templates/en/bounce.txt:Contact the Mailman site administrator at %(owneraddr)s. [mark at sbh16 mailman]$ >I used grep to search but did not find the file which contains the line "Contact the Mailman site administrator at mailman at lists.service.ohio-state.edu" Because "mailman at lists.service.ohio-state.edu" doesn't appear in the template. It is a replacement for %(owneraddr)s. Also see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From support+mailman at oeko.net Wed Sep 26 20:22:27 2012 From: support+mailman at oeko.net (Toni Mueller) Date: Wed, 26 Sep 2012 20:22:27 +0200 Subject: [Mailman-Users] How Post to Moderated List w/o Approval? Message-ID: <20120926182227.GA9563@spruce.wiehl.oeko.net> Hi, I would like to "post" to an announce-only list, but not need to ack every post via the mailman web GUI. Also, the owner of the list isn't subscribed to it. So far, I have switched on emergency moderation, in addition to every other moderation switch, to prevent users from posting to the list, but when trying to post, eg. by using "inject" on the Mailman server, the message still ends up in moderation (acknowleding the messages is likely too complex for the owner to handle). Any idea about how to have the owner send a message (sender address should be list-owner at doma.in) without needing approval, or also handling approval automatically? TIA! Kind regards, --Toni++ From mark at msapiro.net Thu Sep 27 08:07:36 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 26 Sep 2012 23:07:36 -0700 Subject: [Mailman-Users] How Post to Moderated List w/o Approval? In-Reply-To: <20120926182227.GA9563@spruce.wiehl.oeko.net> Message-ID: Toni Mueller wrote: > >Any idea about how to have the owner send a message (sender address >should be list-owner at doma.in) without needing approval, or also handling >approval automatically? See the section "How to post to the announcement list:" in the FAQ at and/or see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From support+mailman at oeko.net Thu Sep 27 15:36:02 2012 From: support+mailman at oeko.net (Toni Mueller) Date: Thu, 27 Sep 2012 15:36:02 +0200 Subject: [Mailman-Users] How Post to Moderated List w/o Approval? In-Reply-To: References: <20120926182227.GA9563@spruce.wiehl.oeko.net> Message-ID: <20120927133602.GA23749@spruce.wiehl.oeko.net> Hi, On Wed, Sep 26, 2012 at 11:07:36PM -0700, Mark Sapiro wrote: > See the section "How to post to the announcement list:" in the FAQ at > and/or see the FAQ at > . yeah, thank you! Found it, but the post made it too slow to the list for me to post a "SOLVED" in time. Kind regards, --Toni++ From mark at msapiro.net Thu Sep 27 16:27:05 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 27 Sep 2012 07:27:05 -0700 Subject: [Mailman-Users] more prune_arch errors In-Reply-To: References: Message-ID: <50646239.1000704@msapiro.net> I have updated the scripts at and again. The script will now skip unparseable messages and messages with missing or unparseable Date: headers and report the same. It only reports the sequence number of the message in the mbox, but if you run the script with the -b or --backup option, you can find the skipped message(s) in the listname.mbox.bak file with something like grep "^From " listname.mbox.bak | grep -n . | grep ^xxx: where xxx is the sequence number of a skipped message. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Rose.Futchko at INFORMS.ORG Thu Sep 27 23:12:50 2012 From: Rose.Futchko at INFORMS.ORG (Futchko, Rose) Date: Thu, 27 Sep 2012 17:12:50 -0400 Subject: [Mailman-Users] Question regarding SPAM Message-ID: <050C37C3BC21CC4483AC395BAFEC94E506239542@mail1.informs.org> Hi, I have a question about SPAM being sent via Mailman. 1. Even though the message is marked as SPAM it is still sent to the list 2. The sender is not a member of the moderated list 3. Spam filters at the other members site are catching the Spam and returning the not delivered message (example below) 4. Have I mis-configured something in the Mailman to allow this to happen (It happens often) Thank you, Rose Example Message: This is the mail delivery agent at messagelabs.com. I was not able to deliver your message to the following addresses. Remote host said: 554 5.7.9 Message not accepted for policy reasons. --- Below this line is a copy of the message. Return-Path: X-Env-Sender: mailman-bounces at list.informs.org X-Msg-Ref: server-8.tower-85.messagelabs.com!1348767090!55220986!1 X-Originating-IP: [216.230.111.83] X-StarScan-Received: X-StarScan-Version: 6.6.1.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 16887 invoked from network); 27 Sep 2012 17:31:30 -0000 Received: from mail.informs.com (HELO mail.informs.org) (216.230.111.83) by server-8.tower-85.messagelabs.com with SMTP; 27 Sep 2012 17:31:30 -0000 Received: by mail.informs.org (Postfix, from userid 506) id 7354A20798; Thu, 27 Sep 2012 13:31:30 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on informs-app02-listserv.custcbb.local X-Spam-Flag: YES X-Spam-Level: ******************* X-Spam-Status: Yes, score=19.2 required=5.0 tests=BAYES_99,DATE_IN_PAST_03_06, Received: from informs-app02-listserv.custcbb.local (localhost [127.0.0.1]) by mail.informs.org (Postfix) with ESMTP id DE0E42086E; Thu, 27 Sep 2012 13:31:29 -0400 (EDT) Date: Thu, 27 Sep 2012 06:31:17 -0600 From: Cierra Orozco via LinkedIn Reply-To: Cierra Orozco To: southeastern-michigan-chapter-owner Message-ID: <126881171.1872436.8821718263356.JavaMail.app at ela0-app0430.prod> Subject: [SPAM] United Postal Service Tracking Number H8260315491 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2502201_6486519708.0424312323509" From mark at msapiro.net Fri Sep 28 02:33:55 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 27 Sep 2012 17:33:55 -0700 Subject: [Mailman-Users] Question regarding SPAM In-Reply-To: <050C37C3BC21CC4483AC395BAFEC94E506239542@mail1.informs.org> Message-ID: Futchko, Rose wrote: >Hi, I have a question about SPAM being sent via Mailman. > >1. Even though the message is marked as SPAM it is still sent to the >list Marked by what? You could use the list's Privacy options... -> Spam filters -> header_filter_rules to hold or discard such messages. It is not a good idea to reject them as the sender is likely spoofed so the rejection is just backscatter. >2. The sender is not a member of the moderated list Then how did the post reach the list? What is the list's Privacy options... -> Sender filters -> generic_nonmember_action setting? [...] >4. Have I mis-configured something in the Mailman to allow this to >happen (It happens often) See 2. above? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Rose.Futchko at INFORMS.ORG Fri Sep 28 16:22:15 2012 From: Rose.Futchko at INFORMS.ORG (Futchko, Rose) Date: Fri, 28 Sep 2012 10:22:15 -0400 Subject: [Mailman-Users] Question regarding SPAM References: Message-ID: <050C37C3BC21CC4483AC395BAFEC94E505D792D8@mail1.informs.org> Sapiro, Mark wrote: >Marked by what? In the message sent by Mailman, the Subject line contained [SPAM] from our spam manager, i.e. = Subject: [SPAM] United Postal Service Tracking Number H8260315491 >You could use the list's Privacy options... -> Spam filters -> >header_filter_rules to hold or discard such messages. It is not a good >idea to reject them as the sender is likely spoofed so the rejection >is just backscatter. I will configure this as mentioned. >Then how did the post reach the list? What is the list's Privacy >options... -> Sender filters -> generic_nonmember_action setting? Discard From mark at msapiro.net Fri Sep 28 19:48:09 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 28 Sep 2012 10:48:09 -0700 Subject: [Mailman-Users] {Spam?} RE: Question regarding SPAM In-Reply-To: <050C37C3BC21CC4483AC395BAFEC94E505D792D8@mail1.informs.org> Message-ID: Futchko, Rose wrote: > >Sapiro, Mark wrote: > >>Then how did the post reach the list? What is the list's Privacy >>options... -> Sender filters -> generic_nonmember_action setting? > >Discard Then again, how did the post reach the list in the first place. Non-member posts are discarded and you said the list is moderated which I think means that member posts are held for moderation, so how does a spam post get to the list? Does the list have some unmoderated members? If so, if a post contains one of these member addresses in any of a From:, Reply-To: or Sender: header or as the envelope sender, the post may be accepted (see the documentation for SENDER_HEADERS in Defaults.py). -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From andi at sixhop.net Sun Sep 30 13:44:13 2012 From: andi at sixhop.net (Andreas Nitsche) Date: Sun, 30 Sep 2012 13:44:13 +0200 Subject: [Mailman-Users] Unable to create new list Message-ID: <5068308D.7070402@sixhop.net> Hello list, I have setup a mailman environment to be able to manage multiple domains. For each domain there's running a seperate mailman instance. I'm compiling mailman with the following parameters: DOMAIN=$1 MAILMANROOT="/usr/local/mailman/${DOMAIN}" USERNAME="mailman-${DOMAIN}" ./configure --prefix=${MAILMANROOT} --with-var-prefix=${MAILMANROOT} --with-mailhost=${DOMAIN} --with-urlhost=lists.${DOMAIN} --with-username="${USERNAME}" --with-groupname="${USERNAME}" --with-mail-gid=${USERNAME} There are some scripts around each mailman instance which are generated to fit on each several instance, i.e. the init script /etc/init.d/mailman-${DOMAIN} ${MAILMANROOT} is owned by mailman-${DOMAIN}:nobody and user and group writable. The webserver (httpd.itk) is running with user mailman-${DOMAIN} and group nobody, so this should fit. When I try to create a new mailinglist I hit the page which says: "Bug in Mailman version 2.1.14". When I have a look at the error log of this mailman instance I can see this error: Sep 30 12:10:36 2012 (8424) command failed: /usr/sbin/postalias /usr/local/mailman/zaubert.net/data/aliases (status: 1, Operation not permitted) Sep 30 12:10:36 2012 admin(8424): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(8424): [----- Mailman Version: 2.1.14 -----] admin(8424): [----- Traceback ------] admin(8424): Traceback (most recent call last): admin(8424): File "/usr/local/mailman/zaubert.net/scripts/driver", line 112, in run_main admin(8424): main() admin(8424): File "/usr/local/mailman/zaubert.net/Mailman/Cgi/create.py", line 56, in main admin(8424): process_request(doc, cgidata) admin(8424): File "/usr/local/mailman/zaubert.net/Mailman/Cgi/create.py", line 239, in process_request admin(8424): sys.modules[modname].create(mlist, cgi=1) admin(8424): File "/usr/local/mailman/zaubert.net/Mailman/MTA/Postfix.py", line 238, in create admin(8424): _update_maps() admin(8424): File "/usr/local/mailman/zaubert.net/Mailman/MTA/Postfix.py", line 53, in _update_maps admin(8424): raise RuntimeError, msg % (acmd, status, errstr) admin(8424): RuntimeError: command failed: /usr/sbin/postalias /usr/local/mailman/zaubert.net/data/aliases (status: 1, Operation not permitted) admin(8424): [----- Python Information -----] admin(8424): sys.version = 2.6.6 (r266:84292, Sep 11 2012, 08:34:23) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] admin(8424): sys.executable = /usr/bin/python admin(8424): sys.prefix = /usr admin(8424): sys.exec_prefix = /usr admin(8424): sys.path = ['/usr/local/mailman/zaubert.net/pythonlib', '/usr/local/mailman/zaubert.net', '/usr/local/mailman/zaubert.net/scripts', '/usr/local/mailman/zaubert.net', '/usr/lib64/python26.zip', '/usr/lib64/python2.6/', '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages'] admin(8424): sys.platform = linux2 Can you tell me with which user this command gets executed? I had a look at the aliases file: -rw-rw----. 1 mailman-zaubert.net nobody 2159 30. Sep 13:33 aliases -rw-r-----. 1 mailman-zaubert.net nobody 49152 30. Sep 13:33 aliases.db I looked at the audit.log, because SELinux is enabled, but it's empty. When I try to execute the command on the command line this works perfectly without errors: su mailman-zaubert.net -c "/usr/sbin/postalias /usr/local/mailman/zaubert.net/data/aliases" --shell=/bin/bash It would be great to get any help on that. cheers Andi From norbert.aschendorff at yahoo.de Sun Sep 30 15:53:02 2012 From: norbert.aschendorff at yahoo.de (Norbert Aschendorff) Date: Sun, 30 Sep 2012 15:53:02 +0200 Subject: [Mailman-Users] Mailman and Postfix-style Virtual Domains (not a problem, only a question!) Message-ID: <50684EBE.8030200@yahoo.de> Hey list, I'm maintaining a server with Postfix and Mailman including Postfix-style virtual domains. This works fine so far. But is it normal that the creation of a list for a virtual subdomain ($prefix/bin/newlist -e subdomain listname) not only creates entries in $prefix/data/virtual-mailman, but also in the aliases file for the "main" domain ($prefix/data/aliases)? I didn't find anything on the web, there are only issues related to non-found hash DBs or missing virtual domains etc. But in mailman-install.pdf which I used for the installation, there's the following sentence: "Mailman?s support of virtual domains is limited in that list names must be globally unique within a single Mailman instance, i.e., two lists may not have the same name even if they are in different domains." Is that related? Or am I doing something wrong? --Norbert P.S.: I'm rather new to Mailman, but I think that I've understood it basically.