Re: [Mailman-Users] Kernel update breaks Mailman!!

2014-02-21 Thread Mark Sapiro
On 02/20/2014 02:04 PM, Lindsay Haisley wrote:
 
 Here's a sampling of the qrunner log from the wee hours, before I
 started poking at the problem to try to fix it:
 
 Feb 20 03:22:02 2014 (2447) IncomingRunner qrunner caught SIGINT.  Stopping.
 Feb 20 03:22:02 2014 (2447) IncomingRunner qrunner exiting.
 Feb 20 03:22:02 2014 (2445) BounceRunner qrunner caught SIGINT.  Stopping.
 Feb 20 03:22:02 2014 (2445) BounceRunner qrunner exiting.
 Feb 20 03:22:02 2014 (2446) CommandRunner qrunner caught SIGINT.  Stopping.
 Feb 20 03:22:02 2014 (2446) CommandRunner qrunner exiting.
 Feb 20 03:22:02 2014 (2451) RetryRunner qrunner caught SIGINT.  Stopping.
 Feb 20 03:22:02 2014 (2443) Master watcher caught SIGINT.  Restarting.
 Feb 20 03:22:02 2014 (2444) ArchRunner qrunner caught SIGINT.  Stopping.
 Feb 20 03:22:02 2014 (2444) ArchRunner qrunner exiting.
 Feb 20 03:22:02 2014 (2448) NewsRunner qrunner caught SIGINT.  Stopping.
 Feb 20 03:22:02 2014 (2450) VirginRunner qrunner caught SIGINT.  Stopping.
 Feb 20 03:22:02 2014 (2449) OutgoingRunner qrunner caught SIGINT.  Stopping.
 Feb 20 03:22:02 2014 (2451) RetryRunner qrunner exiting.
 Feb 20 03:22:02 2014 (2448) NewsRunner qrunner exiting.
 Feb 20 03:22:02 2014 (2450) VirginRunner qrunner exiting.
 Feb 20 03:22:02 2014 (2443) Master qrunner detected subprocess exit
 (pid: 2445, sig: None, sts: 2, class: BounceRunner, slice: 1/1) [restarting]
 Feb 20 03:22:02 2014 (2443) Master qrunner detected subprocess exit
 (pid: 2446, sig: None, sts: 2, class: CommandRunner, slice: 1/1) [restarting]
 Feb 20 03:22:02 2014 (2443) Master qrunner detected subprocess exit
 (pid: 2451, sig: None, sts: 2, class: RetryRunner, slice: 1/1) [restarting]
 Feb 20 03:22:02 2014 (2443) Master qrunner detected subprocess exit
 (pid: 2448, sig: None, sts: 2, class: NewsRunner, slice: 1/1) [restarting]
 Feb 20 03:22:02 2014 (2443) Master qrunner detected subprocess exit
 (pid: 2444, sig: None, sts: 2, class: ArchRunner, slice: 1/1) [restarting]
 Feb 20 03:22:02 2014 (2443) Master qrunner detected subprocess exit
 (pid: 2447, sig: None, sts: 2, class: IncomingRunner, slice: 1/1) [restarting]


OK, From what you report here and elsewhere, it appears the issue was
with OutgoingRunner not processing Mailman's 'out' queue. If the above
log excerpt (appears to be from a mailmanctl restart) is complete, you
will note that there are three entries for most runners, e,g.

 Feb 20 03:22:02 2014 (2447) IncomingRunner qrunner caught SIGINT.
Stopping.
 Feb 20 03:22:02 2014 (2447) IncomingRunner qrunner exiting.
 Feb 20 03:22:02 2014 (2443) Master qrunner detected subprocess exit
 (pid: 2447, sig: None, sts: 2, class: IncomingRunner, slice: 1/1)
[restarting]

But there is only one for OutgoingRunner

 Feb 20 03:22:02 2014 (2449) OutgoingRunner qrunner caught SIGINT.
Stopping.

suggesting that it was hung and never terminated.

Had it been me at that point, I would have stopped Mailman and made sure
it was completely stopped per the FAQ at http://wiki.list.org/x/_4A9,
and then started it to see if that fixed the problem. If the out queue
were still not being processed, I would try to trace the OutgoingRunner
process to see where it was hung.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] MM 3 and OSCON 2014

2014-02-21 Thread Mark Sapiro
On 02/20/2014 07:09 PM, Tom Browder wrote:
 Two questions:
 
 1.  What is the definitive link for the MM 3 branch for wannabe users
 (I haven't been able to find such on the wiki yet, but I know  it's
 there)?


I'm not sure what you're looking for, but maybe
http://wiki.list.org/display/DEV/A+5+minute+guide+to+get+the+Mailman+web+UI+running,
aka http://wiki.list.org/x/PwDL.


 2.  Is MM going to have a presence at O'reilly's OSCON 2014 in July?


I don't plan to be there, but others may. There will be a number of us
at PyCon in April https://us.pycon.org/2014/.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] MM 3 and OSCON 2014

2014-02-21 Thread Barry Warsaw
On Feb 21, 2014, at 08:15 AM, Mark Sapiro wrote:

 2.  Is MM going to have a presence at O'reilly's OSCON 2014 in July?

I don't plan to be there, but others may. There will be a number of us
at PyCon in April https://us.pycon.org/2014/.

I won't be at OSCON either.  We'll be sprinting on Mailman 3.0 at Pycon.  I
want to emphasize two things at the sprint: working on Postorius and
Hyperkitty, and porting MM3 to Python 3.  But we can work on other things if
you have an interest.

AFAICT, the sprint page is not up yet though.

Please come and join us!
-Barry
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Problem with messages held in Moderator Queue

2014-02-21 Thread Andy Jeffries
I run a mailman (2.1.14-3ubuntu0.1) mailing list for a client.  There are
currently 14 emails stuck in the moderator queue.  We've tried over and
over again to choose to Discard them and click on Submit.

Every time, the HTTP request POSTs to
/cgi-bin/mailman/admindb/mailing-list-name-here, which 301 redirects to the
same URL and the GET request loads exactly the same as before (i.e. it
didn't remove any of the stuck emails).

I've had a look at the filesystem and the
/var/lib/mailman/lists/mailing-list-name-here/request.pck file's timestamp
gets updated.

That file (and the ones named
/var/lib/mailman/data/heldmsg-mailing-list-name-here-10.pck) are owned by
the list group which has www-data as a member (Nginx operates as
www-data).

Can anyone suggest what I should try next to get the web interface working?

I know they can be deleted via a command line script, but I'm assuming if I
do that, I'm going to be always doing this and I want the client to be able
to do it themselves via the web interface.

Many thanks,


Andy
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Problem with messages held in Moderator Queue

2014-02-21 Thread Mark Sapiro
On 02/21/2014 08:07 AM, Andy Jeffries wrote:
 
 Every time, the HTTP request POSTs to
 /cgi-bin/mailman/admindb/mailing-list-name-here, which 301 redirects to the
 same URL and the GET request loads exactly the same as before (i.e. it
 didn't remove any of the stuck emails).


That's the issue. The redirect is losing the POST data. See the FAQ at
http://wiki.list.org/x/ioA9 (3rd paragraph).


 Can anyone suggest what I should try next to get the web interface working?


Fix your web server to not redirect. If this is a redirect from http to
https, see paragraph 2 of the above FAQ.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Kernel update breaks Mailman!!

2014-02-21 Thread Lindsay Haisley
On Fri, 2014-02-21 at 05:56 -0800, Mark Sapiro wrote:
 OK, From what you report here and elsewhere, it appears the issue was
 with OutgoingRunner not processing Mailman's 'out' queue. If the above
 log excerpt (appears to be from a mailmanctl restart) is complete, you
 will note that there are three entries for most runners, e,g.
 
Well I can't reproduce the Mailman list problem today.  I (re)updated
the kernel version to 3.2.0-59-generic x86_64 and everything seems to be
working OK.  The only obvious change is the aforementioned issue with
the bind9 name server daemon which requires an explicit IPv4 network
interface ACL instead of defaulting to receiving on ALL interfaces if
the IPv4 ACL is absent in the config.  I didn't update bind, so this is
kernel dependent.  It's possible that some features of v4 and v6 address
handling have been merged (there's an IPv6 interface ACL in the bind9
config).  It's also possible that attempts at name resolution hung up
Mailman's qrunner.  If it won't break, I can't fix it :-S

Thanks for your time and attention.
 
-- 
Lindsay Haisley   | Everything works if you let it
FMP Computer Services |
512-259-1190  |  --- The Roadie
http://www.fmp.com|

--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Kernel update breaks Mailman!!

2014-02-21 Thread Mark Sapiro
On 02/21/2014 01:03 PM, Lindsay Haisley wrote:

 It's also possible that attempts at name resolution hung up
 Mailman's qrunner.


That's a possibility, but the only name OutgoingRunner looks up is the
value of SMTPHOST which in a more or less default Mailman is 'localhost'
which should be resolved through /etc/hosts.

It is also possible that OutgoingRunner got wedged for some transient
reason unrelated to the kernel upgrade.


 If it won't break, I can't fix it :-S

True ...

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] MM 3 and OSCON 2014

2014-02-21 Thread Stephen J. Turnbull
Mark Sapiro writes:

   1.  What is the definitive link for the MM 3 branch for wannabe users
   (I haven't been able to find such on the wiki yet, but I know  it's
   there)?
  
  
  I'm not sure what you're looking for, but maybe
  http://wiki.list.org/display/DEV/A+5+minute+guide+to+get+the+Mailman+web+UI+running,
  aka http://wiki.list.org/x/PwDL.

Note that that page is NOT up-to-date.  Get the Mailman sources
(including Postorius and HyperKitty) and read the installation
instructions with the sources.  Postorius and HyperKitty may not be
very different, but Mailman core now uses a completely different
framework for setup.

--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org