[Mimedefang] add_header all RelaysUntrusted _RELAYSUNTRUSTED_

Marcus Schopen lists at localguru.de
Wed Dec 14 19:23:32 EST 2016

Hi Dianne,

thanks for your time.

Am Mittwoch, den 14.12.2016, 09:42 -0500 schrieb Dianne Skoll:
> On Wed, 14 Dec 2016 12:54:38 +0100
> Marcus Schopen <lists at localguru.de> wrote:
> > > I'd like to set a "add_header all RelaysUntrusted
> > > _RELAYSUNTRUSTED_" to my headers, to see in case of IPs in
> > > trusted_networks on which IPs dnsrbl and dnswl checks run on. But
> > > putting this to sa-mimedefang.cf has no effect.
> > Any ideas?
> MIMEDefang only uses SpamAssassin's analysis portion.  It does **NOT**
> permit SpamAssassin to make any message modifications.  To add headers,
> you need to use MIMEDefang's built-in action_add_header function.

Yes, I use action_change_header and action_delete_header to set X-Spam
headers in mimedefang-filter. What I don't understand is how the get the
value from SA's _RELAYSUNTRUSTED_ inside mimedefang-filter to put it to
action_add_header function.


More information about the MIMEDefang mailing list