[英]Disable offsite mail relaying
RHEL6 | RHEL6 | High Sev高严重性
Vulnerability Title SMTP unauthenticated 3rd-party mail relay漏洞名称SMTP 未经身份验证的第三方邮件中继
Vuln Description lity is that other organizations, in an attempt to stop the flow of spam, may throw away any mail originating from your server (including legitimate mail from your users).漏洞描述是其他组织为了阻止垃圾邮件的流动,可能会丢弃来自您服务器的任何邮件(包括来自您用户的合法邮件)。
Following FIX Helped, take backup of file在 FIX Helped 之后,备份文件
[root@mail]# cat sendmail.mc | [root@mail]# cat sendmail.mc | grep -v ^dnl | grep -v ^dnl | grep -i smart define( SMART_HOST',
relaymail.sapient.com')dnl [root@mail]# [root@mail]# grep -i smart define( SMART_HOST',
relaymail.sapient.com')dnl [root@mail]# [root@mail]#
mailertable',
hash -o /etc/mail/mailertable.db')dnl grep -i mailerta FEATURE( mailertable',
hash -o /etc/mail/mailertable.db')dnl [root@mail]# cp -p sendmail.mc sendmail.mc.bkp. [root@mail]# cp -p sendmail.mc sendmail.mc.bkp。 date +%F
[root@mail]# date +%F
[root@mail]#
[root@mail]# m4 sendmail.mc > sendmail.cf [root@mail]# m4 sendmail.mc > sendmail.cf
gmail.com smtp:[192.168.100.x]. gmail.com smtp:[192.168.100.x]。 error:Mail to external domain is prohibited [root@ mail]#错误:禁止向外部域发送邮件 [root@mail]#
it helped to fix.它有助于修复。 Hopefully will help, i searched a lot and finally this worked so thought to share.希望会有所帮助,我搜索了很多,最后这很有效,所以想分享一下。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.