How to set up a mail server on Linux only for sending admin/debug emails?

Posted by ChocoDeveloper on Pro Webmasters See other posts from Pro Webmasters or by ChocoDeveloper
Published on 2014-05-30T23:16:15Z Indexed on 2014/05/31 3:55 UTC
Read the original article Hit count: 224

Filed under:
|

I need to send server reports to myself from my remote servers, and I don't mind them going to spam, so I don't need SPF, DKIM, etc.

I tried using mailutils to send something like this: uptime | mail -s "uptime" [email protected], but the emails don't go through. In /var/mail/root I received a message saying the HELO was invalid. So then I tried also adding -r root@my-ip, and now I don't get any error messages but I don't receive the email either.

How can I do this?

© Pro Webmasters or respective owner

Related posts about email

Related posts about linux