Re: Assist with a spam message, check_sender_access and check_client_access targets

2023-01-22 Thread Wietse Venema
Wietse Venema: > Viktor Dukhovni: > > On Sat, Jan 21, 2023 at 02:49:34PM -0500, Wietse Venema wrote: > > > > > Correction: the MTA<==>Milter protocol hides the Received: header > > > that is prepended by the MTA, but it exposes headers that are already > > > present. That's what Sendmail does, and

Re: Assist with a spam message, check_sender_access and check_client_access targets

2023-01-22 Thread Wietse Venema
Viktor Dukhovni: > On Sat, Jan 21, 2023 at 02:49:34PM -0500, Wietse Venema wrote: > > > Correction: the MTA<==>Milter protocol hides the Received: header > > that is prepended by the MTA, but it exposes headers that are already > > present. That's what Sendmail does, and therefore Postfix, too. >

Re: Assist with a spam message, check_sender_access and check_client_access targets

2023-01-21 Thread Viktor Dukhovni
On Sat, Jan 21, 2023 at 02:49:34PM -0500, Wietse Venema wrote: > Correction: the MTA<==>Milter protocol hides the Received: header > that is prepended by the MTA, but it exposes headers that are already > present. That's what Sendmail does, and therefore Postfix, too. Not only does Sendmail do th

Re: Assist with a spam message, check_sender_access and check_client_access targets

2023-01-21 Thread Wietse Venema
Bill Cole: > What is likely happening here is that when a milter sees a message, it > does not have the current Received header, because it has yet to be > fully received. If you are extracting this message from that stage > rather than after final delivery, Postfix has not yet added the Receive

RE: Assist with a spam message, check_sender_access and check_client_access targets

2023-01-21 Thread Scott Techlist
>> No idea what's stripping them. I use amavisd and spamassassin, the >> later I expect. > >Nope. ASF SpamAssassin does not manipulate existing headers in any way >except for pre-existing X-Spam-* headers that it is specifically >configured to remove. When used via amavisd or MIMEDefang or any oth

Re: Assist with a spam message, check_sender_access and check_client_access targets

2023-01-21 Thread Bill Cole
On 2023-01-20 at 17:39:29 UTC-0500 (Fri, 20 Jan 2023 16:39:29 -0600) Scott Techlist is rumored to have said: Noel: [...] I don't see any Received: headers. Something in your system removed those. The Received: headers will include the client IP and possibly hostname that could be used in a ch

Re: Assist with a spam message, check_sender_access and check_client_access targets

2023-01-20 Thread Jaroslaw Rafa
Dnia 20.01.2023 o godz. 15:25:56 Scott Techlist pisze: > X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on > myhost.myservername.com > X-Virus-Scanned: amavisd-new at myservername.com > X-Spam-Flag: NO > X-Spam-Score: 1.451 > X-Spam-Level: * > X-Spam-Status: No, score=1.451 tagged_

RE: Assist with a spam message, check_sender_access and check_client_access targets

2023-01-20 Thread Scott Techlist
Re: Raf >In other words, check_sender_access tests the address >that ended up being stored in the From_ mbox pseudo header: > > From > bounce-91040_html-994996332-142678-514026815-45...@bounce.s11.mc.pd25.com > Fri Jan 20 12:40:11 2023 > >And check_client_access doesn't check any headers at al

Re: Assist with a spam message, check_sender_access and check_client_access targets

2023-01-20 Thread raf
On Fri, Jan 20, 2023 at 03:53:25PM -0600, Noel Jones wrote: > On 1/20/2023 3:25 PM, Scott Techlist wrote: > > I'm fuzzy on if I can block a message like the one below one using > > check_sender_access or check_client_access. > > check_sender_access is the envelope sender address, the > person/