Skip to content

DLPX-91435 [Forward port of DLPX-91396] All emails generated by specific cron job, are redirected to the user SMTP. #486

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ configure)
systemctl disable motd-news.service
systemctl disable motd-news.timer

#
# Various tools generate mail on the system, e.g. cron, and we don't
# want those to be sent externally via SMTP (or equivalent). Thus,
# we disable this service, so that it doesn't send external mails.
#
systemctl disable nullmailer.service

systemctl enable auditd.service
systemctl enable delphix.target
systemctl enable delphix-platform.service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -705,3 +705,8 @@
block: |
# Set default umask value.
umask 027

- service:
name: "nullmailer"
state: "stopped"
when: not ansible_is_chroot
Loading