Something is trying to send mail, and by default ssmtp (simple smtp) does this by trying to connect to “mail” (through DNS resolution) on port 25 (defined in /etc/ssmtp/ssmtp.conf as ‘mailhub’)
From version 11.5.0 and later, this file is not directly editable, and must be modified using tmsh commands.
Refer to SOL13180 for information about how to configure that.
If that doesn’t solve or explain your problem, I recommend opening a support ticket so that F5 can take a look at your configuration.
It looks like we made some changes in 12.0.0 which result in some scripts that cron runs generating output, and this output by default gets sent to root, which is aliased to postmaster, which is delivered to the value of mailhub (default is ‘mail’).
I’m currently seeing this on a 12.1.1 system in my lab. Let me look into which scripts are doing it, and see what can be done to suppress the messages.
echo “ssmtp test mail” | mail -vs “Test email for SOL13180” [your_email_address]
Interestingly, this change resulted in our F5s sending non-deliverable emails to our SMTP server. We had to implement the workaround indicated in BUG ID 467589 of the 11.5.2 release notes.
Again, from the F5 CLI:
Remount the /usr partition as read-write:
mount -o remount -rw /usr
Edit the /usr/share/mysql/purge_mysql_logs.pl file and change this original line (line 27):
I tried the second part of the work around (needed to change line 19 and not 27) on my test box (12.1.0 HF1) and it had no effect. still getting the messages.
for a customer environment I opened a case and will report back with results.
Ok, my information based on the support ticket. there is one issue that currently if the big-ip wants to send mail and no mail server is configured it uses the default “mail” hostname. there is a bug ID564522 without a fix currently.
of course it doesn’t send these emails by accident, if these happen regularly (every minute, 5 minutes, hour) there must be something wrong in the automatically triggered scripts (usually by the cron daemon). the one for my test system i haven’t found but for another system is was the issue described here:
that is for bug ID ID578036
for me what modifying /etc/cron.usbflush was not enough, also had to change the root crontab itself. please be careful with workarounds like this if you are not that familiar with linux.