I have my webserver with www.domain.com. My email for the same www.domain.com is hosted elsewhere. I therefore use sendmail to send mail, but not to receive.
I can send mail to users no problem, however if I try to send an email to myself (such as server reports) the mail is not sent. Sendmail logs just say unknown user.
How can I get mail sent to email@example.com to be sent to my 3rd party mailhost?
How can I get internal server emails (such as those from cron) to also be sent to my mail host rather than being saved locally on the server?