Forum Discussion
F5_Jeff
Nov 28, 2018Cirrus
irule for SMTP
Hi Everyone,
we have an ongoing testing and this is the irule that we currently have.
when CLIENT_ACCEPTED {
log local0. "Client_ACCEPTED_HIT: IP address:[IP::client_addr]"
TCP::respond...
Lee_Sutcliffe
Nov 28, 2018Nacreous
Hi Jeff,
It may be easier for people to review your iRule if you format it, using the preformatted code option.
Ideally you should be using $1. But the error you are seeing is because you are using $1 in a client side context before the connection to the server has been made, so the address unknown at this stage.
You should also try to capture an email using tcpdump/wireshark and calculate how many bytes into the payload the google.com and gmail.com are. That way you only need to collect the number of bytes needed.
Lee
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