Re: [Mailman-Users] Achiving not working, no .mbox file is being created

2019-12-05 Thread Mark Sapiro
On 12/5/19 1:25 PM, Bruce  Johnson wrote:
> 
> Thanks, that was it, it was set to -1. If I set it to anything else this only 
> affects lists that have archiving turned on?


Correct.


-- 
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] Achiving not working, no .mbox file is being created

2019-12-05 Thread Bruce Johnson


On Dec 5, 2019, at 2:04 PM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 12/5/19 10:03 AM, Bruce  Johnson wrote:

I’ve reproduced the issue for a test list; the archive directories are created, 
but no .mbox file is being created when messages are sent.

I’ve run check-perm -f to fix any permissions issues, but that did not fix it.

we’re sending email via postfix set up to relay to our actual SMTP server.

There are no errors associated with ArchRunner in the error or qrunner logs, 
and no errors associated with the unarchived posts in any of the logs. I don’t 
see anything in the system logs either.


What is the mm_cfg.py setting for ARCHIVE_TO_MBOX. The possibilities are

#-1 - do not do any archiving
# 0 - do not archive to mbox, use builtin mailman html archiving only
# 1 - do not use builtin mailman html archiving, archive to mbox only
# 2 - archive to both mbox and builtin mailman html archiving.

Thanks, that was it, it was set to -1. If I set it to anything else this only 
affects lists that have archiving turned on?

--
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] Achiving not working, no .mbox file is being created

2019-12-05 Thread Mark Sapiro
On 12/5/19 10:03 AM, Bruce  Johnson wrote:
> 
> I’ve reproduced the issue for a test list; the archive directories are 
> created, but no .mbox file is being created when messages are sent.
> 
> I’ve run check-perm -f to fix any permissions issues, but that did not fix it.
> 
> we’re sending email via postfix set up to relay to our actual SMTP server. 
> 
> There are no errors associated with ArchRunner in the error or qrunner logs, 
> and no errors associated with the unarchived posts in any of the logs. I 
> don’t see anything in the system logs either.


What is the mm_cfg.py setting for ARCHIVE_TO_MBOX. The possibilities are

#-1 - do not do any archiving
# 0 - do not archive to mbox, use builtin mailman html archiving only
# 1 - do not use builtin mailman html archiving, archive to mbox only
# 2 - archive to both mbox and builtin mailman html archiving.

-- 
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] Check message size before moderation status?

2019-12-05 Thread Mark Sapiro
On 12/5/19 8:57 AM, David Gibbs via Mailman-Users wrote:
> Folks:
> 
> I want to adjust my MM install so that it will check the message size
> before a subscribers moderation status.
> 
> Would this be the appropriate change to mm_cfg.py?
> 
> GLOBAL_PIPELINE.remove('Moderate')
> GLOBAL_PIPELINE.insert(GLOBAL_PIPELINE.index('Emergency'), 'Moderate')


That would move Moderate after Hold, MimeDel and Scrubber. I.e., member
moderation and non-member actions would be deferred until after
miscellaneous holds, content filtering and non-digest scrubbing. If
that's what you want, the above would do it. However, what you stated in
words was you want 'too big' before moderation. I would do that with

GLOBAL_PIPELINE.remove('Hold')
GLOBAL_PIPELINE.insert(GLOBAL_PIPELINE.index('Moderate'), 'Hold')

which would put the miscellaneous holds before moderation and non-member
checks.

As an aside, I find this to be useful:

#
# Put MimeDel ahead of Hold so "too big" is based on content filtered
# message.
#
GLOBAL_PIPELINE.remove('MimeDel')
GLOBAL_PIPELINE.insert(GLOBAL_PIPELINE.index('Hold'), 'MimeDel')


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


[Mailman-Users] Achiving not working, no .mbox file is being created

2019-12-05 Thread Bruce Johnson
We’re running v 2.1.12 under CentOS 6. Lists have been running fine for years, 
but recently a list owner wanted to start archiving the list messages. He 
turned on archiving,  made them private, set the frequency ,, but nothing is 
being archived.

I’ve reproduced the issue for a test list; the archive directories are created, 
but no .mbox file is being created when messages are sent.

I’ve run check-perm -f to fix any permissions issues, but that did not fix it.

we’re sending email via postfix set up to relay to our actual SMTP server. 

There are no errors associated with ArchRunner in the error or qrunner logs, 
and no errors associated with the unarchived posts in any of the logs. I don’t 
see anything in the system logs either.

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


[Mailman-Users] Check message size before moderation status?

2019-12-05 Thread David Gibbs via Mailman-Users
Folks:

I want to adjust my MM install so that it will check the message size
before a subscribers moderation status.

Would this be the appropriate change to mm_cfg.py?

GLOBAL_PIPELINE.remove('Moderate')
GLOBAL_PIPELINE.insert(GLOBAL_PIPELINE.index('Emergency'), 'Moderate')

Thanks!

david
-- 
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding in the American Diabetes Association's Tour de Cure to
raise money for diabetes research, education, advocacy, and awareness.
You can make a tax-deductible donation to my ride by visiting
https://mideml.diabetessucks.net.

You can see where my donations come from by visiting my interactive
donation map ... https://mideml.diabetessucks.net/map (it's a geeky
thing).

I may have diabetes, but diabetes doesn't have me!
--
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