Re: [exim] Logging IPv4 port numbers

Top Page
Delete this message
Reply to this message
Author: Richard Clayton
Date:  
To: Mike Cardwell
CC: exim-users
Subject: Re: [exim] Logging IPv4 port numbers
In message <4D415028.5070506@???>, Mike Cardwell <exim-
users@???> writes

>On 27/01/2011 10:58, Mike Cardwell wrote:
>
>>> So source port numbers need to be added to exim's logging...
>>
>> log_selector = +incoming_port
>
>Ah, actually that's the server side port, not the client side port.


No, you were right the first time, that's exactly the setting needed.

Thanks!

I got confused by reading the source code, which unconditionally adds
the port number and then decides to strip it off again if the port is
unknown or the option is not set! There's then lots of other
conditionals further down the routine :(

Anyway, I would therefore modify my suggestion to considering changing
this setting to be default, or at the very least adding it (commented
out, but with a clear explanation above it) to the default configuration
file src/configure.default

- -- 
richard                                                   Richard Clayton


Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety. Benjamin Franklin 11 Nov 1755