Forum Discussion
JG
May 18, 2014Cumulonimbus
iRule for SMTP: Passing Client IP Addr to backend mail servers
When SNATs are used for a virtual server, the backend SMTP servers cannot get the client IP address. This irule is intended to replace the string after "EHLO" or "HELO" in mail client initiation with...
John_Alam_45640
May 18, 2014Historic F5 Account
The SERVER_CONNECTED event is not needed.
One more thing. In the STREAM::replace command, only the replacement is needed.
STREAM::replace $replacment
Now test it by using a linux server behind a BigIP virtual and netcat such as in these examples.
http://stackoverflow.com/questions/8375860/echo-server-with-bash
You should be able to use telnet and type:
HELO 1.2.3.4
or EHLO 1.2.3.4and it echos back "xxLO [your IP address]"
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects