Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Moderating messages by manually

Grep for the message you want under /home/projects/PROJECT/lists/user/mod/pending/

Then you can use ezmlm-accept to send and delete the pending message.
/usr/local/bin/ezmlm/ezmlm-accept ~/PROECJT/lists/user ~/PROJECT/lists/user/mod/pending/<filename>

Include Page
Project Lists
Project Lists

Allowing JIRA / Confluence to post to your list

By default, JIRA and Confluence both send emails with the "Precedence" header set to "bulk". ezmlm-reject automatically rejects such emails and can not be configured to do otherwise.

To resolve this, there is a script

Code Block
/usr/local/bin/nonbulk-ezmlm-reject
Code Block
#!/bin/sh

/bin/awk '/^$/{ body = 1 } { if (body || $0 !~ /^Precedence:/) { print } }' | /usr/local/bin/ezmlm/ezmlm-reject $*

This script filters out any Precedence header before it gets to ezmlm-reject; thus allowing such messages to be processed as normal.

In /home/projects/PROJECT/lists/LIST/editor change the ezmlm-reject line appropriately:

Code Block
|/usr/local/bin/nonbulk-ezmlm-reject -T '/home/projects/cargo/lists/dev'
|/usr/local/bin/ezmlm/ezmlm-gate '/home/projects/cargo/lists/dev' '/home/projects/cargo/lists/dev' '/home/projects/cargo/lists/dev/digest' '/home/projects/cargo/lists/dev/allow' '/home/projects/cargo/lists/dev/mod'
|/usr/local/bin/ezmlm/ezmlm-clean -R '/home/projects/cargo/lists/dev' || exit 0
|/usr/local/bin/ezmlm/ezmlm-warn '/home/projects/cargo/lists/dev' || exit 0
|/usr/local/bin/ezmlm/ezmlm-warn -d '/home/projects/cargo/lists/dev' || exit 0
|/usr/local/bin/ezmlm/ezmlm-tstdig -m30 -k64 -t48 '/home/projects/cargo/lists/dev' || exit 99
|/usr/local/bin/ezmlm/ezmlm-get '/home/projects/cargo/lists/dev' || exit 0

Possible improvements to this include adding an option to control which senders have their Precedence header removed.