mailwrapper: no mapping in /etc/mail/mailer.conf
Tagged:  •  

In the daily status mails I found the following lines:

Removing stale entries from sendmail host status cache:
mailwrapper: no mapping in /etc/mail/mailer.conf

This happens on BSD systems where the default sendmail is replaced with something else (e.g. Postfix). Every day some sendmail specific maintenance scripts are being run which cause this error. It's not really harmful, but you can disable this error by adding the following lines to /etc/periodic.conf:

#!/bin/sh

daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"

If necessary, that file should be created because it does not seem to be created on a default installation.