Forum Discussion
irule for SMTP
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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