Client's IP in the sender messages

Michael Forrest michael at ERG.ABDN.AC.UK
Fri Jul 25 00:30:35 IST 2003


Hi all,

I was wondering if it would be possible to include the client's IP
address in say the sender.spam.sa.report.txt

A wee snippet from the file would be :-

  To: $to
  Date: $date
  Subject: $subject
  Originating IP: $clientip

I had a wee peek through the code and found a variable called $clientip,
although it doesn't appear to do what I thought it did. All I want is to
include the ip address of where the message originated.

Anyone got any thoughts?

Michael.



More information about the MailScanner mailing list