如何配置sendmail服务器

由 brian 在 07-16-2004 17:23 发表:

如何配置sendmail服务器

我的机子上已安装了sendmail-8.12.10-1,查了些资料,可是没有配置成功,郁闷啊,在此请教了,望能得到指点(最好详细点哦)


由 Snoopy 在 07-18-2004 02:46 发表:


主要在/etc/mail/sendmail.cf里,默认的只需要修改两行就行


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 redsos 在 07-18-2004 10:16 发表:


1.配置好DNS里的配置和MX记录后.

2.修改 /etc/mail/sendmail.mc 配置文件,把

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

修改为:

DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')

2.生成新的配置文件:

/usr/bin/m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

3.重启sendmail:/etc/rc.d/init.d/sendmail restart

注:注意一下防火墙.有时候发不了信.是因为防火墙在作怪.配置好DNS里的MX记录后,你就可以通过 mail.hostname.com 来发信了.


1<font face="宋体">。。。。。。</font>

由 txkss 在 07-18-2004 11:02 发表:

我昨天一夜未睡啊

就是因为这个sendmail搞了一夜

最后也没有成功啊

我要试试上面的方法

如果成功了再回来谢你们啊


由 Snoopy 在 07-18-2004 19:32 发表:


现在不需要用这个/etc/mail/sendmail.mc 来生成


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 brian 在 07-20-2004 10:52 发表:


版主,etc/mail/sendmail.cf我看了,你能详细说明吗?


由 hzbiz 在 07-20-2004 11:25 发表:


Snoopy

★☆★版主☆★☆

请问有什么新的

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus