已经解决 sorry 确实是因为bind_dn 和bind password有问题,因为这台机的ldap库从另外一台导了过来把原本的pass改了
支持 Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, FreeBSD, OpenBSD
您尚未登陆。 请选择登陆或是注册一个新账号。
iRedMail 开源邮件服务解决方案 » 由 kwoks 发表的文章
已经解决 sorry 确实是因为bind_dn 和bind password有问题,因为这台机的ldap库从另外一台导了过来把原本的pass改了
查下bind_dn 和bind password 一iRedmail.tips的mail admin是一致的
是自带的0.1.4版本的,之前在login的时候直接报internal server error安装web-py后能登不,但是点击功能之后还是报internal server error,打开iredadmin的setting.ini的debug之后网页显示如下:ldap.INVALID_CREDENTIALS at /admins{'info': '', 'desc': 'Invalid credentials'}Python /usr/lib64/python2.4/site-packages/ldap/ldapobject.py in _ldap_call, line 95Web GET https://192.168.200.166/iredadmin/adminsTraceback (innermost first) /usr/lib64/python2.4/site-packages/ldap/ldapobject.py in _ldap_call result = func(*args,**kwargs) ... ▶ Local vars /usr/lib64/python2.4/site-packages/ldap/ldapobject.py in result3 ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout) ... ▶ Local vars /usr/lib64/python2.4/site-packages/ldap/ldapobject.py in result2 res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout) ... ▶ Local vars /usr/lib64/python2.4/site-packages/ldap/ldapobject.py in result res_type,res_data,res_msgid = self.result2(msgid,all,timeout) ... ▶ Local vars /usr/lib64/python2.4/site-packages/ldap/ldapobject.py in bind_s return self.result(msgid,all=1,timeout=self.timeout) ... ▶ Local vars /var/www/iredadmin/libs/ldaplib/core.py in __init__ self.conn.bind_s(cfg.ldap.get('bind_dn'), cfg.ldap.get('bind_pw')) ... ▶ Local vars /var/www/iredadmin/controllers/ldap/admin.py in GET adminLib = admin.Admin() ... ▶ Local vars /var/www/iredadmin/controllers/base.py in proxyfunc return func(self, *args, **kw) ... ▶ Local vars /var/www/iredadmin/controllers/base.py in proxyfunc return func(self, *args, **kw) ... ▶ Local vars /usr/lib/python2.4/site-packages/web/application.py in handle_class return tocall(*args) ... ▶ Local vars /usr/lib/python2.4/site-packages/web/application.py in _delegate return handle_class(cls) ... ▶ Local vars /usr/lib/python2.4/site-packages/web/application.py in handle return self._delegate(fn, self.fvars, args) ... ▶ Local vars /usr/lib/python2.4/site-packages/web/application.py in process return self.handle() ... ▶ Local varsRequest informationINPUTNo data.COOKIESVariable ValueiRedAdmin 'dcd27a09e461888813aa4501f02a40169509c6af'METAVariable Valueapp_stack [<web.application.application instance at 0x2b39c8b12878>]fullpath u'/admins'headers []home u'https://192.168.200.166/iredadmin'homedomain u'https://192.168.200.166'homepath u'/iredadmin'host u'192.168.200.166'ip u'192.168.201.197'lang 'en_US'method u'GET'output u''path u'/admins'protocol u'https'query u''realhome u'https://192.168.200.166/iredadmin'status '200 OK'ENVIRONMENTVariable ValueDOCUMENT_ROOT '/var/www/html'GATEWAY_INTERFACE 'CGI/1.1'HTTPS '1'HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'HTTP_ACCEPT_CHARSET 'GB2312,utf-8;q=0.7,*;q=0.7'HTTP_ACCEPT_ENCODING 'gzip, deflate'HTTP_ACCEPT_LANGUAGE 'zh-cn,zh;q=0.5'HTTP_CONNECTION 'keep-alive'HTTP_COOKIE 'iRedAdmin=dcd27a09e461888813aa4501f02a40169509c6af'HTTP_HOST '192.168.200.166'HTTP_REFERER 'https://192.168.200.166/iredadmin/dashboard'HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2'PATH_INFO '/admins'PATH_TRANSLATED '/var/www/html/admins'QUERY_STRING ''REMOTE_ADDR '192.168.201.197'REMOTE_PORT '52145'REQUEST_METHOD 'GET'REQUEST_URI '/iredadmin/admins'SCRIPT_FILENAME '/var/www/iredadmin/iredadmin.py'SCRIPT_NAME '/iredadmin'SERVER_ADDR '192.168.200.166'SERVER_ADMIN 'root@localhost'SERVER_NAME '192.168.200.166'SERVER_PORT '443'SERVER_PROTOCOL 'HTTP/1.1'SERVER_SIGNATURE '<address>Apache Server at <a href=
对于邮箱空间问题,我也有十分的困扰。有部份邮箱帐号 不能重置容量。
某帐号 忽然不能登webmail,提示登录失败。
重置密码,重建也不能解决。
检查mysql 在数据库中roundcubemail中的表users
发现此帐号在4.29日曾经用大写进行登录的记录。
大写帐号是不能登录的。
删除掉users表中的大写帐号 登录记录。
此帐号恢复正常登录。
只是个别用户会这样。
比如有个客户用QQ的pop3收我司的邮件这个帐号也会出现这种情况。
我需要如何监控才能找到根本原因?
我这样升级会漏了什么吗?
现在还是会出现个别帐号 无法重计容量和数量的问题。
sorry原来是不一致的。
现在改成一致了
/var/spool/postfix/etc/resolv.conf
里面多了一行
search localdomain
影响否
两个resolv.conf是一致的。
需要改回smtp inet n – – – – smtpd 吗
host mx2.mail.139.com[183.63.132.78] said: 450 Requested action not taken: b6wQrJD7z+ujebpN+PP+BA--.989S2, please try again (in reply to end of DATA command)
conversation with mail.gd.chinamobile.com[211.136.253.190] timed out while receiving the initial server greeting
conversation with mail.gx.chinamobile.com[211.138.245.201] timed out while sending message body
都不知道如何解决这些问题。困扰啊。
网上查到说将
smtp inet n – – – – smtpd 改成smtp inet n – n – – smtpd 张大侠你遇到过这种情况吗
某些外部邮箱 经常会这样 先是foxmail outlook 报错 入了队列也会报这种错。
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
disable_vrfy_command = yes
enable_original_recipient = no
home_mailbox = Maildir/
html_directory = no
inet_protocols = ipv4
mailbox_command = /usr/libexec/dovecot/deliver
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 = istest.net
myhostname = mail.istest.net
mynetworks = 127.0.0.0/8
myorigin = mail.istest.net
newaliases_path = /usr/bin/newaliases.postfix
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
queue_run_delay = 300s
readme_directory = /usr/share/doc/postfix-2.5.9/README_FILES
recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_user.cf
recipient_delimiter = +
relay_domains = $mydestination, proxy:ldap:/etc/postfix/ldap/relay_domains.cf
sample_directory = /usr/share/doc/postfix-2.5.9/samples
sender_bcc_maps = proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_user.cf
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10032
smtpd_enforce_tls = no
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre
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_non_fqdn_helo_hostname reject_invalid_helo_hostname inet:127.0.0.1:10031 reject_unauth_destination
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_local_domain =
smtpd_sasl_path = ./dovecot-auth
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap/sender_login_maps.cf
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated
smtpd_tls_CAfile = /etc/pki/tls/certs/iRedMail_CA.pem
smtpd_tls_cert_file = /etc/pki/tls/certs/iRedMail_CA.pem
smtpd_tls_key_file = /etc/pki/tls/private/iRedMail.key
smtpd_tls_loglevel = 0
smtpd_tls_security_level = none
tls_random_source = dev:/dev/urandom
transport_maps = proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf, proxy:ldap:/etc/postfix/ldap/transport_maps_domain.cf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap/virtual_alias_maps.cf, proxy:ldap:/etc/postfix/ldap/virtual_group_maps.cf, proxy:ldap:/etc/postfix/ldap/sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap/catchall_maps.cf
virtual_gid_maps = static:501
virtual_mailbox_base = /emaildata/vmail
virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_maps.cf
virtual_minimum_uid = 501
virtual_transport = dovecot
virtual_uid_maps = static:501
Apr 28 18:22:18 localhost postfix/postfix-script[20725]: warning: /var/spool/postfix/etc/hosts and /etc/hosts differ
Apr 28 18:22:18 localhost postfix/postfix-script[20728]: warning: /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
Apr 28 18:22:46 localhost postfix/smtpd[20812]: fatal: unsupported dictionary type: inet
Apr 28 18:22:47 localhost postfix/master[20313]: warning: process /usr/libexec/postfix/smtpd pid 20812 exit status 1
Apr 28 18:22:47 localhost postfix/master[20313]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 28 18:23:14 localhost postfix/postfix-script[20912]: warning: /var/spool/postfix/etc/hosts and /etc/hosts differ
Apr 28 18:23:14 localhost postfix/postfix-script[20915]: warning: /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
Apr 28 18:23:47 localhost postfix/smtpd[21058]: fatal: unsupported dictionary type: inet
Apr 28 18:23:48 localhost postfix/master[20313]: warning: process /usr/libexec/postfix/smtpd pid 21058 exit status 1
Apr 28 18:23:48 localhost postfix/master[20313]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 28 18:15:02 localhost roundcube: PHP Error: Failed to create new user in /var/www/roundcubemail-0.5.1/program/include/rcube_user.php on line 473 (POST /?_task=login&_action=login)
Apr 28 18:15:02 localhost roundcube: PHP Error: Failed to create a user record. Maybe aborted by a plugin? in /var/www/roundcubemail-0.5.1/program/include/rcmail.php on line 747 (POST /?_task=login&_action=login)
Apr 28 18:16:00 localhost postfix/smtpd[19758]: fatal: unsupported dictionary type: inet
Apr 28 18:16:01 localhost postfix/master[17794]: warning: process /usr/libexec/postfix/smtpd pid 19758 exit status 1
Apr 28 18:16:01 localhost postfix/master[17794]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 28 18:05:50 localhost postfix/smtpd[18095]: fatal: unsupported dictionary type: inet
Apr 28 18:05:51 localhost postfix/master[17794]: warning: process /usr/libexec/postfix/smtpd pid 18095 exit status 1
Apr 28 18:05:51 localhost postfix/master[17794]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 28 18:06:51 localhost postfix/smtpd[18230]: fatal: unsupported dictionary type: inet
Apr 28 18:06:52 localhost postfix/master[17794]: warning: process /usr/libexec/postfix/smtpd pid 18230 exit status 1
Apr 28 18:06:52 localhost postfix/master[17794]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 28 18:07:50 localhost roundcube: IMAP Error: Login failed for Wu.jj5@istest.com from 218.14.17.172. LOGIN: Authentication failed. in /var/www/roundcubemail-0.5.1/program/include/rcube_imap.php on line 192 (POST /?_task=login&_action=login)
Apr 28 18:07:52 localhost postfix/smtpd[18342]: fatal: unsupported dictionary type: inet
Apr 28 18:07:53 localhost postfix/master[17794]: warning: process /usr/libexec/postfix/smtpd pid 18342 exit status 1
Apr 28 18:07:53 localhost postfix/master[17794]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 28 18:08:09 localhost roundcube: IMAP Error: Login failed for wu.jj5@istest.com from 218.14.17.172. LOGIN: Authentication failed. in /var/www/roundcubemail-0.5.1/program/include/rcube_imap.php on line 192 (POST /?_task=login&_action=login)
dov
Apr 28 18:05:43 POP3(huang.h5@istest.com): Info: Disconnected: Logged out top=0/0, retr=0/0, del=0/141, size=140708534
Apr 28 18:05:43 POP3(li.qf@istest.com): Info: Disconnected: Logged out top=0/0, retr=0/0, del=0/31, size=12179342
Apr 28 18:05:43 POP3(he.zp@istest.com): Info: Disconnected: Logged out top=0/0, retr=0/0, del=0/137, size=72279879
Apr 28 18:05:44 imap-login: Info: Login: user=<yang.qh@istest.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Apr 28 18:05:44 IMAP(yang.qh@istest.com): Info: Disconnected: Logged out bytes=384/35169
Apr 28 18:05:44 imap-login: Info: Login: user=<yang.qh@istest.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Apr 28 18:05:44 IMAP(yang.qh@istest.com): Info: Disconnected: Logged out bytes=233/879
maillog没有今天的日志,是maillog吗
一般参数里面邮件系统名是postfix 不是iredmail有问题吗
iRedMail 开源邮件服务解决方案 » 由 kwoks 发表的文章
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2010 PunBB.
页面生成时间 0.010 秒, 共执行查询 60 条