Your log example shows a cronjob where mailing is disabled, see here.
Please post a cron job from the log where you expect to get a mail but don’t get one.
As regards the backup mail, let’s check the config:
config show backup-data
For missing “Yum: Updates installed on” mails please post the yum-cron config:
I have tested now on my server applying my settings like your configuration and email are delivered correctly.
Could you check if email are in your queue or not?
And in your /var/log/maillog you should see something like this (my emails to root@ are stored in admin@ and it is the only difference)
Feb 11 00:44:58 mail postfix/pickup[29588]: 221372011925F: uid=0 from=<root>
Feb 11 00:44:58 mail postfix/cleanup[1326]: 221372011925F: message-id=<20190210234458.221372011925F@mail.domain.it>
Feb 11 00:44:58 mail opendkim[4336]: 221372011925F: no signing table match for 'root@mail.domain.it'
Feb 11 00:44:58 mail postfix/qmgr[4989]: 221372011925F: from=<root@mail.domain.it>, size=1481, nrcpt=1 (queue active)
Feb 11 00:44:58 mail postfix/cleanup[1326]: 33B4B2015D5BC: message-id=<20190210234458.221372011925F@mail.domain.it>
Feb 11 00:44:58 mail postfix/local[1330]: 221372011925F: to=<root@localhost.domain.it>, orig_to=<root@localhost>, relay=local, delay=0.25, delays=0.21/0.01/0/0.04, dsn=2.0.0, status=sent (forwarded as 33B4B2015D5BC)
Feb 11 00:44:58 mail postfix/qmgr[4989]: 33B4B2015D5BC: from=<root@mail.domain.it>, size=1628, nrcpt=1 (queue active)
Feb 11 00:44:58 mail postfix/qmgr[4989]: 221372011925F: removed
Feb 11 00:44:58 mail dovecot: lmtp(1332): Connect from local
Feb 11 00:44:58 mail dovecot: lmtp(admin@domain.it): iCF0D3q3YFw0BQAAD+y26w: sieve: msgid=<20190210234458.221372011925F@mail.domain.it>: stored mail into mailbox 'INBOX'
Feb 11 00:44:58 mail postfix/lmtp[1331]: 33B4B2015D5BC: to=<admin@domain.it>, orig_to=<root@localhost>, relay=mail.domain.it[/var/run/dovecot/lmtp], delay=0.15, delays=0.04/0.01/0.01/0.1, dsn=2.0.0, status=sent (250 2.0.0 <admin@domain.it> iCF0D3q3YFw0BQAAD+y26w Saved)
Feb 11 00:44:58 mail dovecot: lmtp(1332): Disconnect from local: Successful quit
Feb 11 00:44:58 mail postfix/qmgr[4989]: 33B4B2015D5BC: removed
yum-cron is one of the jobs you don’t get emails for, right? You can try the following (won’t recommend it if you have automatic installation of updates):
grep ^email /etc/yum/yum-cron.conf
sed -i "/^random_sleep/ s/^/#/" /etc/yum/yum-cron.conf # no waiting; the same can be accomplished changing randomWait config prop
yum-cron # if there is any update shall email something
grep Yum $(find /var/lib/nethserver/vmail/root/Maildir/ -type f -mtime -1)
Undo changes in yum-cron.conf:
sed -i "/^#random_sleep/ s/^#//" /etc/yum/yum-cron.conf
I’ve looked for the messages and I cannot find them it is as if they are not being generated.
I don’t have any special configs setup for root e-mails or aliases and it used to work prior to 1/6 and I believe I did and update, which is when I noticed those e-mails weren’t popping anymore however I still have fail2ban e-mails.
I almost want to say it has something to do with the update that I did, because I cannot find any config issues.