diff --git a/roles/mailman/files/mailman-template-users-list-user-notice-hold.txt b/roles/mailman/files/mailman-template-users-list-user-notice-hold.txt new file mode 100644 index 0000000000..eadc4a7216 --- /dev/null +++ b/roles/mailman/files/mailman-template-users-list-user-notice-hold.txt @@ -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%. diff --git a/roles/mailman/tasks/main.yml b/roles/mailman/tasks/main.yml index 6c8ca5cef0..33bbfa9f49 100644 --- a/roles/mailman/tasks/main.yml +++ b/roles/mailman/tasks/main.yml @@ -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 #