[Exim] port number logging in received lines

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc MERLIN
Date:  
À: exim-users
Sujet: [Exim] port number logging in received lines
Phillip, what do you think?

(since I enabled the port number logging, I've had several complains of
people who say that it caused their spam filters to junk all our mail
(they're typically procmail filters, which among other things check the
validity of the IP addresses in the Received lines))

I think I may patch my exim to output something like this:
([10.1.0.14] port=55044 helo=valinux.com ident=root)

Marc

----- Forwarded message from Herb Lewis <herb@???> -----

Envelope-to: merlin@???
Delivery-date: Thu, 15 Feb 2001 11:32:42 -0800
Date: Thu, 15 Feb 2001 11:31:44 -0800
From: Herb Lewis <herb@???>
Organization: Silicon Graphics Inc.
X-Mailer: Mozilla 4.7C-SGI [en] (X11; I; IRIX 6.5 IP22)
X-Accept-Language: en
To: Marc MERLIN <merlin@???>
Subject: Re: problem with Samba mail traffic and people with spam filters

Marc MERLIN wrote:
>
> [Reply-to set to postmaster@???]
>
> On Thu, Feb 15, 2001 at 10:32:07AM -0500, Michael H. Warfield wrote:
> > ] Received: from beefcake.hdqt.valinux.com
> > ]     ([10.1.0.14.55044] helo=valinux.com ident=root)
> >           ^^^^^^^^^^^^^^^

>
> Yes, it's a configuration option in exim to add the port number. The main
> reason for that is to allow tracking when you go through a NAT firewall
> (i.e. you get the IP of the firewall, and without the port number, you
> cannot trace back the connection to the original sending machine)


Personally I think the exim config is broken if it does not at least
put some delimiter between the IP and the port (either a : or a space)
It could get a little ambiguous otherwise.


----- End forwarded message -----

--
VA Linux Systems Server Sysadmin. 510 687 7061

Home page: http://marc.merlins.org/
Finger marc_f@??? for PGP key