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

iRule to route to different pools based on email destination addresses.

viziony
Altostratus
Altostratus

Does anyone have an iRule script that would allow to route to different pools based upon email destinations? Use the data group list to perform the check. 

For e.g. 

abc@f5dev.com - dfe@f5dev.com - ghi@f5dev.com -> Goes to Pool A

xzy@f5dev.com -> Goes to Pool B

 

4 REPLIES 4

Samir
MVP
MVP

How do you pass mail id in header?  It is possible if you go via query string route. Example

www.something.com/?email=person@domain.com

.  

Thanks, I will take a look however what would be the irule parameters/syntax to perform such a check and routing? 

@viziony In order to provide the appropriate syntax we would need to see a sample of the HTTP header and what part of the header that you are attempting to match on.

Sure.. Let me grab a sample. Thanks!