[Mailman-Users] Re: [EXTERNAL] Re: Error messages from Mailman without "real content".

2024-07-16 Thread Christian via Mailman-Users
Good morning Mark (and all others)

> You need to contact someone who has access to Mailman's `error` log 
> on the server. We need to see the error message and traceback from 
> the log in order to diagnose this. If this is cPanel, see 
> https://wiki.list.org/DOC/Mailman%20and%20CPanel

I enclose the file "error.txt", which hopefully is what you need to analyze the 
problem. I got it from the provider this morning. 

Thank you 

Christian 
-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org

May 24 17:46:51 2021 mailmanctl(21949): PID unreadable in: 
/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid 
May 24 17:46:51 2021 mailmanctl(21949): [Errno 2] No such file or directory: 
'/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid' 
May 24 17:46:51 2021 mailmanctl(21949): Is qrunner even running? 
Jun 02 10:42:49 2021 mailmanctl(22277): PID unreadable in: 
/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid 
Jun 02 10:42:49 2021 mailmanctl(22277): [Errno 2] No such file or directory: 
'/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid' 
Jun 02 10:42:49 2021 mailmanctl(22277): Is qrunner even running? 
Jun 02 10:42:50 2021 mailmanctl(22308): PID unreadable in: 
/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid 
Jun 02 10:42:50 2021 mailmanctl(22308): [Errno 2] No such file or directory: 
'/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid' 
Jun 02 10:42:50 2021 mailmanctl(22308): Is qrunner even running? 
Jun 02 10:42:52 2021 mailmanctl(22471): The master qrunner lock could not be 
acquired because it appears as if another
master qrunner is already running.
Jun 02 10:42:52 2021 mailmanctl(22471): 
Jun 02 22:54:26 2021 mailmanctl(29045): The master qrunner lock could not be 
acquired because it appears as if another
master qrunner is already running.
Jun 02 22:54:26 2021 mailmanctl(29045): 
Jun 02 22:55:34 2021 mailmanctl(30358): The master qrunner lock could not be 
acquired because it appears as if another
master qrunner is already running.
Jun 02 22:55:34 2021 mailmanctl(30358): 
Dec 08 04:54:09 2021 (4506) DNSException: Unable to query DMARC policy for 
i...@zublarusa.com (_dmarc.zublarusa.com). The operation timed out.
Feb 03 23:17:08 2022 (13418) private: No such list "listname_mus.ch": 

Feb 03 23:17:08 2022 (13419) options: No such list "listname_mus.ch": 

Feb 03 23:17:08 2022 (13417) listinfo: No such list "listname_mus.ch": 
Feb 03 23:17:30 2022 (13456) options: No such list "listname_mus.ch": 

Feb 03 23:17:30 2022 (13457) private: No such list "listname_mus.ch": 

Feb 03 23:17:30 2022 (13458) listinfo: No such list "listname_mus.ch": 
Feb 03 23:17:32 2022 (13463) private: No such list "listname_mus.ch": 

Feb 03 23:17:32 2022 (13464) options: No such list "listname_mus.ch": 

Feb 03 23:17:32 2022 (13462) listinfo: No such list "listname_mus.ch": 
Feb 03 23:18:00 2022 (13572) private: No such list "listname_mus.ch": 

Feb 03 23:18:00 2022 (13573) options: No such list "listname_mus.ch": 

Feb 03 23:18:00 2022 (13571) listinfo: No such list "listname_mus.ch": 
Feb 03 23:18:38 2022 (13652) options: No such list "listname_mus.ch": 

Feb 03 23:18:38 2022 (13651) listinfo: No such list "listname_mus.ch": 
Feb 03 23:18:38 2022 (13653) private: No such list "listname_mus.ch": 

Feb 03 23:18:54 2022 (13672) options: No such list "listname_mus.ch": 

Feb 03 23:18:55 2022 (13675) private: No such list "listname_mus.ch": 

Feb 03 23:18:55 2022 (13676) options: No such list "listname_mus.ch": 

Feb 03 23:18:55 2022 (13677) listinfo: No such list "listname_mus.ch": 
Feb 03 23:19:10 2022 (13710) private: No such list "listname_mus.ch": 

Feb 03 23:19:10 2022 (13712) options: No such list "listname_mus.ch": 

Feb 03 23:19:10 2022 (13711) listinfo: No such list "listname_mus.ch": 
Feb 03 23:19:20 2022 (13777) private: No such list "listname_mus.ch": 

Feb 03 23:19:22 2022 (13795) options: No such list "listname_mus.ch": 

Feb 03 23:19:23 2022 (13797) private: No such list "listname_mus.ch": 

Feb 03 23:19:23 2022 (13796) listinfo: No such list "listname_mus.ch": 
Feb 03 23:19:38 2022 (13817) listinfo: No such list "listname_mus.ch": 
Feb 03 23:19:59 2022 (13847) private: No such list "listname_mus.ch": 

Feb 03 23:19:59 2022 (13849) options: No such list "listname_mus.ch": 

Feb 03 23:19:59 2022 (13848) listinfo: No such list "listname_mus.ch": 
Feb 03 23:21:37 2022 (14167) private: No such list "listname_mus.ch": 

Feb 03 23:21:40 2022 (14172) options: No such list "listname_mus.ch": 

Feb 03 23:21:46 2022 (14183) listinfo: No such list "listname_mus.ch": 
Feb 03 23:24:16 2022 (14595) listinfo: No such list "listname_mus.ch": 
Feb 03 23:24:16 2022 (14601) options: No such list "listname_mus.ch": 

Feb 03 23:24:16 2022 (14602) private: No such list "listname_mus.ch": 

Feb 03 23:27:30 2022 (15076) listinfo: No such list "listname_mus.ch": 
Feb 03 23:28:20 2022 (15262) pri

[Mailman-Users] Re: [EXTERNAL] Re: Error messages from Mailman without "real content".

2024-07-16 Thread Mark Sapiro

On 7/16/24 12:41 AM, Christian via Mailman-Users wrote:


I enclose the file "error.txt", which hopefully is what you need to analyze the 
problem. I got it from the provider this morning.


This is the part of the error log that relates to the substitutions not 
being replaced in the admin notice.



Jul 09 14:50:18 2024 (32554) broken template: 
/usr/local/cpanel/3rdparty/mailman/templates/de/postauth.txt
'ascii' codec can't decode byte 0xe4 in position 82: ordinal not in range(128)


There are also a number of errors like this which are from the inability 
to discard the message from the admindb interface.


Jul 09 15:14:16 2024 admin(10332):  
admin(10332): [- Mailman Version: 2.1.39 -] 
admin(10332): [- Traceback --] 
admin(10332): Traceback (most recent call last):

admin(10332):   File "/usr/local/cpanel/base/3rdparty/mailman/scripts/driver", 
line 117, in run_main
admin(10332): main()
admin(10332):   File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admindb.py", line 241, in main
admin(10332): process_form(mlist, doc, cgidata)
admin(10332):   File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admindb.py", line 852, in 
process_form
admin(10332): forward, forwardaddr)
admin(10332):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/ListAdmin.py", 
line 169, in HandleRequest
admin(10332): forward, addr)
admin(10332):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/ListAdmin.py", 
line 367, in __handlepost
admin(10332): note += '\n\tReason: ' + comment.replace('%', '%%')
admin(10332): UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in 
position 60: ordinal not in range(128)
admin(10332): [- Python Information -] 
admin(10332): sys.version =   2.7.5 (default, Mar 21 2024, 16:55:10) 


The issue appears to be due to a combination of hold reason and/or 
rejection reason as translated to German containing non-ascii together 
with trying to treat these strings as ascii.


I'm still investigating this locally, but so far I don't see the issue. 
this could be related to the python version which in my case is 2.7.18 
or possibly it's a cPanel issue.


--
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


[Mailman-Users] Hackers subscribing lots of people

2024-07-16 Thread John


Hello,

We're running mailman 2.

Quite a few script kiddies and other idiots have figured out that they can use 
our mailman installation to annoy people. They bypass the subscribe page 
directly, and run cgi-bin/subscribe directly - many, many times.

We fixed the problem by removing the appropriate executable permission from 
cgi-bin/subscribe and rewriting the list info page to handle subscriptions 
differently. (We removed the Subscribe fields and button.)

While this works, it's inelegant and a bit convoluted.

Is there another way to prevent this, and leave the default info page intact?

Thanks.

::Jack


--
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...@mail-archive.com


[Mailman-Users] Re: [EXTERNAL] Re: Error messages from Mailman without "real content".

2024-07-16 Thread Christian Buser via Mailman-Users
Am 16.07.2024 um 20:44 schrieb Mark Sapiro :

> The issue appears to be due to a combination of hold reason and/or rejection 
> reason as translated to German containing non-ascii together with trying to 
> treat these strings as ascii.

The lists are all set up with „preferred_language“ = German
„available_languages“ is set to German, English and French


Thank you 

Christian 

-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  



--
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: Error messages from Mailman without "real content".

2024-07-16 Thread Christian via Mailman-Users
Hi all

I just received another message from our provider, with a (newer) log attached. 

Does this tell more? 

Thank you
Christian 

> This is the content of the postauth.txt file:
> 
>> Eine E-Mail an eine Mailingliste wurde nicht verteilt und benötigt
>> eine Freigabe durch Sie als Listenmoderator:
>>
>> Liste:   %(listname)s@%(hostname)s
>> Von: %(sender)s
>> Betreff: %(subject)s
>> Grund:   %(reason)s
>>
>> Bitte besuchen Sie bei Gelegenheit
>>
>> %(admindb_url)s
>>
>> um die E-Mail zu genehmigen oder abzulehnen.
> 
> I have reinstalled Mailman but it still mentions the template file 
> postauth.txt as "broken"
> 
> The most recent entries of the error log file in the attached file
> 
> Manos K-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
Jul 09 14:50:18 2024 (32554) broken template: 
/usr/local/cpanel/3rdparty/mailman/templates/de/postauth.txt
'ascii' codec can't decode byte 0xe4 in position 82: ordinal not in range(128)
Jul 09 15:14:16 2024 admin(10332):  
admin(10332): [- Mailman Version: 2.1.39 -] 
admin(10332): [- Traceback --] 
admin(10332): Traceback (most recent call last):
admin(10332):   File "/usr/local/cpanel/base/3rdparty/mailman/scripts/driver", 
line 117, in run_main
admin(10332): main()
admin(10332):   File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admindb.py", line 241, in main
admin(10332): process_form(mlist, doc, cgidata)
admin(10332):   File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admindb.py", line 852, in 
process_form
admin(10332): forward, forwardaddr)
admin(10332):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/ListAdmin.py", 
line 169, in HandleRequest
admin(10332): forward, addr)
admin(10332):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/ListAdmin.py", 
line 367, in __handlepost
admin(10332): note += '\n\tReason: ' + comment.replace('%', '%%')
admin(10332): UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in 
position 60: ordinal not in range(128)
admin(10332): [- Python Information -] 
admin(10332): sys.version =   2.7.5 (default, Mar 21 2024, 16:55:10) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] 
admin(10332): sys.executable  =   /usr/local/cpanel/3rdparty/bin/python2 
admin(10332): sys.prefix  =   /usr 
admin(10332): sys.exec_prefix =   /usr 
admin(10332): sys.path=   
['/usr/local/cpanel/3rdparty/mailman/pythonlib', 
'/usr/local/cpanel/3rdparty/mailman', 
'/usr/local/cpanel/3rdparty/mailman/scripts', '/usr/lib64/python27.zip', 
'/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', 
'/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', 
'/usr/lib64/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages', 
'/usr/lib/python2.7/dist-packages', '/usr/lib64/python2.7/site-packages', 
'/usr/lib64/python2.7/site-packages/gtk-2.0', 
'/usr/lib64/python2.7/site-packages', '/usr/lib/python2.7/site-packages', 
'/usr/lib/site-python'] 
admin(10332): sys.platform=   linux2 
admin(10332): [- Environment Variables -] 
admin(10332):   REMOTE_PASSWORD: 
cpses_mue2t9wlur[::cpses::]zb_3haEefGVIZB4GXAsX5aZ3c5LKRWue 
admin(10332):   REAL_DBOWNER: musch 
admin(10332):   DNS: mus.ch 
admin(10332):   HTTP_REFERER: 
https://mus.ch:2096/cpsess4478987539/3rdparty/mailman/admindb/infoline_mus.ch 
admin(10332):   REDIRECT_STATUS: 1 
admin(10332):   SERVER_SOFTWARE: cpsrvd 11.110.0.36 
admin(10332):   DOMAIN: mus.ch 
admin(10332):   SUBID:  
admin(10332):   HTTP_TRANSFER_ENCODING:  
admin(10332):   OPENSSL_NO_DEFAULT_ZLIB: 1 
admin(10332):   REQUEST_METHOD: POST 
admin(10332):   CPANEL: active 
admin(10332):   SERVER_PROTOCOL: HTTP/1.1 
admin(10332):   QUERY_STRING:  
admin(10332):   PATH:  
admin(10332):   REMOTE_DBOWNER: cpses_mue2t9wlur 
admin(10332):   cp_security_token: /cpsess4478987539 
admin(10332):   ACCEPT_ENCODING: gzip, deflate, br, zstd 
admin(10332):   LANG: en_US.UTF-8 
admin(10332):   HTTP_ACCEPT_CHARSET:  
admin(10332):   REMOTE_USER: musch 
admin(10332):   TZ: Europe/Athens 
admin(10332):   HTTP_COOKIE: 
infoline_mus.ch+admin=2802006979298d667328003869356139383531626135303434386634336265363636633736653036643666383564663263;
 timezone=Europe/Berlin; roundcube_cookies=enabled 
admin(10332):   SERVER_NAME: mus.ch 
admin(10332):   REMOTE_PORT: 49569 
admin(10332):   PATH_TRANSLATED: 
/usr/local/cpanel/base/3rdparty/mailman/scripts/infoline_mus.ch 
admin(10332):   SERVER_PORT: 2096 
admin(10332):   IS_TRIAL: 0 
admin(10332):   HOME: /home/musch 
admin(10332):   SERVER_ADDR: 144.208.72.125 
admin(10332):   DOCUMENT_ROOT: /usr/local/cpanel/base 
admin(10332):   CONTENT_LENGTH: 350 
admin(10332):   HTTP_STATUS: 200 
admin(10332):   CURRENT_USER_UID:  
admin(10332):   PYTHONPATH: /usr/local/cpanel/3rdparty/mailman 
admin(10332):   UPLINK:  
admin(10332):   SCRIPT_FILENAME: 
/usr/local/cpanel/base/