On Jan 29, 2020, at 4:16 AM, Eero Volotinen <eero.voloti...@iki.fi> 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:                   root@discard.invalid

 virtual:
        root                    root@discard.invalid
        r...@example.org        root@discard.invalid

 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, uh...@fantomas.sk ; 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