Forum Discussion
Brian_Mayer_841
Nimbostratus
May 15, 2013MS Exchange ActiveSync iRule with HOST header routing not working
Hi all,
Glad to be back on the F5 forums. Hope you're all doing well today! I have been working to implement Exchange behind our v9.4.8 LTMs (our 11.3 appliances are built and al...
mikeshimkus_111
May 15, 2013Historic F5 Account
Hi Brian,
You could get by with this iRule, if you assign devmail10.lifetech.com_eas as the default pool on the separate ActiveSync virtual server:
when HTTP_REQUEST {
if { [HTTP::header exists "Authorization"] } {
persist uie [HTTP::header "Authorization"] 7200
} else {
persist source_addr
}
if { [HTTP::host] contains "deveas07.lifetech.com" } {
pool dev.mail.lifetech.com_eas
}
}
If there are any syntax errors in your irule, you will usually see them in the /var/log/ltm log. You can add logging statements anywhere in your irule to confirm that it's meeting your conditions, for example:
when HTTP_REQUEST {
if { [HTTP::header exists "Authorization"] } {
persist uie [HTTP::header "Authorization"] 7200
} else {
persist source_addr
}
if { [HTTP::host] contains "deveas07.lifetech.com" } {
pool dev.mail.lifetech.com_eas
log local0. "Forwarded to 2007 pool"
}
}
Also, are you planning on manually configuring your v11 boxes, or using the iApp template? We recommend using the iApp and disabling strictness if you need to do any special post-configuration.
thanks
Mike
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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