I am developing a milter application to enforce certain properties of both header From and envelop From fields of emails, both outgoing and incoming to my server.
While reading through recent traffic on this list I realized that my current rules were too strict and would break basically all mailling lists. So I am re-writing my rules, and I would like feedback on how these rules will fare "in the wild", by those of you with more experience with mail servers than I have. So, pending a rewrite, my smilter will reject mail (550) under the following conditions: - Mail with unparsable header From or Sender - SASL-auth'd mail w/ hdr From addr not controlled by user - Non-SASL mail w/ env From matching my domain - Non-SASL mail w/ Sender matching my domain - Non-SASL mail w/o Sender: and hdr From matching my domain Looking at the headers from mailing lists I am a part of... These should work fine for the mailing lists I am currently subscribed to, but I am interested in feedback from other Postfix admins. Ryan