在 AIX 平台下编译安装 Sendmail
2008-09-06 08:20:57 来源:WEB开发网相关注意事项及常见问题
注意 DNS 域名解析服务器的配置:smitty namerslv,如果没有 DNS 域名服务,Sendmail 将无法正确解析邮件地址的域名也就无法发送电子邮件。
注意相关文件的配置:Sendmail 后台服务是否在系统开机时自动启动:/etc/rc.tcpip,如下:……( 省略 )
# Start up the sendmail daemon.
#
# Sendmail will automatically build the configuration and alias
# data bases the first time it is invoked. You may wish to update
# the alias source file /usr/lib/aliases with local information,
# and then rebuild the alias data base by issuing the command
# "/usr/lib/sendmail -bi" or "/usr/ucb/newaliases".
#
# When the configuration or alias data bases are changed, the
# sendmail daemon can be made to rebuild and re-read them by
# issuing the command "kill -1 `cat /etc/sendmail.pid`" or, if
# SRC was used to start the daemon, "refresh -s sendmail".
#
# The "qpi", or queue processing interval, determines how
# frequently the daemon processes the message queue.
#
qpi=30m # 30 minute interval
#
start /usr/lib/sendmail "$src_running" "-bd -q${qpi}" # 请注意这一行开头并没有注释符“#”
则表示系统开机自动在后台启用 Sendmail。
如果启用针对 Sendmail 的日志监控,还要注意 /etc/syslog.conf 的配置,并且确认邮件日志文件保存在 /var/spool/mqueue:“/var/spool/mqueue/syslog”.
更多精彩
赞助商链接