TL;DR - my milter works, but I want it to operate after
smtpd_helo_restrictions, smtpd_recipient_restrictions, and
smtpd_client_restrictions have done their magic because it's
logging information from spam that gets filtered out by those guys
(and also by spamassassin).
We are caching the to and from fields for a CRM system.
Additionally, we are tagging inbound and outbound mail with an
SMTP header and a tag in the body so we can associated
conversations with projects and vice versa. So, I need full access
to the envelope and the body (and attachments, which is another
thread entirely, so let's not get sidetracked there).
In re-reading the FILTER_README and MILTER_READMEs, it almost
seems as if I need to change this from a milter to a filter, but
that is a content filter, which I don't really want to do. I don't
want to change the disposition of any email that has made it past
the restrictiosn and spamassassin. Just clone it for further
I want to cache / copy the emails as they come in, and do not want
to filter anything.
What's my next step? I am hoping there is a config that I have
missed that will apply the milter after the restrictions
have been processed...
Michael Munger, dCAP, MCPS, MCNPS, MBSS
High Powered Help, Inc.
Microsoft Certified Professional
Microsoft Certified Small Business Specialist
Digium Certified Asterisk Professional [hidden email]
> *TL;DR* - my milter works, but I want it to operate /after/
> smtpd_helo_restrictions, smtpd_recipient_restrictions, and
> smtpd_client_restrictions have done their magic because it's logging
> information from spam that gets filtered out by those guys (and also by
Milters receive SMTP commands after smtpd_mumble_restrictions
have allowed those commands.
However, with "smtpd_delay_reject = yes', which is the default,
smtpd_client..sender_restrictions are evaluated during RCPT TO.
Just something to keep in mind.