Replacing sendmail with esmtp
by jenny on 20 October 2007 - 03:45pm in
esmtp is a drop-in replacement for sendmail. If you're on DSL and everyone in the world blacklists your IP, you can set up esmtp with your DSL-provided SMTP information and continue sending mail as usual.
Install
# apt-get install esmtpConfigure
Edit /etc/esmtprc. You'll probably just need to change hostname, username, and password.
Link it up
# ln -sf /usr/bin/esmtp /usr/sbin/sendmailNote: this will lose all mail to *@localhost and *@hostname, as these will now be redirected to your SMTP provider and either bounced (unknown user or unknown host) or possibly delivered to users of the same name on that system when @localhost is used(?).
