怎么搞定的啊,同样问题

我之前也遇到相同的错误,经检查是DNS解析的问题,无法解析到对方的域名
貌似最近很多兄弟都遇到这个问题,可能是国内DNS解析出问题了
我的是上海202.96.209.5

经添加Google DNS 8.8.8.8解决

/var/spool/postfix/etc/resolv.conf
/etc/resolv.conf

2个文件中都添加

发件人:Cron Daemon <root@mail.lanever.com>
收件人:root@xxxx.com
主题:Cron <root@mail> bash /home/jack/backup_openldap.sh
内容:
/home/jack/backup_openldap.sh: line 128: slapcat: command not found
* Compressing LDIF file ...
检查backup下的文件
-rw-r--r-- 1 root root    14 Apr  4 04:01 2011.04.04.04.01.01.ldif.bz2
-rw-r--r-- 1 root root 38431 Apr  4 11:26 2011.04.04.11.26.12.ldif.bz2
文件尺寸只有4个字节,是错误的

但是直接在/home/jack/ 下执行backup_openldap.sh 是没有问题的
而且cron执行的backup_mysql.sh是正常的

ZhangHuangbin 写道:

看看是否安装了 mod_python,有的话将它删除后重启 apache 即可。

mod_python 和 iRedAdmin 用到的 Apache 模块 mod_wsgi 有冲突,无法同时使用。新版本的 iRedMail-0.7.0 会自动检测 mod_python 并提示删除(需要用户确认)。

删除后解决了,谢啦

ZhangHuangbin 写道:

从日志看不出什么错误信息 sad


老张,我今天倒了血霉了,邮件服务器硬盘坏了,然后只能重做
又遇到同样的问题了,iredadmin怎么都没法访问,本地起8080端口都是好的
你上次是登到我的服务器弄的,你还记得是什么原因伐

谢啦

有没有文档?
最近要更换邮件服务器硬件,希望有详细的操作流程

最好是改进一下,将system infomation 跟 Statistics 放在一个 Css DIV 当中,这样比较紧凑美观

这么好的一个功能只能被迫放弃啊,希望下一版能得到修正
没有这么多的时间和精力每天去做这么多的重复劳动

iredadmin 的system-received mails和sent mails 比实际的时间 差了8小时

后台iredadmin received mails 记录:
    Subject    Sender    Recipient    Date
    答复: test    jackwjy@gmail.com    jack@xxxx.com    2011-02-16 14:32:25

tail sieve.log
Feb 16 22:32:25 deliver(jack@xxxx.com): Info: sieve: msgid=<!&!AAAAAAAAAAAYAAAAAAAAABvvNLbIt0VClxf1zyInX+bCgAAAEAAAADdwc8OYR29Pp0rhPI+/3...: stored mail into mailbox 'INBOX'

查一下到底哪里有问题?

论坛啊,你是希望光我一个人知道答案,还是希望所有人都得到借鉴?
http://www.iredmail.org/bbs/topic1800-a … r1062.html
这个帖子呢?

你看看帖子好了,2/4和2/11各一个帖子。。。。
希望能得到同等的服务品质

原先的系统白名单和黑名单没有作用

邮件依然会被Quarantined,如何手动添加
很多相同邮件被误隔离,每天都要花很多精力去relaese邮件

我在中文的论坛的帖子 这么多天都没有老张同志的回复
英文的论坛帖子很快就有回复?

怎么回事?

国人歧视?

Feb 11 22:28:18 mail postfix/qmgr[23310]: 008D538B08CA: from=<international@emarsys.net>, size=10250, nrcpt=3 (queue active)
Feb 11 22:28:18 mail amavis[23206]: (23206-05) Passed CLEAN, LOCAL [91.211.240.179] [91.194.249.232] <international@emarsys.net> -> <apple.lai@xxx.com>,<
judy.hu@xxx.com>,<simon.xu@xxx.com>, Message-ID: <4D554786.00000028@pmta40179.emarsys.net>, mail_id: sWiAztUnV4uk, Hits: -9.515, size: 9681, queued_a
s: 008D538B08CA, dkim_id=invitation@fashionandyou.com,invitation@fashionandyou.com, 36309 ms
Feb 11 22:28:18 mail amavis[23206]: (23206-05) (!)WARN save_info_final: sql exec: err=1062, 23000, DBD::mysql::st execute failed: Duplicate entry '0-sWiAztUn
V4uk-0' for key 1 at (eval 102) line 166, <GEN17> line 7202.
Feb 11 22:28:18 mail postfix/pipe[23476]: 008D538B08CA: to=<judy.hu@xxx.com>, relay=dovecot, delay=0.63, delays=0.09/0.02/0/0.52, dsn=2.0.0, status=sent
(delivered via dovecot service)
Feb 11 22:28:18 mail postfix/pipe[23478]: 008D538B08CA: to=<simon.xu@xxx.com>, relay=dovecot, delay=0.78, delays=0.09/0.03/0/0.66, dsn=2.0.0, status=sent
(delivered via dovecot service)
Feb 11 22:28:18 mail postfix/pipe[23465]: 008D538B08CA: to=<apple.lai@xxx.com>, relay=dovecot, delay=0.81, delays=0.09/0.01/0/0.71, dsn=2.0.0, status=sen
t (delivered via dovecot service)
Feb 11 22:28:18 mail postfix/qmgr[23310]: 008D538B08CA: removed
Feb 11 22:28:21 mail amavis[23206]: (23206-05) (!)WARN save_info_final: sql exec: err=1062, 23000, DBD::mysql::st execute failed: Duplicate entry '0-sWiAztUn
V4uk-0' for key 1 at (eval 102) line 166, <GEN17> line 7202.
Feb 11 22:28:30 mail last message repeated 3 times

在收到给本域多个收件人的时候,amavis 向mysql写入的时候就会出现重复的错误
猜测: 如果出现Quarantined错误拦截,释放邮件可能就第一个收件人能收到,其他人收不到
zhanghuangbin 仔细检查一下,如果情况属实的话有没有办法解决一下?

OK,谢了

在Quarantined Mails页面的多页导航 超过50条记录
链接到/admin/domains/page/2

尽快看一下那个页面出问题了

昨天升级好IRedadmin 1.4之后,其他都没有问题,就是Domain选项里的Catch-all会出现Error: Permission denied.
经登录demo.iredmail.org发现有同样的问题。
是否系统Bug,望尽快解决一下

ZhangHuangbin 写道:

/etc/clamd.conf 里有一个 "ScanPDF yes",将它改为 no,并重启 clamav 试试。

如果还不行,就在 /etc/amavisd.conf 的顶部找到这句:

# @bypass_virus_checks_maps = (1);

将这一行的注释去掉,重启 amavisd,就不会再调用 ClamAV 了。

ScanPDF yes 这个我是最早就改成 no 了

关闭ClamAV是最后的办法了 sad

有人可以解决吗?
难道只能关闭ClamAV啦
sad

[root@mail local]# sudo freshclam
ClamAV update process started at Tue Dec 28 14:28:26 2010
main.cvd is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven)
daily.cld is up to date (version: 12446, sigs: 12211, f-level: 58, builder: guitar)
bytecode.cld is up to date (version: 114, sigs: 27, f-level: 58, builder: edwin)
[root@mail local]#


已经更新到最新的了,还是老样子

maillog
Dec 28 12:54:05 mail amavis[2790]: (02790-06) Blocked INFECTED (Exploit.PDF-22610(f60cfc7e5ee22c0382f3535fab9c5cbc:930379), Exploit.PDF-22610(82dfea702439669d850582516766ef9f:682526)), LOCAL [58.246.3.174] [58.246.3.174] <jack@lanever.com> -> <jackwjy@gmail.com>, quarantine: virus-kqVOxqD2BWzF, Message-ID: <47D1244287FC417083444F48DA9FC5B7@JackT400>, mail_id: kqVOxqD2BWzF, Hits: -, size: 942584, 641 ms
Dec 28 12:54:05 mail postfix/smtp[3490]: AA9A438B0708: to=<jackwjy@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=7.8, delays=7.2/0.01/0/0.65, dsn=2.5.0, status=sent (250 2.5.0 Ok, id=02790-06, DISCARD(bounce.suppressed))
Dec 28 12:54:05 mail postfix/qmgr[2783]: AA9A438B0708: removed

clamd.log
Tue Dec 28 12:54:05 2010 -> /var/amavis/tmp/amavis-20101228T124909-02790/parts/p007: Exploit.PDF-22610 FOUND
Tue Dec 28 12:54:05 2010 -> /var/amavis/tmp/amavis-20101228T124909-02790/parts/p003: Exploit.PDF-22610 FOUND


amavisd.conf

$policy_bank{'MYNETS'} = {   # mail originating from @mynetworks
  originating => 1,  # is true in MYNETS by default, but let's make it explicit
  os_fingerprint_method => undef,  # don't query p0f for internal clients
  bypass_virus_checks_maps => [1],
  allow_disclaimers => 1, # enables disclaimer insertion if available
};

# it is up to MTA to re-route mail from authenticated roaming users or
# from internal hosts to a dedicated TCP port (such as 10026) for filtering
$interface_policy{'10026'} = 'ORIGINATING';

$policy_bank{'ORIGINATING'} = {  # mail supposedly originating from our users
  originating => 1,  # declare that mail was submitted by our smtp client
  allow_disclaimers => 1,  # enables disclaimer insertion if available
  # notify administrator of locally originating malware
  virus_admin_maps => ["root\@$mydomain"],
  spam_admin_maps  => ["root\@$mydomain"],
  warnbadhsender   => 1,
  bypass_virus_checks_maps => [1],
  # forward to a smtpd service providing DKIM signing service
  forward_method => 'smtp:[127.0.0.1]:10027',
  # force MTA conversion to 7-bit (e.g. before DKIM signing)
  smtpd_discard_ehlo_keywords => ['8BITMIME'],
  bypass_banned_checks_maps => [1],  # allow sending any file names and types
  terminate_dsn_on_notify_success => 0,  # don't remove NOTIFY=SUCCESS option
};


还是不行啊,amavisd.conf修改好以后已经重启服务器了,还是被过滤

Two viruses were found:
  Exploit.PDF-22610(3a6f6bc64bd3fa36666385767f2b58b0:926454), Exploit.PDF-22610(82dfea702439669d850582516766ef9f:682526)

Bad header:
  Non-encoded 8-bit data (char D2 hex): Subject: Fw:
    \322\273\312\265\315\342\273\343\265\307\274\307\326\244
Scanner detecting a virus: ClamAV-clamd

Content type: Virus
Internal reference code for the message is 07517-17/iSOwArvRfTAC

First upstream SMTP client IP address: [210.13.93.94] According to a 'Received:' trace, the message apparently originated at:
  [210.13.93.94], DJKADM001 unknown [210.13.93.94]

Return-Path: <xxx@xxx.com>
From: <xxx@xxx.com>
Message-ID: <572B49CD52844CAF8C4809EC6205D772@DJKADM001>
Subject: Fw: xxxxxx
The message has been quarantined as: virus-iSOwArvRfTAC

Notification to sender will not be mailed.

The message WAS NOT relayed to:
<xxx@xxxx.com>:
   554 5.7.0 Reject, id=07517-17 - INFECTED: Exploit.PDF-22610(3a6f6bc64bd3fa36666385767f2b58b0:926454), Exploit.PDF-2261...

Virus scanner output:
  p006: Exploit.PDF-22610(3a6f6bc64bd3fa36666385767f2b58b0:926454) FOUND
  p003: Exploit.PDF-22610(82dfea702439669d850582516766ef9f:682526) FOUND

在公司里内部转发出现以上的pdf病毒,但是这个pdf文件是理光扫描仪直接出来的pdf文件,不可能有病毒
能否关闭clamav pdf文件扫描呢?

公司里常用pdf文件,影响很大,谢谢

经检查发现roundcubemail数据库缺少2个表单,在SQL目录中的mysql.initial.sql中发现建表语句,建立2个表单解决
具体语句如下:

mysql -uroot -p roundcubemail

CREATE TABLE `contactgroups` (
  `contactgroup_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
  `del` tinyint(1) NOT NULL DEFAULT '0',
  `name` varchar(128) NOT NULL DEFAULT '',
  PRIMARY KEY(`contactgroup_id`),
  CONSTRAINT `user_id_fk_contactgroups` FOREIGN KEY (`user_id`)
    REFERENCES `users`(`user_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  INDEX `contactgroups_user_index` (`user_id`,`del`)
) /*!40000 ENGINE=INNODB */ /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;

CREATE TABLE `contactgroupmembers` (
  `contactgroup_id` int(10) UNSIGNED NOT NULL,
  `contact_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `created` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
  PRIMARY KEY (`contactgroup_id`, `contact_id`),
  CONSTRAINT `contactgroup_id_fk_contactgroups` FOREIGN KEY (`contactgroup_id`)
    REFERENCES `contactgroups`(`contactgroup_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `contact_id_fk_contacts` FOREIGN KEY (`contact_id`)
    REFERENCES `contacts`(`contact_id`) ON DELETE CASCADE ON UPDATE CASCADE
) /*!40000 ENGINE=INNODB */;

运行正常

按照http://trac.roundcube.net/wiki/Howto_Upgrade
升级完成,其他都没问题,就是地址簿访问
SERVICE CURRENTLY NOT AVAILABLE!
Error No. [500]
求救