*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).

Here's my config line:

smtpd_milters = unix:/var/run/spamass/spamass.sock
unix:/var/run/opendkim/opendkim.sock local:/var/run/mcdbcache/mcdb.sock

Background:

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 processing later.

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
mich...@highpoweredhelp.com <mailto:mich...@highpoweredhelp.com>

Reply via email to