I had recently enabled log_incoming_port, and just received a report
from one of our users with the below text. I havent actually checked
RFC-822 yet, but does anyone know if it makes any requirement on the
format of an IP address in the Received header? I'm thinking it probably
doesn't, but I suppose it would be nice if there was a way for exim to
include the IP + port number in the system logs, but just the IP address
in the received header..
I didnt really need log_incoming_port set, that was part of my attempt
to get the IP address of the local socket logged (which failed), so I
have turned it off for now.
Hrm. Its just occured to me that I might be able to leave it on, and
adjust $received_header_text..
Anyway, has anyone else seen this yet? I connected to the MX for up.net,
appears to be sendmail 8.11.. I suspect this is being done in a local
filter, rather than in sendmail itself..
> Your e-mail could not be delivered. Your mail service does not comply
> with RFC-822 regarding IP addresses in Received lines. If there are
> numbers enclosed within square brackets, those numbers must be a valid
> IP address. Your mail program, computer, or server is putting in
> "[192.168.1.4.43524]", which is not a valid IP address. Therefore,
> spam filters, including ours, are rejecting your messages, and they
> are not being delivered.
>
> Please contact your ISP, system administrator, or network
> administrator to correct this problem so that your messages can be
> delivered to the intended recipients.
>
> Thank you, -the Postmaster at up.net