我将这段代码添加到sendmail.mc文件中:
dnl # Uncomment and edit the following line if your outgoing mail needs to dnl # be sent out through an external mail server: dnl # define(`SMART_HOST',`in.hes.trendmicro.eu')dnl dnl #
我做了m4转换,使sendmail.cf文件,添加下面的代码:
DSin.hes.trendmicro.eu
/ var / mail / example中出现以下错误:
<[email protected]>... Host unknown (Name server:example.com: host not found)
我不知道我在这里做错了什么,新sendmail。 感谢您的帮助!
名称服务器:example.com:找不到主机
不一定是一个特定于sendmail的问题,但最有可能是一个通用的DNS问题。 example.com的主机名(或MXlogging)无法parsing。
检查是否dig any example.com也给出了一个错误=> DNS问题需要解决,即使configuration了智能主机默认情况下,sendmail仍然会进行DNS查找。