1 最后由 yehai2050 (2015-07-20 10:46:41) 编辑

主题: 使用Docker安装iRedMail后提示Error: Password of cn=vmailadmin is incorrect.

==== ==== ==== ==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.2
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):OpenLDAP
- 使用的 Linux/BSD 发行版名称及版本号:Debian:jessi
- 与您的问题相关的日志信息:
mail.log:
Jul 20 02:37:15 mx postfix/pickup[2373]: AFBF9100C: uid=0 from=<root>
Jul 20 02:37:15 mx postfix/proxymap[3122]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=phoneyou,dc=net: 49 (Invalid credentials)
Jul 20 02:37:15 mx postfix/cleanup[3121]: warning: proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_user.cf lookup error for "root@mx.phoneyou.net"
Jul 20 02:37:15 mx postfix/cleanup[3121]: warning: AFBF9100C: sender_bcc_maps lookup problem
Jul 20 02:37:15 mx postfix/pickup[2373]: warning: maildrop/61AB0B47: error writing AFBF9100C: queue file write error
====
Docker命令:
docker pull yehai/mailserver:1.0
源代码:
https://github.com/yehai/mailserver
Web可以正常登陆。
但是登陆iredadmin使用postmaster账号第一次登陆,提示说Error: Password of cn=vmailadmin is incorrect.
同样,使用webmail登陆,提示登陆失败。
NOTE:将iRedmail用于公司内部使用,不会上INTERNET。

Post's attachments

2015-07-20_10-26-50.png 37.16 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

回复: 使用Docker安装iRedMail后提示Error: Password of cn=vmailadmin is incorrect.

config是这样的

export VMAIL_USER_HOME_DIR='/var/vmail'
export STORAGE_BASE_DIR='/var/vmail'
export STORAGE_MAILBOX_DIR='/var/vmail/vmail1'
export SIEVE_DIR='/var/vmail/sieve'
export BACKUP_DIR='/var/vmail/backup'
export BACKUP_SCRIPT_OPENLDAP='/var/vmail/backup/backup_openldap.sh'
export BACKUP_SCRIPT_MYSQL='/var/vmail/backup/backup_mysql.sh'
export BACKUP_SCRIPT_PGSQL='/var/vmail/backup/backup_pgsql.sh'
export WEB_SERVER_IS_NGINX='NO'
export WEB_SERVER_IS_APACHE='YES'
export BACKEND_ORIG='OPENLDAP'
export BACKEND='OPENLDAP'
export VMAIL_DB_BIND_PASSWD='diE508UalZ6wGiNWKPctojNq6mEpsB'
export VMAIL_DB_ADMIN_PASSWD='aKxv9HpKHEya3z82WYw3q7uI7TsWds'
export LDAP_BINDPW='PKCkeNOelMv4UWXnmnPwyqDhttdOmu'
export LDAP_ADMIN_PW='xs2SHH9Wv2He9ARLHyyQ5afQLG898y'
export DEFAULT_PASSWORD_SCHEME='SSHA'
export dn2dnsname="phoneyou.net"
export LDAP_SUFFIX="dc=phoneyou,dc=net"
export LDAP_SUFFIX_MAJOR="phoneyou"
export LDAP_BINDDN="cn=vmail,dc=phoneyou,dc=net"
export LDAP_ADMIN_DN="cn=vmailadmin,dc=phoneyou,dc=net"
export LDAP_ROOTDN="cn=Manager,dc=phoneyou,dc=net"
export LDAP_BASEDN_NAME="domains"
export LDAP_BASEDN="o=domains,dc=phoneyou,dc=net"
export LDAP_ADMIN_BASEDN="o=domainAdmins,dc=phoneyou,dc=net"
export LDAP_ROOTPW='phoneyouldap'
export MYSQL_ROOT_PASSWD='phoneyoudb'
export MYSQL_ROOT_USER='root'
export SQL_SERVER='127.0.0.1'
export SQL_SERVER_PORT='3306'
export FIRST_DOMAIN='phoneyou.net'
export DOMAIN_ADMIN_NAME='postmaster'
export SITE_ADMIN_NAME='postmaster@phoneyou.net'
export DOMAIN_ADMIN_PASSWD_PLAIN='phoneyoupm'
export DOMAIN_ADMIN_PASSWD='phoneyoupm'
export SITE_ADMIN_PASSWD='phoneyoupm'
export FIRST_USER='postmaster'
export FIRST_USER_PASSWD='phoneyoupm'
export FIRST_USER_PASSWD_PLAIN='phoneyoupm'
export ENABLE_DKIM='YES'
export USE_IREDADMIN='YES'
export USE_RCM='YES'
export USE_SOGO='YES'
export USE_AWSTATS='YES'
export USE_FAIL2BAN='YES'
export AMAVISD_DB_PASSWD='KjtHW4d01vLD2iVDTdOUxgzudG8pkX'
export CLUEBRINGER_DB_PASSWD='6ZvuXcWBkVnotK8rIUCbVPiE8HKpKO'
export IREDADMIN_DB_PASSWD='WxSJwGphygb4MH5a1CgcGAkVY3wMZZ'
export RCM_DB_PASSWD='f66MGCtAu3TYjYZjd2cXHDQDjQvUqS'
export SOGO_DB_PASSWD='5LGKUixk8S1pWfAQ9oLIbleOSwwGZO'
export SOGO_SIEVE_MASTER_PASSWD='55cYHjV7VxFcVKt1x8S5tOhU8ZvjP0'
#EOF

回复: 使用Docker安装iRedMail后提示Error: Password of cn=vmailadmin is incorrect.

yehai2050 写道:

Jul 20 02:37:15 mx postfix/proxymap[3122]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=phoneyou,dc=net: 49 (Invalid credentials)

"Invalid credentials" 表示使用的 bind dn 或密码错误,请检查。