majordomo - check majordomo configuration before accepting mail
This module reads the majordomo configuration for recipients marked as majordomo lists and does some checks before accepting the mail.
Currently the only check implemented is ``restrict_post'': If this option is set for the mailing-list, mails from senders which aren't on the lists are rejected.
This plugin is designed to work together with the aliases plugin. Set the recpient option majordomo_list in the aliases file:
mylist@example.com: mylist@lists.example.com (majordomo_list=/var/lib/majordomo/mylist)
The following parameters are recognized
It is possible to combine both.
The check_envelope method performs the checks described above on the envelope sender.
The save_list method saves the list information in a note so that check_header can get at it later.
The check_header method performs the checks described above on the From: header.
The address comparison is case insensitive, which isn't really correct.
Implement alternate checks on the message (e.g., PGP signature). In fact we could replace the whole resend.pl from majordomo with this.
Peter J. Holzer <hjp@wsr.ac.at>