[Mailman-Users] Re: Post log not being written

2020-09-21 Thread Mark Sapiro
On 9/21/20 9:07 AM, Mark Dale wrote:
> 
>>> Today that log file has rotated ("post.1) and the new post log file was
>>> not being written to -- until I restarted the qrunner again. As said,
>>> no problems with mail delivery, and the other logs.
> 
>> What does your logrotate script contain?
>> Does it do
>> bin/mailmanctl reopen
>> after rotation?
> 
> 
> Yes. It does "reopen" for "post". 
> 
> /var/log/mailman/subscribe /var/log/mailman/post {
> su root list
> daily
> missingok
> create 0664 list list
> rotate 3
> compress
> delaycompress
> sharedscripts
> postrotate
> [ -f '/var/run/mailman/mailman.pid' ] && 
> /usr/lib/mailman/bin/mailmanctl -q reopen || exit 0
> endscript
> }


After rotation, do the post log messages get written to the prior
(rotated) log or do they disappear?

Does /var/run/mailman/mailman.pid exist and contain the master watcher's
PID when Mailman is running?

FWIW, I don't try to check if mailman is running in my postrotate
script. I use

> postrotate
> /usr/local/mailman/bin/mailmanctl reopen >/dev/null 2>&1 || true
> endscript



-- 
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: Subscribers receive some messages, not all messages

2020-09-21 Thread Mark Sapiro
On 9/20/20 3:45 PM, Thomas Gramstad wrote:
> On a new list I have created, some subscribers seem to receive only some
> of the postings to the list, not all the postings, in a seemingly random
> way.
> 
> The missing posts are not in the recipients' spam filters. I suspect
> this may be related to complications related to the newer anti-spam
> methods SPF, DMARC, DKIM. I don't know how those things work, and I have
> the default settings (in Mailman 2.1.29) for them.
> 
> What can I do to improve message delivery?


Publish an appropriate SPF record and DKIM sign outgoing list mail.
These are outside of Mailman (DNS and the MTA). Within mailman, ensure
you have DMARC mitigations enabled. Most people find Privacy options...
-> Sender filters -> dmarc_moderation_action = Munge From and Privacy
options... -> Sender filters -> dmarc_quarentine_moderation_action = Yes
to be what they want.

It can also help with some ISPs to publish a DMARC policy for your
domain in DNS, even if it is p=none.

Beyond that, do the messages bounce? I.e. are there entries in Mailman's
bounce log. Also, what do the MTA logs say about these deliveries?

-- 
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: extracting a lists's setting to move the list to a new domain

2020-09-21 Thread Steven Jones
Thanks


regards

Steven


From: Mark Sapiro 
Sent: Monday, 21 September 2020 10:38 AM
To: mailman-users@python.org 
Subject: [Mailman-Users] Re: extracting a lists's setting to move the list to a 
new domain

On 9/20/20 1:42 PM, Brian Carpenter wrote:
> On 9/20/20 4:35 PM, Steven Jones wrote:
>> I cant find anything on extracting a list's settings, owners etc and
>> then using those to create a new list on a new domain.
>>
>> Is there a simple operational command to extract and inject?


The tool for this is mailman's bin/config_list which can both esport and
import list configuration but not list membership.


> Do you have root or admin access to the server? There are tools in the
> bin directory that allows for such functions via the command line. You
> can retrieve your list roster using the who command via email. Also the
> list/listname/config.pck has all that information but again you need to
> have root access to the server to retrieve that. Here are some
> directions to use the WHO command:


As Brian notes, the email `who` command can be ysed to extract list
membership as can the command line bin/list_members, and either of these
lists can be used as input to bin/add_members or the admin Mass
Subscribe function, but these operations do not preserve user options,
passwords, etc.

The one single way to move everything is to obtain a copy of Mailman's
lists//config.pck file and move it, and maybe also get the
lists archives/private/.mbox/.mbox file and use it
to rebuild the archive.

See 

 for more info.

All the above assumes the new domain is on a different server. If it is
just a different virtual domain on the same server, 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://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Fmailman3%2Flists%2Fmailman-users.python.org%2Fdata=02%7C01%7Csteven.jones%40vuw.ac.nz%7C75293fc02bd3424b75ce08d85db604a6%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637362383683015426sdata=Qc6Am4SKLezaQDp0hVF4ze7aauMtH9L4zE41f9WRNAE%3Dreserved=0
Mailman FAQ: 
https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.list.org%2Fx%2FAgA3data=02%7C01%7Csteven.jones%40vuw.ac.nz%7C75293fc02bd3424b75ce08d85db604a6%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637362383683015426sdata=Qgb5cyeta%2Fe7amNVzzE6ObHZcX%2FV9hW%2B2g2JVF5AN1k%3Dreserved=0
Security Policy: 
https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.list.org%2Fx%2FQIA9data=02%7C01%7Csteven.jones%40vuw.ac.nz%7C75293fc02bd3424b75ce08d85db604a6%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637362383683015426sdata=vEJtrsEW2oNKQqJVaQhutru%2Flwk0iEiirlRAocW3zC0%3Dreserved=0
Searchable Archives: 
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.mail-archive.com%2Fmailman-users%40python.org%2Fdata=02%7C01%7Csteven.jones%40vuw.ac.nz%7C75293fc02bd3424b75ce08d85db604a6%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637362383683015426sdata=fWU83LhTTRrm6KAdwiiiPZz2GzNtMg484PuF2Rms0QQ%3Dreserved=0

https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Farchives%2Flist%2Fmailman-users%40python.org%2Fdata=02%7C01%7Csteven.jones%40vuw.ac.nz%7C75293fc02bd3424b75ce08d85db604a6%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637362383683015426sdata=lkkHU8V413MawCwhC6ycz%2FIUs0cXuvvyFAtgLOV4eMc%3Dreserved=0
--
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: Post log not being written

2020-09-21 Thread Mark Dale

> >Today that log file has rotated ("post.1) and the new post log file was
> >not being written to -- until I restarted the qrunner again. As said,
> >no problems with mail delivery, and the other logs.

> What does your logrotate script contain?
> Does it do
> bin/mailmanctl reopen
> after rotation?


Yes. It does "reopen" for "post". 

/var/log/mailman/subscribe /var/log/mailman/post {
su root list
daily
missingok
create 0664 list list
rotate 3
compress
delaycompress
sharedscripts
postrotate
[ -f '/var/run/mailman/mailman.pid' ] && 
/usr/lib/mailman/bin/mailmanctl -q reopen || exit 0
endscript
}
--
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] Subscribers receive some messages, not all messages

2020-09-21 Thread Thomas Gramstad
On a new list I have created, some subscribers seem to receive 
only some of the postings to the list, not all the postings, in a 
seemingly random way.


The missing posts are not in the recipients' spam filters. I 
suspect this may be related to complications related to the newer 
anti-spam methods SPF, DMARC, DKIM. I don't know how those things 
work, and I have the default settings (in Mailman 2.1.29) for 
them.


What can I do to improve message delivery?

Thomas Gramstad
--
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: Post log not being written

2020-09-21 Thread Mark Sapiro
On September 20, 2020 9:17:38 PM PDT, Mark Dale  wrote:


>Today that log file has rotated ("post.1) and the new post log file was
>not being written to -- until I restarted the qrunner again. As said,
>no problems with mail delivery, and the other logs.


What does your logrotate script contain?

Does it do

bin/mailmanctl reopen

after rotation?



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