已解决,关闭吧。
支持 Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, FreeBSD, OpenBSD
您尚未登陆。 请选择登陆或是注册一个新账号。
iRedMail 开源邮件服务解决方案 » 由 wenxin1234114 发表的文章
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本:
- 使用的 Linux/BSD 发行版名称及版本号:
- 与您的问题相关的日志信息:
====
新建了一个别名,发不了邮件,postfix日志如下:
Apr 12 08:56:01 mail postfix/smtpd[16164]: connect from localhost[127.0.0.1]
Apr 12 08:56:01 mail postfix/smtpd[16164]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <tc2@example.com>: Recipient address rejected: Not authorized; from=<test@example.com> to=<tc2@example.com> proto=ESMTP helo=<192.168.16.68>
Apr 12 08:56:01 mail roundcube: SMTP Error: SMTP error: Failed to add recipient 'tc2@example.com' in /var/www/roundcubemail-0.8.2/program/include/main.inc on line 1485 (POST /mail/?_unlock=loading1365728266479&_lang=undefined?_task=mail&_action=send)
Apr 12 08:56:01 mail postfix/smtpd[16164]: disconnect from localhost[127.0.0.1]
之前一直可以发的,不知道啥原因突然不行了。
发送邮件错误日志如下:
Mar 14 17:30:27 mail postfix/smtpd[24399]: connect from localhost[127.0.0.1]
Mar 14 17:30:27 mail postfix/smtpd[24399]: CA41E41AD0: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=yinxuexiang@example.com
Mar 14 17:30:27 mail postfix/cleanup[24409]: CA41E41AD0: message-id=<7215196cb17470842b41859510c9fac9@example.com>
Mar 14 17:30:27 mail postfix/qmgr[24295]: CA41E41AD0: from=<yinxuexiang@example.com>, size=551, nrcpt=1 (queue active)
Mar 14 17:30:27 mail roundcube: User yinxuexiang@example.com [192.168.23.100]; Message for tc@example.com; 250: 2.0.0 Ok: queued as CA41E41AD0
Mar 14 17:30:28 mail postfix/smtpd[24399]: disconnect from localhost[127.0.0.1]
Mar 14 17:30:33 mail postfix/smtpd[24430]: connect from localhost[127.0.0.1]
Mar 14 17:30:33 mail postfix/smtpd[24430]: A9C5141AD2: client=localhost[127.0.0.1]
Mar 14 17:30:33 mail postfix/cleanup[24409]: A9C5141AD2: message-id=<7215196cb17470842b41859510c9fac9@example.com>
Mar 14 17:30:33 mail postfix/qmgr[24295]: A9C5141AD2: from=<yinxuexiang@example.com>, size=1467, nrcpt=1 (queue active)
Mar 14 17:30:33 mail postfix/smtpd[24430]: disconnect from localhost[127.0.0.1]
Mar 14 17:30:33 mail amavis[5496]: (05496-18) Passed CLEAN, MYNETS/MYUSERS LOCAL [127.0.0.1] [127.0.0.1] <yinxuexiang@example.com> -> <tc@list.example.com>, Message-ID: <7215196cb17470842b41859510c9fac9@example.com>, mail_id: LW8NKiC8bN2R, Hits: -9.998, size: 551, queued_as: A9C5141AD2, 5791 ms
Mar 14 17:30:33 mail postfix/pipe[24434]: fatal: user= command-line attribute specifies root privileges
Mar 14 17:30:33 mail postfix/smtp[24415]: CA41E41AD0: to=<tc@list.example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6, delays=0.14/0.02/0.01/5.8, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A9C5141AD2)
Mar 14 17:30:33 mail postfix/qmgr[24295]: CA41E41AD0: removed
Mar 14 17:30:34 mail postfix/qmgr[24295]: warning: private/mailman socket: malformed response
Mar 14 17:30:34 mail postfix/qmgr[24295]: warning: transport mailman failure -- see a previous warning/fatal/panic logfile record for the problem description
Mar 14 17:30:34 mail postfix/master[24292]: warning: process /usr/libexec/postfix/pipe pid 24434 exit status 1
Mar 14 17:30:34 mail postfix/master[24292]: warning: /usr/libexec/postfix/pipe: bad command startup -- throttling
Mar 14 17:30:34 mail postfix/error[24435]: A9C5141AD2: to=<tc@list.example.com>, relay=none, delay=1.1, delays=0.01/1/0/0.02, dsn=4.3.0, status=deferred (unknown mail transport error)
main.cf我就添加一行:mailman_destination_recipient_limit = 1
其它内容如下:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
inet_interfaces = all
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.6/samples
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
inet_protocols = ipv4
virtual_alias_domains =
myhostname = linuxfun.me
myorigin = linuxfun.me
mydomain = linuxfun.me
biff = no
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated
delay_warning_time = 0h
maximal_queue_lifetime = 1d
bounce_queue_lifetime = 1d
recipient_delimiter = +
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions
smtp_data_init_timeout = 240s
smtp_data_xfer_timeout = 600s
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre
queue_run_delay = 300s
minimal_backoff_time = 300s
maximal_backoff_time = 4000s
enable_original_recipient = no
disable_vrfy_command = yes
home_mailbox = Maildir/
allow_min_user = no
message_size_limit = 31457280
virtual_minimum_uid = 500
virtual_uid_maps = static:500
virtual_gid_maps = static:500
virtual_mailbox_base = /var/vmail
transport_maps = proxy:mysql:/etc/postfix/mysql/transport_maps_user.cf, proxy:mysql:/etc/postfix/mysql/transport_maps_domain.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap-users.cf,proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/catchall_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf
sender_bcc_maps = proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_domain.cf
recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_domain.cf
smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql/sender_login_maps.cf
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_authenticated_header = no
smtpd_recipient_restrictions = 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, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:10031
smtpd_tls_security_level = may
smtpd_tls_loglevel = 0
smtpd_tls_key_file = /etc/pki/tls/private/iRedMail.key
smtpd_tls_cert_file = /etc/pki/tls/certs/iRedMail_CA.pem
smtpd_tls_CAfile = /etc/pki/tls/certs/iRedMail_CA.pem
tls_random_source = dev:/dev/urandom
mailbox_command = /usr/libexec/dovecot/deliver
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = ./dovecot-auth
content_filter = smtp-amavis:[127.0.0.1]:10024
smtp-amavis_destination_recipient_limit = 1
mailman_destination_recipient_limit = 1
请先修正这个问题:
Mar 14 11:59:35 mail postfix/trivial-rewrite[9012]: warning: do not list domain list.example.com in BOTH virtual_mailbox_domains and relay_domains
那个已经解决了,现在一直报:
relay=none, delay=0.01, delays=0/0/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
main.cf已经配置了,还提示错误,晕。
relay_domains = list.expample.com
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本: 0.8.3
- 使用的 Linux/BSD 发行版名称及版本号: centos 6.4
- 与您的问题相关的日志信息:
====
参照官方文档的howtoforge的文档整合mailman和iredman报错如下:
maillog如下:
Mar 14 11:59:24 mail postfix/smtpd[8985]: connect from localhost[127.0.0.1]
Mar 14 11:59:24 mail postfix/smtpd[8985]: 4B355415C6: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=test@example.com
Mar 14 11:59:24 mail postfix/cleanup[8988]: 4B355415C6: message-id=<0571a8155cc6d2599f4f68d44a649b61@example.com>
Mar 14 11:59:24 mail postfix/qmgr[8767]: 4B355415C6: from=<test@example.com>, size=552, nrcpt=1 (queue active)
Mar 14 11:59:24 mail roundcube: User test@example.com [192.168.23.100]; Message for tc@example.com; 250: 2.0.0 Ok: queued as 4B355415C6
Mar 14 11:59:24 mail postfix/smtpd[8985]: disconnect from localhost[127.0.0.1]
Mar 14 11:59:35 mail postfix/smtpd[9010]: connect from localhost[127.0.0.1]
Mar 14 11:59:35 mail postfix/trivial-rewrite[9012]: warning: do not list domain list.example.com in BOTH virtual_mailbox_domains and relay_domains
Mar 14 11:59:35 mail postfix/smtpd[9010]: 7674F415C8: client=localhost[127.0.0.1]
Mar 14 11:59:35 mail postfix/cleanup[8988]: 7674F415C8: message-id=<0571a8155cc6d2599f4f68d44a649b61@example.com>
Mar 14 11:59:35 mail postfix/qmgr[8767]: 7674F415C8: from=<test@example.com>, size=1468, nrcpt=1 (queue active)
Mar 14 11:59:35 mail postfix/smtpd[9010]: disconnect from localhost[127.0.0.1]
Mar 14 11:59:35 mail postfix/trivial-rewrite[9012]: warning: do not list domain list.example.com in BOTH virtual_mailbox_domains and relay_domains
Mar 14 11:59:35 mail postfix/qmgr[8767]: warning: connect to transport private/mailman: No such file or directory
Mar 14 11:59:35 mail amavis[5496]: (05496-08) Passed CLEAN, MYNETS/MYUSERS LOCAL [127.0.0.1] [127.0.0.1] <test@example.com> -> <tc@list.example.com>, Message-ID: <0571a8155cc6d2599f4f68d44a649b61@example.com>, mail_id: cmZPWIDkXhU3, Hits: -9.998, size: 552, queued_as: 7674F415C8, 11127 ms
Mar 14 11:59:35 mail postfix/smtp[8993]: 4B355415C6: to=<tc@list.example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=11, delays=0.08/0.02/0.01/11, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 7674F415C8)
Mar 14 11:59:35 mail postfix/qmgr[8767]: 4B355415C6: removed
Mar 14 11:59:35 mail postfix/error[9014]: 7674F415C8: to=<tc@list.example.com>, relay=none, delay=0.06, delays=0.01/0.02/0/0.03, dsn=4.3.0, status=deferred (mail transport unavailable)
/etc/mailman/mm_cfg.py配置如下:
DEFAULT_URL_PATTERN = 'http://%s/mailman'
DEFAULT_URL_HOST = 'list.example.com'
DEFAULT_EMAIL_HOST = 'example.com'
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['example.com']
其他地方按照官方配置,请问还需要配置哪里?
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本: 0.8.3
- 使用的 Linux/BSD 发行版名称及版本号:
- 与您的问题相关的日志信息:
====
张工,您好,
请问如何这种目录结构成直接用户名形式,不敢贸然改,怕影响验证。
/var/vmail/vmail1/test.com/p/o/s/postmaster-2013.02.20.15.03.21/Maildir
把p/o/s/postmaster-2013.02.20.15.03.21改成postmaster,以后新用户也类似 。后端是mysql的。
分享下设置 :
hosts = 192.168.1.77:389
ldap_version = 3
auth_bind = yes
dn = user@test.com
dnpass = 123456
base = CN=Users,DC=test,DC=com
scope = subtree
deref = never
user_filter = (&(mail=%u)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
pass_filter = (&(mail=%u)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
pass_attrs = userPassword=password
default_pass_scheme = CRYPT
user_attrs = =home=/var/vmail/vmail1/%Ld/%Ln/Maildir/,=mail=maildir:/var/vmail/vmail1/%Ld/%Ln/Maildir/
我按照这个帖子已经弄差不多了。http://www.iredmail.com/wiki/index.php?title=Integration/Active.Directory.iRedMail
下面再调试一下。谢谢
试了还是不行,我们邮件帐户域名后辍和AD后辍不一样,我现在奇怪它为什么一直去本地找这个用户呢?
eb 27 09:21:46 auth: Debug: ldap(yinxue@test.com,127.0.0.1): user search: base=CN=Users,DC=xxx,DC=com scope=subtree filter=(&(objectClass=person)(|(mail=yinxue@test.com))) fields=mail
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本:
- 使用的 Linux/BSD 发行版名称及版本号:
- 与您的问题相关的日志信息:
==== ==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本: 0.8.3
- 使用的 Linux/BSD 发行版名称及版本号: centos 6.3
- 与您的问题相关的日志信息:
====
张工,
最近可好?最近我安装iredmail 0.8.3基本mysql的,我想整合ldap验证,我配置如下:
我在dovecot.conf添加了如下几行:
#ldap users
passdb {
driver = ldap
args=/etc/dovecot/dovecot-ldap.conf
}
userdb {
driver = ldap
args=/etc/dovecot/dovecot-ldap.conf
}
/etc/dovecot/dovecot-ldap.conf 配置如下:
hosts = 192.168.1.77
ldap_version = 3
auth_bind = yes
dn = user@xxx.com
dnpass = 123456
base = CN=Users,DC=xxx,DC=com
scope = subtree
deref = neveruser_filter = (&(objectClass=person)(|(mail=%u)))
pass_filter = (&(objectClass=person)(|(mail=%u)))user_attrs = mail = user
日志报错如下:
Feb 27 09:21:46 auth: Debug: client in: AUTH 1 PLAIN service=pop3 secured lip=127.0.0.1 rip=127.0.0.1 lport=110 rport=45291 resp=AHlpbnh1ZXhpYW5nQG1hZGUtaW4tY2hpbmEuY29tADErMT10aHJlZQ==
Feb 27 09:21:46 auth-worker: Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Feb 27 09:21:46 auth-worker: Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so
Feb 27 09:21:46 auth-worker: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so
Feb 27 09:21:46 auth-worker: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_pgsql.so
Feb 27 09:21:46 auth-worker: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
Feb 27 09:21:46 auth-worker: Debug: Module loaded: /usr/lib64/dovecot/auth/libmech_gssapi.so
Feb 27 09:21:46 auth-worker: Info: mysql(127.0.0.1): Connected to database vmail
Feb 27 09:21:46 auth-worker: Debug: sql(yinxue@test.com,127.0.0.1): query: SELECT password FROM mailbox WHERE username='yinxue@test.com' AND active='1'
Feb 27 09:21:46 auth-worker: Info: sql(yinxue@test.com,127.0.0.1): unknown user
Feb 27 09:21:46 auth: Debug: ldap(yinxue@test.com,127.0.0.1): bind search: base=CN=Users,DC=xxx,DC=com filter=(&(objectClass=person)(|(mail=yinxue@test.com)))
Feb 27 09:21:46 auth: Debug: ldap(yinxue@test.com,127.0.0.1): no fields returned by the server
Feb 27 09:21:46 auth: Debug: client out: OK 1 user=yinxue@test.com
Feb 27 09:21:46 auth: Debug: master in: REQUEST 3448111105 5387 1 35d25f310ef935f84db7fb79ab96bbaa
Feb 27 09:21:46 auth-worker: Debug: sql(yinxue@test.com,127.0.0.1): SELECT CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule FROM mailbox,domain WHERE mailbox.username='yinxue@test.com' AND mailbox.domain='test.com' AND mailbox.`enablepop3secured`=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND mailbox.active=1
Feb 27 09:21:46 auth-worker: Info: sql(yinxue@test.com,127.0.0.1): Unknown user
Feb 27 09:21:46 auth: Debug: ldap(yinxue@test.com,127.0.0.1): user search: base=CN=Users,DC=xxx,DC=com scope=subtree filter=(&(objectClass=person)(|(mail=yinxue@test.com))) fields=mail
Feb 27 09:21:46 auth: Debug: ldap(yinxue@test.com,127.0.0.1): no fields returned by the server
Feb 27 09:21:46 auth: Debug: master out: USER 3448111105 yinxue@test.com
Feb 27 09:21:46 pop3-login: Info: Login: user=<yinxue@test.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=5390, secured
Feb 27 09:21:46 pop3: Debug: Loading modules from directory: /usr/lib64/dovecot
Feb 27 09:21:46 pop3: Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so
Feb 27 09:21:46 pop3(yinxue@test.com): Debug: Effective uid=500, gid=500, home=
Feb 27 09:21:46 pop3(yinxue@test.com): Error: user yinxue@test.com: Initialization failed: userdb didn't return a home directory, but mail_location used it (%h): maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/
Feb 27 09:21:46 pop3(yinxue@test.com): Error: Invalid user settings. Refer to server log for more information.
看起来似乎是没连上ldap,麻烦有空帮看看,谢谢。
OpenLDAP 版的 iRedAPD 里已经实现了。参考:
http://www.iredmail.com/wiki/index.php? … Fwhitelist在 iRedAdmin-Pro 里可以直接管理。参考截图:
这些信息存储在数据库里的吗?可以直接读写数据库实现功能吗
你所说的“控制权限”具体指什么?
比如说列表成员权限可分为:只发,只收,能发能收,三种。我看有的商业软件都带这种功能。开源的软件我还没有发现哪个带。
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本: 0.8.3
- 使用的 Linux/BSD 发行版名称及版本号:
- 与您的问题相关的日志信息:
====
请问有带控制权限的邮件列表软件推荐吗?相关字段最好放在数据库里的。试过mailman和phplist不行。
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本: 0.8.3
- 使用的 Linux/BSD 发行版名称及版本号: Centos 6.3 x86
- 与您的问题相关的日志信息:
====
发到SOHU邮箱日志总是提示:status=deferred (lost connection with sohumx.h.a.sohu.com[61.135.132.100] while receiving the initial server greeting)
Dec 4 09:07:35 mail postfix/smtpd[28541]: connect from mail.xxx.com[127.0.0.1]
Dec 4 09:07:35 mail postfix/smtpd[28541]: A6E314198A: client=mail.xxx.com[127.0.0.1]
Dec 4 09:07:35 mail postfix/cleanup[28528]: A6E314198A: message-id=<38b9d914b6f0421e9d993827629f4524@xxx.com>
Dec 4 09:07:35 mail postfix/qmgr[1735]: A6E314198A: from=<user1@xxx.com>, size=1429, nrcpt=1 (queue active)
Dec 4 09:07:35 mail postfix/smtpd[28541]: disconnect from mail.xxx.com[127.0.0.1]
Dec 4 09:07:36 mail amavis[28103]: (28103-01) Passed CLEAN, MYNETS/MYUSERS LOCAL [127.0.0.1] [127.0.0.1] <user1@xxx.com> -> <xxxx@sohu.com>, Message-ID: <38b9d914b6f0421e9d993827629f4524@xxx.com>, mail_id: wAbiZDpqa4ww, Hits: -7.897, size: 536, queued_as: A6E314198A, 5879 ms
Dec 4 09:07:37 mail postfix/smtp[28529]: 77FD04196E: to=<xxxx@sohu.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=7.4, delays=1/0.06/0.08/6.3, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A6E314198A)
Dec 4 09:07:37 mail postfix/qmgr[1735]: 77FD04196E: removed
Dec 4 09:07:41 mail postfix/smtp[28542]: A6E314198A: lost connection with sohumx1.sohu.com[220.181.26.202] while receiving the initial server greeting
Dec 4 09:10:53 mail postfix/smtp[28542]: A6E314198A: to=<xxxx@sohu.com>, relay=sohumx.h.a.sohu.com[61.135.132.100]:25, delay=197, delays=0.09/1.3/196/0, dsn=4.4.2, status=deferred (lost connection with sohumx.h.a.sohu.com[61.135.132.100] while receiving the initial server greeting)
你可以到这个地址http://mail.sohu.com/info/queryip/,检查你的服务器IP和发件人地址有没有被 拉黑。再作讨论。
你参考的 wiki 文档是以 iRedMail OpenLDAP backend 为基础的,所以你可能找不到相应的配置文件。建议先在虚拟机里用 OpenLDAP backend 来整合,熟悉后再用 MySQL backend 自己折腾。:)
wenxin1234114 写道:2.Dovecot的telnet的返回信息在哪改啊?
这个似乎没必要改吧?
好吧,如果你非要改,试试 dovecot 的 login_greeting 参数。参考: http://wiki.dovecot.org/MainConfig
我试试,谢了
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本: 0.8.3
- 使用的 Linux/BSD 发行版名称及版本号:
- 与您的问题相关的日志信息:
====
请问张工,我安装iredmail是选择mysql认证,现在想把ldap认证加进去。参考了您如下的文件:
http://www.iredmail.com/wiki/index.php? … y.iRedMail
但是到“Enable LDAP query with AD in Dovecot”
这边的配置加在哪个段代码里面呢?
2.Dovecot的telnet的返回信息在哪改啊?
你说的是集群吧?无论 fail-over 或 load-balance 集群,第一个要解决的是如何让多台服务器访问用户的邮箱。你可以使用 SAN 或 NFS。
建议先搜索一下论坛,之前有过详细回复。
应该NAS或分布式文件系统更合适点。
你说的是集群吧?无论 fail-over 或 load-balance 集群,第一个要解决的是如何让多台服务器访问用户的邮箱。你可以使用 SAN 或 NFS。
建议先搜索一下论坛,之前有过详细回复。
你说的存储我已经想过,并选择mfs+drbd方式。之前在论坛看过glusterfs 看针对邮件这种小文件读写频繁来说,性能较差。您指的LB集群用什么做呢?
张工,还有一个问题咨询一下:
比如有多台smtp或pop3/imap,如何同时工作?iredmail自带还是需要第三方软件?
感谢 !
把 reject_unknown_sender_domain 及 reject_non_fqdn_sender 刪除之後 restart postfix 看看
这样设置太不安全了,不利于反垃圾。不存在的域应该果断拒绝。
iRedMail 开源邮件服务解决方案 » 由 wenxin1234114 发表的文章
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2010 PunBB.
页面生成时间 0.010 秒, 共执行查询 78 条