Technical Forum
Ask questions. Discover Answers.
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

SNAT based on mail domain in iRule


Hi there,


I want to collect the SMTP traffic and read the mail from domain. Based on this domain I want to do a SNAT.


The actual problem is that I can't read the TCP Payload.


I've tested with unencrypted smtp traffic to the F5.


Any Ideas how to do that?


You can see the links below with using either TCP::collect or a stream profile:

Thanks for your answer.

I've tried with the TCP::collect.

The problem is that we don't get any SMTP Data. HTTP and HTTPS works fine. But the variable is always empty when SMTP traffic is send.


Any Idea why the variable is emtpy?


Thanks in advance.

See the stream options in: