Re: [Exim] port number logging in received lines

Top Pagina
Delete this message
Reply to this message
Auteur: Philip Hazel
Datum:  
Aan: Marc MERLIN
CC: exim-users
Onderwerp: Re: [Exim] port number logging in received lines
On Thu, 15 Feb 2001, Marc MERLIN wrote:

> (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 chose to use a dot because that is what "netstat" uses in its output,
at least on Solaris. I cannot remember whether I checked on any other
operating systems. I've just looked at RedHat Linux, and I see that it
uses a colon, which is going to be a disaster for IPv6.

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


> 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.


Colon will be a disaster for IPv6. A dot is not, as far as I can see,
ambiguous either for IPv4 or IPv6.

Anybody else on the list with views on this?

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.