On 12/23/20 1:37 PM, Dave Funk wrote:
If all you want is for a particular class of recipients (at the envelope RCPT level) not be passed to spamass-milter inside sendmail that can be done with a bit of hacking of your sendmail config and the milter.

Please elaborate.

I'm not opposed to reconfiguring Sendmail. Though I'd prefer to do it through macros and not need to create custom ruleset(s).

I would prefer an option that does not require altering Sendmail's behavior /if/ it's possible to make SpanAssassin alter it's behavior.

I run my own customized miltrassassin milter which has support for custom macros handed to it from sendmail and it takes special action based on what it gets handed.

Yes, it's possible to pass different macros to different milter stages / action / check points / term???. But that's just data, and not in and of itself conditional.

For example if the 'skip_check' is defined, the miter just returns a 'OK' and doesn't call SA at all.

How are you conditionally passing that to a milter? Does that involve a custom rule set to put 'skip_check' in a macro based on the envelope recipient and not for other recipients?

If the 'no_reject' macro is set then the milter will not generate a "550" SMTP status regardless of how high the SA score is. (needed for "postmaster" messages).

Same question as above, save for 'no_reject' vs 'skip_check'.

What version of sendmail are you using?

8.15.2  (It's an older Ubuntu install that is in need of an upgrade.)



--
Grant. . . .
unix || die

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to