Forum Discussion
AaronJB
Jan 22, 2007SIRT
Do you have a case number where that information was given, Nacho? If appropriate that's something I'd like to chase up internally.
For SMTP I don't think it's going to be possible to pass the original client IP across in an iRule as there really isn't anywhere to put it.
For HTTP is possible because (as others have said) you can insert the IP into a header which you then configure the webserver to log, however SMTP doesn't have the concept of headers in the same way.
There is a possibility that I can see here:
If it's possible to configure your mailserver to log part of the actual message headers, rather than just the TCP connection details, it might be possible to insert an additional SMTP mail header (like an 'X-OriginalClient:' header).
However that ability would depend on what your MTA is and the iRule could well be quite complex (I can also see the potential to trip over the 4Mb data-collection limit in iRules).
--
Aaron