Mail relay host in sendmail

I wanted sendmail on my Ubuntu server to relay all outgoing e-mails to one specific server, this is what i did.

Install sendmail
# sudo aptitude install sendmail -y

Confiure sendmail
# sudo nano /etc/mail/

Edit the “Smart” relay host.

Restart sendmail
# sudo /etc/init.d/sendmail restart

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.