#1431 mailman: add template for held messages on users list
Merged a year ago by kevin. Opened a year ago by tmz.
fedora-infra/ tmz/ansible main  into  main

@@ -0,0 +1,25 @@ 

+ Your mail to '$listname' with the subject

+ 

+     $subject

+ 

+ Is being held until the list moderator can review it for approval.

+ 

+ The message is being held because:

+ 

+ $reasons

+ 

+ Either the message will get posted to the list, or you will receive

+ notification of the moderator's decision.

+ 

+ NOTE: If your message has been held due to size, please consider

+ this a rejection and a friendly request to reduce the size and

+ resend.  The list moderators will not approve such messages.

+ 

+ If you are attaching logs or command output, please trim it to a

+ minimal amount (we can ask for more context, if needed).

+ 

+ If you are attaching an image, please crop it to reduce their size.

+ 

+ Also keep in mind that attachments will be encoded by your mail

+ client (usually via base64) and this encoding increases the size by

+ as much as 33%.

@@ -235,6 +235,20 @@ 

    - config

    - mailman

  

+ - name: Create lists/users.lists.fedoraproject.org/en template dir

+   file: state=directory path=/var/lib/mailman3/templates/lists/users.lists.fedoraproject.org/en

+   tags:

+   - config

+   - mailman

+ 

+ - name: set list:user:notice:hold template for users list

+   copy: src=mailman-template-users-list-user-notice-hold.txt

+         dest=/var/lib/mailman3/templates/lists/users.lists.fedoraproject.org/en/list:user:notice:hold.txt

+         owner=mailman group=mailman mode=0644

+   tags:

+   - config

+   - mailman

+ 

  #

  # Crontab

  #

Add a note to the held message template which explains that messages
held for being over the list size limit (default: 60K) will not be
approved. Offer some suggestions to help senders reduce the size of
their messages.

This will save the list moderators the effort of doing this manually and
will prevent senders from waiting for a reply from those moderators.

References

https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/thread/QIMCJNTLBEDJZEDLAQH53TBTP36VPG54/
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/ZDVJHWAD64J3VKO5OQ2XITOOQMVL73GC/

Signed-off-by: Todd Zullinger tmz@pobox.com

We may want to make this template a site template. I started with only the users list, but am happy to adjust it to use use site/en instead.

I know these aren't my fault, but if it's helpful, fixing all but two of the yamllint warnings seems relatively trivial. I can include a preparatory commit to do so or submit a separate PR, if desired.

Another commit/PR for that would be welcome. :)

Sure thing: #1432 (That crosses the "use sefcontext module" off the TODO list for that file as well.)

rebased onto 3d053cf

a year ago

Pull-Request has been merged by kevin

a year ago