ExtMail服务器社区's Archiver

tony_woo 发表于 2009-10-11 22:34

邮件自动抄送后大量的重复邮件啊!!

[img]http://mail.gbocn.com/extmail/1.jpg[/img]

看看效果吧,我实在受不了了~~~

在论坛找了很多办法,好想没有一个能管用的,到底错在哪里?我改还不行吗?

main.cf 配置

receive_override_options = no_address_mappings
always_bcc = [email]moniotr@domain.com[/email]
enable_original_recipient = no

master.cf配置

smtp      inet  n       -       n       -       -       smtpd
#submission inet n      -       n       -       -       smtpd
#       -o smtpd_etrn_restrictions=reject
#       -o smtpd_client_restrictions=permit_sasl_authenticated,reject
        -o receive_override_options=no_address_mappings, no_unknown_recipient_checks, no_header_body_checks

maildrop 启动

postfix  13224  0.0  0.1  7496 1584 ?        S    22:37   0:00 pipe -n maildrop -t unix flags=DRhu user=vuser argv=maildrop -w 90 -d ${user}@${nexthop} ${recipient} ${user} ${extension} {nexthop}
postfix  13225  0.0  0.1  7448 1584 ?        S    22:37   0:00 pipe -n maildrop -t unix flags=DRhu user=vuser argv=maildrop -w 90 -d ${user}@${nexthop} ${recipient} ${user} ${extension} {nexthop}

求路过的大侠指点一二~~~~

tony_woo 发表于 2009-10-13 23:34

被埋了?还是没招了呀?救世主啊,你在哪?

tony_woo 发表于 2009-10-13 23:36

新问题:

最近总收到一些发往域里并不在存的帐户的垃圾邮件,如何杜绝?

liushaobo 发表于 2009-10-14 08:51

回复 1# tony_woo 的帖子

你这问题在dspam for emos 有写

tony_woo 发表于 2009-10-16 09:56

[quote]原帖由 [i]liushaobo[/i] 于 2009-10-14 08:51 发表 [url=http://www.extmail.org/forum/redirect.php?goto=findpost&pid=66705&ptid=11832][img]http://www.extmail.org/forum/images/common/back.gif[/img][/url]
你这问题在dspam for emos 有写 [/quote]

看了,没有找到相关问题的答案

fzhyextmail 发表于 2009-10-16 11:00

[quote]原帖由 [i]tony_woo[/i] 于 2009-10-16 09:56 发表 [url=http://www.extmail.org/forum/redirect.php?goto=findpost&pid=66836&ptid=11832][img]http://www.extmail.org/forum/images/common/back.gif[/img][/url]


看了,没有找到相关问题的答案 [/quote]

在下面页面搜索 bbc 关键字查找
[url]http://www.extmail.org/forum/thread-10451-1-1.html[/url]

tony_woo 发表于 2009-10-19 22:55

[quote]原帖由 [i]fzhyextmail[/i] 于 2009-10-16 11:00 发表 [url=http://www.extmail.org/forum/redirect.php?goto=findpost&pid=66851&ptid=11832][img]http://www.extmail.org/forum/images/common/back.gif[/img][/url]


在下面页面搜索 bbc 关键字查找
[url]http://www.extmail.org/forum/thread-10451-1-1.html[/url] [/quote]

实话实说,这篇文章已经看过很多遍了,修改main.cf 和master.cf 这两个已经翻来覆去很多遍,而且我也贴出来了,应该是别的什么地方出错了。是不是dspam会对每个发件人和收件人大上不同的标记?

homenet 发表于 2010-2-10 11:15

不知你是否是使用的maildrop做的MDA,如果是我也遇到过类似情况,我采取用maildrop的过滤功能去除相同message-id的邮件投递,下面是/etc/maildroprc,仅供参考[code]   #always_bcc
if ( $LOGNAME eq "always_bcc@domain.com" && $FROM eq "always_bcc@domain.com" )
{
    exit
}

if ( $LOGNAME eq "always_bcc@domain.com" )
{
        if ((/^Message-I.*/:hD))
        {
                exist=`[ -f '/tmp/message_id' ] && echo 'y'`
                if ( $exist ne 'y' )
                {
                        `touch /tmp/message_id`
                }
                else
                {
                        num=`wc -l /tmp/message_id |awk '{print $1}'`
                        if ( $num >= 10000 )
                        {
                                `> /tmp/message_id `
                        }
                }
                m_id=`echo $MATCH |awk -F'<' '{print $2}' | awk -F'>' '{print $1}'`
                ok=`grep $m_id /tmp/message_id > /dev/null 2>&1 && echo 'y'`
                if ( $ok ne 'y')
                {
                        date=`date`
                        `echo $date $MATCH >> /tmp/message_id`
                        `test -r $HOME/.mailfilter`
                        if ($RETURNCODE == 0)
                        {
                                    include $HOME/.mailfilter
                        }
                }
                else
                {
                        exit
                }
        }
}

[/code]

deedaa 发表于 2011-12-15 09:48

[b] [url=http://www.extmail.org/forum/redirect.php?goto=findpost&pid=66584&ptid=11832]1#[/url] [i]tony_woo[/i] [/b]


这个问题解决了吗?

lovemay 发表于 2011-12-15 16:56

在dspam for emos 有写方法

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.