caktus / margarita

A collection of delicious Salt states for Django project deployments.
BSD 3-Clause "New" or "Revised" License
34 stars 8 forks source link

Mail to the root user doesn't go anywhere #156

Open vkurup opened 7 years ago

vkurup commented 7 years ago

When cron fails to run a command, it sends mail to the root user, but in our config that only appends it to the spool on the local box, without actually notifying anyone. We should probably have it go to admin_email

See also: #155

dpoirier commented 7 years ago

We should also arrange for the root user's email on our servers to always get forwarded to a real address, either by updating /etc/aliases or (simpler) dropping a .forward file into the root user's home directory.