Home | FAQ | Manual | Ezmlm Manual Pages | Qmail Manual Pages | Readme | Upgrade | Downgrade

Restricting posts based on the Subject line - ezmlm-idx FAQ

Next: , Previous: Rejecting messages sent from other mailing lists, Up: Restricting message posting to the list

8.3 Restricting posts based on the Subject line

ezmlm-reject(1) is by default configured to reject posts with empty subject (-s switch) or with a subject that consists of only an administrative command word (-c switch), such as ‘subscribe’. To remove these restrictions, use the ezmlm-reject(1) -S and -C switch, respectively. You can also into DIR/editor before the ezmlm-send(1) line add:

     | grep -i 'subject:' | grep -if DIR/bad_words >/dev/null && \
               {echo "bad words found"; exit 100; }

to reject messages that have a line matching ‘Subject:’ followed by any bad word listed in DIR/bad_words.