[Mailman-Users] Re: Odd error during message approval

2024-10-01 Thread Mark Sapiro

On 10/1/24 11:43, Johnson, Bruce E - (bjohnson) wrote:

One of our list moderators got the following website error after trying to 
approve a posting to a moderated list:


"Bad Request

Your browser sent a request that this server could not understand.

Size of a request header field exceeds server limit."


Someone else was able to approve the same message after she logged in to the 
pending requests page.


I could not find any reference to this web server rotor in 
/various/log/httpd/error_log or ssl_error_log

 /var/




Where does Mailman log it’s http errors and what could cause this error?



I seriously doubt that this request got to Mailman or even to Django. It 
looks like the error came from the web server. Can you find the request 
in other web server logs - maybe some access_log.


Mailman may have an access_log and error_log in it's var/logs/ directory 
(or wherever it keeps its logs.


--
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] Re: Problem after upgrade to mailman-2.1.30-1

2024-09-21 Thread Mark Sapiro

On 9/21/24 07:15, Ivan Tejeiro Izquierdo via Mailman-Users wrote:

Is a redhat package. Nothing in error log of mailman and check_perms executed 
and fixed problems but same issue.


If it's not a permissions issue, it's probably a RedHat issue and should 
be reported to RedHat. Again, see https://wiki.list.org/x/12812344


--
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] Re: Problem after upgrade to mailman-2.1.30-1

2024-09-20 Thread Mark Sapiro

On 9/20/24 04:57, Ivan Tejeiro Izquierdo via Mailman-Users wrote:

Hi Mark:
After upgrade to mailman-2.1.30-1 when I create a new list, the list is created 
correctly in the alias file and in virtual-mailman file, but the new list does 
not work until I run the command /usr/lib/mailman/bin/genalises. Any ideas? 
Thank you very much as always for your invaluable help.



Is this a permissions issue? Try running 
/usr/lib/mailman/bin/check_perms Is there anything in Mailman's `error` 
log about this?


If that doesn't help, since this appears to be a vendor packaged 
Mailman, see https://wiki.list.org/x/12812344


--
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] Re: Mailman 2 Issues With Processing Email

2024-09-10 Thread Mark Sapiro

On 8/30/24 12:00, chris.puchalski--- via Mailman-Users wrote:

I have an issue with mailman v2 where messages are coming in to the service but 
not coming out. The error logs report:

Aug 30 18:47:26 2024 (9118) send_digests() failed: maximum recursion depth 
exceeded

and an occasional:

Failed to unlink/preserve backup file: *.bak



Presumably the actual name is something like 
1723478221.1125858+635319880943e83741c1a40db63b5de299575811.bak with 
different hex digits and not literally *.bak. What is the next line 
which is the actual reason?




From the oldest recoverable logs (before they rotated and got removed) I also 
have:


Aug 26 03:15:26 2024 (27646) send_digests() failed: maximum recursion depth 
exceeded
Aug 26 03:15:26 2024 (27646) Uncaught runner exception: maximum recursion depth 
exceeded while pickling an object
Aug 26 03:15:26 2024 (27646) Traceback (most recent call last):
   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
 self._onefile(msg, msgdata)
   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
 keepqueued = self._dispose(mlist, msg, msgdata)
   File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in 
_dispose
 more = self._dopipeline(mlist, msg, msgdata, pipeline)
   File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in 
_dopipeline
 sys.modules[modname].process(mlist, msg, msgdata)
   File "/usr/lib/mailman/Mailman/Handlers/ToOutgoing.py", line 55, in process
 outq.enqueue(msg, msgdata, listname=mlist.internal_name())
   File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 110, in enqueue
 msgsave = cPickle.dumps(_msg, protocol)
RuntimeError: maximum recursion depth exceeded while pickling an object



This says that the specific message object can't be pickled, probably 
because it contains some circular reference. I don't know how that could 
happen.


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


[Mailman-Users] Re: static files not found in Mailman3 Web

2024-09-10 Thread Mark Sapiro

On 9/9/24 07:18, Anatoly Oreshkin wrote:


I have installed Mailman3 Core 3.3.8 + Mailman Web from AlmaLinux 9 distro.
I have problems with static files in Mailman Web.


First, this list is for Mailman 2.1. The appropriate list for Mailman 3 
is mailman-us...@mailman3.org 
<https://lists.mailman3.org/mailman3/lists/mailman-us...@mailman3.org/>




After starting development server at http://127.0.0.1:8000/

DJANGO_SETTINGS_MODULE= settings
MAILMAN_WEB_CONFIG= /etc/mailman3/settings.py
PYTHONPATH= /etc/mailman3

I'm pointiong browser on http://127.0.0.1:8000/ address and getting
intitial Mailman Web page like this:

http://127.0.0.1:8000/mailman3/lists/


You need to access Mailman via a web server that proxies mailman 
requests to 127.0.0.1:8000 and which has an alias for static/ that 
points to /opt/mailman/web/static.


See 
https://docs.mailman3.org/en/latest/install/virtualenv.html#nginx-configuration 
or 
https://docs.mailman3.org/en/latest/install/virtualenv.html#apache-configuration 
for examples.


--
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] Re: Digests are not sent

2024-09-10 Thread Mark Sapiro

On 9/10/24 01:08, Christian Buser via Mailman-Users wrote:


I’ll let the provider know about your answer, but I have an additional question 
here.

The list’s language on that cPanel page is set to German (preferred_language), 
available_languages are set to German, French and English. Should that not also 
cover non-ascii charcters in the „From:“-header?



I'm not sure about cPanel, but in MM 2.1.39 as distributed by the GNU 
Mailman project, if the list's preferred language is German, its 
character set is iso-8859-1, so I don't know what the issue is.




Am 10.09.2024 um 02:55 schrieb Mark Sapiro :

The log I received contains tracebacks like
```

...

admin(24054):   File "/usr/lib64/python2.7/email/utils.py", line 168, in 
getaddresses
admin(24054): fieldvalues = [unicode(v) for v in fieldvalues]
admin(24054): UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in 
position 8: ordinal not in range(128)



The above is where the error occurs, but this is apparently an older 
version of Python. The code in email/utils.py in Python 2.7.18 contains 
nothing like


fieldvalues = [unicode(v) for v in fieldvalues]

In any case, the byte 0xe4in iso-8859-1 is 'ä'

--
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] Re: Disabling digests

2024-09-10 Thread Mark Sapiro

On 9/10/24 01:31, Christian via Mailman-Users wrote:


If I disable digests, so that new subscribers cannot choose how to receive messages - 
what hapens to existing "digest subscribers"? Are they automatically merged 
into the normal subscribers or do they just no longer receive anything from that list 
because no digest is created?



If you actually do it, you will receive a warning saying

You have digest members, but digests are turned
off. Those people will not receive mail.

and listing the digest members. I.e., if the list is set to digestable = 
No, any digest members will not receive mail.



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


[Mailman-Users] Re: Digests are not sent

2024-09-09 Thread Mark Sapiro

On 9/8/24 20:56, Mark Sapiro wrote:


Find the error and traceback in Mailman's `error` log. See 
https://wiki.list.org/DOC/Mailman%20and%20CPanel for more information.



The log I received contains tracebacks like
```
admin(24054): Traceback (most recent call last):
admin(24054):   File 
"/usr/local/cpanel/base/3rdparty/mailman/scripts/driver", line 117, in 
run_main

admin(24054): main()
admin(24054):   File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admin.py", line 223, in main

admin(24054): change_options(mlist, category, subcat, cgidata, doc)
admin(24054):   File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admin.py", line 1474, in 
change_options

admin(24054): gui.handleForm(mlist, category, subcat, cgidata, doc)
admin(24054):   File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/Gui/GUIBase.py", line 181, 
in handleForm

admin(24054): self._setValue(mlist, property, val, doc)
admin(24054):   File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/Gui/Digest.py", line 148, in 
_setValue

admin(24054): status = mlist.send_digest_now()
admin(24054):   File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/Digester.py", line 60, in 
send_digest_now

admin(24054): ToDigest.send_digests(self, mboxfp)
admin(24054):   File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/ToDigest.py", line 
157, in send_digests

admin(24054): send_i18n_digests(mlist, mboxfp)
admin(24054):   File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/ToDigest.py", line 
258, in send_i18n_digests
admin(24054): addresses = 
getaddresses([Utils.oneline(msg.get('from', ''), lcset)])
admin(24054):   File "/usr/lib64/python2.7/email/utils.py", line 168, in 
getaddresses

admin(24054): fieldvalues = [unicode(v) for v in fieldvalues]
admin(24054): UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 
in position 8: ordinal not in range(128)

```

The issue is this is an English language list with the list's charset = 
ascii and there is a message in the digest mbox with a non-ascii display 
name in its From: header.


In cPanel the digest mbox is at 
/usr/local/cpanel/3rdparty/mailman/lists//digest.mbox - you 
need to edit that file and remove ant non-ascii from From: headers.


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


[Mailman-Users] Re: Digests are not sent

2024-09-08 Thread Mark Sapiro

On 8/31/24 06:30, Christian Buser via Mailman-Users wrote:

Hi all

Mailing list running in Mailman 2.1.39 / cPanel.

The digest option seems not to work. Users are complaining that they 
don’t receive the daily digests, and trying to send a digest manually 
with "send_digest_now" results in the following error message:


Bug in Mailman version 2.1.39



Find the error and traceback in Mailman's `error` log. See 
https://wiki.list.org/DOC/Mailman%20and%20CPanel for more information.


If you don't have enough access to see the logs, you will have to get 
help from your cPanel host.


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


[Mailman-Users] Re: spamming

2024-08-08 Thread Mark Sapiro

On 8/7/24 15:45, Jim Dory wrote:


Hello - started getting someone reporting to yahoo the subscription 
confirmation email as spam which can cause yahoo to block our list if 
enough reports come to it. So I've revisited this captcha thing again. 
I've input the keys into mm_cfg.py and added





to the lists/listname/listinfo.html.  When trying to subscribe, the very 
obnoxious squares appear asking to check whatever box contains 
whatever.. many are hard to see. But if I go ahead and check the boxes I 
get a green checkmark in the I'm not a robot square. I hit subscribe, 
and I get "reCAPTCHA validation failed: invalid-input-response "



The obnoxious squares are a Google reCaptcha thing. You won't always get 
them, but Mailman has no control over when you do.


If you get the green check in the I'm not a robot square, your 
selections were accepted, however Google didn't return success.


Are you using reCaptcha v3. If so, you need v2. Mailman's reCaptcha 
support requires v2.


Also, V2 may not do the squares thing.


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


[Mailman-Users] Re: features in Mailman 3 compared to its predecessor, Mailman 2

2024-08-03 Thread Mark Sapiro

On 7/30/24 12:30, Trophy Developers Uganda Best Web Designers wrote:

What are some key improvements and features in Mailman 3 compared to its 
predecessor, Mailman 2?


You might get more community response to this by joining the 
mailman-us...@mailman3.org list at 
https://lists.mailman3.org/mailman3/lists/mailman-us...@mailman3.org/ 
and posting there.


From my point of view the main issue is Mailman 2.1 is past end of life 
and requires Python 2 which is also past end of life. Thus it is not 
receiving any updates.


Much of what's new and improved in Mailman 3 is "under the hood". 
Whereas mailman 2.1 is a monolithic application incorporating the core 
engine, the web UI and archiving, Mailman 3 consists of a core engine 
along with a few command line tools and exposes a REST API supporting 
all the management functions. The GNU Mailman project also provides 
Django based web interfaces for archiving (HyperKitty) and list 
management (Postorius).


It was always our hope that others might develop and make available 
alternative web interfaces. EMWD.com actually did that with their 
Affinity and Empathy list management and archiving applications, but due 
in part to the untimely death of EMWD's principal, those remain 
proprietary products of EMWD and aren't available to others.


As far as features are concerned, MM3 stores persistent data in a true 
database rather than Python pickles. It fully supports lists in multiple 
domains (MM2.1 required list names to be globally unique). MM3 has a 
concept of users, a user being a person, perhaps with multiple email 
addresses, and users can manage all their subscriptions in one place.


HyperKitty is more functional than pipermail. It has built in search 
capabilities and allows one to read posts, reply and start new threads 
directly from the web UI without using email at all. It is not quite a 
true web forum in that it doesn't support push notifications when 
someone else posts to a topic of interest, but other than that, it's close.


There are a few MM2.1 features not yet in MM3. MM3 does not support 
subscribing to topics and it does not support MM2.1's sibling list 
feature, but MM3 is under active development so feature requests can be 
implemented.


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


[Mailman-Users] Re: Installing Mailman on Ubuntu

2024-07-20 Thread Mark Sapiro

On 7/20/24 6:28 AM, Dennis Putnam wrote:
I'm trying to install mailman 3 on Ubuntu. It seems that mailman is not 
in any of the Ubuntu repositories. If there is a repo, I can't find it. 
Instead I cloned the github source. However, there is no documentation, 
that I can find, that explains what to do with the source 
(https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/install.html). Can someone point me to a repo for Ubuntu or documentation on how to compile and install mailman 3 from source?


The Ubuntu packages should be the same as the Debian packages - see 
https://docs.mailman3.org/en/latest/install/distro.html#installing-on-debian 
- however, we don't recommend those packages as they are somewhat out of 
date. We can provide better support via the mailman-us...@mailman3.org 
list if you follow 
https://docs.mailman3.org/en/latest/install/virtualenv.html


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

2024-07-17 Thread Mark Sapiro

On 7/17/24 2:17 AM, Christian Buser via Mailman-Users wrote:


Our provider told us that he did an update of cPanel earlier, but such 
an action should not break anything on the server (at least I, as a 
non-professional, think so).


This, together with the fact that I have been unable to duplicate the 
issue is more strongly suggestive that this is a cPanel Mailman 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...@mail-archive.com


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

2024-07-15 Thread Mark Sapiro

On 7/15/24 3:16 PM, Krone, Elizabeth C via Mailman-Users wrote:

Christian,

We have received the same error message with one of our email lists but not the 
others. The guidance is the same:
Please inform the webmaster for this site of this problem. Printing of 
traceback and other system information has been explicitly inhibited, but the 
webmaster can find this information in the Mailman error logs or the web server 
logs.



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


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


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

2024-07-15 Thread Mark Sapiro

On 7/15/24 5:24 AM, Manos Krokos wrote:

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"



I am unable to duplicate this, even when posting with a subject 
containing a utf-8 encoded emoji that can't be encoded as iso-8859-1.


It may be a cPanel issue as both users who've reported in this thread 
have cPanel mailman.


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

2024-07-14 Thread Mark Sapiro

On 7/14/24 10:23 AM, Christian Buser wrote:

Here is the text of "Errormessage". It includes the original message as well as 
a message to delette it from the queue:


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.


That's the expected held message notice to the admins from 
templates/de/postauth.txt except something is wrong in the installation 
because all those %(listname)s, %(hostname)s, etc. should be replaced 
with values.


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

2024-07-14 Thread Mark Sapiro

On 7/14/24 10:23 AM, Christian Buser via Mailman-Users wrote:


Here is the text of "Errormessage". It includes the original message as well as 
a message to delette it from the queue:


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.


That's the expected held message notice to the admins from 
templates/de/postauth.txt except something is wrong in the installation 
because all those %(listname)s, %(hostname)s, etc. should be replaced 
with values.



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


[Mailman-Users] Re: Mailman subscribe confirmation

2024-07-05 Thread Mark Sapiro

On 7/5/24 09:45, Bill Cole wrote:


One thing to check is that URL. If your webserver always redirects http 
to https but Mailman thinks its URL starts with http:// you will have 
problems like this. The solution is switch Mailman to use the https URL.



And to do that, set

DEFAULT_URL_PATTERN = 'https:///mailman/'

(substituting for  of course) in mm_cfg.py and then fun 
fix_url, see https://wiki.list.org/x/4030616


--
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] Re: Read-only file system

2024-07-01 Thread Mark Sapiro

On 6/30/24 17:27, John wrote:


line 136, in enqueue fp = open(tmpfile, 'w') IOError: [Errno 30]
Read-only file system:
'/usr/local/mailman/qfiles/in/1719765141.057583+cb104828efdd0023821ead337d3d60f72e949690.pck.tmp'

Setting /usr/local/mailman/qfiles/in/ to have write permissions for all didn’t 
fix the problem.



It is not clear what directory is the mount pount for this, but it is 
mounted read-only. No one, not even root, can write to it. Look at 
/etc/fstab


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


[Mailman-Users] Re: List_Members from Command Line Permission

2024-06-28 Thread Mark Sapiro

On 6/28/24 9:02 AM, Dennis Putnam wrote:
My apologies if this is a duplicate but since I have received nothing 
back I am assuming this did not get through the first time. I am 
guessing I need to somehow provide a password but the list_members 
command does not seem to have that as an option.



There are many reasons why you might not receive a response to a post 
within 2 days. If you are really concerned that your post didn't reach 
the list, you can always check the archives where you would find it at 
https://mail.python.org/archives/list/mailman-users@python.org/message/46IJ7BKJSP2FNDCWV4O2XIERPHP256LK/



I am developing a script that gets a list of members from a mailing list 
(mailman 2.1.15). I'm using popen (in python 2.7.5) to issue the 
command. However, even though I am running it as admin for that list, 
I'm getting a permissions error. How/what do I need to set in order to 
run that command?


def getUsers():
     "This function returns a list of users from mailman"
p=subprocess.Popen(["/usr/lib/mailman/bin/list_members","listname"],stdout=subprocess.PIPE)
     lines=p.stdout.readlines()
     p.wait


The above should be `p.wait()`, not `p.wait` and should precede the 
`lines=p.stdout.readlines()` statement.



     return(lines)


For the permissions issue, you need to run this as the Mailman user or 
possibly the web server user, i.e. a user that has permission to read 
the list's config.pck.


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


[Mailman-Users] Re: [EXTERNAL] Re: Re: problem with non-member Sender rules

2024-06-27 Thread Mark Sapiro

On 6/27/24 8:20 AM, Laack, Andrea P. via Mailman-Users wrote:

Straight redirect with an alias.


That shouldn't affect the relevant headers used to determine the sender 
for *_these_nonmembers. Can you give a specific example of the issue and 
what you are trying to accomplish. You say "our servers send emails to 
root@". Perhaps this issue has something to do with specific 
From: or Sender: headers in these mails.


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


[Mailman-Users] Re: [EXTERNAL] Re: problem with non-member Sender rules

2024-06-27 Thread Mark Sapiro

On 6/27/24 4:15 AM, Laack, Andrea P. via Mailman-Users wrote:

They are sent to a mail group which goes to all of the system admins.


How does this work. Is this a straight redirect as with an alias, or is 
some process involved?


The *_these_nonmembers rules test the one address returned by the 
Message.get_sender() method. See the doc string at 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Message.py#L115 
for how this is determined and how it is affected by the 
mm_cfg.USE_ENVELOPE_SENDER setting.


--
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] Re: lots of bounces after server move

2024-06-24 Thread Mark Sapiro

On 6/24/24 12:13, Jim Dory wrote:
I just had my hosting company move our mailing list to an updated 
server. Now I'm suddenly getting a lot of bounces of the sort:


550 5.4.1 Recipient address rejected: Access denied


This one could be because the recipient server doesn't like the new 
server IP.




and
552-5.2.2 The recipient's inbox is out of storage space and inactive.
and
550-5.1.1 The email account that you tried to reach does not exist.
etc.



These look like legitimate bounces, although if they weren't bouncing 
before the move, it's unclear why they'd be bouncing now.



Before I start removing those user's email accounts.. what might I be 
missing? Perhaps something in the new server is triggering the "550 
5.4.1 recipient address rejected" (a local company's employees mostly)



If these are all from one recipient server, it would be worth contacting 
that server's admin to see if they will whitelist you. Also, setting


VERP_PROBES = Yes

in mm_cfg.py may keep these members from having delivery disabled and 
being removed if the probes don't bounce.



--
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] Re: Bounce Score information

2024-06-09 Thread Mark Sapiro

On 6/9/24 9:34 AM, Bruce Kaiser wrote:
Thanks for the responses.  It's not going to be possible to get 
command-line access for us.
All access is via cPanel pages.  I assume that these HTML pages are part 
of the Mailman 2.1 rather than an interface designed by the cPanel folks.

Is that correct?



The admin, admindb, listinfo, etc. pages are Mailman 2.1 pages with 
cPanel mods (mostly invisible) to support their list naming convention. 
The cPanel pages for creating lists and ? are cPanel specific.


See https://wiki.list.org/DOC/Mailman%20and%20CPanel


...
A small suggestion would be to modify the Membership List to show [All] 
addresses in addition to subsets by letter [A], [B], etc.


To see All, set admin_member_chunksize on the General Options page to a 
value greater than the number of list members. To go back to subsets, 
set it to a value less than the number of list members.


> Where is the correct place to make suggestions going forward?

Mailman 2.1 is not being updated. See 
https://mail.python.org/archives/list/mailman-annou...@python.org/message/TJLEX52N2ARNOQBC2ZNYMNV5U226R5NM/


--
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] Re: Bounce Score information

2024-06-07 Thread Mark Sapiro

On 6/6/24 11:07 AM, Russell Clemings wrote:

If you have shell (command line) access there's a script for that
(get_bounce_info.py) here:

https://www.msapiro.net/scripts/

The bounce log is in mailman/logs but again I think you'll need the command
line to get there.

Mark can correct me if I'm wrong on either.



That's all correct.



On Thu, Jun 6, 2024 at 10:08 AM Bruce Kaiser 
wrote:


I am new administrator for several mail-lists, using GNUMailman 2.1 via
our service provider.

It seems that although some addresses have bounced a number of times,
none are being suspended.



There are a few possibilities.

If the site has set VERP_PROBES = Yes in mm_cfg.py, when a user's score 
reaches threshhold, a probe message is sent and delivery is only 
disabled if the probe bounces. It is possible that messages bounce 
because of DMARC or other reasons and the probes don't bounce.


If your Mailman is at least 2.1.18, you should ensure that under Privacy 
options... -> Sender filters that dmarc_moderation_action is Munge From 
or Wrap Message and dmarc_quarantine_moderation_action is Yes. See 
https://wiki.list.org/DEV/DMARC


It's possible the list's Bounce processing settings are not appropriate 
for the list. For low volume lists, the default bounce_info_stale_after 
= 7 days may be too short. It should be at least as long as the longest 
expected interval between posts.



Is there a way to obtain a list of the current bounce scores and bounce
status for each of the members of a list?



This information isn't available via the web UI. See above.

--
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] Re: from_is_list munging not working

2024-05-19 Thread Mark Sapiro

On 5/19/24 6:03 PM, Russell Clemings wrote:

OK, so the "pipeline" section in the test list config I sent earlier was
not in the config for the list that was munging properly. I removed it from
the test list config and now it's munging too.



Had I looked more carefully at the config you posted initially, I might 
have seen that your list had a pipeline attribute and that it was based 
on an older version and was missing the WrapMessage handler which is why 
the From: wasn't munged.


--
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] Re: from_is_list munging not working

2024-05-18 Thread Mark Sapiro

On 5/18/24 9:43 PM, Russell Clemings wrote:


I sent the post from my Yahoo account with no cc's and it was received by
my Gmail account, albeit in spam. My Yahoo account bounced the incoming
post from the list as did Comcast. The list owner (me) got bounce notices
from Mailman for both.



Did those notices have a DSN attached that included the headers of the 
bounced mail, and if so, what did the From: look like. And were the 
bounces for DMARC or something else?


Is Exim DKIM signing the outgoing mail. Does list.domain publish an SPF 
record, and if the IP changed does the SPF still allow the domain?




This is a test list. If nothing else from this strikes you as worth digging
into some more, I'll just wait until we have some on a real list and see if
anything looks different there.


This may be an issue with cPanel's Mailman. Try setting Privacy 
options... -> Sender filters -> dmarc_moderation_action to Munge From. 
It should be irrelevant when General Options -> from_is_list = Munge 
From, but I don't know what cPanel might be doing.


--
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] Re: from_is_list munging not working

2024-05-18 Thread Mark Sapiro

On 5/18/24 6:46 PM, Russell Clemings wrote:

I just moved my Mailman lists to new hardware (or rather my ISP did) and
I've spent several hours now fixing the resulting problems.

Here's one I can figure out though -- I've got "from_is_list" set to "Munge
From" and it's not munging. Specifically, I sent a message to the list from
a yahoo.com account and the "From" was:

Russell Clemings  via
<https://support.google.com/mail/answer/1311182?hl=en> list.domain

instead of

Russell Clemings via (listname) 

I don't see anything in the logs and the config.pck looks pretty much
identical to the old version.

I've dumped the new config.pck into the attached file. Did I miss something
stupid (again)?



Your config looks OK. Was this message received via googlmail? Was it 
actually from the list or was it perhaps a direct CC:? Did the From: 
actually contain the 
<https://support.google.com/mail/answer/1311182?hl=en> link?


What changed in the move to new hardware? Is all the software such as 
Mailman and the outgoing MTA the same code or what?


Just guessing, but it looks like tis message may have been sent directly 
th a googlemail user, not from the list, gan google, for reasons alluded 
to at <https://support.google.com/mail/answer/1311182?hl=en>, added the 
via stuff.


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


[Mailman-Users] Re: recovering mailing list members and .cfg files

2024-05-13 Thread Mark Sapiro

On 5/13/24 02:20, incoming-pythonli...@rjl.com wrote:

I have a backup of an older mailman 2 system that is no longer
bootable.  In order to recover the mailing lists I am looking to get
something like the output to list_members -f and the .cfg files if
possible.  I have access to systems with python 2.7.18 and python 2.6.6
installed.

I tried running list_members and got the following error:

Traceback (most recent call last):
   File "./list_members", line 73, in 
     import paths
   File "/oldroot/usr/lib/mailman/bin/paths.py", line 56, in 
     import japanese
ImportError: No module named japanese



If you are doing this on Python 2.7.18, this shouldn't be happening. I 
don't know what version of paths.py you have, but the current one has 
code beginning at 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/misc/paths.py.in#L38 
which should be setting jaok and kook = True and the imports of 
japanese, korean and korean.aliases should be conditional on those being 
False.


In any case, you can just remove those imports from 
/oldroot/usr/lib/mailman/bin/paths.py.


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


[Mailman-Users] Re: New mailman instance

2024-05-08 Thread Mark Sapiro

On 5/8/24 10:55, Ivan Tejeiro Izquierdo wrote:

Correct, perfect!!!, thank you so much Mark, you are a crack.

Do you recomended migrate 2.1 to 3?, I have some automatizes shell scripts for 
new list, del users etc, and I am scared for do it.


There are a few Mailman 2.1 features not yet in Mailman 3, notably 
sibling lists. You can run Mailman 2.1 and Mailman 3 in parallel on the 
same server. I recommend installing Mailman 3 via 
https://docs.mailman3.org/en/latest/install/virtualenv.html and testing 
your things. Mailman 3 is definitely the path going forward.


--
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] Re: New mailman instance

2024-05-08 Thread Mark Sapiro

On 5/8/24 00:51, Ivan Tejeiro Izquierdo wrote:

POSTFIX_STYLE_VIRTUAL_DOMAINS = 'listas.colegioderegistradores.es'


This is the issue. POSTFIX_STYLE_VIRTUAL_DOMAINS is a list of strings, 
not a string. It needs to be


POSTFIX_STYLE_VIRTUAL_DOMAINS = ['listas.colegioderegistradores.es']

--
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] Re: New mailman instance

2024-05-07 Thread Mark Sapiro

On 5/7/24 02:41, Ivan Tejeiro Izquierdo wrote:

2.1.29-12 version.

Sorry mark, I don't understand what else I can review.


What do you have in both Defaults.py and mm_cfg.py for 
DEFAULT_EMAIL_HOST, DEFAULT_URL_HOST, POSTFIX_STYLE_VIRTUAL_DOMAINS and 
all add_virtualhost() statements? Also, on the list's General Options 
page what is the setting for


Host name this list prefers for email.
(Details for host_name)

--
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] Re: Editing Mailman's text files

2024-05-07 Thread Mark Sapiro

On 5/7/24 12:15, j...@janalexander.ca wrote:

From  the FAQ at link above:


No link, but presumably https://wiki.list.org/x/4030605


How do I know which are "archive related templates" and "non-archive related 
templates"?


Archive related templates are those used to build the archive web pages, 
i.e., those at a pipermail URL if the archive is public or at a 
mailman/private URL if the archive is private.



I did change a text file (Notice of post refused by moderator) in the "Edit the 
public HTML pages and text files," and when it didn't work, changed it back to the 
original, and now it doesn't work. It must have been an archive related template.


No, it isn't and none of the templates you can edit via the "Edit the 
public HTML pages and text files" are, not even the Private archive 
login page.



I have a hosting company for this mailist. Do I ask them to reboot the list?


Without access to the mailman logs and file system, I can't say what the 
issue might be, but it has nothing to do with archive related templates. 
You need to ask the hosting company to look at this, but 'rebooting' the 
list almost certainly won't help.



How can I know what I can and can't change in the future?


Given that editing a template via the "Edit the public HTML pages and 
text files" didn't work in this case, it probably won't work at all, but 
again, someone with admin access to the mailman server has to 
diagnose/fix this. With luck, your hosting company can do this. If they 
need help, they can get it here.


--
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] Re: New mailman instance

2024-05-06 Thread Mark Sapiro

On 5/6/24 11:11, Ivan Tejeiro Izquierdo wrote:

Yes,I create a list with the newlist command specifying the same domain and the 
list is created correctly with that domain, but the virtual-mailman file is not 
created, only the virtual-mailman.db and the aliases and aliases.db



What Mailman version is this? In the current version, the only way I see 
this happening is if the _isvirtual test at 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/MTA/Postfix.py#L148 
returns False. Then the test at 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/MTA/Postfix.py#L359 
doesn't update virtual-mailman, but since virtual-mailman exists, the 
test at 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/MTA/Postfix.py#L81 
passes and _update_maps updates virtual-mailman.db from the existing 
virtual-mailman.


I.e., the list's `host_name` must not be in `POSTFIX_STYLE_VIRTUAL_DOMAINS`.

--
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] Re: New mailman instance

2024-05-06 Thread Mark Sapiro

Mark Sapiro wrote:

Is the list's domain listed in POSTFIX_STYLE_VIRTUAL_DOMAINS in mm_cfg.py?


On 5/5/24 23:58, Ivan Tejeiro Izquierdo wrote:

Yes Mark, and in add_virtualhost.


Does the domain in POSTFIX_STYLE_VIRTUAL_DOMAINS match the list's 
host_name as shown on the list admin General Options page?


--
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] Re: New mailman instance

2024-05-03 Thread Mark Sapiro

On 5/3/24 04:12, Ivan Tejeiro Izquierdo wrote:

Hello:
I have an instance of mailman 2 on a red hat server that has been running 
without problems for a long time. Now I need to set up a test environment. I 
have cloned that server and I have modified the mmcfg.py removing the name of 
the old lists and I have put the name of the new list, as well as in postfix. 
The problem that arises is that when creating a new list, the alias.db, alias 
and virtual-mailman.db files are autogenerated but NOT the virtual-mailman file.
Any ideas?.



Is the list's domain listed in POSTFIX_STYLE_VIRTUAL_DOMAINS in mm_cfg.py?

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


[Mailman-Users] Re: Retaining Sender's Email ID

2024-05-02 Thread Mark Sapiro

On 5/2/24 04:25, Francis Jayakanth via Mailman-Users wrote:

Hi, Please let me know how to implement the following requirement.

I'm using Mailman 2.1.26  with Postfix MTA and smtp.office365.com for email 
relay. The issue is that the sender's email ID is rewritten with an email ID 
used for office365 authentication in the approved messages. My question is, is 
it possible to retain the sender's email ID in the approved messages? If yes, 
what changes are needed in Postfix or MM config.


I don't know if this is possible or not, but first you would need to 
find from office365.com if this is possible and if so, what they require 
in the SMTP transaction to accomplish it. Then we could look at what 
Mailman/Postfix can do to enable it.


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


[Mailman-Users] Re: all gmail subscribers removed - 'disabled address'

2024-05-01 Thread Mark Sapiro

On 4/30/24 23:02, Joly MacFie wrote:

I have a small mailman one-click install running on a VPS on Dreamhost.

I have struggled to make it DKIM / SPF / DMARC compliant, and I thought I
was winning, but, just now, every single gmail subscriber was removed
(disabled address)

I have it set 'munge from'


What is set to 'munge from'? is it General Options -> from_is_list or 
Privacy options... -> Sender filters dmarc_moderation_action?


If the former, I don't know what the issue is, but if the latter, it's 
probably because although gmail publishes a DMARC policy of none, it 
actually enforces a policy like reject on mail that is From: the 
gmail.com domain. If your Mailman 2.1 is new enough (>= 2.1.30) add 
'^.*@gmail\.com$' to dmarc_moderation_addresses to apply 'munge from' to 
mail From: gmail.com. For older Mailman you have to apply 'munge from' 
unconditionally by setting General Options -> from_is_list.


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


[Mailman-Users] Re: Admin Requests Time Out

2024-04-27 Thread Mark Sapiro

On 4/27/24 11:03, Dennis Putnam wrote:


Anyway, here is the issue. I don't have a static IP address so I am 
using dyndns-ip.com. Most of the links on the admin page uses just 
'dap002' as the URL host which uses only the LAN. However, the submit 
and a couple of other links use dyndns-ip.com in the URL which sends it 
out over the WAN. I never had a problem with that until now. It has been 
eons since I've configured mailman so I've pretty much forgotten 
what/how I did it. I guess for the admin pages only, I need to make all 
the links just dap002 since I only access them on the LAN. The public 
pages still need to use dyndns-ip.com in the URL. Is there a way to do 
that?



You could try creating a file containing only the line
```
web_page_url = 'http://dap002/LISTNAME/'
```
and then running Mailman's
```
bin/config_list -i path/to/that/file LISTNAME
```
This will probably work, but may have undesired effects such as trying 
to post to that URL from a public page. You just have to try it and see.


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


[Mailman-Users] Re: Admin Requests Time Out

2024-04-24 Thread Mark Sapiro

On 4/24/24 08:36, Dennis Putnam wrote:

On 4/23/2024 2:31 PM, Mark Sapiro wrote:


Look in the logs of your web server.

Look at the source of the admindb page you are trying to submit. In 
particular you are looking for a FORM tag like

```

```
Does that URL look correct? If not see lines 67-95 at 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Defaults.py.in



Hi Mark,

It looks right to me. This is all I see:

192.168.0.196 - - [24/Apr/2024:11:30:03 -0400] "GET 
/mailman/admindb/cufsalumni HTTP/1.1" 200 2091
192.168.0.196 - - [24/Apr/2024:11:30:03 -0400] "GET /favicon.ico 
HTTP/1.1" 200 5882
192.168.0.196 - - [24/Apr/2024:11:30:05 -0400] "POST 
/mailman/admindb/cufsalumni HTTP/1.1" 200 6964





Your POST gets a 200 status. If it doesn't update it's most likely 
because the URL is http and is being redirected to https and losing the 
POST data. See https://wiki.list.org/x/4030602 - you need to ensure the 
scheme in DEFAULT_URL_PATTERN is https, not http.


Although that said, I don't know why that would cause a timeout.

Again, look at the source of the admindb page in your web browser. Look for
```

```
If the scheme is http, the above applies and you need to set
```
DEFAULT_URL_PATTERN = 'https://%s/mailman/'
```
in mm_cfg.py

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


[Mailman-Users] Re: Admin Requests Time Out

2024-04-23 Thread Mark Sapiro

On 4/23/24 06:55, Dennis Putnam wrote:
I am trying to submit an admin request (rejecting an email) but when I 
click "submit" it times out. I don't see anything in the log file (maybe 
I need to look somewhere else). Restarting the service does not help nor 
does rebooting the system. The status appears to me to be correct:


Look in the logs of your web server.

Look at the source of the admindb page you are trying to submit. In 
particular you are looking for a FORM tag like

```

```
Does that URL look correct? If not see lines 67-95 at 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Defaults.py.in


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


[Mailman-Users] Re: Need help diagnosing an intermittent DMARC mung failure

2024-04-20 Thread Mark Sapiro

On 4/20/24 18:32, Jim P. via Mailman-Users wrote:

On Sat, 2024-04-20 at 20:08 -0500, Grant Taylor via Mailman-Users wrote:


Are there any log entries, or debugging, that could be enabled /
turned up to help diagnose this?


The vette log should have info about the dmarc lookups or lack of dmarc
for a domain.



In addition, Mailman's `error` log will have entries when there are DNS 
exceptions in looking up DMARC policy, but all these result in 
mitigations being applied as though the policy was `reject`.



--
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] Re: searchable archive

2024-04-18 Thread Mark Sapiro

On 4/18/24 08:08, Laack, Andrea P. via Mailman-Users wrote:

I am setting up a Mailman 2 instance and am looking for a searchable archiver.  
Is there anything available for Mailman 2 that provides searching?



See https://wiki.list.org/x/4030514

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


[Mailman-Users] Re: Create a list with multiple admins?

2024-04-14 Thread Mark Sapiro

On 4/14/24 19:12, Barry S. Finkel wrote:


For MM2, Mark gave me a patch to allow multiple owners;
only the first one in the string was checked.  But that
was not a problem for me.  Anyone who wants can contact me
off-list, and I will try to see if I have that patch in my
archives.  I no longer have access to that Mailman system.


My post with the patch attached is at 
https://mail.python.org/archives/list/mailman-users@python.org/message/F225LUWUCCGDJVGALHCWBNJTARWDVO66/


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


[Mailman-Users] Re: Admin Panel Spam Filters: Filtering Message Body for Keywords?

2024-04-14 Thread Mark Sapiro

On 4/14/24 08:34, Michael Reeder -- Hygeia MS wrote:

Hello All,

**Question:  Is there a way to use [Spam filters] (or any other setting 
in the GUI admin panel) to filter for keywords in the body of the 
incoming email message?**



No. Those only filter against message headers, not the message body.

To filter based on the message body requires a custom handler. There is 
a FAQ artile at https://wiki.list.org/x/4030615 that discusses this, but


My situation is that I don't have access to the back-end to set up any 
more sophisticated filters (Dream Host) so I need to ONLY utilize tools 
available through the web GUI administrative panel.



implementing a custom handler requires more access than you have.


Online examples of how to do this are strangely hard to find, other than 
discussions of how to look at headers for spam filter scores.



In the GUI see Privacy options... -> Spam filters -> Details for 
header_filter_rules if you haven't already.



**Question:  Is there a way to use [Spam filters] (or any other setting 
in the GUI admin panel) to filter for keywords in the body of the 
incoming email message?**


No.

--
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] Re: Noobie: Where's default_moderation_action?

2024-04-12 Thread Mark Sapiro

On 4/12/24 12:10, kevin--- via Mailman-Users wrote:


How can I avoid these actions and default to 'moderation required' for all new 
subscribers? I found something about the 'default_moderation_action' variable, 
but I can't find this in the web interface pages for Mailman 2.1.39. Am I 
overlooking it somewhere?



Privacy options... -> Sender filters -> default_member_moderation


--
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] Re: Error member gets when sending to one of my lists?

2024-03-18 Thread Mark Sapiro

On 3/18/24 00:55, Odhiambo Washington wrote:


Ah. I thought they were running MM2.



A very reasonable thought considering this is a Mailman 2 support list.

Also, as Steve points out, the error probably doesn't come from LMTP 
runner(aiosmtpd) which issues a different message.


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


[Mailman-Users] Re: Error member gets when sending to one of my lists?

2024-03-17 Thread Mark Sapiro

On 3/17/24 06:51, Odhiambo Washington wrote:

On Sun, Mar 17, 2024 at 2:46 PM Adam Morris  wrote:



SMTP error from remote mail server after end of data:

550 Maximum line length exceeded (see RFC 5322 2.1.1).




That error (550 - Permanent failure) is generated by your MTA (Postfix?,
Exim4?) and you need to address it there.


It could be generated by Mailman's LMTP runner. I.e., the MTA attempts 
delivery to Mailman via LMTP and Mailman's LMTP runner rejects the 
message and the MTA returns that rejection.


This issue <https://gitlab.com/mailman/mailman/-/issues/1133> may be 
relevant.


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


[Mailman-Users] Re: Create a list with multiple admins?

2024-03-14 Thread Mark Sapiro

On 3/14/24 06:15, Ralf Hildebrandt via Mailman-Users wrote:

Using mailman-2.6.x:


???


Is it possible to create a list (via CLI or the WUI) which has
multiple owner addresses?


The normal CLI and web UI for both MM 2.1 and MM 3 only allow creating a 
list with a single owner, but you can then add as many owners as you like.


For MM 2.1 you can do this in the web admin UI or via Mailman's 
bin/config_list or bin/withlist.


For Mailman 3 you can do it in Postorius or via the REST API (see 
<https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/rest/docs/membership.html#owners-and-moderators>).


--
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] Re: Outlook blocked again, but strange response

2024-03-11 Thread Mark Sapiro

On 3/11/24 6:28 PM, Jayson Smith wrote:

Hi,


So it's happened again and I have no idea why, though I suspect some of 
my IP neighbors may have been put on Microsoft's naughty list as my 
subnet with Linode was recently listed on Uceprotect level 2. Anyway, I 
go to send an Email to an Outlook user, and get the typical thing, 
Unfortunately, messages from XXX.XXX.XXX.XXX weren't sent. Fill out the 
support request, expect to get conditionally mitigated in a few 
hours…nope. Instead, I get this:



UCEPROTECTL2 and even more egergious, UCEPROTECTL3 are IMO 
scam/extortion lists. They list entire netblocks and then offer to 
whitelist your specific IP **temporarily** for a fee. Unfortunately some 
ESPs do use them.




Hi ,

Thanks for your patience, we are currently experiencing technical 
difficulties and our engineers are working to resolve the issue at the 
earliest.


Dealing with Microsoft support about issues like this is a pain. My 
experience is it's difficult to tell whether their chatty, friendly 
responses are actually written by a human or a robot and you have to 
keep repeating stuff as they ask for things which were provided earlier 
in the thread, but if you are patient and persistent, you eventually get 
the result you want.


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


[Mailman-Users] Re: mailman httpd location question

2024-03-09 Thread Mark Sapiro

On 3/8/24 11:17 PM, Mark wrote:


Under OpenBSD's httpd, my mailman setup gives an HTTP 404 error when
'mysite.com/listinfo' is
typed, however 'mysite.com/listinfo/' works.



Caveat: I know nothing about configuring OpenBSD's httpd.


In order to *solve* this issue, I added 2 different locations pointing to
the same cgi script, as:

location "/listinfo" {
fastcgi socket "/var/www/run/slowcgi.sock"
root "/usr/local/lib/mailman/cgi-bin/listinfo"
request strip 1
}



I'm guessing, but I suspect the above alone would work and the one below 
is redundant.



location "/listinfo/*" {
fastcgi socket "/var/www/run/slowcgi.sock"
root "/usr/local/lib/mailman/cgi-bin/listinfo"
request strip 1
}

The same goes for /create and other cgi scripts as well.

Wondering how to make both ways (with ending '/' and without) work?

Is there any parameter configuring this in mailman2?


No. This is all in your web server.

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


[Mailman-Users] Re: Apple and Microsoft emails bounced

2024-03-08 Thread Mark Sapiro

On 3/8/24 12:10 PM, j...@janalexander.ca wrote:

Below is the bounce notice received. It looks like "Excessive or fatal bounces" is the 
culprit. Our threshold is set to 5.0. Once the bounce threshold score is reached it checks 
"nomail" next to the account and disables it. You know all this of course.

However, it's not exactly logical that all the icloud and mac email accounts 
have excessive bounces at once. Or, the hotmail and live accounts for that 
matter.



Sure it is. They are all rejecting the same mail so the user's bounce 
scores all increment on the same messages and reach threshhold on the 
same message.





host mx02.mail.icloud.com [17.57.152.5]
SMTP error from remote mail server after end of data:
554 5.7.1 [HM08] Message rejected due to local policy. Please visit 
https://support.apple.com/en-us/HT204137



This is not a very informative message, but it does say that your mail 
and mail server should conform to best practices. The important things 
are full circle DNS for the sending server (which is the case for the 
mailist.dunbar-vancouver.org domain) and DKIM signing outgoing mail. I 
can't see from what you posted if the mail has a valid DKIM signature. 
Where there additional headers beyond the From:, Subject:,Date:, To: and 
Reply-To: that you posted?

Most of the `best practices` are things controlled by the host.

--
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] Re: Digest not being received in a timely fashion

2024-03-08 Thread Mark Sapiro

On 3/8/24 12:20 PM, j...@janalexander.ca wrote:

For years our digest has arrived at 9:00 am (PST).

In the last six months it has been erratic, arriving at different times during 
the day.

Now, recently it is not arriving for a day, sometimes days. It's pretty useless 
to our members to have messages from one or two days ago arrive late.



Examine the full raw text of the received digest. Look at the chain of 
Received: headers (they are in chronological order with most recent at 
the top) to determine where the delay(s) occur. I suspect the message 
will have been received from Mailman by the outgoing MTA. in a timely 
manner and the delay is later in the delivery chain, but if not, 
Mailman's outgoing queue is hopelessly backlogged. If this is the case, 
it should affect not only digests but also individual messages. See 
https://wiki.list.org/x/17892002 for tips on what the hosting service 
can do about this.


On the other hand, if the delays are later in the delivery chain, 
there's nothing Mailman can do about it.



I've asked the Mailman hosting company about this repeatedly. Their answer is 
that bigger volume mailist senders on shared servers take time in the queue, 
and our little mailist has to wait until their messages are processed. They've 
asked them to move to a dedicated server, but the delays are still occurring.

I've asked them about setting up a Cron job to schedule the release of our 
emails, but haven't received a definitive answer.



If the messages are in Mailman's out queue, that's a situation that can 
be addressed by the host (tips in the wiki article above). If the 
messages have been delivered by Mailman to the outgoing MTA and are 
queued there it's likely because of greylisting or some other issue 
between the outgoing MTA and the next hop. These can be diagnosed via 
the MTA's logs. Otherwise the delays may be further downstream. It's a 
true shame that EMWD is not able to provide the support that they did 
when Brian was still alive.


--
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] Re: Apple and Microsoft emails bounced

2024-03-07 Thread Mark Sapiro

On 3/7/24 3:24 PM, j...@janalexander.ca wrote:

We're using 2.1.39 and set to Munge From and quarantine moderation action is 
set to Yes.



OK.



But, maybe it's not that. Jan tells me she gets the notices that (icloud ad 
mac) emails are blocked (bounced) when no one has sent anything. It's not 
triggered by a send event. Can you explain that to me?



What is the content of these notices? There are many possible reasons 
why DSNs might not be received until possibly days after a message is 
sent. Without seeing the notices and possibly the mail logs from the 
host, I won't speculate.




EMWD, the Mailman host in California, said our DKIM setting was wrong and sent 
a new one which we've put in the DNS records.


And has that helped? DKIM signing is important and must be properly 
configured, but that's between you and EMWD. We can't help with that. 
When Brain was still alive, EMWD was extremely responsive to these 
issues, but I don't know what their current support situation is.


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


[Mailman-Users] Re: Apple and Microsoft emails bounced

2024-03-07 Thread Mark Sapiro

On 3/6/24 11:59 AM, j...@janalexander.ca wrote:

Routinely, email posts from Microsoft (.hotmail, .live, .me) and now more 
recently Apple (.icloud and .mac) are being bounced en masse.



What are the reasons for these bounces. If you are not currently seeing 
bounce DSNs set the list's Bounce processing -> 
bounce_notify_owner_on_disable setting to Yes and if available, also set 
bounce_notify_owner_on_bounce_increment.




Is there something we or our host can do to stop this from happening?


At a minimum, assuming Mailman >= 2.1.18, set Privacy options... -> 
dmarc_moderation_action to Munge From and 
dmarc_quarantine_moderation_action to Yes. See 
<https://wiki.list.org/DEV/DMARC>.


--
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] Re: Text encoding of digests

2024-02-21 Thread Mark Sapiro

On 2/21/24 15:00, Christian via Mailman-Users wrote:

Hello Mark Sapiro. On Wed, 21 Feb 2024 14:50:37 -0800, you wrote:


A better solution is to set the character set for English to UTF-8,
but that requires access to mm_cfg.py on the server, see
<https://wiki.list.org/x/15958250>.


As you said, this is not possible with the cPanel version of Mailman.


To be clear, it is perfectly possible to do this in cPanel's Mailman and 
you might be able to convince the hosting service to do it. The 
difficulty is that most customers of a hosting service with a shared 
cPanel server do not have sufficient access to do it themselves.


I.e., the issue isn't cPanel Mailman per se, but rather insufficient 
access. See https://wiki.list.org/x/4030641 for more about cPanel Mailman.


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


[Mailman-Users] Re: Text encoding of digests

2024-02-21 Thread Mark Sapiro

On 2/21/24 13:49, Christian Buser via Mailman-Users wrote:

Hi all

I have a list with Mailman 2.1.39 running on cPanel (so, no direct
access to the server settings).

...

I did not find the possibility to change the header in the "digest
options" of the mailing list.



If in the web admin UI you go to Language options and set 
preferred_language to German (you may also need to select German under 
available_languages), I think that will work, assuming the current 
preferred_language is English.


A better solution is to set the character set for English to UTF-8, but 
that requires access to mm_cfg.py on the server, see 
<https://wiki.list.org/x/15958250>.


Of course setting the list's preferred_language to German will have 
other effects which may be unwanted such as changing the default 
language of the web UI and translating the digest boilerplate.


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


[Mailman-Users] Re: Mails are sent in tranches of 100

2024-02-16 Thread Mark Sapiro

On 2/16/24 03:34, Andreas Grupp via Mailman-Users wrote:

Hi,

I have the following problem on a new Mailman3-installation: An e-mail 
to a list of 600+ members is sent in tranches of 100 e-mails per sending 
process. There is a correspondingly large pause between the individual 
sending processes. This means that sending takes quite a long time. 
Where can I change this behavior? I would like all mails to be sent 
immediately.



You may find some of the results from 
<https://wiki.list.org/FrontPage?action=fullsearch&value=performance&titlesearch=Titles> 
helpful.


--
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] Re: Attach footer only once?

2024-02-12 Thread Mark Sapiro

On 2/12/24 5:30 AM, Richard wrote:


A VERY straight-forward strategy would be to diff the current inbound 
against the previous one it was in reply to - using threading as already 
cited. No LLM is needed, well trained or otherwise, and neither is it 
"quite complex." It's surely far easier than spam detection!



The larger problem notwithstanding, the OP's situation is much simpler. 
He doesn't want to remove irrelevant quotes from incoming mail. He only 
wants to remove the specific list footer.


This could probably be done in Mailman's incoming runner, but finding 
and removing the offending text from all incoming message parts 
including text/html and other text/* parts in addition to text/plain is 
still non-trivial.


--
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] Re: Attach footer only once?

2024-02-10 Thread Mark Sapiro

On 2/10/24 09:56, Carl Zwanzig wrote:


(arguments for top posting and not trimming quotes-
"But it's got the entire conversation in the message! You never need the 
older messages"
"You say that like it's a good thing, and I already -have- the older 
messages. In my inbox.")



And more importantly, threads are not linear. A posts. B replies all to 
A. C replies all to A. C's post does not include B's reply.


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


[Mailman-Users] Re: Sorry about duplicate information

2024-02-09 Thread Mark Sapiro

On 2/9/24 16:24, H Ian Zhang via Mailman-Users wrote:


I just received "Mailman-Users Digest, Vol 240, Issue 5" and see that my reply 
to Tim Houseman's message was unnecessary (duplicated information). Solution? As a digest 
reader, I need to wait with a reply until the next digest has come in... ;)


Or check the archives at 
<https://mail.python.org/archives/list/mailman-users@python.org/>.


--
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] Re: Attach footer only once?

2024-02-09 Thread Mark Sapiro

On 2/8/24 15:24, Tim Houseman wrote:

Is it possible for footers to only be attached once? I am hosting a legal 
mailing list and their footer is quite long. We recently updated to Mailman 3 
and the list has become more active as a result but in that activity the users 
have noticed that the footer just continually stacks up at the bottom of 
subsequent emails. Is there any way to avoid this scenario?



The short answer is No.

The long answer is you have to train the list members to not top post 
and to only quote material which is necessary to establish context for 
the reply. This is particularly difficult as many freemail providers 
have UIs which encourage top posting and may even obscure the fact that 
they are including a quote of the entire message being replied to.


I have tried in the past to programmatically detect excessive quoting 
and hold such posts. This resulted in so much negative feedback that I 
gave up.


You could try putting a `-- ` line at the beginning of the footer to 
make it look like a signature. At least some MUAs do not include 
signatures in quoted material in replies.


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


[Mailman-Users] Re: confirm mails / administrative mails are discarded in mailman3

2024-01-03 Thread Mark Sapiro

On 1/2/24 4:01 AM, Georg Schröder wrote:

Hello,

can someone explain this behaviour to me ?

- I upgraded from 3.3.5 to 3.3.9 recently, before that it was working
- I send an administrative mail to my list (empty mail to 
testlist-dev1-join@DOMAIN)

- The message will be discarded, why ?

...


==> mm/var/logs/mailman.log <==
Jan 02 12:35:18 2024 (27084) 
<787c5824ca33956449ba541547e2c...@posteo.de> Precedence: list message 
discarded by: testlist-dev1-request@x



This is the reason. See 
<https://gitlab.com/mailman/mailman/-/blame/master/src/mailman/runners/command.py#L164>. 
This code has been there since Mailman 3.0.


You are sending the mail with a `Precedence: list` header. An MUA 
composing a new message shouldn't be doing that.



also when i do a subscription in the web-interface and uncheck the "Pre 
Confirm" checkbox, there is no confirmation request sent out.

welcome messages are sent out with this, also invitations )



...

List-Settings:

...

subscription_policy:confirm


With subscription_policy:confirm and "Pre Confirm" unchecked in the Mass 
Subscription UI, a confirmation should be sent and responded to before 
the member is subscribed. Similarly if Invitation is checked, an 
invitation should be sent and responded to before the member is 
subscribed. I don't know why this wouldn't be the case.


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


[Mailman-Users] Re: Issues with a DMARC record leading to message being shunted

2023-12-23 Thread Mark Sapiro

On 12/23/23 12:18 AM, Ralf Hildebrandt via Mailman-Users wrote:

Hi!

Recently a mail was not being distributed via our MM3 instance; I
searched the logs and found:



Please follow up to the thread at 
https://lists.mailman3.org/archives/list/mailman-us...@mailman3.org/thread/ADWTZKJHXPC6DPD7H2CJBD5EMG6T6ZSR/


--
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] Re: spamming

2023-12-13 Thread Mark Sapiro

On 12/13/23 18:34, Jim Dory wrote:

On 12/13/23 17:07, Mark Sapiro wrote:

On 12/13/23 17:48, Jim Dory wrote:


My bad.. rather than Bad Request error (oiy, my memory), the actual 
error when enabling the RECAPTCHA strings is this:



    Bug in Mailman version 


  We're sorry, we hit a bug!

Please inform the webmaster for this site of this problem. Printing 
of traceback and other system information has been explicitly 
inhibited, but the webmaster can find this information in the Mailman 
error logs or the web server logs.


So I looked in the mailman logs - I see several logs but the error 
one did not have any entry from today. Not sure where I would find a 
pertinent log such as the "web server logs" in the page error above.


The error and traceback should be in 
/usr/local/cpanel/3rdparty/mailman/logs/error. Is that where you're 
looking? If you can't find it there, there might be a permissions error.


All of the cgi wrappers in /usr/local/cpanel/3rdparty/mailman/cgi-bin 
should be SETGID and group mailman and all the files in 
/usr/local/cpanel/3rdparty/mailman/logs/ should be group writable and 
group mailman.


There may be cPanel specifics affecting this that I am unaware of, but 
see https://wiki.list.org/DOC/Mailman%20and%20CPanel


If all else fails you can edit 
/usr/local/cpanel/3rdparty/mailman/scripts/driver and set 
`STEALTH_MODE = 0`


So I believe the cgi-bin files are correct - though it is a bit 
disturbing since they are highlighted in Red in my terminal.


ls -la cgi-bin/
total 316
drwxrwsr-x  2 mailman mailman  4096 Feb  6  2023 .
drwxrwsr-x 19 mailman mailman  4096 Dec 13 16:17 ..
-rwsr-sr-x  1 mailman mailman 25705 Aug 30  2022 admin
-rwsr-sr-x  1 mailman mailman 25705 Aug 30  2022 admindb
-rwsr-sr-x  1 mailman mailman 25705 Aug 30  2022 confirm
--  1 mailman mailman 25705 Aug 30  2022 create
-rwsr-sr-x  1 mailman mailman 25705 Aug 30  2022 edithtml
-rwsr-sr-x  1 mailman mailman 25705 Aug 30  2022 listinfo
-rwsr-sr-x  1 mailman mailman 25705 Aug 30  2022 options
-rwsr-sr-x  1 mailman mailman 25705 Aug 30  2022 private
--  1 mailman mailman 25705 Aug 30  2022 rmlist
-rwsr-sr-x  1 mailman mailman 25705 Aug 30  2022 roster
-rwsr-sr-x  1 mailman mailman 25705 Aug 30  2022 subscribe



This looks good except for no permissions on create and rmlist, but I 
suppose that's a cPanel thing because cPanel has it's own way of 
creating and removing lists via the control panel. The fact that they 
show red is just `ls -l` emphasizing to you that they are SETGID.



The logs are as you say. The 
/usr/local/cpanel/3rdparty/mailman/logs/error log still nothing for 
today. Things like:



Dec 03 13:14:26 2023 (68081) private: No such list "xmlrpc.php":

Dec 03 13:14:34 2023 (68083) private: No such list "xmlrpc.php":

Dec 12 07:44:10 2023 (51139) private: No such list "xmlrpc.php":

Dec 12 07:44:10 2023 (51140) listinfo: No such list "xmlrpc.php":
Dec 12 07:44:11 2023 (51141) private: No such list "xmlrpc.php":

Dec 12 07:44:11 2023 (51144) listinfo: No such list "xmlrpc.php":



There should be an entry for every "We hit a bug" instance. The fact 
that there isn't may also be a cPanel thing.


Under some circumstances, this info can be written the the stderr of the 
process which should result in it being written to the web server's 
error log, e.g. for apache this might be /var/log/apache2/error.log. The 
web server's config at /etc//* should point to where these logs are.


As I said, you can always, at least temporarily, edit 
/usr/local/cpanel/3rdparty/mailman/scripts/driver and set `STEALTH_MODE 
= 0` which should display the error info in your browser.


--
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] Re: spamming

2023-12-13 Thread Mark Sapiro

On 12/13/23 17:48, Jim Dory wrote:


My bad.. rather than Bad Request error (oiy, my memory), the actual 
error when enabling the RECAPTCHA strings is this:



    Bug in Mailman version 


  We're sorry, we hit a bug!

Please inform the webmaster for this site of this problem. Printing of 
traceback and other system information has been explicitly inhibited, 
but the webmaster can find this information in the Mailman error logs or 
the web server logs.


So I looked in the mailman logs - I see several logs but the error one 
did not have any entry from today. Not sure where I would find a 
pertinent log such as the "web server logs" in the page error above.


The error and traceback should be in 
/usr/local/cpanel/3rdparty/mailman/logs/error. Is that where you're 
looking? If you can't find it there, there might be a permissions error.


All of the cgi wrappers in /usr/local/cpanel/3rdparty/mailman/cgi-bin 
should be SETGID and group mailman and all the files in 
/usr/local/cpanel/3rdparty/mailman/logs/ should be group writable and 
group mailman.


There may be cPanel specifics affecting this that I am unaware of, but 
see https://wiki.list.org/DOC/Mailman%20and%20CPanel


If all else fails you can edit 
/usr/local/cpanel/3rdparty/mailman/scripts/driver and set `STEALTH_MODE = 0`


--
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] Re: spamming

2023-12-13 Thread Mark Sapiro

On 12/13/23 10:00, Jim Dory wrote:


As for listinfo.html, I see 2 pertinent files. on under ../en/templates 
(this list is just english) and under ../lists/[name of our list]/ . The 
templates version includes a few lines of captcha which the lists 
version doesn't. Here's a snippet of the templates version:



This is your problem. You have a list specific version of the 
listinfo.html template in lists/listname/en/listinfo.html which was 
probably created on an older version before the captchas were implemented.


You need to diff lists/listname/en/listinfo.html with 
templates/en/listinfo.html. Part of the diff will be the absence of the


  
  

tags in lists/listname/en/listinfo.html which need to be added. If 
that's the only diff, you can simply remove 
lists/listname/en/listinfo.html and fall back to the default, but if you 
had local changes in lists/listname/en/listinfo.html, you probably want 
to keep those and just add the missing captcha tags.


However, the only issue from those missing tags should be an inability 
to subscribe via the listinfo page. It shouldn't affect login to the 
admin or admindb pages and it shouldn't cause a Bad Request error. If 
after fixing the template, you still can't log in, We would like to see 
the full traceback from Mailman's logs/error log.


It's possible this is 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] Re: List migration Mailman 2.1 to a new server - cannot clarify how to import user subscription attributes settings

2023-12-08 Thread Mark Sapiro

On 12/8/23 04:42, Odhiambo Washington wrote:

On Fri, Dec 8, 2023 at 3:36 PM daniel.botting--- via Mailman-Users <
mailman-users@python.org> wrote:


Hi all,

I am currently in the process of testing the migration of our Mailman2.1
instance to a new server, I've migrated the below for a list:


Might this help:
https://recoveringphysicist.com/22/how-to-move-a-mailman-mailing-list-between-domains-or-servers


Do not do it that way. To move a list, just move the 
lists/LISTNAME/config.pck file and the 
archives/private/LISTNAME.mbox/LISTNAME.mbox file. The former moves all 
the list settings, memberships and member settings. The latter allows 
you to rebuild the pipermail archive with bin/arch.


Also see https://wiki.list.org/x/4030682

--
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] Re: archive

2023-12-05 Thread Mark Sapiro

On 12/4/23 14:34, Laack, Andrea P. via Mailman-Users wrote:

I am attempting to read in majordomo archives into mailman 2 using /bin/arch.  
We are currently running a nightly archive which nightly moves list-archive to 
a mmmdd file.  Now I need to put these into one file to run /bin/arch in 
mailman to read them all in.  My question is, is it necessary to put the emails 
in date order in the list-archive file for mailman arch to read in, or will the 
arch script sort out the dates?



I do not understand mmmdd. Do you mean mmdf? In any case, the input to 
bin/arch does not need to be in date order. Messages will be added to 
the pipermail archive according to their Date: headers regardless of 
input order.


That said, bin/arch expects the input in mbox format. If you are going 
to provide it in mbox format, you should first run bin/cleanarch to 
verify there are no unescaped 'From ' lines in message bodies.


--
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] Re: Captcha not working

2023-11-28 Thread Mark Sapiro

On 11/28/23 12:51, sherwin wrote:

Hi,

My users cannot subscribe to the Midfex forum because the captcha input 
is not appearing during the registration process.  This problem showed 
up sometime in this past year.



Do you have a custom listinfo.html template. If so does it have the 
 tag as at 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/templates/en/listinfo.html#L119


--
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] Re: Mailman 3 Issue - Unable to Authenticate with Mailman Core REST API

2023-11-26 Thread Mark Sapiro

On 11/26/23 07:45, Patricia Traore wrote:


Description of the issue:
→ Mailman core REST API Configuration: in the Django settings.py file, I have 
set the MAILMAN_REST_API_URL to the correct URL of the Core's REST API server 
(http://localhost:8001/). Additionally, I have specified the 
MAILMAN_REST_API_USER and MAILMAN_REST_API_PASS with the appropriate 
credentials (default values used in the core are 'restadmin' and 'restpass').
→ Authentication failure: despite the correct configuration of the REST API 
settings, when attempting to interact with the Mailman Core REST API through 
Hyperkitty, authentication fails. Depicting that authentication credentials are 
invalid.


I assume the same is true of Postorius or possibly you mean Postorius 
rather than HyperKitty, since most interaction via REST is with Postorius.




→ MAILMAN_ARCHIVER_KEY configuration: I have also configured the 
MAILMAN_ARCHIVER_KEY in the Django settings.py file, ensuring that it matches 
the value set in the mailman-hyperkitty.cfg file as per the documentation.


This affects Mailman core's interaction with HyperKitty to determine the 
URL for a message to be archived and to archive the message. It has 
nothing to do with REST API authentication.



Let me know if additional information or specific configurations are needed. 
Thanks in advance for your support!

What's in logs?, both mailman.log and django's log?

--
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] Re: Excessive or fatal bounces issue

2023-11-22 Thread Mark Sapiro

On 11/22/23 4:03 AM, Florin Pasăre wrote:


I would like to ask you where the system gets the names you see in the
"sent by" field, because sometimes the name doesn't make it clear who is
sending the email and we would like to know if it is something we can
control or change.

Another question is where the system gets the name of the person who
appears in the "reply to" field.



There are lots of possibilities here depending on your list's settings 
and the MUA you use to read the mail.


If you are applying DMARC Munge From mitigations to the mail, a message 
which is `From: Joe User ` sent to `l...@example.net` 
will have it's From: changed to `From: Joe User via Listname 
`. If there is no display name in the original From: 
and u...@example.com is a list member, that member's name from the list 
membership is used unless the member has no name entry. Otherwise, the 
local part of the email address is used as in `From: user---  via 
Listname `. See 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Handlers/CookHeaders.py#L137 
for details.


In this case, the original From: is added to Cc: or Reply-To: depending 
on list settings. See 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Handlers/CookHeaders.py#L193 
for details.


If the list is not applying DMARC Munge From mitigations to the mail the 
From: is not changed and nothing is added to Cc: or Reply-To:.


Other things might be done to Reply-To: depending on the list's General 
Options first_strip_reply_to, reply_goes_to_list and reply_to_address 
settings.





I've already seen wrong/different than what was expected names twice using
Mail on Macbook.



Various MUAs have their own rules for what they display as the message 
sender which may not be the literal value in From:.




The message is sent, for example, by Mario Rossi, and the system adds his
email address to the cc. The problem is the reply-to field, because there
one sees the name of, for example, Claudio Bianchi, which has nothing to do
with this message and so I don't understand why his name appears above the
general address of the mailing list.




With MS Outlook instead what one sees in the sent-by field is the
following: list name list-boun...@domain.ext on behalf of XXX via list name
l...@domain.ext.

Is it possible to have l...@domain.ext instead of list-boun...@domain.ext?


See https://wiki.list.org/x/4030534 particularly the note at the bottom 
of the page.


--
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] Re: Sharing PHP or Scripts to a list

2023-11-22 Thread Mark Sapiro

On 11/22/23 03:10, patricia traore wrote:

Hi All,

I hope that I'm asking in the right place.
We have just created a developers discussion public list in our
organization with over 47 subscribers.
My question is, in case someone shares some php codes in his message, will
that code affect the corresponding html page of that message, while
browsing the archive of messages publicly from a web browser?
Or will pipermail instead display the shared codes as plain text?


The web page created by pipermail encloses the body of the message in a 
 ...  block and html escapes it so any PHP, html tags, etc. 
will be displayed as written.


--
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] Re: Web page hosts that offer Mailman

2023-11-21 Thread Mark Sapiro

On 11/21/23 06:35, Robert A. Hamilton wrote:

Hi all,
The web page host I have been using for about 20 years with the Mailman program 
is closing down and now searching for a hosting service that also offers 
Mailman. Any suggestions?
Thanks, Bob


See https://wiki.list.org/COM/Mailman%20hosting%20services

--
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] Re: Unable to post messages to a Mailman 2 List

2023-11-20 Thread Mark Sapiro

On 11/20/23 02:18, Francis Jayakanth via Mailman-Users wrote:

5. When I post a message to test...@ncsinet.in, postmas...@ncsinet.in returns 
the following reply:

Your message to test...@ncsinet.in couldn't be delivered.
test123 wasn't found at ncsinet.in.

My relay host is SMTP Office365


I'm guessing this is for outbound mail, not inbound.

What is the MTA running on ncsinet.in? You need things in the MTA to 
deliver to Mailman. See 
https://www.list.org/mailman-install/mail-server.html


--
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] Re: Unable to post messages to a Mailman 2 List

2023-11-19 Thread Mark Sapiro

On 11/19/23 07:35, Francis Jayakanth via Mailman-Users wrote:


I now need to migrate the list to a new domain. Please let me know the steps 
that should be followed to ensure a smooth transition and carry forward the 
list's archive. Also, can we redirect messages posted to the old domain to the 
new one?


See https://wiki.list.org/x/4030682

As far as redirecting is concerned, You could add/update the MX record 
for the old domain to point to the new server


--
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] Re: Hide list address?

2023-11-16 Thread Mark Sapiro

On 11/16/23 12:23, Quebs via Mailman-Users wrote:

It seems not possible with Mailman 2.1.37.

Under Non-Digest-Option it has only:
(nondigestable)
(msg_header)
(msg_footer)
(scrub_nondigest)
(regular_exclude_lists)
(regular_exclude_ignore)
(regular_include_lists)

Don't see, "full personalization" or "personalization".



Because the default for OWNERS_CAN_ENABLE_PERSONALIZATION is No. See 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Defaults.py.in#L1062



I asked my provider too, and after several questions, because we had 
misunderstanding’s, answer was also not possible.


It is possible if your provider adds

OWNERS_CAN_ENABLE_PERSONALIZATION = Yes

to Mailman/mm_cfg.py. The fact they say it isn't possible means either 
they won't do that or they don't know how.


--
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] Re: Unable to post messages to a Mailman 2 List

2023-11-16 Thread Mark Sapiro

On 11/16/23 03:27, Francis Jayakanth via Mailman-Users wrote:

Thank you for your guidance. I created a new list. I'm able to subscribe and 
unsubscribe members to the new list. Emails are received when a member 
subscribes and unsubscribes to the new list. So, there are no issues with the 
relay host. However, when a message is posted, nothing happens.

I checked the /var/log/mailman folder. The following three files are updated as 
of today (16 Nov), and there isn't any clue as to why the lists are not 
receiving the postings.

-rw-rw-r-- 1 list list  1432 Nov 16 16:44 smtp
-rw-rw-r-- 1 list list 85623 Nov 16 16:44 subscribe
-rw-rw-r-- 1 list list  9431 Nov 16 14:11 qrunner



What's in the smtp log?

Also, look at your MTA log to see what happens to the messages sent to 
the list. They should be delivered to a command like 
`/path/to/mailman/mail/mailman post LISTNAME`


--
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] Re: Problems with mailman installation

2023-11-08 Thread Mark Sapiro

On 11/8/23 13:52, Nils wrote:


# sudo -u www-data /home/www/usr/lib/cgi-bin/mailman/listinfo
Content-type: text/html

Bug in Mailman version 2.1.26
Bug in Mailman version 2.1.26
We're sorry, we hit a bug!

Please inform the webmaster for this site of this
problem.  Printing of traceback and other system information has been
explicitly inhibited, but the webmaster can find this information in the
Mailman error logs.

-

Nov 08 22:45:39 2023 admin(25893): 


admin(25893): [- Mailman Version: 2.1.26 -]
admin(25893): [- Traceback --]
admin(25893): Traceback (most recent call last):
admin(25893):   File "/var/lib/mailman/scripts/driver", line 111, in 
run_main

admin(25893): if not request_method.lower() in ['get', 'post', 'head']:
admin(25893): AttributeError: 'NoneType' object has no attribute 'lower'


This is the expected result.

I note the original error was 'No such file or directory'.

I suspect the issue is that the compiled wrappers don't understand the 
chroot and are trying to run the driver script at 
/usr/lib/scripts/driver and not /home/www/usr/lib/scripts/driver


--
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] Re: Problems with mailman installation

2023-11-08 Thread Mark Sapiro

On 11/8/23 04:51, Nils wrote:
I can't get mailman version (1:2.1.26-1ubuntu0.6) to run on an ubuntu 
18.04 installation with apache2 running in chroot. I've done the same 
thing before, a long time ago and it worked perfectly back then.


As Odhiambo says, at this point you should be installing Mailman 3. 
Further, issues with Debian/Ubuntu packages should be reported to Debian.


...

     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/



What do you get if you try to run, e.g., 
/usr/lib/cgi-bin/mailman/listinfo manually. If you get a response with a 
group mismatch error, what does it say?


--
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] Re: mailman3-web is broken after deleting site "example.com"

2023-11-08 Thread Mark Sapiro

On 11/8/23 10:21, Nils wrote:


...>    File "/usr/lib/python3/dist-packages/django/db/models/query.py", 
line

406, in get
     raise self.model.DoesNotExist(
django.contrib.sites.models.Site.DoesNotExist: Site matching query does 
not exist.



See 
https://docs.mailman3.org/en/latest/faq.html#the-domain-name-displayed-in-hyperkitty-shows-example-com-or-something-else


--
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] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-05 Thread Mark Sapiro

On 11/5/23 14:23, Michael Reeder -- Hygeia MS wrote:
I may have answered my own questions below. (**One quick newbie question 
though:  If I continue looking for the Mailman program, what directory 
should it be in and what are some names I can run a recursive "find" 
command on?** )


I see from https://help.ubuntu.com/community/Mailman that Mailman files 
should be in:
"It copies the installation files in /var/lib/mailman. It installs the 
cgi scripts in /usr/lib/cgi-bin/mailman directory."


Nope -- not in either place on eightmile.dreamhost.com



It appears this is cPanel. See 
https://wiki.list.org/DOC/Mailman%20and%20CPanel - Mailman's files 
should be in /usr/local/cpanel/3rdparty/mailman


--
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] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-04 Thread Mark Sapiro

On 11/4/23 11:27, Michael Reeder -- Hygeia MS wrote:


Ugh.  Dream Host does not give me cron job / command line access. I'll 
try begging them to do this, but more likely I'll have to manually 
release the Digest each week.



It is unlikely they will let you do this as it would affect all lists on 
the server, not just yours.


A manual process is not too bad. Set the list's digest_size_threshhold 
to zero so no digests are sent on size and set digest_send_periodic to 
No so none are sent by cron. Then when you want to send a digest, set 
_send_digest_now to Yes on the Digest options page and save changes. 
This will send the digest immediately if it has any messages.



Or... Look into setting up my own Mailman service on my own virtual 
server... I am running a Mastodon instance, so I might be up for the 
challenge.  Maybe.


If you're considering this, I would recommend Mailman 3. See 
https://docs.mailman3.org/en/latest/install/install.html


Mailman 2.1 is past end of life and will only become more difficult to 
support as time goes on. In particular, it requires Python 2 which is 
also end of life and is being dropped from many distros.


--
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] Re: Good Commercial Mailman Hosts?

2023-11-03 Thread Mark Sapiro

On 11/3/23 07:36, Michael Reeder -- Hygeia MS wrote:

Hello,

I'm hoping you all could point me towards some good commercial providers 
that offer Mailman lists to customers?


There is a list at https://wiki.list.org/COM/Mailman%20hosting%20services

--
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] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-03 Thread Mark Sapiro

On 11/3/23 16:23, Michael Reeder -- Hygeia MS wrote:


I have a "weekly digest".  It's new, but seems to be publishing at least 
twice per week (Wednesdays and Fridays).


The digest_volume_frequency setting has nothing to do with how often 
digests are sent. It controls how often the digest volume number is 
incremented and the digest issue number is reset.


If digest_send_periodic is Yes, periodic digests are sent whenever there 
are messages for the digest and cron/senddigests is run. I.e., The 
frequency of periodic digests is controlled by how often 
cron/senddigests is run by cron.




I have:
a) Already checked that it is set to "weekly"


As above, this has nothing to do with how often digests are sent.


b) Already double-checked that "digest_size_threshold" is set to 0.


Which means digests will never be sent based on size.


c) I have just changed  "digest_send_periodic" from "Yes" to "No".

With the change in (C) above, have I fixed the problem?


No. You have ensured that digests will never be sent. c) says that 
digests will not be sent when cron/senddigests is run and b) says that 
digests will never be sent based on size.


What you want is to set digest_send_periodic to Yes and adjust mailman's 
crontab to run cron/senddigests weekly.


--
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] Re: Someone tried to unsubscribe me

2023-10-25 Thread Mark Sapiro

On 10/25/23 12:57 PM, Michael Welch wrote:

Received an unsubscribe confirmation notice that did not originate with me.

Curious as to how this could have happened.



Someone sent an unsubscribe command for your address by email or via the 
web UI.




Does this mean a breach in security?



There are various ways to request unsubscription of an arbitrary address.

See for example https://your.lists.server/mailman/options/re-renches

This is why unsubscription by any means that is not authenticated with 
your list password requires confirmation.


--
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] Re: spamming

2023-10-23 Thread Mark Sapiro

On 10/23/23 6:46 PM, Jim Dory wrote:

On 10/23/23 17:38, rich...@karmannghia.org wrote:


On Mon, 23 Oct 2023, dde...@cyberthugs.com wrote:

..

Implementing the google captcha solution to Mailman a week or so ago 
stopped it dead. For now...


Hi Jim,

Interesting, and thanks for posting.

Can you please describe, briefly, as an overview only, what that 
interface is like?


I'm sure I can look up details, but, well, "details matter!" (And I 
don't mean the nitty gritty of installation or whatever.) I'm 
interested in implementation overview in how that relates to the 
user's experience - I already know what 'captcha' is like! We're 
talking web interface details, right?


Thanks,
Richard


Hello Richard,

It was ddewey that mentioned the captcha. I am interested in 
implementing it and googled it - found things from about 10 years ago, 
and mailman post from 2017. I have mailman version 2.1.39 on a VPS 
hosted server (with WHM and CPanel) with root privileges, though not 
sure I have the chutzpa to install it. Could give it a try I suppose.


The mailman post was 
https://mail.python.org/pipermail/mailman-users/2017-December/082820.ht


I don't think that's required. We have reCAPTCHA implemented for MM 2.1 
at https://mail.python.org/mailman/listinfo/ by just following the doc 
at 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Defaults.py.in#L153 
- there is also a custom CAPTCHA test that can be implemented as 
documented at 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Defaults.py.in#L134.


You will find Defaults.py and mm_cfg.py in 
/usr/local/cpanel/3rdparty/mailman/Mailman/ on cPanel. Any changes 
should be made by settings in mm_cfg.py which will override the defaults 
from Defaults.py.


Also see https://wiki.list.org/DOC/Mailman%20and%20CPanel for info about 
cPanel.


--
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] Re: Identifying a subscriber from a masked FBL report

2023-09-11 Thread Mark Sapiro

On 9/11/23 07:28, Russell Clemings wrote:

I'm trying to track down (and unsubscribe) a list member who keeps
reporting list posts as spam. I have %(user_address)s and %(user_name)s in
msg_footer, but the feedback loop reports are masking the local part of the
user's address.



If your Mailman version is >= 2.1.24 (but not Mailman 3), there is a 
RCPT_BASE64_HEADER_NAME setting. If this is set to a non-empty string, 
that string is the name of a header that will be added to personalized 
and VERPed deliveries with value equal to the base64 encoding of the 
recipient's email address.  This is intended to enable identification of 
the recipient otherwise redacted from "spam report" feedback loop messages.


--
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] Re: Footers as Attachments

2023-09-07 Thread Mark Sapiro

On 9/7/23 18:43, David Andrews wrote:
Some of my users have complained about getting an attachment with each 
message. The attachment seems to be the footer fort the list. It also 
looks like this may be an Outlook thing. Is this true? Is there anything 
to be done to change it.


I would guess that changing to text-only messages would do it, but that 
isn't necessarily a popular option either.



If the message after content filtering is other than a single text/plain 
part, the footer is added as a separate MIME part with 
Content-Disposition: inline. If the user's MUA renders this as an 
attachment rather than inline, that's an issue with the MUA.


See https://wiki.list.org/x/4030707 for more.

--
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] Re: Mailman 3 moderator login page as mailman 2.1 one

2023-09-05 Thread Mark Sapiro

On 9/5/23 11:21, aferre...@ffyb.uba.ar wrote:

Hi, we have recently migrated from mailman 2.1 to mailman 3.
In mailman 2.1 moderators received  an email with a web link asking for list´s 
moderator password.
I don´t find and i don´t know if this feature is available on mailman 3.
If this option isn´t available, How can moderators  access a login page to 
moderate their lists ?



First the moderator needs to sign up for an account in the web UI at a 
URL like https://example.com/accounts/signup/. Then when logged in, the 
moderator can visit a URL like 
https://example.com/mailman3/lists/ to handle requests.


The default templates (English) for the summary notice, and the 
immediate notice if Admin immed notify is Yes are:



list:admin:notice:pending.txt
The $listname list has $count moderation requests waiting.

$data
Please attend to this at your earliest convenience.



list:admin:action:post.txt
As list administrator, your authorization is requested for the
following mailing list posting:

List:$listname
From:$sender_email
Subject: $subject

The message is being held because:

$reasons

At your convenience, visit your dashboard to approve or deny the
request.


You can make custom versions of these like for example:


list:admin:notice:pending.txt
The $listname list has $count moderation requests waiting.

$data
Please attend to this at your earliest convenience at
 <https://example.com/mailman3/lists/$list_id/>.



list:admin:action:post.txt
As list administrator, your authorization is requested for the
following mailing list posting:

List:$listname
From:$sender_email
Subject: $subject

The message is being held because:

$reasons

At your convenience, visit
  https://example.com/mailman3/lists/$list_id/held_messages
to approve or deny the request.


To include links. These templates are not the default because Mailman 
core which sends the messages doesn't know if you even have a web UI or 
what its URL is.


--
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] Re: List emergency moderation

2023-09-04 Thread Mark Sapiro

On 8/28/23 14:20, Johnson, Bruce E - (bjohnson) wrote:

We have a number of mainly announcement-only lists that I’ve set the ’set 
everyones moderation bit including members not visible’ to on.

I need to un-moderate a few members, and I do that via the command line in a 
script

withlist -r set_mod  -u 

But they are not being un-moderated.

Is it because of the emergency moderation flag?



If "Emergency moderation of all list traffic" is set to Yes, all posts 
are moderated regardless of the moderation status of the poster.


--
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] Re: How to determine moderation flag from config.pck

2023-08-22 Thread Mark Sapiro

On 8/22/23 2:50 PM, Russell Clemings wrote:

What's the logic behind that? I should have mentioned that I'll be doing
this in PHP so I'll have to replicate it.



It works the same in PHP. See 
https://www.php.net/manual/en/language.operators.bitwise.php


--
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] Re: How to determine moderation flag from config.pck

2023-08-22 Thread Mark Sapiro

On 8/22/23 1:53 PM, Russell Clemings wrote:

I'm trying to figure out how to extract the moderation flag for each user
in a list's config.pck file.

I know from Defaults.py that it's in the "Bitfield for user options"
section (below). But for a config.pck with the following:

'user_options': {'rclemings+20230...@gmail.com': 296,
  {'rclemings+20230...@gmail.com': 296,
  'rclemings+authu...@gmail.com': 408,
  'rclemi...@gmail.com': 328},

How can I tell which ones are moderated? Automatically, I mean.

I know the "moderated" value is 128, but I don't understand how (or if it's
even possible) to pull out the value for a single flag.



For example, in Python
```
for user, opts in user_options.items():
if opts & 128:
print(user + ' is moderated')
```

--
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] Re: Subscribe without Account is missing

2023-08-09 Thread Mark Sapiro
On August 9, 2023 2:59:40 AM PDT, bu...@posteo.de wrote:
>Hello,
>
>I'm list admin of "bit-dev" on python.org and wonder if I can set this up 
>myself or if this need be concerned by the server admin.
>I want to have my users subscribe to a list without creating an account at 
>python.org first.


The presence of the anonymous subscribe form on the list's info page is 
controlled by a site wide setting. This is set to not show the form for 
python.org lists because it was heavily abused to maliciously subscribe third 
parties.


-- 
Mark Sapiro 
Sent from my Not_an_iThing with standards compliant, open source software.
--
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: Missing emails

2023-08-04 Thread Mark Sapiro

On 8/4/23 09:52, t...@barefoottom.com wrote:

I have a list using 2.1.39 in Cpanel.  When I send a message through the list 
subscribers at Gmail, Hotmail, Yahoo, Q.com, and CenturyLink do not receive the 
message.  It does not bounce or go into spam or any folder.  They just seem to 
disappear.  Other email providers seem to be getting the messages.  Any ideas 
on how to fix this?



Either ensure that General Options -> from_is List is either Munge From 
or Wrap Message to apply DMARC mitigations to all mail or in Privacy 
options... -> Sender filters,


dmarc_moderation_action is Munge From or Wrap Message
dmarc_quarantine_moderation_action is Yes

and if the issue is with mail From: the gmail.com domain

dmarc_moderation_addresses contains ^.*@gmail\.com$

Also your list domain should publish an spf record and should DKIM sign 
all outgoing mail.


--
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] Re: Questions About "An embedded message was scrubbed..."

2023-08-04 Thread Mark Sapiro

On 8/4/23 18:07, Richard wrote:


...snip...

So is it the case that the message you received contained the actual 
messages and they were only scrubbed in the archive and not in the 
message delivered to List #2 members?


If so, that is a limitation of the archiver.



Um...

OK, it's not a confirmed archiver issue but... I seem to recall that 
just within the last day we read that Mailman 2 stores the archives "as 
was" in a simple mbox, but Mailman 3 does not: Is this a potential 
Mailman 3 issue?


Mailman 2.1 archives messages in a mbox, but the OP's issue was with the 
web HTML archive which is created from that and the web archive is 
flattened to plain text and all non-plain text parts are stored aside 
and replaced by links.


HyperKitty archives in Mailman 3 are similar in that the plain text 
message content is stored in the database in a hyperkitty_email table 
and non-plain text parts are stored in a hyperkitty_attachment table.


See 
https://mail.python.org/archives/list/hy...@python.org/message/KK6DQWWZEJOGQCF4YNEZUQA3MCBCGQQF/ 
for an example of what this looks like in HyperKitty.


--
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] Re: Questions About "An embedded message was scrubbed..."

2023-08-04 Thread Mark Sapiro

On 8/4/23 15:55, Michael Reeder -- Hygeia MS wrote:

Alright -- This is embarrassing...

I may have outsmarted myself...

I was expecting the message to go to my subfolder for List #2 in my 
Thunderbird email client.  Of course it did not.  I have a separate 
subfolder for List #1.  So it went to List #1's message subfolder 
because List #2 was merely a member receiving the message from List #1.


So is it the case that the message you received contained the actual 
messages and they were only scrubbed in the archive and not in the 
message delivered to List #2 members?


If so, that is a limitation of the archiver.

--
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] Re: Excessive or fatal bounces issue

2023-08-03 Thread Mark Sapiro

On 8/3/23 20:17, Florin Pasăre wrote:


: host seg-02.etnic.be[193.53.34.104] said: 550 #5.7.1

DMARC unauthenticated mail is prohibited. (in reply to end of DATA
command)



You need to ensure your outgoing mail is DKIM signed by your domain and 
you need to apply DMARC mitigations. These mitigations include the 
General Options -> from_is_list setting and the Privacy options... -> 
Sender filters -> dmarc_moderation_action setting.


The former of these was first implemented in Mailman 2.1.16 and the 
latter in 2.1.18, although if your 2.1.15 is a vendor package, some of 
this may have been backported.


Without DMARC mitigations, post from users in domains that publish DMARC 
policies of reject will probably be bounced by any recipient ISPs that 
check DMARC.


See the FAQ articles at https://wiki.list.org/x/17891458 and 
https://wiki.list.org/x/17891477 for more information about DMARC.


--
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] Re: List Won't Send Mail

2023-07-28 Thread Mark Sapiro

On 7/27/23 21:26, David Andrews wrote:
I have a list that won't send out mail. I believe that all the settings 
are correct, but I could have missed something.


I am running Mailman 2.1.39 cPanel, and I have access to the command line.

I have a list that I needed to modify settings. It was established by a 
prior administrator, to whom I have no contact.


I can access admin UI, and modified everything. However, at the bottom 
of the Administrative page, where it says "list run by" the domain it 
shows is incorrect. It is a domain used for mail only on my installation.



That domain is in Mailman's web admin UI General Options -> host_name


The list comes up on my list of lists pages, but when I mail to it, it 
get permanent error list not found.


cPanel uses exim as its MTA. I don't know what the exim router for 
Mailman looks like in cPanel, but I suspect the issue has to do with that.


p.s. I don't know why or how, but I think the list isn't completely 
registered with the system. Also, I was able to establish a similar 
list, with different capitalization of name, the both show up on admin 
page, but not sure how to get rid of the bad one because it doesn't show 
up in the cPanel UI


There is a general issue in that lists can be created through Mailman's 
command line but then cPanel doesn't know about them. Also, you should 
not be able to have two lists whose names differ only by case (unless in 
cPanel, they are in different domains). I suspect the one that doesn't 
show in cPanel was created by Mailman's 
/usr/local/cpanel/3rdparty/mailman/bin/newlist. You should be able to 
remove it with /usr/local/cpanel/3rdparty/mailman/bin/rmlist.


See https://wiki.list.org/DOC/Mailman%20and%20CPanel for more 
information, particularly the numbered items nearer the end.

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


  1   2   3   4   5   6   7   8   9   10   >