[Mailman-Users] Re: Filer From: no-reply

2020-09-11 Thread Dennis Putnam
On 9/10/2020 4:52 PM, Mark Sapiro wrote:
> On 9/10/20 12:13 PM, Dennis Putnam wrote:
>>> From:\s.*no-reply
>>>
>> Thanks again for the reply. Unfortunately that doesn't work either.
> Try this in header_filter_rules
>
> ^from:\s*(
> These are case insensitive. The 'From:\s.*no-reply' pattern is too
> liberal. It will for example match
>
> Subject: a message from: someone with a no-reply address
>
> You need the initial ^ to ensure you're matching the From: header and
> not just any header with 'from: ' in it. My suggestion will match things
> like:
>
> From: no-re...@example.com
> From: 
> From: Jane Doe 
>
> and it won't match
>
> From: juno-re...@example.com
> From: no-reply...@example.com
>
>
Thanks. So far it is looking good but I made one small change:

^from:\s*(

signature.asc
Description: OpenPGP digital signature
--
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/


[Mailman-Users] Affinity and Empathy is now available

2020-09-11 Thread Brian Carpenter

Dear Mailman 2 Users,

We have launched Affinity and Empathy and they now are part of our 
shared and cloud Mailman 3 hosting services. Affinity replaces Postorius 
and Empathy replaces Hyperkitty. We can easily migrate current mailman 2 
lists to this new Mailman 3 environment.


You can read more at https://mailmanhost.com

Please email me off-list if you have any questions.

Brian Carpenter
Harmony Lists

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


[Mailman-Users] Re: Manual Update on Centos 7

2020-09-11 Thread Dennis Putnam
Hi Tom,

I ran the following sequence of commands as best I could interpret them
for CentOS:

./configure --prefix=/usr/lib/mailman --with-username=mailman
--with-groupname=mailman --with-cgi-gid=apache --with-mail-gid=mailman
make
service mailman stop
make install
service mailman start
/usr/lib/mailman/bin/check_perms -f

After all that with no errors, when I try to start mailman I get this:

 mailman.service - GNU Mailing List Manager
   Loaded: loaded (/usr/lib/systemd/system/mailman.service; disabled;
vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2020-09-11 08:39:55 MDT;
6s ago
  Process: 21345 ExecStart=/usr/lib/mailman/bin/mailmanctl -s start
(code=exited, status=1/FAILURE)
  Process: 21342 ExecStartPre=/bin/chmod 660 /var/log/mailman/error
(code=exited, status=0/SUCCESS)
  Process: 21339 ExecStartPre=/bin/chown mailman:mailman
/var/log/mailman/error (code=exited, status=0/SUCCESS)
  Process: 21336 ExecStartPre=/bin/touch /var/log/mailman/error
(code=exited, status=0/SUCCESS)
  Process: 21333 ExecStartPre=/usr/bin/install -m644 -o root -g root
/usr/lib/mailman/cron/crontab.in /etc/cron.d/mailman (code=exited,
status=0/SUCCESS)
  Process: 21329 ExecStartPre=/usr/lib/mailman/bin/mailman-update-cfg
(code=exited, status=0/SUCCESS)

Sep 11 08:39:55 harmonia.csd.net mailmanctl[21345]: File
"/usr/lib64/python2.7/codecs.py", line 881, in open
Sep 11 08:39:55 harmonia.csd.net mailmanctl[21345]: file =
__builtin__.open(filename, mode, buffering)
Sep 11 08:39:55 harmonia.csd.net mailmanctl[21345]: IOError: [Errno 13]
Permission denied: '/usr/lib/mailman/logs/error'
Sep 11 08:39:55 harmonia.csd.net mailmanctl[21345]: Original log message:
Sep 11 08:39:55 harmonia.csd.net mailmanctl[21345]: [Errno 13]
Permission denied: '/usr/lib/mailman/logs/error'
Sep 11 08:39:55 harmonia.csd.net mailmanctl[21345]: Sep 11 08:39:55 2020
(21345) Site list is missing: mailman
Sep 11 08:39:55 harmonia.csd.net systemd[1]: mailman.service: control
process exited, code=exited status=1
Sep 11 08:39:55 harmonia.csd.net systemd[1]: Failed to start GNU Mailing
List Manager.
Sep 11 08:39:55 harmonia.csd.net systemd[1]: Unit mailman.service
entered failed state.
Sep 11 08:39:55 harmonia.csd.net systemd[1]: mailman.service failed.

If I look at that file, it is missing. The directory seems correct:

drwxrwsr-x.  2 mailman mailman   19 Sep 11 08:39 logs

I should note that the first time I built/installed it, I had the wrong
prefix directory (/var/lib/mailman) taken from the Ubuntu instructions.
I also was not sure what to use for the other parameters but on CentOS
everything is owned by user mailman:mailman. The 2.15 installation had
that directory (/var/lib/mailman) but it was used by mailman for
something else. So I don't know if by doing that, it messed things up
beyond repair. If so I can reclone my production machine to this test
machine and try again. Please advise. Thanks.

On 8/29/2020 5:18 PM, Tom Coradeschi wrote:
> I found the info here to be of good use on ubuntu. Hopefully centos is 
> similar enough that it’s useful to you.
>
> https://wiki.list.org/DOC/5%20Downloading%20and%20installing%20Mailman
>
> —
> Tom Coradeschi
> tjc...@icloud.com
>
>
>> On 29 Aug 2020, at 2:11 PM, Dennis Putnam  wrote:
>>
>> Since Centos 7 is way behind on mailman rpm (2.1.15 is the only
>> available rpm) and mailman is currently at 2.1.34 I need to do a manual
>> update. While I know how to install software, I am concerned that just
>> doing a manual install from the tarball will mess up current settings,
>> lists and members. Does anyone have experience doing this that can
>> advise about pitfalls or has a cookbook document to do a safe update? TIA.
>>
>> --
>> 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/







signature.asc
Description: OpenPGP digital signature
--
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/


[Mailman-Users] Re: Filer From: no-reply

2020-09-11 Thread Mark Sapiro
On 9/11/20 6:44 AM, Dennis Putnam wrote:

> Thanks. So far it is looking good but I made one small change:
> 
> ^from:\s*( 
> I hope I did it right.


What you did is OK. It will match

From: Jane Doe 

but a simpler way to do that is

^from:\s*(The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan



signature.asc
Description: OpenPGP digital signature
--
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/


[Mailman-Users] Re: Filer From: no-reply

2020-09-11 Thread Dennis Putnam
On 9/11/2020 11:52 AM, Mark Sapiro wrote:
> On 9/11/20 6:44 AM, Dennis Putnam wrote:
>
>> Thanks. So far it is looking good but I made one small change:
>>
>> ^from:\s*(>
>> I hope I did it right.
>
> What you did is OK. It will match
>
> From: Jane Doe 
>
> but a simpler way to do that is
>
> ^from:\s*(
> and to also match
>
> From: nore...@example.com
>
> make it
>
> ^from:\s*(
>
Thanks Mark. Clever. Now that I see it, I should have been able to
figure that out myself. Regex is not my forte.



signature.asc
Description: OpenPGP digital signature
--
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/


[Mailman-Users] Re: Filer From: no-reply

2020-09-11 Thread Stephen J. Turnbull
Dennis Putnam writes:

 > Thanks. So far it is looking good but I made one small change:
 > 
 > ^from:\s*( 
 > I hope I did it right.

That does what you want it to do, and no more.

You can express it more compactly with

^from:\s*(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/


[Mailman-Users] Re: options page for this list?

2020-09-11 Thread Mark Sapiro
On 9/1/20 11:58 AM, Russell Clemings wrote:
> OK, it let me log in when I authenticated with Google, although it didn't
> recognize my gmail address when I asked for a password reset. Odd, but
> maybe it was a stupid question after all. Apologies for the noise.

This thread seems resolved, but here's a bit more info.

The mailman-users@python.org list was migrated to Mailman 3. Mailman 3
core has user passwords, but these currently aren't used for anything
and aren't imported from Mailman 2.1.

These passwords have nothing to do with the web UI. Even though your
list subscription is imported to Mailman core, you still need to create
a Django account to use the web UI. If you have never done this, you
can't get a password reset because there is no account; you have to
"sign up" for an account with your MM 2.1 email address.

I *think* if you try to sign in with one of the supported OAuth2
providers, an account will be created and you don't need to "sign up".

I hope this helps.

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


[Mailman-Users] Re: Apache/mailman2 on RHEL8.2

2020-09-11 Thread Mark Sapiro
On 9/9/20 2:22 PM, Steven Jones wrote:
> 
> Yes I think it is mostly down to RHat doing things "their way" but their 
> method is not documented terribly well, which is usual for them. So I am 
> trying to follow Mailman docs which it seems dont totally apply and I seem to 
> be making a mess of it. Once there I will have docs for it.

I don't know if this will help, but see
. Also if you haven't, see
/usr/share/doc/mailman-2.1.N/INSTALL.REDHAT where N in 2.1.N is the
actual RHEL version.

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


[Mailman-Users] Re: Trying to setup mailman2.1 and following the docs on RHEL8.2

2020-09-11 Thread Mark Sapiro
On 9/9/20 7:24 AM, Stephen J. Turnbull wrote:
> 
> That's a Red Hat problem.

Definitely so.


Apparently systemd expected to find a set
> of files matching the glob "mailman-*.timer" somewhere, and they
> weren't there. Fixing this will require knowledge of Red Hat package
> software layout that I don't have.
> 
> That is not a Mailman-supplied set of files, it's some sort of
> automation supplied by Red Hat.  I'm not even sure what it does; it
> might be the standard Mailman cron jobs, but the extension ".timer"
> makes me unsure.  ".timer" may be a systemd-ism for cron jobs, but I'm
> not a Red Hat user so that's purely a guess.

Yes. systemd supports .timer services which are analogous to cron jobs.
S apparently Red Hat is using this functionality to run some or all of
Mailman's periodic jobs.

You post

[root@vuwunicomailmp1 system]# pwd
/usr/lib/systemd/system
[root@vuwunicomailmp1 system]# for X in mailman-*.timer ; do systemctl
enable $X && systemctl start $X ; done
Invalid unit name "mailman-*.timer" was escaped as "mailman-\x2a.timer"
(maybe you should use systemd-escape?)
Failed to enable unit: Unit file mailman-\x2a.timer does not exist.
[root@vuwunicomailmp1 system]#

The crux is

for X in mailman-*.timer ; do systemctl enable $X && systemctl start $X
; done

This is trying to find all the mailman-*.timer files in
/usr/lib/systemd/system and enable and start them, but there are
apparently no matching files so the shell just passes the literal
"mailman-*.timer" as X and systemctl enable $X complains.

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