Forum Discussion
Routing to multiple external SMTP servers
We have multiple external SMTP services and we would like for F5 to load balance between them. Each service has a different set of credentials.
Initially I was thinking of setting a up each service as a pool member and injecting the SMTP credentials using an iRule when the member is selected. But I was not able to do it using the iRule.
Is that something possible to do with LTM? And if so how?
4 Replies
- Hamish
Cirrocumulus
Not OOTB.
You'd need to persist with your original thoughts, and write an iRule to insert the credentials into the stream dependent on the member being selected.
You didn't elaborate why it didn't work previously...
H
- Eugene_Reznik_1
Nimbostratus
Here is the iRule:
when CLIENT_ACCEPTED { STREAM::expression {@username@user123@ @password@pass123@} STREAM::enable }It works when replacing username string as a part of subject/body but not when it's the same string within the actual SMTP username or password.
- nitass
Employee
are you talking about smtp auth? if yes, is username and password sent in clear text? How to Test SMTP AUTH using Telnet https://www.ndchost.com/wiki/mail/test-smtp-auth-telnet - Eugene_Reznik_1
Nimbostratus
Thanks nitass that was it! I was sending the username and password in plain text.
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