免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2743 | 回复: 8
打印 上一主题 下一主题

[Mail] 为什么我的mail server把所有的邮件都当成垃圾邮件给过滤掉了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-13 10:59 |只看该作者 |倒序浏览
as4+postfix+cyrus-sasl+mysql+postfixadmin+courier-imap+courier-maildrop+squirrelmail+clamav+spamassassin+amavisd-new2.4.4

请问,为什么我的mail server把所有的邮件都当成垃圾邮件给过滤掉了
$sa_tag_level_deflt  = 8.0;  
$sa_tag2_level_deflt = 10;
$sa_kill_level_deflt = 10;
$sa_dsn_cutoff_level = 9;  
--------------
$final_virus_destiny      = D_REJECT;
$final_banned_destiny     = D_BOUNCE;
$final_spam_destiny       = D_REJECT;
$final_bad_header_destiny = D_PASS;
如果把$final_spam_destiny更改为D_PASS就可以发送,不过发送的所有邮件都打上SPAM标识

以下是在网上的类似问题,但都没有结果:
http://www.extmail.org/forum/viewthread.php?tid=2568
http://bbs.et8.net/bbs/showthread.php?t=799986

论坛徽章:
0
2 [报告]
发表于 2008-06-13 11:10 |只看该作者
原帖由 mdiane 于 2008-6-13 10:59 发表
as4+postfix+cyrus-sasl+mysql+postfixadmin+courier-imap+courier-maildrop+squirrelmail+clamav+spamassassin+amavisd-new2.4.4

请问,为什么我的mail server把所有的邮件都当成垃圾邮件给过滤掉了
$sa_t ...


看看你收到的邮件的邮件头

论坛徽章:
0
3 [报告]
发表于 2008-06-13 11:27 |只看该作者
我的邮件头如下:
Return-Path: <test@test.com.cn>
Delivered-To: testwu@test.com.cn
Received: from localhost (em.test.sz.cn [127.0.0.1])
        by mail.test.com.cn (Postfix) with ESMTP id A128BFFDA
        for <testwu@test.com.cn>; Fri, 13 Jun 2008 11:43:04 +0800 (CST)
X-Virus-Scanned: amavisd-new at test.com.cn
X-Spam-Flag: YES
X-Spam-Score: 8.923
X-Spam-Level: ********
X-Spam-Status: Yes, score=8.923 tagged_above=5 required=8 tests=[AWL=-0.801,
        DATE_IN_FUTURE_12_24=3.299, DNS_FROM_RFC_BOGUSMX=2.125,
        FORGED_MUA_OUTLOOK=4.199, RDNS_NONE=0.1, STOX_REPLY_TYPE=0.001]
Received: from mail.test.com.cn ([127.0.0.1])
        by localhost (em.test.sz.cn [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id tFiDytHc5N3l for <testwu@test.com.cn>;
        Fri, 13 Jun 2008 11:43:04 +0800 (CST)
Received: from szinternet03 (unknown [192.168.98.215])
        by mail.test.com.cn (Postfix) with ESMTP id 2BE2DFFD8
        for <testwu@test.com.cn>; Fri, 13 Jun 2008 11:43:04 +0800 (CST)
Message-ID: <023271020B5642A7A8A84CA7011EAD52@szinternet03>
From: "test" <test@test.com.cn>
To: "testwu" <testwu@test.com.cn>
Subject: [SPAM]=?gb2312?B?Rnc6ILu2060=?=
Date: Fri, 13 Jun 2008 11:40:42 -0700
MIME-Version: 1.0
Content-Type: text/plain;
        format=flowed;
        charset="gb2312";
        reply-type=original
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512

[ 本帖最后由 mdiane 于 2008-6-13 11:43 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2008-06-13 11:51 |只看该作者
原帖由 mdiane 于 2008-6-13 11:27 发表
我的邮件头如下:
Return-Path:
Delivered-To: testwu@test.com.cn
Received: from localhost (em.test.sz.cn [127.0.0.1])
        by mail.test.com.cn (Postfix) with ESMTP id A128BFFDA
        for ; Fri, 13 Jun ...



score=8.923 tagged_above=5
改一下你的local.cf中的那个值,改成10试试

论坛徽章:
0
5 [报告]
发表于 2008-06-13 12:25 |只看该作者

更正后的结果

required_hits  6.5
rewrite_header Subject [SPAM]
report_safe 0
use_terse_report 0
trusted_networks 192.168.98.0
required_score 10
use_bayes 1
bayes_auto_learn 1
ok_languages  zh en
ok_locales    zh en
score HEADER_8BITS 0
score HTML_COMMENT_8BITS 0
score SUBJ_FULL_OF_8BITS 0
score UPPERCASE_25_50 0
score UPPERCASE_50_75 0
score UPPERCASE_75_100 0
=============================
$sa_tag_level_deflt  = 9;  
$sa_tag2_level_deflt = 8;
$sa_kill_level_deflt = 10;
$sa_dsn_cutoff_level = 9;  
==============================
更改成如上配置后的邮件头
Return-Path: <test@test.com.cn>
Delivered-To: testwu@test.com.cn
Received: from localhost (em.test.sz.cn [127.0.0.1])
        by mail.test.com.cn (Postfix) with ESMTP id 8CA51FFDA
        for <testwu@test.com.cn>; Fri, 13 Jun 2008 12:20:14 +0800 (CST)
X-Virus-Scanned: amavisd-new at test.com.cn
X-Spam-Flag: YES
Received: from mail.test.com.cn ([127.0.0.1])
        by localhost (em.test.sz.cn [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id XHpNZZRHvp0k for <testwu@test.com.cn>;
        Fri, 13 Jun 2008 12:20:14 +0800 (CST)
Received: from szinternet03 (unknown [192.168.98.215])
        by mail.test.com.cn (Postfix) with ESMTP id ECE55FFD8
        for <testwu@test.com.cn>; Fri, 13 Jun 2008 12:20:13 +0800 (CST)
Message-ID: <2868E266C6EB4F74B2EF03C564907591@szinternet03>
From: "test" <test@test.com.cn>
To: "testwu" <testwu@test.com.cn>
Subject: [SPAM]=?gb2312?B?Rnc6ILu2060=?=
Date: Fri, 13 Jun 2008 12:17:51 -0700
MIME-Version: 1.0
Content-Type: text/plain;
        format=flowed;
        charset="gb2312";
        reply-type=original
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512

论坛徽章:
0
6 [报告]
发表于 2008-06-13 12:40 |只看该作者

反复实验

经过对SPAM判定分数的更改,发现我把分数改成10以后,就可以正常发送邮件而不会被当作垃圾邮件过滤,但还只是一部分,看来得多实验才能知道我自己的mail server适合的分数是多少了。现在疑问就是如何确定适合我的server的判定分数呢

[ 本帖最后由 mdiane 于 2008-6-13 12:43 编辑 ]

论坛徽章:
0
7 [报告]
发表于 2008-06-13 13:15 |只看该作者
根据自己的情况了,我的一般设置在10

论坛徽章:
0
8 [报告]
发表于 2008-06-13 15:51 |只看该作者
原帖由 mdiane 于 2008-6-13 12:40 发表
经过对SPAM判定分数的更改,发现我把分数改成10以后,就可以正常发送邮件而不会被当作垃圾邮件过滤,但还只是一部分,看来得多实验才能知道我自己的mail server适合的分数是多少了。现在疑问就是如何确定适合我 ...


少加点规则,这样就会好很多。

论坛徽章:
0
9 [报告]
发表于 2008-06-13 16:33 |只看该作者

谢谢!

谢谢,暂时先自己多尝试摸索先
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP