[Mailman-Users] Re: posts building up in /var/spool/mailman/in

2023-03-06 Thread Stephen J. Turnbull
Good to know!

and thank you for the followup, we do appreciate it!

ssaini writes:
 > 
 > > ```
 > > If urllib2.urlopen throws an exception, you need to figure out why. 
 > > Does
 > > ```
 > > wget https://publicsuffix.org/list/public_suffix_list.dat
 > > ```
 > > retrieve the data?
 > 
 > After posting the message to this list I checked if the mailman server 
 > could resolve https://publicsuffix.org and it failed thus for our 
 > incident it was related to a firewall rule that allowed outbound 443 
 > traffic being revoked which caused the delay in delivering and build up 
 > of posts. After the rule was added back the spooled mailman posts in the 
 > "in" directory were delivered within minutes.
 > --
 > Mailman-Users mailing list -- mailman-users@python.org
 > To unsubscribe send an email to mailman-users-le...@python.org
 > https://mail.python.org/mailman3/lists/mailman-users.python.org/
 > Mailman FAQ: http://wiki.list.org/x/AgA3
 > Security Policy: http://wiki.list.org/x/QIA9
 > Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
 > https://mail.python.org/archives/list/mailman-users@python.org/
 > Member address: turnbull.stephen...@u.tsukuba.ac.jp
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org


[Mailman-Users] Re: posts building up in /var/spool/mailman/in

2023-03-06 Thread ssaini




```
If urllib2.urlopen throws an exception, you need to figure out why. 
Does

```
wget https://publicsuffix.org/list/public_suffix_list.dat
```
retrieve the data?


After posting the message to this list I checked if the mailman server 
could resolve https://publicsuffix.org and it failed thus for our 
incident it was related to a firewall rule that allowed outbound 443 
traffic being revoked which caused the delay in delivering and build up 
of posts. After the rule was added back the spooled mailman posts in the 
"in" directory were delivered within minutes.

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org


[Mailman-Users] Re: posts building up in /var/spool/mailman/in

2023-03-02 Thread Mark Sapiro

On 3/2/23 04:12, ssaini wrote:

...
Mar 02 11:47:49 2023 (198037) IncomingRunner qrunner exiting.
Mar 02 11:47:49 2023 (198033) Master qrunner detected subprocess exit
(pid: 198037, sig: None, sts: 15, class: IncomingRunner, slice: 1/1)
Mar 02 11:49:59 2023 (1956) ArchRunner qrunner started.
Mar 02 11:49:59 2023 (1963) RetryRunner qrunner started.
Mar 02 11:49:59 2023 (1960) NewsRunner qrunner started.
Mar 02 11:49:59 2023 (1961) OutgoingRunner qrunner started.



The rest of the messages from the startup might be interesting.


error logs have this
Mar 02 11:38:57 2023 (189330) Unable to retrieve data from 
https://publicsuffix.org/list/public_suffix_list.dat: [Errno 97] Address family not supported by protocol>
Mar 02 11:38:57 2023 (189331) Unable to retrieve data from 
https://publicsuffix.org/list/public_suffix_list.dat: 

but I think this is related to some posts to unknown domains.



No, it isn't. It is not clear what exactly the urlopen issue is, but it 
is complaining that it can't retrieve 
https://publicsuffix.org/list/public_suffix_list.dat which could be the 
reason for IncomingRunner getting hung up.


Normally, the code which is encountering this error is executed only 
once upon the first post after startup.


Try the following withlist session:
```
$ bin/withlist -i
No list name supplied.
Python 2.7.18 (default, Jul  1 2022, 12:27:04)
[GCC 9.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import urllib2
>>> d = 
urllib2.urlopen('https://publicsuffix.org/list/public_suffix_list.dat')

>>> print d.readlines()[0]
// This Source Code Form is subject to the terms of the Mozilla Public

>>>
```
If urllib2.urlopen throws an exception, you need to figure out why. Does
```
wget https://publicsuffix.org/list/public_suffix_list.dat
```
retrieve the data?

--
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org