Matthew McGehrin skrev den 2017-09-14 18:57:
Just have your /etc/aliases default to /dev/null for system accounts.
this is completely incorrect way of solving it
MAILER-DAEMON: /dev/null postmaster: /dev/null hostmaster: /dev/null www: /dev/null nobody: /dev/null info: /dev/null spam-trap: /dev/null uucp: /dev/null postfix: /dev/null
correct way is to comment users in this file, not polite but atleast if not want to recieve mails to them its should not be converted to a dropbox mode
perfect way is to define what users should recieve emails in local_recipient_maps, the default allow all system users, this can be changed to who wants it