Hey list,
On my box I have sendmail running. In order to use SMTP over SSL I run it with stunnel in inetd:
smpts stream tcp nowait root /usr/local/sbin/stunnel stunnel -D 3 -p /usr/local/ssl/certs/stunnel.pem -r smtp
Further I configured sendmail to use SMTP AUTH. Everything works perfect.
But: smpts is on port 465. I configured my clients such that they use that port. So far so good. But now port 25 can still be used to send email. I could block it at the firewall but then I am not able to receive email any more, because other mailservers are talking with me on that port. (right?)
Is there a solution that I can use SMTP over SSL and SMTP AUTH? Clients should not be able to connect without SSL or SMPT AUTH!
firewall it on the local machine, Linux has firewalling capabilities (ipchains in 2.2, iptables in 2.4).
Thanks
Raffy
-Kurt