Last Modified: Nov 07, 2022
Known Affected Versions:
12.0.0, 12.0.0 HF1, 12.0.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.0, 12.1.0 HF1, 12.1.0 HF2, 12.1.1, 12.1.1 HF1, 12.1.1 HF2
Opened: Dec 23, 2015 Severity: 4-Minor Related Article:
Related Article: K40547220
The crontab and ssmtp configurations environment is MAILTO="", which means no email and it is difficult to find where the email went.
- You may receive unexpected messages addressed to "root" at a host named "mail" on your network OR - You may encounter messages similar to the following in /var/log/maillog: Dec 10 03:25:24 BIG-IP-1 err sSMTP: Unable to connect to "mail" port 25. Dec 10 03:25:24 BIG-IP-1 err sSMTP: Cannot open mail:25
This exists in the default crontab and ssmtp configurations.
Change outbound-smtp mailhub to localhost with tmsh: tmsh modify /sys outbound-smtp mailhub localhost
Default mailhub has been changed to localhost. Starting in 12.0.0, MAILTO is set to root instead of "" in /etc/crontab so that the output of cron jobs can be captured. However, ssmtp is configured by default with a mailhost of 'mail', which may result in either error messages logged to /var/log/maillog or unexpected messages received on another system.