Re: [Mailman-Users] Server Migration

2020-02-13 Thread Dennis Putnam
Hi Mark,

I've been thrown into this so I am unfamiliar with these servers (not my
own that I usually deal with). Anyway, as I unravel things I'm working
with, I see that I am really running version 2.1.9. As I understand it,
the DMARC mitigation was not added until 2.1.18. So I think using
import21 should work, right?

On 2/12/2020 12:51 PM, Mark Sapiro wrote:
> On 2/12/20 9:06 AM, Dennis Putnam wrote:
>> Hi Mark,
>>
>> We finally got the networking folks to cooperate so DNS is the way we
>> will go. I don't know if it makes any difference but the version was a
>> typo, we are at 2.0.x.
> If you really mean your current Mailman is 2.0.x, trying to import to MM
> 3 with `mailman import21` will likely result in a mess. See the
> UPGRADING FROM 2.0.x to 2.1 section at
> 
>
>> Please see embedded comments.
>>
>>> Import the Mailman 2.1 config.pck with `mailman import21`
>> Easy enough assuming I copy config.pck to the new server to run the command.
> Yes.
>
>
>>> Import the Mailman 2.1 archives/private/xxx.mbox/zzz.mbox mailbox with
>>> the Django Admin hyperkitty_import command.
>> I'm not familiar with that. I am guessing, similar to config.pck, I copy
>> that directory to the new server then run that command on that
>> directory. I'll have to install Django.
>
> The Mailman 2.1 archives/private/xxx.mbox/zzz.mbox mailbox is a file,
> not a directory. It is the cumulative mailbox containing all the 'zzz'
> list's archived messages.
>
> A complete Mailman 3 installation will include Postorius and HyperKitty
> and Django to support them. Postorius is the web management UI for
> Mailman. HyperKitty is the archiver. If you don't have that installed,
> there's nothing to import the archives to.
>
>
> --
> Mailman-Users mailing list Mailman-Users@python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: 
> https://mail.python.org/mailman/options/mailman-users/dap1%40bellsouth.net



signature.asc
Description: OpenPGP digital signature
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Server Migration

2020-02-13 Thread Mark Sapiro
On 2/13/20 3:17 AM, Dennis Putnam wrote:
> Hi Mark,
> 
> I've been thrown into this so I am unfamiliar with these servers (not my
> own that I usually deal with). Anyway, as I unravel things I'm working
> with, I see that I am really running version 2.1.9. As I understand it,
> the DMARC mitigation was not added until 2.1.18. So I think using
> import21 should work, right?


Yes, import21 will work with a 2.1.9 config.pck. And yes, there are no
DMARC mitigations in that version.

-- 
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Server Migration

2020-02-13 Thread Dennis Putnam
Hi Mark,

I'm stuck on the 2nd step.

I did:

mailman create rusht...@csdco.com

Got no errors.

I'm on the new server, copied the pickle file from the old server to the
current directory and used the command:

mailman import21 rusht...@csdco.com config.pck

I get: Error: No such list: rusht...@csdco.com

Apparently I don't know what to use for the LISTSPEC. The specified
address is how we send messages to the list. I also tried the FQDN and
got the same error.

On 2/13/2020 11:14 AM, Mark Sapiro wrote:
> On 2/13/20 3:17 AM, Dennis Putnam wrote:
>> Hi Mark,
>>
>> I've been thrown into this so I am unfamiliar with these servers (not my
>> own that I usually deal with). Anyway, as I unravel things I'm working
>> with, I see that I am really running version 2.1.9. As I understand it,
>> the DMARC mitigation was not added until 2.1.18. So I think using
>> import21 should work, right?
>
> Yes, import21 will work with a 2.1.9 config.pck. And yes, there are no
> DMARC mitigations in that version.
>
>
> --
> Mailman-Users mailing list Mailman-Users@python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: 
> https://mail.python.org/mailman/options/mailman-users/dap1%40bellsouth.net



signature.asc
Description: OpenPGP digital signature
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Server Migration

2020-02-13 Thread Mark Sapiro
On 2/13/20 8:40 AM, Dennis Putnam wrote:
> Hi Mark,
> 
> I'm stuck on the 2nd step.
> 
> I did:
> 
> mailman create rusht...@csdco.com
> 
> Got no errors.

Good.
> 
> I'm on the new server, copied the pickle file from the old server to the
> current directory and used the command:
> 
> mailman import21 rusht...@csdco.com config.pck
> 
> I get: Error: No such list: rusht...@csdco.com
> 
> Apparently I don't know what to use for the LISTSPEC. The specified
> address is how we send messages to the list. I also tried the FQDN and
> got the same error.


It should work with either rusht...@csdco.com or rushtalk.csdco.com. Are
you sure you didn't spell it differently on the create? What does

mailman lists

give?

-- 
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Server Migration

2020-02-13 Thread Dennis Putnam
Hi Mark,

For some reason the first 'create' didn't work even though it said
successful. The 2nd on did and the import worked.

On 2/13/2020 12:09 PM, Mark Sapiro wrote:
> On 2/13/20 8:40 AM, Dennis Putnam wrote:
>> Hi Mark,
>>
>> I'm stuck on the 2nd step.
>>
>> I did:
>>
>> mailman create rusht...@csdco.com
>>
>> Got no errors.
> Good.
>> I'm on the new server, copied the pickle file from the old server to the
>> current directory and used the command:
>>
>> mailman import21 rusht...@csdco.com config.pck
>>
>> I get: Error: No such list: rusht...@csdco.com
>>
>> Apparently I don't know what to use for the LISTSPEC. The specified
>> address is how we send messages to the list. I also tried the FQDN and
>> got the same error.
>
> It should work with either rusht...@csdco.com or rushtalk.csdco.com. Are
> you sure you didn't spell it differently on the create? What does
>
> mailman lists
>
> give?
>
>
> --
> Mailman-Users mailing list Mailman-Users@python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: 
> https://mail.python.org/mailman/options/mailman-users/dap1%40bellsouth.net



signature.asc
Description: OpenPGP digital signature
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Server Migration

2020-02-13 Thread Dennis Putnam
Hi Mark,

Sorry for being a PITA but I can't find manage.py. Indeed I can't find
any mailman files other than in /opt/mailman which has no /bin.
Apparently version 3 uses different directories than what I've been
using (/usr/lib/Mailman and /var/lib/mailman).



signature.asc
Description: OpenPGP digital signature
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Upgrading Mailman from Centos package...

2020-02-13 Thread Bruce Johnson
Probably a dumb question, but, this should also be the process to update MM 
from a RHEL/CentOS package to a later version from source?

https://wiki.list.org/DOC/4.80%20How%20do%20I%20upgrade%20from%20Mailman%202.1.x%20to%20a%20later%20Mailman%202.1.y%3F

I've checked this:

https://wiki.list.org/DOC/RHEL%20file%20changes%20after%20version%202.1.5-20

-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Server Migration

2020-02-13 Thread Mark Sapiro
On 2/13/20 11:36 AM, Dennis Putnam wrote:
> Hi Mark,
> 
> Sorry for being a PITA but I can't find manage.py. Indeed I can't find
> any mailman files other than in /opt/mailman which has no /bin.
> Apparently version 3 uses different directories than what I've been
> using (/usr/lib/Mailman and /var/lib/mailman).


It's probably not called manage.py in your installation. In a 'default'
Django install, manage.py is the name of the Django administratitve
command. In your case, it could be called django-admin or something else
depending on how Postorius/HyperKitty were installed.

-- 
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Upgrading Mailman from Centos package...

2020-02-13 Thread Mark Sapiro
On 2/13/20 12:34 PM, Bruce Johnson wrote:
> Probably a dumb question, but, this should also be the process to update MM 
> from a RHEL/CentOS package to a later version from source?
> 
> https://wiki.list.org/DOC/4.80%20How%20do%20I%20upgrade%20from%20Mailman%202.1.x%20to%20a%20later%20Mailman%202.1.y%3F
> 
> I've checked this:
> 
> https://wiki.list.org/DOC/RHEL%20file%20changes%20after%20version%202.1.5-20

Have you also seen which is linked from that?

You basically want to unpack the source tarball or retrieve the latest
source from Launchpad, configure it with --prefix=/usr/lib/mailman, and
'make' but not 'make install', and then update everything that's in
/usr/lib/mailman from the resulting Mailman/, build/bin, build/cron,
messages/, scripts and templates/.

You don't need to be concerned about /usr/lib/mailman/cgi-bin,
/usr/lib/mailman/mail or /usr/lib/mailman/tests.

I think that will work, but I've never done it so no guarantees.

-- 
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Upgrading Mailman from Centos package...

2020-02-13 Thread Bruce Johnson


On Feb 13, 2020, at 2:10 PM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 2/13/20 12:34 PM, Bruce Johnson wrote:
Probably a dumb question, but, this should also be the process to update MM 
from a RHEL/CentOS package to a later version from source?

https://wiki.list.org/DOC/4.80%20How%20do%20I%20upgrade%20from%20Mailman%202.1.x%20to%20a%20later%20Mailman%202.1.y%3F

I've checked this:

https://wiki.list.org/DOC/RHEL%20file%20changes%20after%20version%202.1.5-20

Have you also seen which is linked from that?


Yes I did, and based on everything I looked at in our system it looks like it’s 
supposed to.

The one thing I was worried about was the line " You can find the ./configure 
line you used last time by looking in the config.status file in old source 
tree."

Since I don’t have an old source tree, I was a little worried that there would 
be some weird bits in the config.

You basically want to unpack the source tarball or retrieve the latest
source from Launchpad, configure it with --prefix=/usr/lib/mailman, and
'make' but not 'make install', and then update everything that's in
/usr/lib/mailman from the resulting Mailman/, build/bin, build/cron,
messages/, scripts and templates/.

You don't need to be concerned about /usr/lib/mailman/cgi-bin,
/usr/lib/mailman/mail or /usr/lib/mailman/tests.

I think that will work, but I've never done it so no guarantees.

Fortunately it’s a VM so I can just snapshot it and if the upgrade breaks, just 
roll it back.

Thanks!

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org