关于如何配置RedHat9.0的sendmail,希望高手帮我写写配置,谢谢!!

来源:百度知道 编辑:UC知道 时间:2024/05/31 12:52:33
DNS+sendmail+redhat9.0的配置。局域网环境下,没有注册域名。我的ip是192.168.1.198。也就是sendmail服务器的IP地址。最终实现能用outlook发送邮件给RedHat。也能用RedHat发给outlook。请问怎么配置??请问设置好sendmail服务器后怎么使用sendmail服务器的,怎么发送给outlook??用什么发送呢??

可以去我qq(157380943)空间里面看,有详细说明,并且调试通过。

Sendmail是目前使用最为广泛的一种E-mail服务器。当前其最新的稳定版本为8.11.4。下载得到tar.gz格式的压缩包以后,将其存放在/usr/src目录下。
解压软件包:
[root@email src]# tar xvfz sendmail.8.11.4.tar.gz
[root@email src]# cd sendmail-8.11.4
编译安装:
[root@email sendmail-8.11.4]# cd sendmail
[root@email sendmail]# sh Build
生成配置文件:
[root@email sendmail]#cd /usr/src/sendmail-8.11.4/cf/cf/
一般该目录下应该有config.mc的文件,如果没有则创建新文件config.mc,内容为:
divert(-1)
dnl This is the macro config file used to generate the /etc/sendmail.cf
dnl file. If you modify thei file you will have to regenerate the
dnl /etc/sendmail.cf by running this macro config through the m4
dnl preprocessor:
dnl m4 /etc/sendmail.mc > /etc/sendmail.cf
dnl You will need to have the Sendmail-cf package installed for this to work.
include(`/usr/src/sendmail-8.11.4/cf')
define(`confDEF_USER_ID',`8:12')
OSTYPE(`li