Wondering why there is no log data in phpmailer.log, unless.
Posted: Mon Jun 29, 2020 11:29 am
We tried to test how our nagios XI server is working with a SMTP server via phpmailer, and after some tests we found an interesting issue.
There was no log data coming out in the "/usr/local/nagiosxi/tmp/phpmailer.log" file,unless we use send test mail function.
No matter we blocked out the nagios Xi server from the SMTP server or let it work normally.Nothing left in the log file from the host or service
alert notifications.ONLY when we used 'send test mail' function, will there be log message shown.
attachments are our setting and phpmailer log result.
is there any one ever having such experience or knowing how to deal with this problem?
BTW, we DID receive the notification emailS in either way.ONLY the log data is not shown.
There was no log data coming out in the "/usr/local/nagiosxi/tmp/phpmailer.log" file,unless we use send test mail function.
No matter we blocked out the nagios Xi server from the SMTP server or let it work normally.Nothing left in the log file from the host or service
alert notifications.ONLY when we used 'send test mail' function, will there be log message shown.
attachments are our setting and phpmailer log result.
is there any one ever having such experience or knowing how to deal with this problem?
BTW, we DID receive the notification emailS in either way.ONLY the log data is not shown.