Re: [Mailman-Users] Server Migration

2020-02-11 Thread Robert Heller
At Tue, 11 Feb 2020 14:42:15 -0500 Dennis Putnam  wrote:

> 
> 
> 
> Content-Language: en-US
> 
> I've been reading up on migrating to a new server but I'm not sure I am
> reading the right instructions. It seems that copying the lists to the
> new server is one thing but it appears that the end result means the
> users will have to use a new list server. That is, if users were
> emailing listn...@oldserver.domain.com they will now have to email
> listn...@newserver.domain.com. That is not what I want. After migrating
> to the new server I want users to still email
> listn...@oldserver.domain.com. I expect to simply rename the new server
> to the old hostname and change its IP address. Can someone point me to
> some documentation that does that type migration? TIA.

You don't "name" (or rename) the server.  You update the DNS server to use the 
new server's IP address for the old hostname.  How you update the DNS server 
greatly depends on exactly what sort of access you have to the DNS server.

It also depends on what level of access you have to the server(s).  Are these 
VPSs? Physical server boxes?  Are you just swapping physical hardware?  If you 
are swapping *physical hardware*, then you could, once the files are copied 
and everything is working (eg you have tested things as newserver.domain.com), 
you could shutdown the original oldserver.domain.com, and then reconfigure 
newserver.domain.com's IP address to be what oldserver.domain.com was.  In 
that case, there is no need to mess with the DNS server. (You might need to 
mess with a DHCP server, depending on how IP addresses are set up.)

In order to point you in the right direction, you need to tell us more...

> 
> Content-Description: OpenPGP digital signature
> 
> -BEGIN PGP SIGNATURE-
> 
> iF0EARECAB0WIQTebsbo9TQsIuOkbg/9+JZipna1VAUCXkMDmAAKCRD9+JZipna1
> VGajAKDxxI26C50i0+eKII1m8vtNZeuBowCdEXAqTWrPLMx742cnqMIdBBfKYc4=
> =5/6h
> -END PGP SIGNATURE-
> 
> MIME-Version: 1.0
> 
> --
> 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/heller%40deepsoft.com
> 
> 

-- 
Robert Heller -- 978-544-6933 Cell: 413-658-7953
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
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-11 Thread Mark Sapiro
On 2/11/20 11:42 AM, Dennis Putnam wrote:
> I've been reading up on migrating to a new server but I'm not sure I am
> reading the right instructions. It seems that copying the lists to the
> new server is one thing but it appears that the end result means the
> users will have to use a new list server. That is, if users were
> emailing listn...@oldserver.domain.com they will now have to email
> listn...@newserver.domain.com. That is not what I want. After migrating
> to the new server I want users to still email
> listn...@oldserver.domain.com. I expect to simply rename the new server
> to the old hostname and change its IP address. Can someone point me to
> some documentation that does that type migration? TIA.


This is dead simple.

Have you seen , in particular, the two
archived posts linked from the first paragraph.

In any case, there are details depending on things like whether you want
to upgrade/change configurations, but I will assume that this is just a
matter of replacing a server and not changing Mailman.

In that case, you just rsync almost all of Mailman to the new server.
What I did when I did this last December is:

> rsync -a --exclude /locks /var/lib/mailman/ 
> r...@new.example.com:/var/lib/mailman
> rsync -a --exclude *pid --exclude /locks /opt/mailman/mm/var/ 
> r...@new.example.com:/opt/mailman/mm/var

Depending on your installation, you may have only one directory for
$prefix and $var_prefix. You may also have stuff in /etc/mailman.

You also have to copy Mailman's crontab and the relevant web server and
mail server configuration.

You need to set TTL a day or so in advance on your DNS records that
point to the old IP to a very short time, 300 seconds maybe even less if
you can.

Then you stop the services on the old server, change DNS to point to the
dew IP, do the final rsyncs, and start the services on the new server,
and you're done.

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


[Mailman-Users] Server Migration

2020-02-11 Thread Dennis Putnam
I've been reading up on migrating to a new server but I'm not sure I am
reading the right instructions. It seems that copying the lists to the
new server is one thing but it appears that the end result means the
users will have to use a new list server. That is, if users were
emailing listn...@oldserver.domain.com they will now have to email
listn...@newserver.domain.com. That is not what I want. After migrating
to the new server I want users to still email
listn...@oldserver.domain.com. I expect to simply rename the new server
to the old hostname and change its IP address. Can someone point me to
some documentation that does that type migration? TIA.



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] Attachment issue in Outlook

2020-02-11 Thread Mark Sapiro
On 2/11/20 1:55 AM, Kapil Dev Sharma wrote:
> Hi,
> 
> We allow users to send HTML or attachments and also we have msg_header
> completed empty but mail also have an attachment like ATT1.txt, It's
> from mailman side or any other setting which we have to do. Please suggest!


What is the content of the ATT1.txt attachment? In your OP you said
it was the message body. If so, what is it that Outlook displays as the
message? And are you certain that msg_header is completely empty? Even
just a single blank space or new line will make a difference.

If this is an issue that can be addressed by Mailman list configuration,
we need to see the complete MIME structure of the message as sent from
the list. It would also be helpful to see what Outlook displays for
these messages.

Note that you can't post screen shot images to this list, but you can
send them off list to me, and if you don't want to post a complete, raw
message to the list, you can send that off list to me as well.

-- 
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] Attachment issue in Outlook

2020-02-11 Thread Jutta Wrage


Am 11.02.2020 um 10:55 schrieb Kapil Dev Sharma:

> We allow users to send HTML or attachments and also we have msg_header
> completed empty but mail also have an attachment like ATT1.txt, It's
> from mailman side or any other setting which we have to do. Please suggest!

My suggestion: The sender ist attaching the original mail he/she ist answering 
to.

I have been receiving such an attachment a time ago in a private answer to a 
mailing list post: It contained a message from the list or the digest index - I 
do not remember.
I guess the mail client was not able to handle digests. - Outlook, maybe.

Would be a good idea to examine the content of such an attachment.

Ah. just did find my message about that problem: Yes the problem ist produced 
by client software not being able to handle Digests.

The sender of the mailing list message changes from digest mode to message 
mode, the problem will vanish.

Jutta


-- 
http://www.witch.westfalen.de

--
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] Attachment issue in Outlook

2020-02-11 Thread Bruce Johnson
In my experience this is not a Mailman issue, per se, but an Exchange issue on 
the sender’s or recipient's end:

https://community.spiceworks.com/topic/2164722-outlook-exchange-email-attachments-coming-through-as-att


On Feb 11, 2020, at 2:55 AM, Kapil Dev Sharma 
mailto:kapildev.sha...@onsumaye.com>> wrote:

Hi,

We allow users to send HTML or attachments and also we have msg_header
completed empty but mail also have an attachment like ATT1.txt, It's
from mailman side or any other setting which we have to do. Please suggest!


Thanks,
Kapil Dev Sharma



On Tue, Feb 4, 2020 at 2:57 AM Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 2/3/20 5:43 AM, Kapil Dev Sharma wrote:
Hi Team,

We are using mailman 2.1.29. When sending the mail using Mailman, The
email
body content is sent as an attachment (ATT1.txt). We face this type
of
issues only in outlook. Could you please suggest us the solution for the
same.


What does your list do to this mail. I.e. have you set from_is_list or
dmarc_moderation_action to Wrap Message?

Actually, the most likely explanation is the list has set Non-digest
options -> msg_header, and the incoming message (after content
filtering) is other than a single text/plain part. This will cause the
msg_header to be added as a separate MIME part preceding the rest of the
message. If that is the reason, you may be able to adjust the list's
content filtering using things like pass_mime_types,
collapse_alternatives and convert_html_to_plaintext to ensure the
filtered message is a single text/plain part.

However, if you want to allow HTML, and or attachments, you will need to
ensure that Non-digest options -> msg_header is completely empty, or use
a mail client that is better at displaying inline text in line.

--
Mark Sapiro mailto:m...@msapiro.net>>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/kapildev.sharma%40onsumaye.com

--
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/johnson%40pharmacy.arizona.edu

--
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] Attachment issue in Outlook

2020-02-11 Thread Kapil Dev Sharma
Hi,

We allow users to send HTML or attachments and also we have msg_header
completed empty but mail also have an attachment like ATT1.txt, It's
from mailman side or any other setting which we have to do. Please suggest!


Thanks,
Kapil Dev Sharma



On Tue, Feb 4, 2020 at 2:57 AM Mark Sapiro  wrote:

> On 2/3/20 5:43 AM, Kapil Dev Sharma wrote:
> > Hi Team,
> >
> > We are using mailman 2.1.29. When sending the mail using Mailman, The
> email
> > body content is sent as an attachment (ATT1.txt). We face this type
> of
> > issues only in outlook. Could you please suggest us the solution for the
> > same.
>
>
> What does your list do to this mail. I.e. have you set from_is_list or
> dmarc_moderation_action to Wrap Message?
>
> Actually, the most likely explanation is the list has set Non-digest
> options -> msg_header, and the incoming message (after content
> filtering) is other than a single text/plain part. This will cause the
> msg_header to be added as a separate MIME part preceding the rest of the
> message. If that is the reason, you may be able to adjust the list's
> content filtering using things like pass_mime_types,
> collapse_alternatives and convert_html_to_plaintext to ensure the
> filtered message is a single text/plain part.
>
> However, if you want to allow HTML, and or attachments, you will need to
> ensure that Non-digest options -> msg_header is completely empty, or use
> a mail client that is better at displaying inline text in line.
>
> --
> 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/kapildev.sharma%40onsumaye.com
>
--
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