免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: michaelwon
打印 上一主题 下一主题

[Mail] 请教有关于过滤垃圾邮件的问题 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2006-08-15 09:38 |只看该作者
是不是我做错了。我把

  1. LOCAL_CONFIG
  2. [code]F{Internal}/etc/mail/intern.only
  3. LOCAL_RULESETS
  4. SLocal_check_rcpt
  5. # if the recipient isn't internal, they get the mail
  6. R$+                        $: <@> $>3 $1
  7. R<@> $={Internal}<@$=w.>        $: <$1@$2>
  8. R<@> $={Internal}                $: <$1@$j>
  9. # no internal alias
  10. R<@>$+                        $@ OK
  11. # check to see if the sender is local
  12. R$*                                $: $>3 $&f
  13. R$+<@$=w.>        $@ OK
  14. # empty sender: accept (RFC 1123)
  15. R<@>                $@ OK
  16. R$+                        $#error $: 551 $&f not allowed to send to recipient

复制代码


直接添加在sendmail.mc的最后。生成的.cf文件好像有问题啊。
我把上面的#的行前面加上了dnl了。
是不是我的方法不对阿?

谢谢啦

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
12 [报告]
发表于 2006-08-15 09:53 |只看该作者
原帖由 michaelwon 于 2006-8-15 09:38 发表
是不是我做错了。我把

[code]LOCAL_CONFIG
[code]F{Internal}/etc/mail/intern.only
LOCAL_RULESETS
SLocal_check_rcpt
# if the recipient isn't internal, they get the mail
R$+                        $: <@> $> ...

如果你對 sendmail 的 ruleset 掌握的不好,
你可以改用別的方法,像 majordomo , mailman 都可以做到保護 aliases 的動作 (只有 member 才能寄)

论坛徽章:
0
13 [报告]
发表于 2006-08-15 10:04 |只看该作者
多谢高人指点。
我去查查资料,学习一下。

论坛徽章:
0
14 [报告]
发表于 2006-08-22 11:09 |只看该作者
majordomo安装好了。
有没有什么设置的文档。可以参考阿?
官方的FAQ感觉太笼统了。

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
15 [报告]
发表于 2006-08-22 11:21 |只看该作者
http://swing.idv.tw/docs/majordomo/
把 listname.conf 看懂你就知道了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP