Question

Ensure that system scripts can send email

  • Posted December 23, 2013

What needs to be done to make sure that system scripts are able to send emails to external email addresses when configured to do so?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Have you seen this, thread: <a href=“https://www.digitalocean.com/community/questions/smtp-timeout”>SMTP timeout</a>?

I did. There’s Posfix/Devecot running on the system. Attempts to send emails by system scripts are returning errors, like: <br> <br>ossec-maild(1223): ERROR: Error Sending email to 5.77.x.y (smtp server) 2013/12/23 15:29:52 os_sendmail(1765): WARN: RCPT TO not accepted by server - ‘me@site.com’. <br> <br>Any clues?

Install a mail server. <i>See</i> <a href=“https://www.digitalocean.com/community/articles/how-to-install-the-send-only-mail-server-exim-on-ubuntu-12-04”>How To Install the Send-Only Mail Server “Exim” on Ubuntu 12.04</a>.