请问如何使我的sendmail server能够成为open relay状态?我想通过smtp验证发信!在acess里面需要加什么语句

由 haveyou 在 09-16-2003 09:54 发表:

请问如何使我的sendmail server能够成为open relay状态?我想通过smtp验证发信!在acess里面需要加什么语句

在acess里面需要加什么语句来表示internet上面的所有网段,谢谢!


由 SanMiguel 在 09-16-2003 10:31 发表:


应该默认的就是relay形式吧?至于用smtp认证,我曾用过RH7.2附带的sendmail,我参考了一些书籍:

得修改/usr/share/sendmail-cf/cf中的redhat.mc文件

dnl TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl#去掉前面的 dnl

dnl define(confAUTH_MECHANISMS', DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl#去掉前面的dnl

......

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')#把127.0.0.1改成0.0.0.0或你的邮件服务器地址

#sh Build redhat.cf

#mv /etc/sendmail.cf /etc/sendmail.cf.old#备份

#cp redhat.cf /etc/sendmail.cf

#/etc/rc.d/init.d/sendmail restart<

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