请教,以下情况如何解决。谢谢。
his is the mail system at host iredmail.domain.com.

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can delete your own text from the attached returned message.

                   The mail system

<邮箱>: Host or domain name not found. Name service error
    for name=域名 type=MX: Non-recoverable error

[ 本帖最后由 aw8 于 2009-12-11 22:08 编辑 ]

谢谢Bibby。

客户那边收到的返回信息如下:

This is the Postfix program at host dom.

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can delete your own text from the attached returned message.

            The Postfix program

<邮箱地址>: host iredmail.domain.com[202.101.6.85] said: 504
    5.5.2 <dom>: Helo command rejected: need fully-qualified hostname (in reply
    to RCPT TO command)

<邮箱地址>: host iredmail.domaink.com[202.101.6.85] said: 504
    5.5.2 <dom>: Helo command rejected: need fully-qualified hostname (in reply
    to RCPT TO command)

有没有什么办法把这个邮件域做为例外加入进来?

[ 本帖最后由 aw8 于 2009-12-1 21:40 编辑 ]

系统:Ubuntu 9.0.4
mail:0.5.1
数据库:ldap

求助:客户发过来的邮件收不到,但我发给客户的邮件对方可以收到。
下面是log,非常感谢。

Dec  1 09:58:00 iredmail postfix/smtpd[7664]: connect from nesidevelopment.com[210.5.154.81]
Dec  1 09:58:01 iredmail postfix/smtpd[7664]: NOQUEUE: reject: RCPT from nesidevelopment.com[210.5.154.81]: 504 5.5.2 <dom>: Helo command rejected: need fully-qualified hostname; from=<邮箱地址> to=<邮箱地址> proto=ESMTP helo=<dom>
Dec  1 09:58:01 iredmail postfix/smtpd[7664]: NOQUEUE: reject: RCPT from nesidevelopment.com[210.5.154.81]: 504 5.5.2 <dom>: Helo command rejected: need fully-qualified hostname; from=<邮箱地址> to=<邮箱地址> proto=ESMTP helo=<dom>
Dec  1 09:58:01 iredmail postfix/smtpd[7664]: NOQUEUE: reject: RCPT from nesidevelopment.com[210.5.154.81]: 504 5.5.2 <dom>: Helo command rejected: need fully-qualified hostname; from=<邮箱地址> to=<邮箱地址> proto=ESMTP helo=<dom>

[ 本帖最后由 aw8 于 2009-12-1 21:40 编辑 ]

系统:UBUNTU9.04
邮件:0.5.1

问题1:查看错误LOGO,出现如下错误,请问是什么原因引起?
root@iredmail:/var/log# tail mail.err
Nov 29 09:21:13 iredmail roundcube: [29-Nov-2009 09:21:13 +0800] IMAP Error: Authentication for 邮箱地址 failed (LOGIN): "a001 NO Authentication failed." (POST /?_task=&_action=login)
Nov 29 09:27:30 iredmail roundcube: [29-Nov-2009 09:27:30 +0800] IMAP Error: Authentication for zhao 邮箱地址 failed (LOGIN): "a001 NO Authentication failed." (POST /?_task=&_action=login)
Nov 29 21:10:50 iredmail roundcube: [29-Nov-2009 21:10:50 +0800] IMAP Error: Authentication for 邮箱地址 failed (LOGIN): "a001 NO Authentication failed." (POST /?_task=&_action=login)
Nov 29 21:11:41 iredmail roundcube: [29-Nov-2009 21:11:41 +0800] IMAP Error: Authentication for 邮箱地址 failed (LOGIN): "a001 NO Authentication failed." (POST /?_task=&_action=login)
Nov 30 09:13:04 iredmail roundcube: [30-Nov-2009 09:13:04 +0800] IMAP Error: Authentication for 邮箱地址 failed (LOGIN): "a001 NO Authentication failed." (POST /?_task=&_action=login)
Nov 30 09:13:15 iredmail roundcube: [30-Nov-2009 09:13:15 +0800] IMAP Error: Authentication for 邮箱地址 failed (LOGIN): "a001 NO Authentication failed." (POST /?_task=&_action=login)
Nov 30 09:14:10 iredmail roundcube: [30-Nov-2009 09:14:10 +0800] IMAP Error: Authentication for 邮箱地址 failed (LOGIN): "a001 NO Authentication failed." (POST /?_task=&_action=login)

问题2:awstats分析日志全部为零,没有数据显示

[ 本帖最后由 aw8 于 2009-11-30 21:33 编辑 ]

请教各位,我在安装系统的时候建立了一个www@domain.com的邮箱,后来不小心在iredadmin里被我删掉。重新建立名为www的邮箱后,原来系统LOG等邮件都不发到这个邮箱里去了,有什么办法把它恢复过去?非常感谢。

PS:iredadmin很好用,准备买一份企业版,不知如何在现在免费版上升级?

root@iredmail:/var/log/apache2# tail error.log
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]   File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/users.html", line 29, in top-level template code, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]     {% from "msgHandlers.html" import userMsgHandler with context %}, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]   File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/layout.html", line 82, in top-level template code, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]     {% block main %}{% endblock main %}, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]   File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/users.html", line 104, in block "main", referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]     <td>{% if entries.get('mailQuota', ['0'])[0] == '0' %}{{ _('Unlimited') }}{% else %}{{ entries.get('mailQuota', ['0'])[0] |filesizeformat }} {% endif %}</td>, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]   File "/usr/share/apache2/iredadmin/libs/iredutils.py", line 52, in filesizeformat, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]     return "%d Bytes" % (bytes, bytes != 1 and 's' or ''), referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] TypeError: not all arguments converted during string formatting, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] , referer: https://transluck.com/iredadmin/domains
root@iredmail:/var/log/apache2# tail error.log
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]   File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/users.html", line 29, in top-level template code, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]     {% from "msgHandlers.html" import userMsgHandler with context %}, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]   File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/layout.html", line 82, in top-level template code, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]     {% block main %}{% endblock main %}, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]   File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/users.html", line 104, in block "main", referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]     <td>{% if entries.get('mailQuota', ['0'])[0] == '0' %}{{ _('Unlimited') }}{% else %}{{ entries.get('mailQuota', ['0'])[0] |filesizeformat }} {% endif %}</td>, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]   File "/usr/share/apache2/iredadmin/libs/iredutils.py", line 52, in filesizeformat, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9]     return "%d Bytes" % (bytes, bytes != 1 and 's' or ''), referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] TypeError: not all arguments converted during string formatting, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] , referer: https://transluck.com/iredadmin/domains

系统:UBUNTU 9.04
MAIL:0.51

用create_mail_user_OpenLDAP.py创建用户,并在LDAP里导入成功,但是在iredadmin后右管理不了用户,域里可以看到用户数量,但一点数量就会500错误。
在iredadmin里创建的用户可以正常查看。不知是什么原因。

Bibby老大,可不可以限制只有指定发件人可以给all@domain.ltd发送邮件?其它人不能直接发,但是可以回复给all@domain.ltd

同问以上问题,特别是第一点。

create_mail_user_OpenLDAP.sh创建的用户,用户目录在/var/vmail/vmail01/下的就没有问题

不能保存邮件,说超过限额。晕

[root@mail ~]# tail /var/log/dovecot.log
dovecot: Aug 21 11:33:40 Info: imap-login: Login: user=<dawei.sun@transluck.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: Aug 21 11:33:40 Info: IMAP(dawei.sun@transluck.net): Disconnected: Logged out bytes=228/1680
dovecot: Aug 21 11:34:40 Info: imap-login: Login: user=<dawei.sun@transluck.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: Aug 21 11:34:40 Info: IMAP(dawei.sun@transluck.net): Disconnected: Logged out bytes=228/1703
dovecot: Aug 21 11:35:40 Info: imap-login: Login: user=<dawei.sun@transluck.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: Aug 21 11:35:40 Info: IMAP(dawei.sun@transluck.net): Disconnected: Logged out bytes=228/1703
dovecot: Aug 21 11:36:40 Info: imap-login: Login: user=<dawei.sun@transluck.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: Aug 21 11:36:40 Info: IMAP(dawei.sun@transluck.net): Disconnected: Logged out bytes=228/1703
dovecot: Aug 21 12:46:50 Warning: Killed with signal 15
dovecot: Aug 21 12:46:50 Info: dovecot v1.1.18 starting up (core dumps disabled)
[root@mail ~]#

[root@mail ~]# tail /var/log/sieve.log
deliver(dawei.sun@transluck.net): Aug 21 12:49:50 Info: Quota warning: bytes=921 (90%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 90
deliver(dawei.sun@transluck.net): Aug 21 12:49:50 Info: Quota warning: bytes=972 (95%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 95
deliver(dawei.sun@transluck.net): Aug 21 12:49:50 Info: maildir: data=~/t/tr/transluck.net/d/da/daw/dawei.sun//Maildir/
deliver(dawei.sun@transluck.net): Aug 21 12:49:50 Info: maildir++: root=/var/vmail/t/tr/transluck.net/d/da/daw/dawei.sun//Maildir, index=, control=, inbox=/var/vmail/t/tr/transluck.net/d/da/daw/dawei.sun//Maildir
deliver(dawei.sun@transluck.net): Aug 21 12:49:50 Info: cmusieve: /var/vmail/.dovecot.sieve doesn't exist
deliver(dawei.sun@transluck.net): Aug 21 12:49:50 Info: cmusieve: Using sieve path: /var/vmail/sieve/dovecot.sieve
deliver(dawei.sun@transluck.net): Aug 21 12:49:50 Info: cmusieve: Script not found: /var/vmail/sieve/dovecot.sieve
deliver(dawei.sun@transluck.net): Aug 21 12:49:50 Info: msgid=<000a01ca225d$ed481eb0$c7d85c10$@com>: save failed to INBOX: Quota exceeded (mailbox for user is full)
deliver(dawei.sun@transluck.net): Aug 21 12:49:50 Info: msgid=<000a01ca225d$ed481eb0$c7d85c10$@com>: rejected: Quota exceeded (mailbox for user is full)
deliver(dawei.sun@transluck.net): Aug 21 12:49:50 Info: Sending a rejection to dawei.sun@transluck.net: Quota exceeded (mailbox for user is full)

[ 本帖最后由 aw8 于 2009-8-21 20:51 编辑 ]

原帖由 Bibby 于 2009-8-21 19:18 发表 http://www.iredmail.org/bbs/images/common/back.gif
你使用 python 脚本创建的用户的 maildir 路径是否有做修改?默认是 /var/vmail,你的是 /var/mail(少了一个字母 v)。

少的那个V是我发贴子的时候漏打了,有修改过,脚本默认是/home/vmail。我改成了/var/vmail(因为config里的也是/var/vmail)

安装时创建的www用户可以正常收发邮件

我用PY创建的帐号,导入ldap,主目录/var/mail。现在只能发邮件,不能接收到邮件。LOG如下:
[root@mail log]# tail /var/log/maillog
Aug 21 09:46:26 mail amavis[11492]: Found decoder for    .lha  at /usr/bin/lha
Aug 21 09:46:26 mail amavis[11492]: Found decoder for    .cab  at /usr/bin/cabextract
Aug 21 09:46:26 mail amavis[11492]: No decoder for       .tnef tried: tnef
Aug 21 09:46:26 mail amavis[11492]: Internal decoder for .tnef
Aug 21 09:46:26 mail amavis[11492]: Found decoder for    .exe  at /usr/bin/unrar; /usr/bin/lha; /usr/bin/arj
Aug 21 09:46:26 mail amavis[11492]: Using primary internal av scanner code for ClamAV-clamd
Aug 21 09:46:26 mail amavis[11492]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Aug 21 09:46:26 mail amavis[11492]: Creating db in /var/amavis/db/; BerkeleyDB 0.36, libdb 4.3
Aug 21 09:46:28 mail postfix/smtp[11469]: 49F4251010C: to=<dawei.sun@transluck.com>, relay=mail.shaidc.com[218.78.208.134]:25, delay=4.6, delays=0.01/0.01/4.5/0.08, dsn=2.0.0, status=sent (250 ok)
Aug 21 09:46:28 mail postfix/qmgr[2730]: 49F4251010C: removed
[root@mail log]# tail /var/log/maillog
Aug 21 09:49:51 mail amavis[11494]: (11494-01) Passed CLEAN, LOCAL [218.78.208.149] [139.3.210.244] <dawei.sun@transluck.com> -> <dawei.sun@transluck.net>, Message-ID: <OFF8A522E9.9A5411B5-ON48257619.002D3E12-48257619.00300947@henkel.com>, mail_id: YXTNN2u6hI1N, Hits: -, size: 1809364, queued_as: 1A96A51010B, 2076 ms
Aug 21 09:49:51 mail postfix/smtp[11517]: 06165510109: to=<dawei.sun@transluck.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.3, delays=0.24/0.01/0.01/2.1, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=11494-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 1A96A51010B)
Aug 21 09:49:51 mail postfix/qmgr[2730]: 06165510109: removed
Aug 21 09:49:51 mail postfix/pickup[10833]: 5AA5E51010C: uid=500 from=<>
Aug 21 09:49:51 mail postfix/cleanup[11516]: 5AA5E51010C: message-id=<dovecot-1250819391-336046-0@mail.transluck.net>
Aug 21 09:49:51 mail postfix/pipe[11522]: 1A96A51010B: to=<dawei.sun@transluck.net>, relay=dovecot, delay=0.27, delays=0.22/0.01/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)
Aug 21 09:49:51 mail postfix/qmgr[2730]: 1A96A51010B: removed
Aug 21 09:49:51 mail postfix/qmgr[2730]: 5AA5E51010C: from=<>, size=4138, nrcpt=1 (queue active)
Aug 21 09:49:54 mail postfix/smtp[11526]: 5AA5E51010C: to=<dawei.sun@transluck.com>, relay=mail.shaidc.com[218.78.208.134]:25, delay=3.1, delays=0.01/0.01/3/0.02, dsn=2.0.0, status=sent (250 ok)
Aug 21 09:49:54 mail postfix/qmgr[2730]: 5AA5E51010C: removed

一、用create_mail_user_OpenLDAP.py创建的用户,目录在指定的目录在/home/vmail下,但实际导入ldif文件后,并没有在/home目录下生成vmail目录及子目录。用帐号登录一次后也没有生成。
二、如果csv文件里指定的域不存在的话,导入就会报错,说根不存在。是不是要先在ldap里增加域,才导入?怎么增加(对ldap不熟悉)
三、iRedOS安装时生成的www用户是的主目录是/var/vmail/domains下边。为什么create_mail_user_OpenLDAP.py生成的却到了/home目录下去了?

谢谢

我用新网互联没有问题啊。

原帖由 Bibby 于 2009-8-13 12:10 发表 http://www.iredmail.org/bbs/images/common/back.gif
可是我这里却没问题 :Q

呵呵,找不到原因了。

RC1的Postfixadmin把localhost.localdomain做为主机名的问题还是存在。

上传又失败了,文件大小停在64.20M不动了。

修正的是哪几个问题?

所以很奇怪,beta3会有这样的问题,beta1/beta2安装的话支直接使用设置的xxx.domain.ltd的。

[root@mail down]# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = no
biff = no
bounce_queue_lifetime = 1d
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
delay_warning_time = 0h
disable_vrfy_command = yes
enable_original_recipient = no
header_checks = pcre:/etc/postfix/header_checks.pcre
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_name = iRedMail
mail_owner = postfix
mail_version = 0.5.0
mailbox_command = /usr/libexec/dovecot/deliver
mailbox_size_limit = 15728640
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maximal_backoff_time = 4000s
maximal_queue_lifetime = 1d
message_size_limit = 15728640
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
mydomain = localhost.localdomain
myhostname = localhost.localdomain
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = localhost.localdomain

[ 本帖最后由 aw8 于 2009-8-12 16:52 编辑 ]

iRedOS-0.5.0 beta3 已经安装完成,安装非常简单方便。
但有个问题,安装完成后,Postfix对外发邮件的默认域是localhost.localdomain,而不是安装时候设置的mail.domain.com域,有没有影响?会不会导致收件方因无法解析localhost.localdomain而拒收发出去的邮件?
[attach]416[/attach]

[ 本帖最后由 aw8 于 2009-8-12 16:18 编辑 ]