总算找到这个帖子了。

iRedMail的相关日志

Dec 13 13:24:28 mail postfix/smtpd[30669]: connect from unknown[10.0.0.1]
Dec 13 05:24:28 mail policyd: connection from: 127.0.0.1 port: 35887 slots: 0 of 2044 used
Dec 13 05:24:28 mail policyd: rcpt=73, greylist=new, host=10.0.0.1 (unknown), from=userB1@example.com, to=jxqnoc@domain.ltd, size=0
Dec 13 13:24:28 mail postfix/smtpd[30669]: NOQUEUE: reject: RCPT from unknown[10.0.0.1]: 450 4.7.1 <jxqnoc@domain.ltd>: Recipient address rejected: Policy Rejection- Please try later.; from=<userB1@example.com> to=<jxqnoc@domain.ltd> proto=SMTP helo=<mail.example.com>
Dec 13 13:24:28 mail postfix/smtpd[30669]: lost connection after RCPT from unknown[10.0.0.1]
Dec 13 13:24:28 mail postfix/smtpd[30669]: disconnect from unknown[10.0.0.1]
Dec 13 13:27:48 mail postfix/anvil[30671]: statistics: max connection rate 1/60s for (smtp:10.0.0.1) at Dec 13 13:24:28
Dec 13 13:27:48 mail postfix/anvil[30671]: statistics: max connection count 1 for (smtp:10.0.0.1) at Dec 13 13:24:28
Dec 13 13:27:48 mail postfix/anvil[30671]: statistics: max cache size 1 at Dec 13 13:24:28
Dec 13 13:39:47 mail postfix/smtpd[30919]: connect from unknown[10.0.0.1]
Dec 13 05:39:47 mail policyd: connection from: 127.0.0.1 port: 35922 slots: 0 of 2044 used
Dec 13 05:39:47 mail policyd: rcpt=74, greylist=update, host=10.0.0.1 (unknown), from=userB1@example.com, to=jxqnoc@domain.ltd, size=0
Dec 13 13:39:47 mail postfix/smtpd[30919]: 6DAAE59302AB: client=unknown[10.0.0.1]
Dec 13 13:39:47 mail postfix/cleanup[30925]: 6DAAE59302AB: message-id=<201112132125331059360@example.com>
Dec 13 13:39:47 mail postfix/qmgr[6834]: 6DAAE59302AB: from=<userB1@example.com>, size=4355, nrcpt=4 (queue active)
Dec 13 13:39:47 mail postfix/smtpd[30919]: disconnect from unknown[10.0.0.1]
Dec 13 13:39:47 mail amavis[21659]: (21659-08) NOTICE: reconnecting in response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 102) line 166, <GEN14> line 1062.
Dec 13 13:40:02 mail postfix/smtpd[30953]: connect from localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/smtpd[30954]: connect from localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/smtpd[30953]: A6EA759302AC: client=localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/cleanup[30925]: A6EA759302AC: message-id=<201112132125331059360@example.com>
Dec 13 13:40:02 mail postfix/smtpd[30954]: A9CBF59302AD: client=localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/cleanup[30957]: A9CBF59302AD: message-id=<201112132125331059360@example.com>
Dec 13 13:40:02 mail postfix/qmgr[6834]: A6EA759302AC: from=<userB1@example.com>, size=4798, nrcpt=1 (queue active)
Dec 13 13:40:02 mail amavis[21659]: (21659-08) Passed CLEAN, LOCAL [10.0.0.1] [118.192.38.140] <userB1@example.com> -> <idc@example.com>, Message-ID: <201112132125331059360@example.com>, mail_id: t0qq-1l-luuA, Hits: 5.074, size: 4355, queued_as: A6EA759302AC, 15235 ms
Dec 13 13:40:02 mail postfix/smtpd[30953]: disconnect from localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/qmgr[6834]: A9CBF59302AD: from=<userB1@example.com>, size=5021, nrcpt=1 (queue active)
Dec 13 13:40:02 mail amavis[31396]: (31396-15) Passed CLEAN, LOCAL [10.0.0.1] [118.192.38.140] <userB1@example.com> -> <report@domain.ltd>, Message-ID: <201112132125331059360@example.com>, mail_id: VjbY3DhCwswo, Hits: 5.074, size: 4355, queued_as: A9CBF59302AD, 15249 ms
Dec 13 13:40:02 mail postfix/smtpd[30954]: disconnect from localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/smtp[30958]: A6EA759302AC: enabling PIX workarounds: disable_esmtp delay_dotcrlf for mail.example.com[10.0.0.1]:25
Dec 13 13:40:02 mail postfix/smtp[30930]: 6DAAE59302AB: to=<idc@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=15, delays=0.08/0.02/0.01/15, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=21659-08, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A6EA759302AC)
Dec 13 13:40:02 mail postfix/smtp[30931]: 6DAAE59302AB: to=<report@domain.ltd>, relay=127.0.0.1[127.0.0.1]:10024, delay=15, delays=0.08/0.03/0/15, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=31396-15, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A9CBF59302AD)
Dec 13 13:40:02 mail postfix/smtp[30958]: A6EA759302AC: to=<idc@example.com>, relay=mail.example.com[10.0.0.1]:25, delay=0.13, delays=0.05/0.05/0.03/0, dsn=5.0.0, status=bounced (host mail.example.com[10.0.0.1] said: 553 you must authentication (in reply to MAIL FROM command))
Dec 13 13:40:02 mail postfix/smtpd[30953]: connect from localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/smtpd[30953]: E37E159302B0: client=localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/cleanup[30925]: E375A59302AF: message-id=<20111213054002.E375A59302AF@mail.domain.ltd>
Dec 13 13:40:02 mail postfix/cleanup[30957]: E37E159302B0: message-id=<201112132125331059360@example.com>
Dec 13 13:40:02 mail postfix/smtpd[30954]: connect from localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/smtpd[30954]: F1CFD59302B1: client=localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/cleanup[30964]: F1CFD59302B1: message-id=<201112132125331059360@example.com>
Dec 13 13:40:02 mail postfix/qmgr[6834]: E37E159302B0: from=<userB1@example.com>, size=4812, nrcpt=1 (queue active)
Dec 13 13:40:03 mail postfix/bounce[30961]: A6EA759302AC: sender non-delivery notification: E375A59302AF
Dec 13 13:40:03 mail amavis[21659]: (21659-09) Passed CLEAN, LOCAL [10.0.0.1] [118.192.38.140] <userB1@example.com> -> <userB2@example.com>, Message-ID: <201112132125331059360@example.com>, mail_id: dgA5dUE26YAm, Hits: 5.074, size: 4355, queued_as: E37E159302B0, 201 ms
Dec 13 13:40:03 mail postfix/qmgr[6834]: F1CFD59302B1: from=<userB1@example.com>, size=4814, nrcpt=1 (queue active)
Dec 13 13:40:03 mail postfix/qmgr[6834]: A6EA759302AC: removed
Dec 13 13:40:03 mail postfix/qmgr[6834]: E375A59302AF: from=<>, size=6728, nrcpt=1 (queue active)
Dec 13 13:40:03 mail postfix/smtp[30958]: E37E159302B0: enabling PIX workarounds: disable_esmtp delay_dotcrlf for mail.example.com[10.0.0.1]:25
Dec 13 13:40:03 mail amavis[31396]: (31396-16) Passed CLEAN, LOCAL [10.0.0.1] [118.192.38.140] <userB1@example.com> -> <userB3@example.com>, Message-ID: <201112132125331059360@example.com>, mail_id: uz8stIzc51iP, Hits: 5.074, size: 4355, queued_as: F1CFD59302B1, 204 ms
Dec 13 13:40:03 mail postfix/smtp[30930]: 6DAAE59302AB: to=<userB2@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=16, delays=0.08/15/0.01/0.27, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=21659-09, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as E37E159302B0)
Dec 13 13:40:03 mail postfix/smtp[30965]: F1CFD59302B1: enabling PIX workarounds: disable_esmtp delay_dotcrlf for mail.example.com[10.0.0.1]:25
Dec 13 13:40:03 mail postfix/smtp[30966]: E375A59302AF: enabling PIX workarounds: disable_esmtp delay_dotcrlf for mail.example.com[10.0.0.1]:25
Dec 13 13:40:03 mail postfix/smtp[30931]: 6DAAE59302AB: to=<userB3@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=16, delays=0.08/15/0/0.27, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=31396-16, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as F1CFD59302B1)
Dec 13 13:40:03 mail postfix/smtp[30966]: E375A59302AF: to=<userB1@example.com>, relay=mail.example.com[10.0.0.1]:25, delay=0.21, delays=0.13/0.05/0.01/0.02, dsn=2.0.0, status=sent (250 ok message accepted for delivery)
Dec 13 13:40:03 mail postfix/qmgr[6834]: 6DAAE59302AB: removed
Dec 13 13:40:03 mail postfix/qmgr[6834]: E375A59302AF: removed
Dec 13 13:40:03 mail postfix/smtp[30958]: E37E159302B0: to=<userB2@example.com>, relay=mail.example.com[10.0.0.1]:25, delay=0.13, delays=0.07/0.05/0.01/0, dsn=5.0.0, status=bounced (host mail.example.com[10.0.0.1] said: 553 you must authentication (in reply to MAIL FROM command))
Dec 13 13:40:03 mail postfix/cleanup[30957]: 244C959302AB: message-id=<20111213054003.244C959302AB@mail.domain.ltd>
Dec 13 13:40:03 mail postfix/smtp[30965]: F1CFD59302B1: to=<userB3@example.com>, relay=mail.example.com[10.0.0.1]:25, delay=0.12, delays=0.02/0.07/0.03/0, dsn=5.0.0, status=bounced (host mail.example.com[10.0.0.1] said: 553 you must authentication (in reply to MAIL FROM command))
Dec 13 13:40:03 mail postfix/cleanup[30925]: 2D6FE59302AF: message-id=<20111213054003.2D6FE59302AF@mail.domain.ltd>
Dec 13 13:40:03 mail postfix/bounce[30961]: E37E159302B0: sender non-delivery notification: 244C959302AB
Dec 13 13:40:03 mail postfix/qmgr[6834]: 2D6FE59302AF: from=<>, size=6760, nrcpt=1 (queue active)
Dec 13 13:40:03 mail postfix/qmgr[6834]: E37E159302B0: removed
Dec 13 13:40:03 mail postfix/qmgr[6834]: 244C959302AB: from=<>, size=6756, nrcpt=1 (queue active)
Dec 13 13:40:03 mail postfix/bounce[30968]: F1CFD59302B1: sender non-delivery notification: 2D6FE59302AF
Dec 13 13:40:03 mail postfix/qmgr[6834]: F1CFD59302B1: removed
Dec 13 13:40:03 mail postfix/smtp[30966]: 2D6FE59302AF: enabling PIX workarounds: disable_esmtp delay_dotcrlf for mail.example.com[10.0.0.1]:25
Dec 13 13:40:03 mail postfix/smtp[30958]: 244C959302AB: enabling PIX workarounds: disable_esmtp delay_dotcrlf for mail.example.com[10.0.0.1]:25
Dec 13 13:40:03 mail postfix/smtp[30966]: 2D6FE59302AF: to=<userB1@example.com>, relay=mail.example.com[10.0.0.1]:25, delay=0.22, delays=0.13/0.03/0.01/0.06, dsn=2.0.0, status=sent (250 ok message accepted for delivery)
Dec 13 13:40:03 mail postfix/smtp[30958]: 244C959302AB: to=<userB1@example.com>, relay=mail.example.com[10.0.0.1]:25, delay=0.26, delays=0.2/0/0.01/0.05, dsn=2.0.0, status=sent (250 ok message accepted for delivery)
Dec 13 13:40:03 mail postfix/qmgr[6834]: 244C959302AB: removed
Dec 13 13:40:03 mail postfix/qmgr[6834]: 2D6FE59302AF: removed
Dec 13 13:40:03 mail postfix/pipe[30959]: A9CBF59302AD: to=<report@domain.ltd>, relay=dovecot, delay=0.77, delays=0.06/0.05/0/0.67, dsn=2.0.0, status=sent (delivered via dovecot service)
Dec 13 13:40:03 mail postfix/qmgr[6834]: A9CBF59302AD: removed



[root@mail mysql]# for cf in $(ls); do echo "-> ${cf}"; postmap -q userB1@example.com mysql:./${cf}; done
-> catchall_maps.cf
-> domain_alias_catchall_maps.cf
-> domain_alias_maps.cf
-> recipient_bcc_maps_domain.cf
-> recipient_bcc_maps_user.cf
-> relay_domains.cf
-> sender_bcc_maps_domain.cf
-> sender_bcc_maps_user.cf
-> sender_login_maps.cf
-> transport_maps_domain.cf
-> transport_maps_user.cf
-> virtual_alias_maps.cf
-> virtual_mailbox_domains.cf
-> virtual_mailbox_maps.cf
[root@mail mysql]# for cf in $(ls); do echo "-> ${cf}"; postmap -q example.com mysql:./${cf}; done
-> catchall_maps.cf
-> domain_alias_catchall_maps.cf
-> domain_alias_maps.cf
-> recipient_bcc_maps_domain.cf
-> recipient_bcc_maps_user.cf
-> relay_domains.cf
-> sender_bcc_maps_domain.cf
-> sender_bcc_maps_user.cf
-> sender_login_maps.cf
-> transport_maps_domain.cf
-> transport_maps_user.cf
-> virtual_alias_maps.cf
-> virtual_mailbox_domains.cf
-> virtual_mailbox_maps.cf
[root@mail mysql]# for cf in $(ls); do echo "-> ${cf}"; postmap -q report@domain.ltd mysql:./${cf}; done
-> catchall_maps.cf
-> domain_alias_catchall_maps.cf
-> domain_alias_maps.cf
-> recipient_bcc_maps_domain.cf
-> recipient_bcc_maps_user.cf
-> relay_domains.cf
-> sender_bcc_maps_domain.cf
-> sender_bcc_maps_user.cf
-> sender_login_maps.cf
report@domain.ltd
-> transport_maps_domain.cf
-> transport_maps_user.cf
-> virtual_alias_maps.cf
report@domain.ltd
-> virtual_mailbox_domains.cf
-> virtual_mailbox_maps.cf
vmail1/report@domain.ltd/
[root@mail mysql]# for cf in $(ls); do echo "-> ${cf}"; postmap -q domain.ltd mysql:./${cf}; done
-> catchall_maps.cf
-> domain_alias_catchall_maps.cf
-> domain_alias_maps.cf
-> recipient_bcc_maps_domain.cf
-> recipient_bcc_maps_user.cf
-> relay_domains.cf
-> sender_bcc_maps_domain.cf
-> sender_bcc_maps_user.cf
-> sender_login_maps.cf
-> transport_maps_domain.cf
dovecot
-> transport_maps_user.cf
-> virtual_alias_maps.cf
-> virtual_mailbox_domains.cf
domain.ltd
-> virtual_mailbox_maps.cf

Winmail那台服务器我没有权限,所以搞不到日志。

WinMail确实开启了SMTP发信验证,不过邮件是发给b.com这个域的。只是这个别名绑定了a.com里面的邮箱而已。难道当xxx@a.com给alias@b.com发送邮件的时候,不是像普通邮件那样先由b.com接收,然后再转发出去,而是向重定向一样直接由a.com发域内邮件了么?那么能不能把发信者的验证中继过来呢?

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
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = ipv4
mail_owner = postfix
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 = idc.btte
myhostname = mail.idc.btte.net
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = mail.idc.btte.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 $smtpd_sender_restrictions
queue_directory = /var/spool/postfix
queue_run_delay = 300s
readme_directory = /usr/share/doc/postfix-2.5.9/README_FILES
recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_domain.cf, proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_user.cf
recipient_delimiter = +
relay_domains = $mydestination, proxy:mysql:/etc/postfix/mysql/relay_domains.cf
sample_directory = /usr/share/doc/postfix-2.5.9/samples
sender_bcc_maps = proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_domain.cf, proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_data_init_timeout = 240s
smtp_data_xfer_timeout = 600s
smtpd_data_restrictions = reject_unauth_pipelining
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_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:10031
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_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql/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 = may
tls_random_source = dev:/dev/urandom
transport_maps = proxy:mysql:/etc/postfix/mysql/transport_maps_user.cf, proxy:mysql:/etc/postfix/mysql/transport_maps_domain.cf
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
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
virtual_gid_maps = static:500
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf
virtual_minimum_uid = 500
virtual_transport = dovecot
virtual_uid_maps = static:500

这个是postconf -n的结果。

关于Postfix的Relayhost部分我没有自定义任何配置,是采用默认的。这部分配置如下。
# The relayhost parameter specifies the default host to send mail to
# when no entry is matched in the optional transport(5) table. When
# no relayhost is given, mail is routed directly to the destination.
#
# On an intranet, specify the organizational domain name. If your
# internal DNS uses no MX records, specify the name of the intranet
# gateway host instead.
#
# In the case of SMTP, specify a domain, host, host:port, [host]:port,
# [address] or [address]:port; the form [host] turns off MX lookups.
#
# If you're connected via UUCP, see also the default_transport parameter.
#
#relayhost = $mydomain
#relayhost = [gateway.my.domain]
#relayhost = [mailserver.isp.tld]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]
都是有注释的。
现在的现象是别人发给noc@b.com的邮件都可以正常的收到。但是a.com里面的用户发给noc@b.com的邮件,本身已经在a.com里面的用户就无法收到。

公司有2台MAIL服务器。其中一台为Winmail,开了发信SMTP认证。绑定的邮件域为a.com
另外一台为iRedMail 0.7.3,绑定的邮件域为b.com
我添加了一个alias,noc@b.com -> noc1@a.com,noc2@a.com,noc3@a.com
当有人从xxx@a.com发送邮件到noc@b.com时,maillog里面会出现
Dec  6 07:37:28 mail postfix/smtp[16919]: 27FB359302A1: to=<noc1@a.com>, relay=mail.a.com[219.239.xxx.xxx]:25, delay=0.18, delays=0.06/0.09/0.04/0, dsn=5.0.0, status=bounced (host mail.a.com[219.239.xxx.xxx] said: 553 you must authentication (in reply to MAIL FROM command))
这个问题怎么解决啊?

用iredmail给另一家公司发送邮件,他们用的WINMAIL。服务器可以正常收到邮件,用Foxmail等客户端收取邮件也是正常的,但是用Winmail的Web查看邮件却变成了没有内容,只有一个txt附件的邮件。截图如下,请问这个问题是跟postfix有关还是winmail的问题?
附截图。

利用pkgs/get_all.sh脚本获取到最新的roundcube0.3.1,直接解包覆盖就可以,然后再修改相应的配置文件。

找到原因了,由于LOG太多,所以没有看清楚出错的原因,后来仔细查看后发现vmail用户是不具有UPDATE权限的,更换成vmailadmin用户连接数据库即可。抱歉,我太粗心了。

由于用Foxmail等客户端给iRedMail0.5.1发送邮件时,利用自带的roundcube0.2.1查看邮件会出现乱码,所以我用iRedMail0.6.0b3中的roundcube0.3.1替换了原来的0.2.1,但是更新完毕后修改密码时会提示“不能保存新密码。”
password插件的config.inc.php的关键内容如下

$rcmail_config['password_driver'] = "sql";
$rcmail_config['password_db_dsn'] = 'mysqli://vmail:xxxx@localhost/vmail';
$rcmail_config['password_query'] = "UPDATE vmail.mailbox SET password=%c WHERE username=%u";
$rcmail_config['password_hash_algorithm'] = "md5crypt";
$rcmail_config['password_hash_base64'] = false;

另外附带个password插件的简体中文本地化文件。

非常感谢,支持iredmail