Forum Discussion
gg234_32466
Nimbostratus
Oct 08, 2010SMTP iRule help needed
Guys,
I am very new to iRules please help me with the following situation
We have a SMTP VS with two members.Now we have a requirement as follows
1) one User sends an email to xxxx@example1.com and another user sends an email to xxxx@example2.com domain users now once bigip SMTP VS receives these mail messages we need to send different mail gateway than the existing members in SMTP VS.
I think this can be done through iRules but i am new to irules and i didn't know how to create for this
Thanks for your help
- JRahm
Admin
There is no standard decode for smtp built in, so you'll need to do a TCP::collect in the CLIENT_ACCEPTED event and process that collection in the CLIENT_DATA event. Take a look at this smtp proxy iRule, it has a lot of the work already done for you: - R_Eastman_13667Historic F5 Account
I have another solution to send an email via an iRule, procedure and sideband connection. Send Email via iRule Procedures
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