qsed-abuse01@hzqbbc.com
发新话题
打印

[原创] Dspam+Amavis-new+SA+Clamav for EMOS (震撼推出)

本主题由 hzqbbc 于 2009-11-5 11:55 解除高亮
Trust 部分这个说来话长,并不是数据库帐户,是系统帐户,但实际系统没有extmail用户,应该不必写Trust extmail的。楼上可以测试一下。
请引用或摘抄本站文章信息的朋友,保留本站链接及作者信息,保护版权,谢谢。

构建高性能大容量开源邮件系统- ExtMail

Postfix在中国官方网站

TOP

不错不错。刚才安装了一下,感觉还可以。不过有点不爽的是英文的。国产开源社区为什么还弄个英文的。我觉得可以改为中文的,或者有多语言设置,忠心的fans.

TOP

44楼这话。。。 其实能达到现在这个地步,已经花去2个人的人力近2周时间了。呵呵。不过您提的建议是不错,官方的webui写的是挺烂的。哈哈。不支持多语言。以后dspam使用的好,我们计划为官方贡献一个好的webui
请引用或摘抄本站文章信息的朋友,保留本站链接及作者信息,保护版权,谢谢。

构建高性能大容量开源邮件系统- ExtMail

Postfix在中国官方网站

TOP

回复 45# hzqbbc 的帖子

我怎么使用这个 邮件举报功能呢 好像在WEBMAIL里面没有看到那个邮件举报的按钮啊 我在WEBMAIL。CF里面是开了的

TOP

回复 46# hondasky 的帖子

怎么判断DSPAM 就在工作了呢?

TOP

回复 43# hzqbbc 的帖子

ServerParameters        "--user extmail --deliver=innocent,spam"

这个extmail 是干马用的 感觉有点不理解

TOP

引用:
原帖由 hondasky 于 2009-4-23 12:36 发表
ServerParameters        "--user extmail --deliver=innocent,spam"

这个extmail 是干马用的 感觉有点不理解
这里面参数的意思建议 LZ 看一下/usr/share/doc/dspam-3.8.0/README 文档和dspam默认的/etc/dspam/dspam.conf 文档,里面有每个参数的详细说明
ExtMail邮件开发网
liushaobo@extmail.org
探索高性能的Anti-Spam组合

TOP

引用:
原帖由 hondasky 于 2009-4-23 12:06 发表
我怎么使用这个 邮件举报功能呢 好像在WEBMAIL里面没有看到那个邮件举报的按钮啊 我在WEBMAIL。CF里面是开了的
在extmail的界面点开收件箱,随便点里面的一封信,在信的上方会有一个“这是垃圾邮件”的图标,在垃圾邮件箱也是一样,会出现 “这不是垃圾邮件”的图标
ExtMail邮件开发网
liushaobo@extmail.org
探索高性能的Anti-Spam组合

TOP

引用:
原帖由 hondasky 于 2009-4-23 12:06 发表
怎么判断DSPAM 就在工作了呢?
如果dspam工作正常,邮件的信头会出现以下标识
引用:
X-DSPAM-Result: Spam
X-DSPAM-Processed: Fri Apr  3 10:40:02 2009
X-DSPAM-Confidence: 0.8222
X-DSPAM-Probability: 1.0000
X-DSPAM-Signature: 49d57702286051336712104
X-DSPAM-Factors: 15,
ExtMail邮件开发网
liushaobo@extmail.org
探索高性能的Anti-Spam组合

TOP

回复 1# liushaobo 的帖子

Return-Path: <prayaya.ya@prayaya.com>
Delivered-To: honda@prayaya.com
Received: from localhost (localhost [127.0.0.1])
        by mail.prayaya.com (Qmail - by prayaya.com) with SMTP id BB9189000930
        for <honda@prayaya.com>; Thu, 23 Apr 2009 12:33:24 +0800 (CST)
Received: from localhost.localdomain (localhost [127.0.0.1])
        by mail.prayaya.com (Qmail - by prayaya.com) with ESMTP id 6C511900092E
        for <honda@prayaya.com>; Thu, 23 Apr 2009 12:33:24 +0800 (CST)
From: "=?GB2312?B?cHJheWF5YS55YQ==?=" <prayaya.ya@prayaya.com>
To: "=?GB2312?B?aG9uZGE=?=" <honda@prayaya.com>
Subject: =?GB2312?B?RndkOiCy4srU08q8/g==?=
Date: Thu, 23 Apr 2009 12:33:23 +0800
Mime-version: 1.0
X-Originating-Ip: [58.254.150.170]
X-Mailer: ExtMail 1.0.9
Content-Type: text/html; charset="GB2312"
Content-Transfer-Encoding: base64
Message-Id: <20090423043324.6C511900092E@mail.prayaya.com>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Thu Apr 23 12:33:24 2009
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 49efef94110241291352741

邮件信头有这个出现是不是代表正常呢 ?

[ 本帖最后由 hondasky 于 2009-4-23 14:07 编辑 ]

TOP

回复 50# liushaobo 的帖子

我没有看到图标啊    怎么办? 是怎么回事  我有在EXTMAIL里面开这个DSPAM 举报的

TOP

引用:
原帖由 hondasky 于 2009-4-23 13:53 发表
Return-Path:
Delivered-To: honda@prayaya.com
Received: from localhost (localhost [127.0.0.1])
        by mail.prayaya.com (Qmail - by prayaya.com) with SMTP id BB9189000930
        for ; Thu, 23 Apr 2009 12:33:24  ...
为啥我的就失败了呢,目前为止唯一的报错就是dspam-web里有如下错误提示:
An Error Has Occured
The following error occured while trying to process your request:
No historical data is available.

If this problem persists, please contact your administrator.    奇怪,啥都没弄,这个错误提示消失了,邮件头还是没有
其它没有提示了,但是Dspam没有启作用,邮件里没有如上信息。。。不知是不是和这个报错有关?

请问你按照文档装完还有配置什么吗?

[ 本帖最后由 jgh2008 于 2009-4-23 15:07 编辑 ]

TOP

看看我的EXTMAIL 配置文件

mail:/usr/share/doc/dspam# cat /var/www/extsuite/extmail/webmail.cf
# sys_config, the config file and webmail programe root
SYS_CONFIG = /var/www/extsuite/extmail/

# sys_langdir, the i18n dir
SYS_LANGDIR = /var/www/extsuite/extmail/lang

# sys_templdir, the template dir
SYS_TEMPLDIR = /var/www/extsuite/extmail/html

# sys_http_cache, a switch to enable or disable http cache via http header
SYS_HTTP_CACHE = 1

# sys_smtp_host
SYS_SMTP_HOST = 127.0.0.1

# sys_smtp_port
SYS_SMTP_PORT = 25

# sys_smtp_timeout
SYS_SMTP_TIMEOUT = 5

# sys_warn, show system warning or not, default to yes
SYS_SHOW_WARN = 0

# sys_permit_noquota, permit an account without qouta?
SYS_PERMIT_NOQUOTA = 1

# sys_sess_dir, the session dir
SYS_SESS_DIR = /tmp

# sys_upload_tmpdir, the temp directory for file uploading
SYS_UPLOAD_TMPDIR = /tmp

# sys_log_on = 1 | 0 - enable logging or not
SYS_LOG_ON = 1

# sys_log_type = file|syslog|nsyslog, syslog will save login
# or error info into mail.*, nsyslog is a replacement to syslog
# that will send log message to network syslogd
SYS_LOG_TYPE = syslog

# sys_log_file - path to log file, if sys_log_type = file
SYS_LOG_FILE = /var/log/extmail.log

# sys_sess_timeout, session timeout, default 3 hours (3h) format:
# number+(s|m|h|d|M|y); or only number, the 0 means that the
# session will last for 0 seconds, but if you specify the
# sys_sess_cookie_only = 1 then it means the session will expire
# after you close your browser
SYS_SESS_TIMEOUT = 0

# sys_sess_cookie_only = 0|1 use cookie only or include cgi "sid"
# parameter ? if set to true(1), the session will be expired after
# sys_sess_timeout if there is no any active request from browser
SYS_SESS_COOKIE_ONLY = 1

# sys_user_psize, user default page_size
SYS_USER_PSIZE = 10

# sys_user_tsize, user mail subject truncate size, valid type:
# auto    => full text
# screen1 => 800x600
# screen2 => 1024x768
# screen3 => 1280x1024
SYS_USER_SCREEN = auto

# sys_user_lang, user default language
SYS_USER_LANG = en_US

# sys_app_type, the app type: WebMail or ExtMan? It must be the same
# as prefix part of language package name, eg: WebMail::en_US
SYS_APP_TYPE = WebMail

# sys_user_template, user default template
SYS_USER_TEMPLATE = default

# sys_user_charset, user default charset
SYS_USER_CHARSET = utf-8

# sys_user_trylocal, user default outgoing encoding mechanism
SYS_USER_TRYLOCAL = 1

# sys_user_timezone, user default timezone
SYS_USER_TIMEZONE = +0800

# sys_user_* default parameters
SYS_USER_CCSENT = 1
SYS_USER_SHOW_HTML = 1
SYS_USER_COMPOSE_HTML = 1
SYS_USER_CONV_LINK =1
SYS_USER_ADDR2ABOOK = 1

#sys_spam_report config

SYS_SPAM_REPORT_ON  = 1
SYS_SPAM_REPORT_TYPE = dspam

# sys_message_size_limit, default message size limit per user
# count as byte(s), eg: 5242880 means 5MB
SYS_MESSAGE_SIZE_LIMIT = 20971520

# sys_min_pass_len, minimal password length, default 2
SYS_MIN_PASS_LEN = 2

# sys_mfilter_on, default is off
SYS_MFILTER_ON = 1

# sys_netdisk_on, default is off
SYS_NETDISK_ON = 1

# sys_show_signup, default is on, this feature need extman
# 0.2.2 or higher version, built with signup serivce
SYS_SHOW_SIGNUP = 1

# sys_debug_on, default is off
SYS_DEBUG_ON = 1

# sys auth type, mysql/ldap/authlib
SYS_AUTH_TYPE = mysql

# maildir_base, the base dir of user maildir, use absolute path
# if not set.
SYS_MAILDIR_BASE = /opt/vmail

# sys_auth_schema, vpopmail1/vpopmail2/virtual
# vpopmail1 => all user accounts in one table
# vpopmail2 => accounts in per domain table
SYS_AUTH_SCHEMA = virtual

# crypt_type, the default encrypt type of password, possible type
# currently is crypt|cleartext|plain|md5|md5crypt|plain-md5|ldap-md5|sha|sha1
SYS_CRYPT_TYPE = md5crypt

# if mysql, all relate parameters should prefix as SYS_MYSQL
SYS_MYSQL_USER = extmail
SYS_MYSQL_PASS =  sfafffs
SYS_MYSQL_DB = extmail
SYS_MYSQL_HOST = localhost
SYS_MYSQL_SOCKET = /var/run/mysqld/mysqld.sock
# table name
SYS_MYSQL_TABLE = authreg
SYS_MYSQL_ATTR_USERNAME = username
SYS_MYSQL_ATTR_DOMAIN = domain
SYS_MYSQL_ATTR_PASSWD = password
# sys_mysql_attr_clearpw - attribute to save clear password, useful for
# postmaster withdraw the original passwd if the end user forgot, but
# we highly recommend that you don't enable it for security reason
SYS_MYSQL_ATTR_CLEARPW = clearpwd
SYS_MYSQL_ATTR_QUOTA = quota
SYS_MYSQL_ATTR_NDQUOTA = netdiskquota
SYS_MYSQL_ATTR_HOME = homedir
SYS_MYSQL_ATTR_MAILDIR = maildir
# service enable/disable attributes
# comment them out if you don't want their function
SYS_MYSQL_ATTR_DISABLEWEBMAIL = disablewebmail
SYS_MYSQL_ATTR_DISABLENETDISK = disablenetdisk
SYS_MYSQL_ATTR_DISABLEPWDCHANGE = disablepwdchange
SYS_MYSQL_ATTR_ACTIVE = active
# password retrieve attributes
# comment them out if you don't want such function
SYS_MYSQL_ATTR_PWD_QUESTION = question
SYS_MYSQL_ATTR_PWD_ANSWER = answer

# if ldap, all relate parameters should prefix as SYS_LDAP
SYS_LDAP_BASE = o=extmailAccount,dc=example.com
SYS_LDAP_RDN = cn=Manager,dc=example.com
SYS_LDAP_PASS = secret
SYS_LDAP_HOST = localhost
# ldif attributes
SYS_LDAP_ATTR_USERNAME = mail
SYS_LDAP_ATTR_DOMAIN = virtualDomain
SYS_LDAP_ATTR_PASSWD = userPassword
# sys_ldap_attr_clearpw - attribute to save clear password, useful for
# postmaster withdraw the original passwd if the end user forgot, but
# we highly recommend that you don't enable it for security reason
SYS_LDAP_ATTR_CLEARPW = clearPassword
SYS_LDAP_ATTR_QUOTA = mailQuota
SYS_LDAP_ATTR_NDQUOTA = netdiskQuota
SYS_LDAP_ATTR_HOME = homeDirectory
SYS_LDAP_ATTR_MAILDIR = mailMessageStore
# service enable/disable attributes
# comment them out if you don't want their function
SYS_LDAP_ATTR_DISABLEWEBMAIL = disablewebmail
SYS_LDAP_ATTR_DISABLENETDISK = disablenetdisk
SYS_LDAP_ATTR_DISABLEPWDCHANGE = disablePasswdChange
SYS_LDAP_ATTR_ACTIVE = active
# password retrieve attributes
# comment them out if you don't want such function
SYS_LDAP_ATTR_PWD_QUESTION = question
SYS_LDAP_ATTR_PWD_ANSWER = answer

# if authlib, all relate parameters should prefix as AUTHLIB
SYS_AUTHLIB_SOCKET = /var/run/courier/authdaemon/socket

# Global Abook support
# sys_g_abook_type, global abook type, valid is ldap|file
SYS_G_ABOOK_TYPE = file

# if ldap, all relate parameters should prefix as SYS_G_ABOOK_LDAP
SYS_G_ABOOK_LDAP_HOST = localhost
SYS_G_ABOOK_LDAP_BASE = ou=AddressBook,dc=example.com
SYS_G_ABOOK_LDAP_ROOTDN = cn=Manager,dc=example.com
SYS_G_ABOOK_LDAP_ROOTPW = secret
SYS_G_ABOOK_LDAP_FILTER = objectClass=OfficePerson

# if file, all relate parameters should prefix as SYS_G_ABOOK_FILE
SYS_G_ABOOK_FILE_PATH = /var/www/extsuite/extmail/globabook.cf
SYS_G_ABOOK_FILE_LOCK = 1
SYS_G_ABOOK_FILE_CONVERT = 0
SYS_G_ABOOK_FILE_CHARSET = utf-8

TOP

我的现在是这样 是不是代表就正常了啊 好多信息哦

另外要纠正下你上面的配置错误

PValue bcr
WebStats on
Preference "signatureLocation=headers"  # 'message' or 'headers'
Preference "showFactors=off"  《---------这个地方应该修改为 on  
不然在信息头看不到

X-DSPAM-Factors: 27,  〈-------- 这个信息出现  你确认下

另外  "--user extmail --deliver=innocent,spam"  那个EXTMAIL 可不要也可以正常工作 好像。

Return-Path: <honda@prayaya.com>
Delivered-To: prayaya.ya@prayaya.com
Received: from localhost (localhost [127.0.0.1])
        by mail.prayaya.com (Qmail - by prayaya.com) with SMTP id CBE71900092F
        for <prayaya.ya@prayaya.com>; Thu, 23 Apr 2009 15:47:22 +0800 (CST)
Received: from localhost.localdomain (localhost [127.0.0.1])
        by mail.prayaya.com (Qmail - by prayaya.com) with ESMTP id CBF53900092E
        for <prayaya.ya@prayaya.com>; Thu, 23 Apr 2009 15:47:21 +0800 (CST)
From: "=?GB2312?B?aG9uZGE=?=" <honda@prayaya.com>
To: "=?GB2312?B?cHJheWF5YS55YQ==?=" <prayaya.ya@prayaya.com>
Subject: =?GB2312?B?RndkOiBGd2Q6IL3M0afGvQ==?=
    =?GB2312?B?zKg=?=
Date: Thu, 23 Apr 2009 15:47:20 +0800
Mime-version: 1.0
X-Originating-Ip: [58.254.150.170]
X-Mailer: ExtMail 1.0.9
Content-Type: multipart/mixed; boundary="=_75_4642_1240371110";
charset=GB2312
Message-Id: <20090423074721.CBF53900092E@mail.prayaya.com>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Thu Apr 23 15:47:22 2009
X-DSPAM-Confidence: 1.0000
X-DSPAM-Probability: 0.0023
X-DSPAM-Signature: 49f01d0a215801654319266
X-DSPAM-Factors: 27,
        contains, 0.40000,
        contains, 0.40000,
        Date*Apr, 0.40000,
        }/describe, 0.40000,
        10, 0.40000,
        10, 0.40000,
        00body, 0.40000,
        To*"prayaya.ya, 0.40000,
        Received*ESMTP, 0.40000,
        message, 0.40000,
        Content-Type*stream, 0.40000,
        Content-Type*stream, 0.40000,
        /Ʊ�ݴ���/describe, 0.40000,
        Date*0800, 0.40000,
        Content-Type*name="��ҵ�����ʼ�ϵͳ������Ӫ����.pdf", 0.40000,
        Content-Type*charset="ISO, 0.40000,
        Content-Type*charset="ISO, 0.40000,
        honda, 0.40000,
        honda, 0.40000,
        Date*15, 0.40000,
        mail, 0.40000,
        Content-Type*name="Icewarp9.2.1cn.doc", 0.40000,
        Subject*Fwd, 0.40000,
        Subject*Fwd, 0.40000,
        messages, 0.40000,
        Messages, 0.40000,
        Messages, 0.40000

TOP

发新话题