I added the following to /etc/mail/sendmail.mc
Code: Select all
define(`MAIL_HUB', `domain.com.')dnl
define(`LOCAL_RELAY', `domain.com.')dnl
EDIT: Locked, glad you have it working.
Code: Select all
define(`MAIL_HUB', `domain.com.')dnl
define(`LOCAL_RELAY', `domain.com.')dnl
Code: Select all
root@nagios:~# mail to [email protected]
Cc:
Subject: test
root@nagios:~#