On Jan 29, 2020, at 4:16 AM, Eero Volotinen <[email protected]> wrote:

Is there easy way to forward all root mail to devnull?

On 29.01.20 04:37, Viktor Dukhovni wrote:
Assuming it is not unwise:

 aliases:
        root:                   [email protected]

 virtual:
        root                    [email protected]
        [email protected]        [email protected]

 transport:
        discard.invalid         discard:silently

Instead arrange for less noisy cron jobs, that inform you of
only unexpected events, or useful metrics.

much better approach.  You never know which process sends important mail to
you about e.g. disk failing.

And perhaps refuse mail to root from external sources.

much better.

--
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Windows 2000: 640 MB ought to be enough for anybody

Reply via email to