-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DLPX-91396 All emails generated by specific cron job, are redirected to the user SMTP. #485
DLPX-91396 All emails generated by specific cron job, are redirected to the user SMTP. #485
Conversation
19c50aa
to
ea49176
Compare
...n/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml
Outdated
Show resolved
Hide resolved
ea49176
to
caa8875
Compare
Got this idea from: bruceg/nullmailer#64 |
…irected to the user SMTP." This reverts commit caa8875.
…to the user SMTP.
Actually, looks like I might be able to just disable the service, which seems like a cleaner solution to me; updated the PR to reflect that. |
Sounds good. It might also be worth looking into the cron configuration. Since we know sending email should never happen, cron may also have a configuration to suppress email. I think CRONDARGS can be set so that cron sends output to syslog instead of email? |
Problem
Emails generated by "cron" are being sent externally via SMTP.
Solution
Disable "nullmailer" service, so it doesn't send email's externally.