Howto setup Sendmail to use ISP SMTP server

In order for the WordPress emails to go out properly, I had to setup Sendmail to connect to my Internet Service Providers SMTP server.

More details after the cut.

For most hosted providers, Sendmail is automatically configured. However, if yo are hosting your server on a private machine at home like I am, with no mail server, you have to use your ISP to send mail.

Here are the instructions on how to do this on Fedora Core 6, with thanks to Dave Pavao.

– All of these steps are done as root.
– Install sendmail-cf:

yum install sendmail-cf

– Edit the file:

vi /etc/mail/
define(`SMART_HOST', `')dnl
FEATURE(`authinfo',`hash /etc/mail/isp-info')dnl

– Edit the rogers-info file, here juser and password are your credentials provided by Rogers:

vi /etc/mail/isp-info "" "" "P:password"

– Run make:

cd /etc/mail

– Create the isp-info.db file:

makemap hash /etc/mail/isp-info < /etc/mail/isp-info

- Restart sendmail:

service sendmail restart

That should be it.

Comments are closed.