Forum Discussion
Bypass SMTP profile for one IP
Hi Martin,
there exists unfortunately no command to detach an assigned SMTP profile. But you may try the iRule below to disable the PSM functionality of the SMTP via the
[PSM::SMTP::disable] command.
https://support.f5.com/csp/article/K10987
Note: The documentation of this command is not maintained anymore, so I dont know if this still works out on latest builds...
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals "10.10.10.0/24"] } then {
PSM::SMTP::disable
}
}
If this iRule does not workout, you may deploy a front-ending VS wich parses the connecting client IPs and then forwards the request either to a SMTP profile enabled VS or a nacked VS in a VIP-targeting-VIP setup...
https://devcentral.f5.com/wiki/iRules.virtual.ashx
Cheers, Kai
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