yucongyang613 写道:
ZhangHuangbin 写道:

*) 你的邮件域名有设置正确的 A/MX DNS 记录么?
*) Postfix 的日志文件 (/var/log/maillog) 里有什么相关的错误信息?


还有这个是发新浪邮箱的log日志,好像没发成功!
Jun 17 14:12:26 mail postfix/smtpd[2787]: connect from unknown[192.168.1.19]
Jun 17 14:12:30 mail postfix/smtpd[2787]: 8B8AA181B43: client=unknown[192.168.1.19], sasl_method=LOGIN, sasl_username=kevin.yu@shkj.com
Jun 17 14:12:30 mail postfix/cleanup[2793]: 8B8AA181B43: message-id=<201406171412263987842@shkj.com>
Jun 17 14:12:30 mail postfix/qmgr[1841]: 8B8AA181B43: from=<kevin.yu@shkj.com>, size=1481, nrcpt=1 (queue active)
Jun 17 14:12:32 mail postfix/smtpd[2787]: disconnect from unknown[192.168.1.19]
Jun 17 14:12:32 mail postfix/smtpd[2797]: connect from mail.shkj.com[127.0.0.1]
Jun 17 14:12:32 mail postfix/smtpd[2797]: BB3CD181CC0: client=mail.shkj.com[127.0.0.1]
Jun 17 14:12:32 mail postfix/cleanup[2793]: BB3CD181CC0: message-id=<201406171412263987842@shkj.com>
Jun 17 14:12:32 mail postfix/qmgr[1841]: BB3CD181CC0: from=<kevin.yu@shkj.com>, size=2491, nrcpt=1 (queue active)
Jun 17 14:12:32 mail postfix/smtpd[2797]: disconnect from mail.shkj.com[127.0.0.1]
Jun 17 14:12:32 mail amavis[1962]: (01962-01) Passed CLEAN {RelayedInternal}, MYNETS/MYUSERS LOCAL [192.168.1.19]:64719 [192.168.1.19] <kevin.yu@shkj.com> -> <yucongyang613@sina.cn>, Queue-ID: 8B8AA181B43, Message-ID: <201406171412263987842@shkj.com>, mail_id: MfV0XEczk2f4, Hits: -9.997, size: 1481, queued_as: BB3CD181CC0, dkim_new=dkim:shkj.com, 2145 ms
Jun 17 14:12:32 mail postfix/smtp[2794]: 8B8AA181B43: to=<yucongyang613@sina.cn>, relay=127.0.0.1[127.0.0.1]:10024, delay=5.8, delays=3.6/0.02/0.01/2.1, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as BB3CD181CC0)
Jun 17 14:12:32 mail postfix/qmgr[1841]: 8B8AA181B43: removed
Jun 17 14:12:39 mail postfix/smtp[2798]: BB3CD181CC0: to=<yucongyang613@sina.cn>, relay=freemx.sinamail.sina.com.cn[60.28.2.175]:25, delay=6.7, delays=0.01/0.02/6.6/0.13, dsn=5.0.0, status=bounced (host freemx.sinamail.sina.com.cn[60.28.2.175] said: 554 Rejected due to the sending MTA's poor reputation. Please refer http://mail.sina.com.cn/help2/rwmail.html (in reply to DATA command))
Jun 17 14:12:39 mail postfix/cleanup[2793]: 83D33181CC1: message-id=<20140617061239.83D33181CC1@mail.shkj.com>
Jun 17 14:12:39 mail postfix/qmgr[1841]: 83D33181CC1: from=<>, size=4616, nrcpt=1 (queue active)
Jun 17 14:12:39 mail postfix/bounce[2801]: BB3CD181CC0: sender non-delivery notification: 83D33181CC1
Jun 17 14:12:39 mail postfix/qmgr[1841]: BB3CD181CC0: removed
Jun 17 14:12:39 mail postfix/pipe[2803]: 83D33181CC1: to=<kevin.yu@shkj.com>, relay=dovecot, delay=0.12, delays=0.01/0.03/0/0.08, dsn=2.0.0, status=sent (delivered via dovecot service)
Jun 17 14:12:39 mail postfix/qmgr[1841]: 83D33181CC1: removed


status=bounced (host freemx.sinamail.sina.com.cn[60.28.2.175] said: 554 Rejected due to the sending MTA's poor reputation. Please refer      被新浪邮箱拒绝了,你的邮箱域名或IP被新浪拒收了!

这是有人在穷举密码,我在jail.local文件里将所有的bantime改为10分钟,maillog里就没有相关日志了

Mar 17 09:54:31 mail postfix/smtpd[24171]: warning: unknown[203.244.128.231]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Mar 17 09:54:42 mail postfix/smtpd[24171]: warning: unknown[203.244.128.231]: SASL LOGIN authentication failed: Connection lost to authentication server
Mar 17 09:54:53 mail postfix/smtpd[24171]: warning: unknown[203.244.128.231]: SASL LOGIN authentication failed: Connection lost to authentication server
Mar 17 09:54:56 mail postfix/smtpd[24171]: warning: unknown[203.244.128.231]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Mar 17 09:55:03 mail postfix/smtpd[24171]: warning: unknown[203.244.128.231]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Mar 17 09:55:14 mail postfix/smtpd[24171]: warning: unknown[203.244.128.231]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Mar 17 09:55:25 mail postfix/smtpd[24171]: warning: unknown[203.244.128.231]: SASL LOGIN authentication failed: Connection lost to authentication server
Mar 17 09:55:36 mail postfix/smtpd[24171]: warning: unknown[203.244.128.231]: SASL LOGIN authentication failed: Connection lost to authentication server
Mar 17 09:55:39 mail postfix/smtpd[24171]: warning: unknown[203.244.128.231]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Mar 17 09:55:46 mail postfix/smtpd[24171]: warning: unknown[203.244.128.231]: SASL LOGIN authentication failed: UGFzc3dvcmQ6



张工,fail2ban开启了,怎么还出现大量这个日志呢?

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.4
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):openldap
- 使用的 Linux/BSD 发行版名称及版本号:centOs6.4
- 与您的问题相关的日志信息:
====

张工,我公司iredmail上线快一个月了,在上周六公司遇到火灾,在救火过程中,邮箱服务器遭到水浸,好在吹干后数据还在,只是raid卡电池损毁,我想问下:iredmail如果发生灾难,除修改过的配置文件,var/vmail文件夹,及mysql,ldap数据需要备份,其他还有哪些东西需要备份,以便在恢复过程中使用??

谢谢张工

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):
- 使用的 Linux/BSD 发行版名称及版本号:
- 与您的问题相关的日志信息:
==== ==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.4
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):openldap
- 使用的 Linux/BSD 发行版名称及版本号:CentOs6.4
- 与您的问题相关的日志信息:
====
张工,不好意思,还是个关于垃圾邮件的问题:
用户老是投诉说他收不到邮件,问他具体谁给他发的邮件没收到,他也说不清楚,然后我就用他的qq往他的公司邮箱发邮件,主题及内容,完全是随机输入的字符;结果被拒收,然后我把final_spam_destiny  设置为d_pass:连续发了几份随机输入主题内容的邮件,都被标记为spam,我们老大用他263邮箱测试,往老大自己的公司邮箱发主题和内容随机输入的字符,皆被标注为spam,根据邮件头显示基本被bayes_99这个规则给拦了,网上资料也搜了,但是都是看的一头雾水,不明所以;amavisd.conf和local.cf里都没这个规则设置,bayes设置为自动学习,但是没这个参数,中文规则,前几天按老大的要求已停用,现在防垃圾基本没设限了,估计周一又要被人投诉邮件都标SPAM了,求救!!

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.4
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):openLDAP
- 使用的 Linux/BSD 发行版名称及版本号:CentOs6.4
- 与您的问题相关的日志信息:
====

iredmail安装有fail2ban,不知默认是打开的还是需要手动开启呢??如果手动开启如何开启?

垃圾邮件被丢弃了,看不到x-spam头,但是退信里可以看到垃圾评分为5.7,以下分值最大
1.5 URIBL_RHS_DOB            Contains an URI of a new domain (Day Old Bread)
                                           [URIs: hostedemail.com]
2.7 SPOOF_COM2OTH          URI: URI contains ".com" in middle
2.0 SPOOF_COM2COM          URI: URI contains ".com" in middle and end
-1.9 BAYES_00                      BODY: Bayes spam probability is 0 to 1%
                                           [score: 0.0000]

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.4
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):openldap
- 使用的 Linux/BSD 发行版名称及版本号:centos6.4
- 与您的问题相关的日志信息:
====
Nov 27 03:46:13 mail postfix/qmgr[1663]: 2C82516E007D: from=<postmaster@mail.abc.com.cn>, size=4071, nrcpt=1 (queue active)
Nov 27 03:46:13 mail amavis[13901]: (13901-12) Blocked SPAM, MYUSERS <root@mail.abc.com.cn> -> <root@mail.abc.com.cn>, Message-ID: <20131126194608.6EA5C16E0091@mail.abc.com.cn>, mail_id: m6v87f4--6ff, Hits: 5.71, size: 74304, 4716 ms
Nov 27 03:46:13 mail postfix/cleanup[17240]: 2EC9D16E009E: message-id=<SAm6v87f4--6ff@mail.abc.com.cn>
张工您好:
      今早我习惯性的打开postmaster帐号查看logwatch@mail.abc.com.cn日志邮件,发现日志邮件被当SPAM邮件被Amavisd过滤掉了,之前的日志邮件都正常收到的,难道是amavisd自动学习了,总往一个邮箱发同一邮件,就被当垃圾邮件给过滤吗??,这个如何改?

10

(2 篇回复,发表在 iRedMail 技术支持)

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.4
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):openldap
- 使用的 Linux/BSD 发行版名称及版本号:centos6.4
- 与您的问题相关的日志信息:
====
Nov 20 21:49:00 mail postfix/smtpd[22417]: 2E87316E0049: client=mail[127.0.0.1], sasl_method=LOGIN, sasl_username=postmaster@test.com.cn
Nov 20 21:49:00 mail postfix/cleanup[22678]: 2E87316E0049: message-id=<ffdf30637c6fab2255fd7ada40cf2657@test.com.cn>
Nov 20 21:49:00 mail postfix/qmgr[1663]: 2E87316E0049: from=<postmaster@test.com.cn>, size=554, nrcpt=2 (queue active)
Nov 20 21:49:00 mail roundcube: User postmaster@test.com.cn [172.16.1.136]; Message for test01@test.com.cn; 250: 2.0.0 Ok: queued as 2E87316E0049
Nov 20 21:49:00 mail postfix/smtpd[22417]: disconnect from mail[127.0.0.1]
Nov 20 21:49:00 mail postfix/smtpd[22688]: connect from mail[127.0.0.1]
Nov 20 21:49:00 mail postfix/smtpd[22688]: C9C5316E0062: client=mail[127.0.0.1]
Nov 20 21:49:00 mail postfix/cleanup[22678]: C9C5316E0062: message-id=<ffdf30637c6fab2255fd7ada40cf2657@test.com.cn>
Nov 20 21:49:00 mail postfix/smtpd[22688]: disconnect from mail[127.0.0.1]
Nov 20 21:49:00 mail postfix/qmgr[1663]: C9C5316E0062: from=<postmaster@test.com.cn>, size=1487, nrcpt=1 (queue active)
Nov 20 21:49:00 mail amavis[22290]: (22290-03) Passed CLEAN, MYNETS/MYUSERS LOCAL [127.0.0.1] [127.0.0.1] <postmaster@test.com.cn> -> <test01_01@test.com.cn>, Message-ID: <ffdf30637c6fab2255fd7ada40cf2657@test.com.cn>, mail_id: boE5qaYGCgW6, Hits: -7, size: 554, queued_as: C9C5316E0062, 585 ms
Nov 20 21:49:00 mail postfix/smtp[22681]: 2E87316E0049: to=<test01_01@test.com.cn>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.65, delays=0.06/0.01/0/0.59, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as C9C5316E0062)
Nov 20 21:49:00 mail postfix/pipe[22689]: C9C5316E0062: to=<test01_01@test.com.cn>, relay=dovecot, delay=0.03, delays=0/0/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 20 21:49:00 mail postfix/qmgr[1663]: C9C5316E0062: removed
Nov 20 21:49:00 mail postfix/smtpd[22688]: connect from mail[127.0.0.1]
Nov 20 21:49:00 mail postfix/smtpd[22688]: F1FDA16E0062: client=mail[127.0.0.1]
Nov 20 21:49:00 mail postfix/cleanup[22678]: F1FDA16E0062: message-id=<ffdf30637c6fab2255fd7ada40cf2657@test.com.cn>
Nov 20 21:49:00 mail postfix/smtpd[22688]: disconnect from mail[127.0.0.1]
Nov 20 21:49:00 mail postfix/qmgr[1663]: F1FDA16E0062: from=<postmaster@test.com.cn>, size=1481, nrcpt=1 (queue active)
Nov 20 21:49:00 mail amavis[21240]: (21240-11) Passed CLEAN, MYNETS/MYUSERS LOCAL [127.0.0.1] [127.0.0.1] <postmaster@test.com.cn> -> <test01@test.com.cn>, Message-ID: <ffdf30637c6fab2255fd7ada40cf2657@test.com.cn>, mail_id: mIp+bNm3qkTf, Hits: -7, size: 554, queued_as: F1FDA16E0062, 753 ms
Nov 20 21:49:00 mail postfix/smtp[22679]: 2E87316E0049: to=<test01@test.com.cn>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.82, delays=0.06/0/0/0.76, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as F1FDA16E0062)
Nov 20 21:49:00 mail postfix/qmgr[1663]: 2E87316E0049: removed
Nov 20 21:49:01 mail postfix/pipe[22689]: F1FDA16E0062: to=<test01@test.com.cn>, relay=dovecot, delay=0.03, delays=0/0/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 20 21:49:01 mail postfix/qmgr[1663]: F1FDA16E0062: removed

ldap中同一帐号设置两个不同的电子邮件地址,给任意一个电子邮件地址发邮件时,会产生两个相同的邮件,这个问题可以调吗?

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.4
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):openldap
- 使用的 Linux/BSD 发行版名称及版本号:centos6.4
- 与您的问题相关的日志信息:
====
      800   *Warning: Pre-queue content-filter connection overload
       70   SASL authentication failed
      760   Miscellaneous warnings

张工你好,在我logwatch 日志中出现postfix这些报告,怎么调整?

iredmail0.8.4里默认安装roundcubemail0.8.6,按照您提供的网址升级到0.9.2过程中报错:
please update your coonfig files manually according to the above messages
executing database schema update.
Error:error in DDL upgrade 2012080700:[1142] alter command denied to user 'roundcube'@'localhost' for table 'cache' updating database schema (2012080700) failed
all done
登录时查看roundcubemail版本升级成功,至少密码可以修改了,就是那个报错不知会不会影响架构使用?我搜索了下没此错误相关文章,张工您看这个错误影响数据库不?

使用outlook配置iredmail,SSL/TTL加密方式能连接,非加密方式(默认方式)确无法登录,是bug??

想知道roundcubemail的升级过程,我将roundcubemail0.9.2解压后放在var/www/目录下,然后将0.8.6/confing/中的main.inc.php和db.inc.php文件复制到0.9.2的相同文件夹下,最后将0.8.6文件夹改名,0.9.2文件夹改成0.8.6,可以登录,但是不能改密码,不能显示全局通讯录。

15

(1 篇回复,发表在 iRedMail 技术支持)

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.4
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):openldap
- 使用的 Linux/BSD 发行版名称及版本号:CentOS6.4
- 与您的问题相关的日志信息:
====

邮箱连接时很慢,发信页面响应也慢,是否因为SSL/TLS认证原因,有没有可以优化的参数 ,灰名单是一个因素,但不想关闭,有其他可调参数么?

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.4
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):OpenLDAP
- 使用的 Linux/BSD 发行版名称及版本号:CentOS6.4
- 与您的问题相关的日志信息:
====

Iredmail能否完全禁止中继功能??我用Openldap,在main.cf文件的相关设置,做如下设置:
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated

smtpd_helo_required = yes

smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_helo_hostname,            reject_invalid_helo_hostname, check_helo_access pcre:/etc/postfix/helo_access.pcre

smtpd_recipient_restrictions = reject_sender_login_mismatch, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service inet:127.0.0.1:10031

能否能防止被别人中继????一点经验都没,求解答怎样才能彻底防住,谢谢!

我的是登录后显示出错,然后刷新一下,就进入页面了。

工程师好 !
    我将spamassassin中的Local .cf文件 required_score值改为1 ,邮件评分值为2.7,为什么没被标注为垃圾邮件?而且新浪邮箱发的信没有spamassassin的过滤信息;正常邮件也被DATE_IN_PAST_06_12这个规则拦截了,不知何故;请帮我分析下截图的邮件信息,谢谢!
spamassassin3.3.1有缓存吗??为何改过Chinese_rules文件reboot重启后,还是用的是没改过之前的评分数值,poweroff再启动后才能用上修改后的值?
iredmail在标注为垃圾邮件后能做REJECT或者直接丢弃吗??

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.5
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):OpenLDAP
- 使用的 Linux/BSD 发行版名称及版本号:CentOS6.4
- 与您的问题相关的日志信息:
====

       有没有好一点的中文过滤方法??我在/etc/mail/spamassassin中放入Chinese_rules.cf文件,并将CentOS安装为中文版,但是在vi Chinese_rules.cf后,里面的中文依旧是乱码,在用qq邮箱往iredmail邮箱发中文信的时候,全部邮件都被标注为***SPAM***,使我误认为解决了中文过滤问题;经领导提示而用sina邮箱发邮件测试的时候,居然不认垃圾邮件了,即使输入Chinese_rules.cf里的中文关键字,依然被spamassassin通过;领导给的期限将至,问题到是没有任何头绪,求各位大神给个好的解决方法,或思路也行呀.

        我试过,在header_checks文件中加入/^X-Spam-status:Yes/  DISCARD,postmap并重启postfix服务,本以为信头X-SPAM-STATUS被标注为Yes后,可以拦截,结果这句压根没起作用;彻底没思路了,急求好的解决之道,跪谢!!

我安装的时候是按照教程里的将pkgs/get_all.sh文件中所有的iredmail.org改成173.254.22.21了:会不是是这个问题造成的?
如:
# Where to fetch/store binary packages and source tarball.
export MIRROR='http://173.254.22.21/yum'
export PKG_DIR="${ROOTDIR}/pkgs"
.
.
.
name=${LOCAL_REPO_NAME}
baseurl=http://173.254.22.21/yum/rpms/${DISTRO_VERSION}/
enabled=1
.
.
.
name=iRedMail-Dovecot-12
baseurl=http://173.254.22.21/yum/rpms/dovecot/rhel${DISTRO_VERSION}/
enabled=1
.
.
.
    # iRedMail version number, OS distribution, release version, code name, backend.
    ECHO_INFO "Checking new version of iRedMail ..."
    ${FETCH_CMD} "http://173.254.22.21/version/check.py/i … _CODENAME}" &>/dev/null

kouty 写道:

Clam这个错误我解决了,是因为我更换了主机名,没有切换回去导致的。

我收回这个说法,在我没有修改主机名的情况下只开启了main.cf中header_checks参数,日志中又出现了clam错误日志:
Oct 27 07:01:02 www amavis[1626]: (01626-01) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/spool/amavisd/tmp/amavis-20131027T070102-01626/parts: lstat() failed: Permission denied. ERROR\n"
Oct 27 07:01:02 www amavis[1626]: (01626-01) (!)ClamAV-clamd av-scanner FAILED: CODE(0x3327418) unexpected , output="/var/spool/amavisd/tmp/amavis-20131027T070102-01626/parts: lstat() failed: Permission denied. ERROR\n" at (eval 103) line 596.
Oct 27 07:01:02 www amavis[1626]: (01626-01) (!!)WARN: all primary virus scanners failed, considering backups
Oct 27 07:01:02 www amavis[1625]: (01625-01) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/spool/amavisd/tmp/amavis-20131027T070102-01625/parts: lstat() failed: Permission denied. ERROR\n"
Oct 27 07:01:02 www amavis[1625]: (01625-01) (!)ClamAV-clamd av-scanner FAILED: CODE(0x3327418) unexpected , output="/var/spool/amavisd/tmp/amavis-20131027T070102-01625/parts: lstat() failed: Permission denied. ERROR\n" at (eval 103) line 596.
Oct 27 07:01:02 www amavis[1625]: (01625-01) (!!)WARN: all primary virus scanners failed, considering backups


Oct 27 07:38:27 www amavis[1626]: (01626-02) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/spool/amavisd/tmp/amavis-20131027T070102-01626/parts: lstat() failed: Permission denied. ERROR\n"
Oct 27 07:38:27 www amavis[1626]: (01626-02) (!)ClamAV-clamd av-scanner FAILED: CODE(0x3327418) unexpected , output="/var/spool/amavisd/tmp/amavis-20131027T070102-01626/parts: lstat() failed: Permission denied. ERROR\n" at (eval 103) line 596.
Oct 27 07:38:27 www amavis[1626]: (01626-02) (!!)WARN: all primary virus scanners failed, considering backups

系统时间是10月27日,因为我安装完CentOs6.4后在虚拟机里做了快照,然后从快照下安装的iredmail0.8.5

不知是不是虚拟机(vmware9.0.2)的问题:我又一次重装了iredmail0.8.5,安装完成后:出现新的报错邮件。

邮件标题:Anacron job 'cron.daily' on www.****.tk
邮件正文:
/etc/cron.daily/freshclam:

connect(): No such file or directory

之前的Can't open perl script "/usr/share/awstats/wwwroot/cgi-bin/awstats.pl": No such file or directory报错邮件每隔1小时继续收到。

谢谢张工,Clam这个错误我解决了,是因为我更换了主机名,没有切换回去导致的。

关于主要问题的答案:spamassassin是支持中文过滤的,关键在于安装CentOs系统的时候,选择中文版系统、US键盘;

请关闭此贴,谢谢!

执行结果如下:
/var/www/awstats/awstats.pl
/var/www/awstats/lang/awstats-pl.txt
/var/www/awstats/plugins
/var/www/awstats/plugins/clusterinfo.pm
/var/www/awstats/plugins/decodeutfkeys.pm
/var/www/awstats/plugins/example
/var/www/awstats/plugins/example/example.pm
/var/www/awstats/plugins/export_to_csv.pm
/var/www/awstats/plugins/geoip.pm
/var/www/awstats/plugins/geoip_asn_maxmind.pm
/var/www/awstats/plugins/geoip_city_maxmind.pm
/var/www/awstats/plugins/geoip_isp_maxmind.pm
/var/www/awstats/plugins/geoip_org_maxmind.pm
/var/www/awstats/plugins/geoip_region_maxmind.pm
/var/www/awstats/plugins/geoipfree.pm
/var/www/awstats/plugins/graphapplet.pm
/var/www/awstats/plugins/graphgooglechartapi.pm
/var/www/awstats/plugins/hashfiles.pm
/var/www/awstats/plugins/hostinfo.pm
/var/www/awstats/plugins/ipv6.pm
/var/www/awstats/plugins/rawlog.pm
/var/www/awstats/plugins/timehires.pm
/var/www/awstats/plugins/timezone.pm
/var/www/awstats/plugins/tooltips.pm
/var/www/awstats/plugins/urlalias.pm
/var/www/awstats/plugins/userinfo.pm

这是logwatch 邮件日志:

--------------------- clam-update Begin ------------------------

No updates detected in the log for the freshclam daemon (the
ClamAV update process).  If the freshclam daemon is not running,
you may need to restart it.  Other options:

A. If you no longer wish to run freshclam, deleting the log file
    (default is freshclam.log) will suppress this error message.

B. If you use a different log file, update the appropriate
    configuration file.  For example:
       echo "LogFile = log_file" >> /etc/logwatch/conf/logfiles/clam-update.conf
    where log_file is the filename of the freshclam log file.

C. If you are logging using syslog, you need to indicate that your
    log file uses the syslog format.  For example:
       echo "*OnlyService = freshclam" >> /etc/logwatch/conf/logfiles/clam-update.conf
       echo "*RemoveHeaders" >> /etc/logwatch/conf/logfiles/clam-update.conf

---------------------- clam-update End -------------------------