Question

Ensure that system scripts can send email

  • Posted on December 23, 2013
  • finidAsked by finid

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?


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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>.