We're migrating from 2.1 to 3.2.1 and an odd issue has popped up. It may be something different in the way mailman3 works, or a misconfiguration on my part.
Most of the lists migrated so far don't have moderators, just owners. However, when these lists have messages requiring moderation, the owners dont get notified of held messages - unlike 2.1 where they did. Is this a change or is there something I am missing in the configuration?
I have the minute/quarterly/hourly etc cron jobs running, although I have had to tune down the frequency of minute to hourly as it takes 6.5 minutes to run* - but I doubt this is the cause.
While for the moment I have found the held messages in files in /var/lib/mailman3/messages and figured out which lists are in need of attention (and notified the owners), it seems I may have to do a bit of coding myself to walk through the lists and notify owners when their list is in need of attention. There must surely be something that does this already - or is this moderators only in mailman3?
Guidance appreciated.
Thanks
-- Alex
- From the list I realise this is because I am still using the default whoosh backend to haystack and need urgently to switch to xapian or solr, but the info on how to get this working for a noob like me is unfortunately lacking :-(
On 10/23/20 8:31 PM, Alex Schuilenburg via Mailman-users wrote:
We're migrating from 2.1 to 3.2.1 and an odd issue has popped up. It may be something different in the way mailman3 works, or a misconfiguration on my part.
Most of the lists migrated so far don't have moderators, just owners. However, when these lists have messages requiring moderation, the owners dont get notified of held messages - unlike 2.1 where they did. Is this a change or is there something I am missing in the configuration?
I have the minute/quarterly/hourly etc cron jobs running, although I have had to tune down the frequency of minute to hourly as it takes 6.5 minutes to run* - but I doubt this is the cause.
While for the moment I have found the held messages in files in /var/lib/mailman3/messages and figured out which lists are in need of attention (and notified the owners), it seems I may have to do a bit of coding myself to walk through the lists and notify owners when their list is in need of attention. There must surely be something that does this already - or is this moderators only in mailman3?
Guidance appreciated.
Thanks
-- Alex
- From the list I realise this is because I am still using the default whoosh backend to haystack and need urgently to switch to xapian or solr, but the info on how to get this working for a noob like me is unfortunately lacking
Hi Alex,
List owners should be receiving moderation notifications and are able to moderate messages when they log into Postorius. Have you checked your MTA logs to see if they are or are not being sent out?
If you don't mind having some paid assistance, I may be able to assist you with getting Xapian up and running. We use Xapian on our vanilla MM3 servers and Elasticsearch on our MM3 Affinity/Empathy servers. You can contact me off list if you are interested.
-- Brian Carpenter Harmonylists.com Emwd.com
On 24/10/2020 01:38, Brian Carpenter wrote:
Hi Alex,
List owners should be receiving moderation notifications and are able to moderate messages when they log into Postorius. Have you checked your MTA logs to see if they are or are not being sent out?
They were not sent out. Its not all lists though, and its intermittent, so something else must be throwing a spanner in the works. I cannot seem to find a reproducible case.
If you don't mind having some paid assistance, I may be able to assist you with getting Xapian up and running. We use Xapian on our vanilla MM3 servers and Elasticsearch on our MM3 Affinity/Empathy servers. You can contact me off list if you are interested.
Thanks, but I got Xapian up and running myself. My debian python libraries are now a patchwork quilt to fix issues like https://gitlab.com/mailman/hyperkitty/-/issues/322, which included modifying one patch from alex silva.
xapian is a hell of a lot faster - < 1s as opposed to ~6m 30s with whoosh for the "minute" cron job on my site.
-- Alex
On 10/23/20 5:31 PM, Alex Schuilenburg via Mailman-users wrote:
Most of the lists migrated so far don't have moderators, just owners. However, when these lists have messages requiring moderation, the owners dont get notified of held messages - unlike 2.1 where they did. Is this a change or is there something I am missing in the configuration?
As Brian said, owners as well as moderators should be notified.
These notices are sent immediately if admin_immed_notify is True. If not, only periodic notices are sent. This needs to be run by cron.
I have the minute/quarterly/hourly etc cron jobs running, although I have had to tune down the frequency of minute to hourly as it takes 6.5 minutes to run* - but I doubt this is the cause.
Those are Django tasks and don't affect this. You also need to run
mailman digests --periodic
to send periodic digests (see
<https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/commands/docs/digests.html>)
and mailman notify
to send periodic moderator notices (see
<https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/commands/docs/notify.html>).
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 24/10/2020 19:29, Mark Sapiro wrote:
Those are Django tasks and don't affect this. You also need to run
mailman digests --periodic
to send periodic digests (see <https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/commands/docs/digests.html>) andmailman notify
to send periodic moderator notices (see <https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/commands/docs/notify.html>).
Thanks for reminding me I need to upgrade :-) 3.2.1 Does not have "notify"
I'll wager that the sporadic notification messages are down to this version, so upgrading just bumped up my todo.
-- Alex
On 10/24/20 5:34 PM, Alex Schuilenburg via Mailman-users wrote:
Thanks for reminding me I need to upgrade :-) 3.2.1 Does not have "notify"
Yes, It did not appear until 3.3.0.
I'll wager that the sporadic notification messages are down to this version, so upgrading just bumped up my todo.
What is your setting for admin_immed_notify (Postorius Settings ->
Automatic Responses -> Admin immed notify)? This should definitely be
Yes if you don't have mailman notify
.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Alex Schuilenburg
-
Brian Carpenter
-
Mark Sapiro