From dudi at kolcore.com Fri Nov 21 09:28:34 2025 From: dudi at kolcore.com (Dudi Goldenberg) Date: Fri, 21 Nov 2025 08:28:34 +0000 Subject: originating IP Message-ID: Hello list, Running v2.13.0 on Debian 12 behind a mail relay. All detected SPAM is listed as coming from the internal mail relay address. Is there a way to show the real originating IP? TIA & regards, Dudi -------------- next part -------------- An HTML attachment was scrubbed... URL: From p at sys4.de Fri Nov 21 09:31:56 2025 From: p at sys4.de (Patrick Ben Koetter) Date: Fri, 21 Nov 2025 09:31:56 +0100 Subject: originating IP In-Reply-To: References: Message-ID: * Dudi Goldenberg : > Hello list, > > Running v2.13.0 on Debian 12 behind a mail relay. > > All detected SPAM is listed as coming from the internal mail relay address. > > Is there a way to show the real originating IP? If you use Postfix read into XFORWARD. It will allow an MTA to forward the originating towards amavis. p at rick -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schlei?heimer Stra?e 26/MG,80333 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein From uhlar at fantomas.sk Fri Nov 21 09:46:58 2025 From: uhlar at fantomas.sk (Matus UHLAR - fantomas) Date: Fri, 21 Nov 2025 09:46:58 +0100 Subject: originating IP In-Reply-To: References: Message-ID: On 21.11.25 08:28, Dudi Goldenberg wrote: >Running v2.13.0 on Debian 12 behind a mail relay. > >All detected SPAM is listed as coming from the internal mail relay address. > >Is there a way to show the real originating IP? - how do you plug amavis into your MTA (and which MTA it is)? - did you configure trusted_networks and internal_networks in spamassassin local.cf ? https://cwiki.apache.org/confluence/display/SPAMASSASSIN/TrustPath https://cwiki.apache.org/confluence/display/SPAMASSASSIN/TrustedRelays https://spamassassin.apache.org/full/4.0.x/doc/Mail_SpamAssassin_Conf.html -- Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. There's a long-standing bug relating to the x86 architecture that allows you to install Windows. -- Matthew D. Fuller From dudi at kolcore.com Fri Nov 21 10:00:43 2025 From: dudi at kolcore.com (Dudi Goldenberg) Date: Fri, 21 Nov 2025 09:00:43 +0000 Subject: originating IP In-Reply-To: References: Message-ID: Will look into XFORWARD, thanks. D. -----Original Message----- From: amavis-users On Behalf Of Patrick Ben Koetter Sent: Friday, 21 November, 2025 10:32 AM To: amavis-users at amavis.org Subject: Re: originating IP * Dudi Goldenberg : > Hello list, > > Running v2.13.0 on Debian 12 behind a mail relay. > > All detected SPAM is listed as coming from the internal mail relay address. > > Is there a way to show the real originating IP? If you use Postfix read into XFORWARD. It will allow an MTA to forward the originating towards amavis. p at rick -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schlei?heimer Stra?e 26/MG,80333 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein From dudi at kolcore.com Fri Nov 21 10:04:05 2025 From: dudi at kolcore.com (Dudi Goldenberg) Date: Fri, 21 Nov 2025 09:04:05 +0000 Subject: originating IP In-Reply-To: References: Message-ID: Hi, Amavis is called as post-queue content filter from postfix main.cf. Trusted and internal networks are properly configured, with the mail relay IP excluded. Regards, Dudi -----Original Message----- From: amavis-users On Behalf Of Matus UHLAR - fantomas Sent: Friday, 21 November, 2025 10:47 AM To: amavis-users at amavis.org Subject: Re: originating IP On 21.11.25 08:28, Dudi Goldenberg wrote: >Running v2.13.0 on Debian 12 behind a mail relay. > >All detected SPAM is listed as coming from the internal mail relay address. > >Is there a way to show the real originating IP? - how do you plug amavis into your MTA (and which MTA it is)? - did you configure trusted_networks and internal_networks in spamassassin local.cf ? https://cwiki.apache.org/confluence/display/SPAMASSASSIN/TrustPath https://cwiki.apache.org/confluence/display/SPAMASSASSIN/TrustedRelays https://spamassassin.apache.org/full/4.0.x/doc/Mail_SpamAssassin_Conf.html -- Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. There's a long-standing bug relating to the x86 architecture that allows you to install Windows. -- Matthew D. Fuller