感谢denvor和cityhunter,谢谢你们的帮助:loveliness:
支持 Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, FreeBSD, OpenBSD
您尚未登陆。 请选择登陆或是注册一个新账号。
iRedMail 开源邮件服务解决方案 » 由 ikic 发表的文章
感谢denvor和cityhunter,谢谢你们的帮助:loveliness:
再次感谢!现在邮件可以正常收发了,请问您是如何发现原因的,是什么造成amavisd没有启动?
麻烦给点提示。
谢谢
[root@mail ~]# /etc/init.d/amavisd status
amavisd (pid 2425 2424 2422) is running...
amavis-milter is stopped
amavis-milter 是停止的状态,restart后还是一样!
今天突然发现无法收发邮件,连内网的也不行,查了查服务都起来了,可是maillog显示
Oct 16 14:42:51 mail postfix/smtpd[2192]: connect from mail.test.com[127.0.0.1]
Oct 16 06:42:51 mail postfix/smtpd[2192]: 492D59882C6: client=mail.test.com[127.0.0.1]
Oct 16 14:42:51 mail postfix/cleanup[2195]: 492D59882C6: message-id=<20091016064251.492D59882C6@mail.test.com>
Oct 16 14:42:51 mail postfix/qmgr[1754]: 492D59882C6: from=<wei@test.com>, size=623, nrcpt=1 (queue active)
Oct 16 14:42:51 mail postfix/smtp[2196]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Oct 16 06:42:51 mail postfix/smtpd[2192]: disconnect from mail.test.com[127.0.0.1]
Oct 16 06:42:51 mail postfix/smtp[2196]: 492D59882C6: to=<lishi@test.com>, relay=none, delay=0.13, delays=0.1/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
请问一下,/etc/shadow的密码加密是用MD5格式的吗,那CVS用户的密码加密是用CRYPT的格式吗?请教一下
呵呵,请教一下现在REDHAT官方提供的镜像是不是都是有试用期的,不能免费使用吧?
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
B5450988342 34720 Wed Jun 24 15:04:39 bbb@test.com
(connect to tj.chinamobie.com[x.x.x.x]: Connection timed out)
www@tj.chinamobie.com
-- 34 Kbytes in 1 Request.
这是队列里的昨天邮件,到今天还没发出去,test.com是我的域名,请问这是什么问题 [x.x.x.x]ip我隐藏了
[ 本帖最后由 ikic 于 2009-6-25 10:23 编辑 ]
请问一下,在/var/virusmails下的那些标为SPAM的邮件,在用户的垃圾邮件和收件箱是否会显示?
amavisd testkeys
TESTING: dkim._domainkey.test.com => invalid (public key: unsupported version)
现在显示如上,不支持的版本
我给autorespond@dk.elandsys.com发了封邮件,返回如下
DomainKeys Signature validation: not available DomainKeys Policy: "" "v=spf1" "a" "mx" "a:mail.test.com" "mx:mail.test.com" "~all\"\"" Note: The authentication results are not available as there was no signature header or the signature could not be verified Information about DomainKeys is available at http://www.elandsys.com/resources/sendm … nkeys.html Information about DKIM is available at http://www.elandsys.com/resources/sendmail/dkim.html Information about ADSP is available at http://www.elandsys.com/resources/sendmail/dkim.html Original message: Received: from mail.test.com ([117.8.190.151]) by ns1.qubic.net (8.14.4.Alpha0/8.14.4.Alpha0) with ESMTP id n5G3RdVe019566 for <autorespond+dk@dk.elandsys.com>; Mon, 15 Jun 2009 20:27:48 -0700 (PDT) Authentication-Results: ns1.qubic.net; sender-id=pass header.from=aaa@test.com; spf=pass smtp.mfrom=aaa@test.com X-Spam-score: 5.300000 X-Spam-hits: BAYES_50,RDNS_NONE,SCAM_RID,TVD_SPACE_RATIO Authentication-Results: ns1.qubic.net; dkim=permerror (verification error: missing parameter(s) in policy data) header.i=@test.com; x-dkim-adsp=temperror Received: from localhost (mail.test.com [127.0.0.1]) by mail.test.com (iRedMail) with ESMTP id E4EB89882E7 for <autorespond+dk@dk.elandsys.com>; Tue, 16 Jun 2009 03:36:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=test.com; h=content-transfer-encoding:content-type:user-agent:message-id :subject:to:from:date:mime-version:x-virus-scanned; s=dkim; t= 1245123380; x=1245987380; bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfu stWU5uGs=; b=S4tFWHEZhLUjSlrkPqPGjYgpSFKUgYZ3cv8ioIicoI4VawqMhZx jUsv1zhuEmg7H/xHlM3xRw0W+Q2pHFNUeXURAzvx4cabsGdq8Kg8WUPIvq4NJNdR lvWmJCV3ovCb6sFT6IJKim9LTXDdfE7ddbG882yFo61RCMBeUgUgaWCY= X-Virus-Scanned: amavisd-new at mail.test.com Received: from mail.test.com ([127.0.0.1]) by localhost (mail.test.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bCv2DIbio-W8 for <autorespond+dk@dk.elandsys.com>; Tue, 16 Jun 2009 11:36:20 +0800 (CST) Received: from mail.test.com (mail.test.com [127.0.0.1]) by mail.test.com (iRedMail) with ESMTP id C05D7988287 for <autorespond+dk@dk.elandsys.com>; Tue, 16 Jun 2009 03:36:15 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 16 Jun 2009 11:36:15 +0800 From: <aaa@test.com> To: autorespond+dk@dk.elandsys.com Subject:[***SPAM***] test Message-ID: <fbf5c444ac421132ad93f261079524de@127.0.0.1> X-Sender: aaa@test.com User-Agent: RoundCube WebMail Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit test
dig -t txt dkim._domainkey.test.com
; <<>> DiG 9.2.4 <<>> -t txt dkim._domainkey.test.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32946
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;dkim._domainkey.test.com. IN TXT
;; ANSWER SECTION:
dkim._domainkey.test.com. 3600 IN TXT "v=DKIM1\; p=" "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDPR831B/+hIGQ9zPZ5d1dRu9zv" "ssG9GzFx9haG7FQMUi5H2M7Pt/ZOwbAsqxdQJd9/mknXnvme/TCitXh4Jlsp1sKp" "NbE98smisGcumAxUmkj+woWZsNiAKjyxQiGIXZqdX+BoqZ0lepayEIw2fHcw8znO" "t/18pMA7wvlw+ZG2QQIDAQAB"
;; Query time: 2 msec
;; SERVER: 192.168.200.2#53(192.168.200.2)
;; WHEN: Tue Jun 16 13:18:26 2009
;; MSG SIZE rcvd: 326
我的设置应该没问题吧
按照DOC提供的方法,测试DKIM失败
amavisd testkeys
TESTING: dkim._domainkey.test.com => invalid (public key: DNS query timeout for dkim._domainkey.test.com)
且这是用自己的DNS
请问一下,crontab -l里的
1 5 * * * dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool
这条cron是执行什么,我每天都会收到一封邮件
<root@server.test.com
root@server.test.com
Cron <root@mail> dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool
/bin/sh: dovecot: command not found
可是我执行dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool
echo $?
0
明白了,谢谢Bibby
那我是不是可以chmod o+r /var/virusmails/
要不vmial没有权限
这是vmail的cron
1 5 * * * find /var/virusmails -ctime +30
ls -l /var/virusmails/
total 16
-rw-r----- 1 amavis amavis 1584 Jun 8 16:19 spam-7I+FVgDwSIpC.gz
-rw-r----- 1 amavis amavis 1949 Jun 8 16:29 spam-H5ylPQ1jh+u9.gz
-rw-r----- 1 amavis amavis 1586 Jun 9 07:32 spam-M0hx6ugAGX7b.gz
-rw-r----- 1 amavis amavis 2711 Jun 9 05:02 spam-Wa6-jTP5mDyl.gz
这里面保存的是什么?
请问一下,从昨天发现在/home/vmail/自动建了一个vmail目录,不知道这是正常的吗?
ls -l /home/vmail/
total 8
drwx------ 17 vmail vmail 4096 Jun 8 13:06 test.com
drwx------ 5 vmail mail 4096 Jun 11 05:01 vmail
而且还有邮件
ls -l vmail/
cur/ dovecot-uidvalidity.4a2ecd8e
dovecot.index.cache maildirsize
dovecot.index.log new/
dovecot-uidlist tmp/
dovecot-uidvalidity
这是内容
Return-Path: <vmail@mail.test.com>
Delivered-To: vmail@mail.test.com
Received: by mail.test.com (iRedMail, from userid 500)
id 881799882DC; Wed, 10 Jun 2009 05:01:02 +0800 (CST)
From: root@mail.test.com (Cron Daemon)
To: vmail@mail.test.com
Subject: Cron <vmail@mail> find /var/virusmails -ctime +30
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/vmail>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=vmail>
X-Cron-Env: <USER=vmail>
Message-Id: <20090609210102.881799882DC@mail.test.com>
Date: Wed, 10 Jun 2009 05:01:02 +0800 (CST)
find: /var/virusmails: Permission denied
我是刚从extmail迁移到iredmail的,但是单位的员工习惯用extmail的webmail了,所以extmail还在用,在/var/log下没有extamil的log,我是按照迁移doc的方法,迁移后其他还正常,就是不能用extamil往外网发邮件,内网的可以
用extmail给外网发邮件报错 SMTP rcpt error:
但是用roundcube就无此问题!!!
maillog的显示:
Jun 10 16:01:01 mail policyd-cleanup: clean up process starting: policyd v1.82
Jun 10 16:01:01 mail policyd-cleanup: connecting to mysql database: 127.0.0.1
Jun 10 16:01:01 mail policyd-cleanup: connected..
Jun 10 16:01:01 mail policyd-cleanup: expiring throttlesender records older than
31 days (1241942461)
Jun 10 16:01:01 mail policyd-cleanup: expired: 0 records
Jun 10 16:01:01 mail policyd-cleanup: expiring throttlesender instances older th
an 1 hour (1244617261)
Jun 10 16:01:01 mail policyd-cleanup: expired: 0 records
Jun 10 16:01:01 mail policyd-cleanup: clean up process starting: policyd v1.82
Jun 10 16:01:01 mail policyd-cleanup: connecting to mysql database: 127.0.0.1
Jun 10 16:01:01 mail policyd-cleanup: connected..
Jun 10 16:01:01 mail policyd-cleanup: expiring validated records older than 7 da
ys (1244016061)
Jun 10 16:01:01 mail policyd-cleanup: expired: 0 records
Jun 10 16:01:01 mail policyd-cleanup: expiring unvalidated records older than 2
days (1244448061)
Jun 10 16:01:01 mail policyd-cleanup: expired: 0 records
Jun 10 16:01:01 mail policyd-cleanup: expiring blacklisted records (1244620861)
Jun 10 16:01:01 mail policyd-cleanup: expired: 0 records
Jun 10 16:01:01 mail policyd-cleanup: expiring autowhitelisted records older tha
n 7 days (1244620861)
Jun 10 16:01:01 mail policyd-cleanup: expired: 0 records
Jun 10 16:01:01 mail policyd-cleanup: expiring helo records older than 7 days (1
244620861)
Jun 10 16:01:01 mail policyd-cleanup: expired: 0 records
Jun 10 16:01:01 mail policyd-cleanup: expiring throttlerecipient records older t
han 31 days (1241942461)
Jun 10 16:01:01 mail policyd-cleanup: expired: 0 records
Jun 10 16:34:40 mail extmail[2184]: user=<aaa@test.com>, client=192.168.0
.200, module=login, status=loginok
Jun 10 16:34:59 mail postfix/smtpd[2192]: connect from mail.test.com[127.0
.0.1]
Jun 10 08:35:04 mail postfix/smtpd[2192]: 317A19882C7: client=mail.test.co
m[127.0.0.1]
Jun 10 08:35:04 mail postfix/smtpd[2192]: lost connection after RCPT from mail.
test.com[127.0.0.1]
Jun 10 08:35:04 mail postfix/smtpd[2192]: disconnect from mail.test.com[12
7.0.0.1]
[ 本帖最后由 ikic 于 2009-6-10 16:39 编辑 ]
iRedMail 开源邮件服务解决方案 » 由 ikic 发表的文章
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2010 PunBB.
页面生成时间 0.025 秒, 共执行查询 63 条