tmda-ofmipd + TLS made simpler
Amitai Schlair <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
I've been happily using tmda-ofmipd wrapped with stunnel on port
465 (SMTPS) for quite some time. Upon noticing and reading through
the ofmipd-stunnel-xinetd example in the TMDA distribution, I
decided to also support TLS on port 587. In my case, it turned out
to be quite a bit simpler than the example, so I wanted to report
on my findings here.
Given:
* a long-running tmda-ofmipd on localhost:8025
* a long-running stunnel on port 465 hooked up to tmda-ofmipd
All I needed to do was add these few lines to my existing stunnel.conf:
[submission]
accept = submission
connect = localhost:8025
protocol = smtp
(And restart stunnel, of course.) No clever wrapper scripts, I/O
redirection, or extra stunnel config files needed. :-)
- Amitai