Running service sendmail status returns the sendmail service as inactive.
Manually starting this service appears to be successful, but soon later it is no longer running.
Sending a test mail to using sendmail (sample command below) fails/times out:
echo "Subject: sendmail test" | sendmail -v [email protected]
The issue is caused by the DeamonPortOptions values being spread over two lines in the sendmail.cf file.
This issue is been fixed in vCenter Server 6.5 Update 2d
Workaround :-
To resolve the issue follow the below steps:
Before Change:
# SMTP daemon options
O DaemonPortOptions=Name=MTA
O DaemonPortOptions=Addr=127.0.0.1,Port=smtp
After Change:
# SMTP daemon options
O DaemonPortOptions=Name=MTA,Addr=127.0.0.1,Port=smtp
#O DaemonPortOptions=Addr=127.0.0.1,Port=smtp
6. Start the sendmail service and the issue should now be resolved.