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

2020-09-14 Thread Dennis Putnam
On 8/29/2020 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.
>
After additional attempts and some research I am stuck upgrading mailman
2.1.5 to 2.1.34 and get the same results I had reported here earlier. I
followed these instructions:

https://wiki.list.org/DOC/How%20do%20I%20upgrade%20a%20Debian/Ubuntu%20Mailman%20package%20from%20source.

And made, what I thought were, the appropriate changes to the configure
parameters:

./configure --prefix=/usr/lib/mailman --with-username=mailman
--with-groupname=mailman --with-cgi-gid=apache --with-mail-gid=mailman

If anyone sees anything wrong please point it out. Anyway, after doing
the make and install, I start mailman and get this status:

● mailman.service - GNU Mailing List Manager
   Loaded: loaded (/usr/lib/systemd/system/mailman.service; disabled;
vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2020-09-14 10:31:12 MDT;
20min ago
  Process: 20030 ExecStart=/usr/lib/mailman/bin/mailmanctl -s start
(code=exited, status=1/FAILURE)
  Process: 20028 ExecStartPre=/bin/chmod 660 /var/log/mailman/error
(code=exited, status=0/SUCCESS)
  Process: 20024 ExecStartPre=/bin/chown mailman:mailman
/var/log/mailman/error (code=exited, status=0/SUCCESS)
  Process: 20021 ExecStartPre=/bin/touch /var/log/mailman/error
(code=exited, status=0/SUCCESS)
  Process: 20018 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: 20014 ExecStartPre=/usr/lib/mailman/bin/mailman-update-cfg
(code=exited, status=0/SUCCESS)

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

I don't understand the permissions denied error. Unfortunately it does
not tell me what process is trying to open it. The directory is rw by
mailman:mailman. In addition, the error that site list is missing
'mailman' is also confusing. Does the upgrade overwrite something that
makes the existing lists disappear? The instructions say nothing about
running anything else to make the lists known to the new version. I am
guessing I need to do something with 'withlist' but I don't know what.
Finally, I am concerned that the working 2.1.15 version has no
'mm_cfg.py' while the new version has a file with only comments. Perhaps
this is OK if I'm using all defaults. I need someone to nursemaid me
through this upgrade. TIA.



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: mailman v2.x

2020-09-14 Thread Dmitri Maziuk

On 9/13/2020 7:20 PM, dean.coll...@insightplanners.com wrote:

Yay! Most useless, uninformative post of the day!


Are you reading he same mailing list I do? And if yes, the follow-up 
question: did you notice the threads on getting MM2 to work on centos 7, 
RedHat 8, and did you ever stop to consider how they relate to


... the odds are I'll never 
need a "New! Improved!" MM2, or MM3.


*plonk*
Dima
--
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: mailman v2.x

2020-09-14 Thread Steven Jones
HI,

I dont know what planet this user lives on,

"> Speaking as _a_ user, my requirements are simple:
>   1.  MM2 must continue to work,
>   2.  support must continue to be provided."

but really?   try telling say Oracle that they MUST continue to support Oracle 
8.0, LOL.

This is open source there is no MUST in support.  If you think you are entitled 
to free support for ever you are using the wrong product(s).  Except as its 
open source unlike Oracle you can continue to look after it yourself.

Meanwhile thankyou Mailman team for the great product and support over 15+ 
years.


regards

Steven
--
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] mailman 2 and postfix problem

2020-09-14 Thread Steven Jones
Hi,

I am trying to setup a mailman 2 instance on RHEL8.2 and postfix seems to be 
rejecting the input, not sure if it is a Postfix issue or a Mailman issue.  The 
list aaa-seteven is in the aliases file in /etc/mailman


telnet vuwunicomailmd1.ods.vuw.ac.nz 25
Trying 130.195.14.234...
Connected to vuwunicomailmd1.ods.vuw.ac.nz.
Escape character is '^]'.
220 lists.victoria.ac.nz ESMTP Postfix
ehlo vuwunicossj0002.ods.vuw.ac.nz
250-lists.victoria.ac.nz
250-PIPELINING
250-SIZE 3072
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 SMTPUTF8
mail from:ste...@.ac.nz
250 2.1.0 Ok
rcpt to: aaa-ste...@lists.victoria.ac.nz
550 5.1.1 : Recipient address rejected: User 
unknown in local recipient table
quit
221 2.0.0 Bye
Connection closed by foreign host.

any idea please?




regards

Steven



regards

Steven
--
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: mailman 2 and postfix problem

2020-09-14 Thread Robert Heller
At Tue, 15 Sep 2020 00:34:21 + Steven Jones  wrote:

> 
> Hi,
> 
> I am trying to setup a mailman 2 instance on RHEL8.2 and postfix seems to be 
> rejecting the input, not sure if it is a Postfix issue or a Mailman issue.  
> The list aaa-seteven is in the aliases file in /etc/mailman
> 
> 
> telnet vuwunicomailmd1.ods.vuw.ac.nz 25
> Trying 130.195.14.234...
> Connected to vuwunicomailmd1.ods.vuw.ac.nz.
> Escape character is '^]'.
> 220 lists.victoria.ac.nz ESMTP Postfix
> ehlo vuwunicossj0002.ods.vuw.ac.nz
> 250-lists.victoria.ac.nz
> 250-PIPELINING
> 250-SIZE 3072
> 250-VRFY
> 250-ETRN
> 250-STARTTLS
> 250-ENHANCEDSTATUSCODES
> 250-8BITMIME
> 250-DSN
> 250 SMTPUTF8
> mail from:ste...@.ac.nz
> 250 2.1.0 Ok
> rcpt to: aaa-ste...@lists.victoria.ac.nz
> 550 5.1.1 : Recipient address rejected: User 
> unknown in local recipient table
> quit
> 221 2.0.0 Bye
> Connection closed by foreign host.
> 
> any idea please?

What is in your /etc/aliases file?  And did you run /usr/bin/newaliases after 
your last edited /etc/aliases?

Mailman's list creation script does NOT update /etc/aliases.  You have to do 
that by hand.  Until that is done, things are not actually going to work.

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

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
 
--
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: mailman 2 and postfix problem

2020-09-14 Thread Dmitri Maziuk

On 9/14/2020 7:34 PM, Steven Jones wrote:


550 5.1.1 : Recipient address rejected: User 
unknown in local recipient table


Mailman aliases are not there. Assuming aaa-ste...@lists.victoria.ac.nz 
is the list address of course.


They should be included in /etc/postfix/main.cf in
"alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases".

Dima
--
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 (RH)

2020-09-14 Thread Mark Sapiro
On 9/14/20 9:59 AM, Dennis Putnam wrote:
> On 8/29/2020 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.
>>
> After additional attempts and some research I am stuck upgrading mailman
> 2.1.5 to 2.1.34 and get the same results I had reported here earlier. I
> followed these instructions:
> 
> https://wiki.list.org/DOC/How%20do%20I%20upgrade%20a%20Debian/Ubuntu%20Mailman%20package%20from%20source.


This FAQ (note period is part of URL) is not relevant.

The relevant FAQ is https://wiki.list.org/x/8486953> which references
the post at

(also now at

which contains a patch which enables Mailman to install in the
RHEL/Centos way.

(more below)

> And made, what I thought were, the appropriate changes to the configure
> parameters:
> 
> ./configure --prefix=/usr/lib/mailman --with-username=mailman
> --with-groupname=mailman --with-cgi-gid=apache --with-mail-gid=mailman
> 
> If anyone sees anything wrong please point it out. Anyway, after doing
> the make and install, I start mailman and get this status:
> 
> ● mailman.service - GNU Mailing List Manager
>    Loaded: loaded (/usr/lib/systemd/system/mailman.service; disabled;
> vendor preset: disabled)
>    Active: failed (Result: exit-code) since Mon 2020-09-14 10:31:12 MDT;
> 20min ago
>   Process: 20030 ExecStart=/usr/lib/mailman/bin/mailmanctl -s start
> (code=exited, status=1/FAILURE)
>   Process: 20028 ExecStartPre=/bin/chmod 660 /var/log/mailman/error
> (code=exited, status=0/SUCCESS)
>   Process: 20024 ExecStartPre=/bin/chown mailman:mailman
> /var/log/mailman/error (code=exited, status=0/SUCCESS)
>   Process: 20021 ExecStartPre=/bin/touch /var/log/mailman/error
> (code=exited, status=0/SUCCESS)
>   Process: 20018 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: 20014 ExecStartPre=/usr/lib/mailman/bin/mailman-update-cfg
> (code=exited, status=0/SUCCESS)
> 
> Sep 14 10:31:12 harmonia.csd.net mailmanctl[20030]: File
> "/usr/lib64/python2.7/codecs.py", line 881, in open
> Sep 14 10:31:12 harmonia.csd.net mailmanctl[20030]: file =
> __builtin__.open(filename, mode, buffering)
> Sep 14 10:31:12 harmonia.csd.net mailmanctl[20030]: IOError: [Errno 13]
> Permission denied: '/usr/lib/mailman/logs/error'
> Sep 14 10:31:12 harmonia.csd.net mailmanctl[20030]: Original log message:
> Sep 14 10:31:12 harmonia.csd.net mailmanctl[20030]: [Errno 13]
> Permission denied: '/usr/lib/mailman/logs/error'
> Sep 14 10:31:12 harmonia.csd.net mailmanctl[20030]: Sep 14 10:31:12 2020
> (20030) Site list is missing: mailman
> Sep 14 10:31:12 harmonia.csd.net systemd[1]: mailman.service: control
> process exited, code=exited status=1
> Sep 14 10:31:12 harmonia.csd.net systemd[1]: Failed to start GNU Mailing
> List Manager.
> Sep 14 10:31:12 harmonia.csd.net systemd[1]: Unit mailman.service
> entered failed state.
> Sep 14 10:31:12 harmonia.csd.net systemd[1]: mailman.service failed.
> 
> I don't understand the permissions denied error.


I suspect this is a SELinux issue. That's what the RHEL FHS patch is
for. Is SELinux enabled? If yoiu disable it does Mailman start?


-- 
Mark Sapiro 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: mailman 2 and postfix problem

2020-09-14 Thread Mark Sapiro
On 9/14/20 6:07 PM, Dmitri Maziuk wrote:
> 
> Mailman aliases are not there. Assuming aaa-ste...@lists.victoria.ac.nz
> is the list address of course.
> 
> They should be included in /etc/postfix/main.cf in
> "alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases".


This also requires other mm_cfg.py settings. 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/


[Mailman-Users] Re: mailman 2 and postfix problem

2020-09-14 Thread Dmitri Maziuk
Oh wait, did you say RH8? -- /etc/mailman is where "stock" mailman RPM 
puts mailman "config" files on RedHat. If you aren't using a stock RPM 
you need to figure out where you have mailman's aliases and include that 
instead.


Dima
--
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: mailman 2 and postfix problem

2020-09-14 Thread Dmitri Maziuk

On 9/14/2020 8:16 PM, Mark Sapiro wrote:

On 9/14/20 6:07 PM, Dmitri Maziuk wrote:


Mailman aliases are not there. Assuming aaa-ste...@lists.victoria.ac.nz
is the list address of course.

They should be included in /etc/postfix/main.cf in
"alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases".



This also requires other mm_cfg.py settings. See
.



Actually RedHat build Just Works(tm) with only "MTA = 'Postfix'" if you 
use the stock RPM. Or at least it did as of centos 6.


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