On Thu, 14 Aug 2003, Rossz Vamos-Wentworth wrote:
> My mail log has 482 entires like this since last week:
>
> Aug 8 10:04:08 vife exim: 2003-08-08 10:04:08 no IP address found for host
> link.dsl.xmission.com
>
> Checking xmission.com for a web page reveals antispam software, so I assume it's
> an attempt by a spammer to advertise his anti-spam software. I'd just block him at
> the firewall, but the error message doesn't include any ip number for the original
> connection. Is it possible to get the IP in the logged message? How?
The problem is that this message can arise in all sorts of
circumstances, not all of which involve an incoming message from a
remote host. Even if $sender_host_address is set, this may be happening
much later, during a delivery routing. So trying to specify some general
wording is difficult.
Hmm. Just had an idea. If there is no message id defined, this must be
during message reception/verification. That's a good clue. I may be able
to work on that. Idea noted in general. (If there *is* a message id, it
will appear in the log line, and the source of the message can be traced
from it.)
Philip
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book