You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would also be helpful to indicate on this page which error logs to check for email problems, and to make sure that /var/log/nginx/passenger.log is included. Initially, one kind of error was logged to /var/log/mail.log, but after I resolved that, I wasn't seeing any errors there or in syslog. There was an error in /data/appname/shared/log/production.log, but all it said was "500 Internal Server Error", which wasn't very helpful. It was only after opening a support ticket, wherein EY staff indicated that there were sendmail errors in /var/log/nginx/passenger.log, that I finally had the information I needed to google a solution.
From a non sys-admin perspective, it is hard to know where to look to debug problems when the data can be logged to so many places, and in so many ways. The original errors I was seeing were logged as "sSMTP" errors, so I was focusing on looking for that, but the final message was logged as "sendmail" errors.
After following the instructions at http://docs.engineyard.com/setup-ssmtp-for-mail-relay-to-authsmtp.html, I stopped and rebooted my app, only to find the ssmtp.conf file had been restored to its default settings. I was subsequently informed in a support ticket that I should be using the ssmtp chef recipe (https://github.com/engineyard/ey-cloud-recipes/tree/master/cookbooks/ssmtp).
Given this, it seems to me that the documentation at http://docs.engineyard.com/setup-ssmtp-for-mail-relay-to-authsmtp.html should be replaced with instructions to use the ssmtp chef recipe.
The text was updated successfully, but these errors were encountered: