Re: Avoid processing upsteam trusted mail with X-Spam-Flag: YES?

2022-01-06 Thread Dave Warren
On 2022-01-06 11:13, Benny Pedersen wrote: On 2022-01-06 18:20, Grant Taylor wrote: Q:  Does the upstream MSA not do filtering of inbound messages from clients?  I would think that this filtering would cover messages originating from the upstream organization to the downstream organization. t

Re: Avoid processing upsteam trusted mail with X-Spam-Flag: YES?

2022-01-06 Thread Benny Pedersen
On 2022-01-06 21:07, Loren Wilton wrote: Unfortunately it is difficult (without trickery of some sort) to do that if the upstream system is also SA, since SA removes the incoming X-Spam-* headers. https://stackoverflow.com/questions/29182749/define-header-rule-for-x-spam-flag-in-spamassassin

Re: Avoid processing upsteam trusted mail with X-Spam-Flag: YES?

2022-01-06 Thread Loren Wilton
that header should be on same host as the email clients read there mails, if its trusted outside of local mta, then its forged say X-Spam-Flag: NO do we want to trust it ? I have a somewhat similar situation where the mail provider for my personal account runs filtering software that usually

Re: Avoid processing upsteam trusted mail with X-Spam-Flag: YES?

2022-01-06 Thread Benny Pedersen
On 2022-01-06 18:20, Grant Taylor wrote: Q: Does the upstream MSA not do filtering of inbound messages from clients? I would think that this filtering would cover messages originating from the upstream organization to the downstream organization. that header should be on same host as the ema

Re: Avoid processing upsteam trusted mail with X-Spam-Flag: YES?

2022-01-06 Thread Jered Floyd
> I don't know if it would work in your scenario or not, but it might work > to have the upstream system send to the downstream mailhub on a > different IP+port pair wherein SpamAssassin is not integrated. In > Sendmail, this could be as simple as an additional DaemonPort that > doesn't include

Re: Avoid processing upsteam trusted mail with X-Spam-Flag: YES?

2022-01-06 Thread Grant Taylor
On 1/5/22 9:19 PM, Jered Floyd wrote: Some of this mail gets forwarded to another organization (also partially under my control) which has a mailhub also running spamassassin. I would like the downstream spamassassin to skip scanning on messages flagged as spam, rather than wrapping in another

Re: Avoid processing upsteam trusted mail with X-Spam-Flag: YES?

2022-01-06 Thread Bill Cole
On 2022-01-05 at 23:19:59 UTC-0500 (Wed, 5 Jan 2022 23:19:59 -0500 (EST)) Jered Floyd is rumored to have said: I have an upstream mail server running spamassassin as part of a relatively complex mail flow. This server will flag mail identified as spam with X-Spam-Flag: YES (among other standa