SMTPS iApp
Problem this snippet solves:
iApp for setting up SMTPS and/or straight SMTP. This is just an extended version of the SMTP iApp with added SSL support and improved monitoring. Contains contributions by members of the Devcentral community.
Moved to GitHub since the zip attachment disappeared.
Code :
git clone https://github.com/CharlesDarwinUniversity/SMTPS-iApp
Tested this on version:
11.3Published Mar 11, 2015
Version 1.0Sam_Hall
Nimbostratus
Joined February 27, 2012
Sam_Hall
Nimbostratus
Joined February 27, 2012
- Chase_AbbottEmployeeFantastic! Thanks for posting this repo. Do you think any of the updates should make it back into the source iApp from F5?
- Sam_HallNimbostratusHi Chase, Looking at the code, it seems it now has scripted monitor support. Also has support for iRules, which I just discovered a need for. I'll try the F5 one but it does look like mine's been obsoleted. If I notice anything missing I'll let you know. Cheers!
- Sam_HallNimbostratusThe key difference is that mine creates up to three virtual servers depending on the settings. Ports: 25 (straight SMTP only); 465 (expect SSL/TLS); 587 (STARTTLS optional). Mine also has no ipv6 support. The smtps profile is awesome... yoink! I'm going to incorporate some of the F5 iApp back into mine and replace the iRule with the profile awesomeness. Looking at it now, I think a good SMTP iApp should provide up to 3 ports based on your settings like so... 25 (STARTTLS "Allow" optional); 465 (expect SSL/TLS); 587 (STARTTLS "Require"). If you could put those features in I'd use the F5 one instead.
- Sam_HallNimbostratusIf you opt not to permit insecure SMTP you'd obviously force STARTTLS on port 25 (and port 25 would then be configured the same as 587). It seems like the client manages to send their credentials before they get the message that it's not allowed anyway, which is why port 465 is my favorite and should be promoted as the preferred SMTP option for clients to use.