I have the following problem with a software that should do mail notification for a biometric entry system: the software does currently only support SMTP over port 25 without TLS/SSL. Which is bad because port 25 is blocked in our network due spam reason and our mailserver only support TLS / SSL logins.

so i need a solution to connect to a localhost smtp server which just relays to my ssl host on port 587. i know there is ssmtp for linux, but i need it for windows, because the server app for this biometric stuff only runs on windows...

edit: i know there is the IIS SMTP Server, but maybe something different?

  • Also, I see no reason for the Windows requirement. SMTP is a network protocol; the program could contact a SMTP server running on a different machine in the same LAN -- not necessarily on localhost. – grawity Jun 25 '12 at 17:48

A full SMTP server is unnecessary – use stunnel, which can unwrap SSL from any protocol.

  accept = 25
  connect = fooserver:587
  client = yes
  protocol = smtp

(verify = 2 is highly recommended)

  • does it support SMTP SASL auth? – reox Jun 25 '12 at 16:23
  • @reox: No, stunnel only strips SSL, but relays the SMTP session verbatim - it's up to your program to authenticate correctly. (You did not mention whether the program supports SMTP AUTH.) – grawity Jun 25 '12 at 17:45

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.