bdi wrote:
As many of us know, sendmail with the default setup, is a spammers delight.
- Eric
What do you mean by 'default setup'? When you compile sendmail 8.12.9 from the source (as you should do with any software anyway) and build the cf (properly) file from m4 sendmail is secure.
If you need to relay mails from various IPs like I suspect is the case; IMAP before SMTP, POP before SMTP, SMTP with SSL auth etc should work.
What I've found very nice and secure way is to establish ssh connection to your box and forward local port 25 to local port 25 (if windows: both putty and teraterm-ssh does port forwarding) and allow relaying from the localhost in sendmail (I think it's default anyway). Then, in your email client set up the outbound mail relay as localhost. Yes, there's an extra step to ssh to your server but many will do it anyway. This will also relay your emails securely at least between the client and the mail server
Risto