主题: 有關BCC的問題
Hi 版主:
在做BCC有關測試 :
原先在 profile of domain > BCC 下面兩欄有填寫帳號:
BCC incoming emails to other address
BCC outgoing emails to other address
現要取消 , 無法清空 , 會自動出現 "None"
## iRedAdmin-Pro-LDAP-3.1 , CentOS7
支持 Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, FreeBSD, OpenBSD
您尚未登陆。 请选择登陆或是注册一个新账号。
iRedMail 开源邮件服务解决方案 » iRedAdmin-Pro 技术支持 » 有關BCC的問題
Hi 版主:
在做BCC有關測試 :
原先在 profile of domain > BCC 下面兩欄有填寫帳號:
BCC incoming emails to other address
BCC outgoing emails to other address
現要取消 , 無法清空 , 會自動出現 "None"
## iRedAdmin-Pro-LDAP-3.1 , CentOS7
应该是 bug,明天我测试后给您反馈。
应该是 bug,明天我测试后给您反馈。
Hi 版主:
我非常期待它確實是bug!!!!!
再啟用 postfix debug:
main.cf:
debug_peer_level = 10
debug_peer_list = 127.0.0.1
debug_peer_list = mydomain.com
#mynetworks = 127.0.0.1
mynetworks = 10.10.10.0/24
master.cf:
cleanup unix n - n - 0 cleanup -v
qmgr unix n - n 300 1 qmgr -v
從gmail 給啟用BCC 的 test@ 帳號 , 結果正常 , admin@ 也收到
從gmail 給未啟用BCC 的 test2@ 帳號 , 結果正常 , admin@ 未收
但從 maillog 察看是有錯誤訊息:
# grep 'Dec 19 11:5' /var/log/maillog|grep -in none@mail.mydomain.com
1801:Dec 19 11:58:14 mail postfix/cleanup[16149]: input attribute value: None@mail.mydomain.com
1804:Dec 19 11:58:14 mail postfix/cleanup[16149]: rewrite_clnt: local: None -> None@mail.mydomain.com
1805:Dec 19 11:58:14 mail postfix/cleanup[16149]: been_here_check: None@mail.mydomain.com: 0
1809:Dec 19 11:58:14 mail postfix/cleanup[16149]: send attr key = None@mail.mydomain.com
1818:Dec 19 11:58:14 mail postfix/cleanup[16149]: dict_proxy_lookup: table=ldap:/etc/postfix/ldap/virtual_alias_maps.cf flags=lock|fold_fix key=None@mail.mydomain.com -> status=1 result=
1822:Dec 19 11:58:14 mail postfix/cleanup[16149]: send attr key = None@mail.mydomain.com
1831:Dec 19 11:58:14 mail postfix/cleanup[16149]: dict_proxy_lookup: table=ldap:/etc/postfix/ldap/virtual_group_maps.cf flags=lock|fold_fix key=None@mail.mydomain.com -> status=1 result=
1835:Dec 19 11:58:14 mail postfix/cleanup[16149]: send attr key = None@mail.mydomain.com
1844:Dec 19 11:58:14 mail postfix/cleanup[16149]: dict_proxy_lookup: table=ldap:/etc/postfix/ldap/virtual_group_members_maps.cf flags=lock|fold_fix key=None@mail.mydomain.com -> status=1 result=
1848:Dec 19 11:58:14 mail postfix/cleanup[16149]: send attr key = None@mail.mydomain.com
1857:Dec 19 11:58:14 mail postfix/cleanup[16149]: dict_proxy_lookup: table=ldap:/etc/postfix/ldap/catchall_maps.cf flags=lock|fold_fix key None@mail.mydomain.com -> status=1 result=
1858:Dec 19 11:58:14 mail postfix/cleanup[16149]: maps_find: virtual_alias_maps: None@mail.mydomain.com: not found
1965:Dec 19 11:58:14 mail postfix/cleanup[16149]: mail_addr_find: None@mail.mydomain.com -> (not found)
1966:Dec 19 11:58:14 mail postfix/cleanup[16149]: mail_addr_map: None@mail.mydomain.com -> (not found)
1967:Dec 19 11:58:14 mail postfix/cleanup[16149]: been_here: None@mail.mydomain.com: 0
2050:Dec 19 11:58:14 mail postfix/qmgr[17410]: qmgr_message_sort: None@mail.mydomain.com
2054:Dec 19 11:58:14 mail postfix/qmgr[17410]: qmgr_message_sort: None@mail.mydomain.com
2095:Dec 19 11:58:14 mail postfix/qmgr[17410]: send attr recipient = None@mail.mydomain.com
2175:Dec 19 11:58:15 mail postfix/10025/smtpd[16160]: < mail.mydomain.com[127.0.0.1]: RCPT TO:<None@mail.mydomain.com> NOTIFY=NEVER
2176:Dec 19 11:58:15 mail postfix/10025/smtpd[16160]: extract_addr: input: <None@mail.mydomain.com>
2177:Dec 19 11:58:15 mail postfix/10025/smtpd[16160]: smtpd_check_addr: addr=None@mail.mydomain.com
2184:Dec 19 11:58:15 mail postfix/10025/smtpd[16160]: send attr address = None@mail.mydomain.com
2192:Dec 19 11:58:15 mail postfix/10025/smtpd[16160]: input attribute value: None@mail.mydomain.com
2195:Dec 19 11:58:15 mail postfix/10025/smtpd[16160]: rewrite_clnt: local: None@mail.mydomain.com -> None@mail.mydomain.com
2199:Dec 19 11:58:15 mail postfix/10025/smtpd[16160]: send attr address = None@mail.mydomain.com
2213:Dec 19 11:58:15 mail postfix/10025/smtpd[16160]: input attribute value: None@mail.mydomain.com
2219:Dec 19 11:58:15 mail postfix/10025/smtpd[16160]: resolve_clnt: `' -> `None@mail.mydomain.com' -> transp=`local' host=`mail.mydomain.com' rcpt=`None@mail.mydomain.com' flags= class=local
2220:Dec 19 11:58:15 mail postfix/10025/smtpd[16160]: ctable_locate: install entry key None@mail.mydomain.com
2221:Dec 19 11:58:15 mail postfix/10025/smtpd[16160]: extract_addr: in: <None@mail.mydomain.com>, result: None@mail.mydomain.com
2329:Dec 19 11:58:15 mail postfix/cleanup[16149]: initial envelope A dsn_orig_rcpt=rfc822;None@mail.mydomain.com
2330:Dec 19 11:58:15 mail postfix/cleanup[16149]: initial envelope R None@mail.mydomain.com
2333:Dec 19 11:58:15 mail postfix/cleanup[16149]: send attr address = None@mail.mydomain.com
2339:Dec 19 11:58:15 mail postfix/cleanup[16149]: input attribute value: None@mail.mydomain.com
2342:Dec 19 11:58:15 mail postfix/cleanup[16149]: rewrite_clnt: local: None@mail.mydomain.com -> None@mail.mydomain.com
2343:Dec 19 11:58:15 mail postfix/cleanup[16149]: been_here: None@mail.mydomain.com: 0
2416:Dec 19 11:58:15 mail postfix/cleanup[16149]: cleanup_header_callback: 'Received: from mail.mydomain.com (mail.mydomain.com [127.0.0.1])??by mail.mydomain.com (Postfix) with ESMTP id 90E8998000882??for <None@mail.mydomain.com>; Wed, 19 Dec 2018 11:58:15 +0800 (CST)'
2423:Dec 19 11:58:15 mail postfix/cleanup[16149]: cleanup_header_callback: 'Received: from mail.mydomain.com ([127.0.0.1])??by mail.mydomain.com (mail.mydomain.com [127.0.0.1]) (amavisd-new, port 10024)??with ESMTP id l51jpNSLuwZ5 for <None@mail.mydomain.com>;??Wed, 19 Dec 20'
2885:Dec 19 11:58:15 mail postfix/qmgr[17410]: qmgr_message_sort: None@mail.mydomain.com
2914:Dec 19 11:58:15 mail amavis[22743]: (22743-02) Passed CLEAN {RelayedInbound}, [209.85.214.195]:39856 [xx.xx.xx.xx] <xxxxxxxxxxx@gmail.com> -> <None@mail.mydomain.com>, Queue-ID: 3938498000880, Message-ID: <0d12bac1-0bdd-8a40-0a95-4d43986c429e@gmail.com>, mail_id: l51jpNSLuwZ5, Hits: 2.652, size: 2824, queued_as: 90E8998000882, dkim_sd=20161025:gmail.com, 1030 ms, Tests: [BODY_SINGLE_WORD=2.5,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,FREEMAIL_ENVFROM_END_DIGIT=0.25,FREEMAIL_FROM=0.001,RCVD_IN_DNSWL_NONE=-0.0001,RCVD_IN_MSPIKE_H3=0.001,RCVD_IN_MSPIKE_WL=0.001,SPF_PASS=-0.001]
2919:Dec 19 11:58:15 mail postfix/qmgr[17410]: send attr address = None@mail.mydomain.com
2924:Dec 19 11:58:15 mail amavis[22743]: (22743-02) Passed CLEAN, <xxxxxxxxxxx@gmail.com> -> <None@mail.mydomain.com>, Hits: 2.652, tag=2, tag2=6.2, kill=6.9, queued_as: 90E8998000882, L/Y/0/0
2960:Dec 19 11:58:15 mail postfix/qmgr[17410]: input attribute value: None@mail.mydomain.com
2978:Dec 19 11:58:15 mail postfix/qmgr[17410]: resolve_clnt: `xxxxxxxxxxx@gmail.com' -> `None@mail.mydomain.com' -> transp=`local' host=`mail.mydomain.com' rcpt=`None@mail.mydomain.com' flags= class=local
2984:Dec 19 11:58:15 mail postfix/qmgr[17410]: qmgr_message_sort: None@mail.mydomain.com
3011:Dec 19 11:58:15 mail postfix/amavis/smtp[16150]: 3938498000880: to=<None@mail.mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.4, delays=0.4/0/0/1, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 90E8998000882)
3079:Dec 19 11:58:15 mail postfix/qmgr[17410]: qmgr_peer_select: 90E8998000882 local none@mail.mydomain.com (1 of 2)
3114:Dec 19 11:58:15 mail postfix/qmgr[17410]: send attr recipient = None@mail.mydomain.com
3116:Dec 19 11:58:15 mail postfix/qmgr[17410]: send attr dsn_orig_rcpt = rfc822;None@mail.mydomain.com
3118:Dec 19 11:58:15 mail postfix/qmgr[17410]: qmgr_deliver: site `none@mail.mydomain.com'
3220:Dec 19 11:58:15 mail postfix/local[16236]: 90E8998000882: to=<None@mail.mydomain.com>, relay=local, delay=0.14, delays=0.04/0.05/0/0.04, dsn=5.1.1, status=bounced (unknown user: "none")
3247:Dec 19 11:58:15 mail postfix/qmgr[17410]: qmgr_queue_unthrottle: queue none@mail.mydomain.com
在:
3220:Dec 19 11:58:15 mail postfix/local[16236]: 90E8998000882: to=<None@mail.mydomain.com>, relay=local, delay=0.14, delays=0.04/0.05/0/0.04, dsn=5.1.1, status=bounced (unknown user: "none")
此會 bounce 給gmail ? 在gmail 卻未收到此bounce 信件
在iRedAdminPro 控制台沒有 none@mydomain.com bounce的收信log , 若能加上 bounce的log分析也許會更好.
這iRedMail 的BCC 問題, 確實讓我頭痛好些時日了! 希望是這個臭蟲.
版主大人, 對不起我這個期待了.
感謝.
我非常期待它確實是bug!!!!!
确实是 bug。patch 在这: https://pastebin.com/raw/JPatpakJ
BTW, 如果你现在获取 iRedAdmin-Pro-LDAP-3.2 的版本,它就是已经 patch 过的了。
BTW, 如果你现在获取 iRedAdmin-Pro-LDAP-3.2 的版本,它就是已经 patch 过的了。
# ll /root/iRedAdmin-Pro-LDAP-3.2*
-r-------- 1 root root 1103747 12月 18 15:26 /root/iRedAdmin-Pro-LDAP-3.2.tar.bz2
/root/iRedAdmin-Pro-LDAP-3.2:
總計 100
-rw-r--r-- 1 33 33 36 12月 17 14:03 AUTHORS
-rw-r--r-- 1 33 33 67646 12月 17 14:03 ChangeLog.ldap
drwxr-xr-x 7 33 33 130 12月 17 14:03 controllers
drwxr-xr-x 3 33 33 110 12月 17 14:03 docs
-rw-r--r-- 1 33 33 550 12月 17 14:03 EULA
drwxr-xr-x 22 33 33 322 12月 17 14:03 i18n
-rw-r--r-- 1 33 33 432 12月 17 14:03 iredadmin.py
drwxr-xr-x 7 33 33 4096 12月 17 14:03 libs
drwxr-xr-x 3 33 33 49 12月 17 14:03 plugins
drwxr-xr-x 4 33 33 130 12月 17 14:03 rc_scripts
-rw-r--r-- 1 33 33 894 12月 17 14:03 README
drwxr-xr-x 2 33 33 6 12月 17 14:03 samples
-rw-r--r-- 1 33 33 4813 12月 17 14:03 settings.py.ldap.sample
drwxr-xr-x 3 33 33 68 12月 17 14:03 SQL
drwxr-xr-x 5 33 33 102 12月 17 14:03 static
drwxr-xr-x 3 33 33 21 12月 17 14:03 templates
drwxr-xr-x 2 33 33 4096 12月 17 14:03 tools
# ll /var/www/
總計 4
drwxr-xr-x 2 root root 6 11月 5 09:47 cgi-bin
drwxr-xr-x 3 root root 100 12月 9 15:02 html
lrwxrwxrwx 1 root root 22 12月 18 15:41 iredadmin -> iRedAdmin-Pro-LDAP-3.2
dr-xr-xr-x 10 iredadmin iredadmin 331 12月 8 13:01 iRedAdmin-0.9.1
dr-xr-xr-x 11 iredadmin iredadmin 4096 12月 18 12:01 iRedAdmin-0.9.2
dr-xr-xr-x 11 iredadmin iredadmin 284 12月 11 12:01 iRedAdmin-Pro-LDAP-3.0
dr-xr-xr-x 11 iredadmin iredadmin 284 12月 17 15:01 iRedAdmin-Pro-LDAP-3.1
dr-xr-xr-x 13 iredadmin iredadmin 317 12月 18 16:01 iRedAdmin-Pro-LDAP-3.2
lrwxrwxrwx 1 root root 28 12月 18 11:48 roundcubemail -> /var/www/roundcubemail-1.3.8
drwxr-xr-x 13 root root 300 12月 8 12:34 roundcubemail-1.3.6
drwxr-xr-x 13 root root 322 12月 18 11:45 roundcubemail-1.3.8
iRedMail 的忠實粉絲 , 也許我下載的是早了一點點的版本 ,
它還沒修正.
比官網 News 發布時間2018-12-17 15:40:12 還早.
自己上patch 後, 期待能解決.
感謝.
Hi 版主:
好了一半.
BCC incoming emails to other address
BCC outgoing emails to other address現要取消 , 無法清空 , 會自動出現 "None"
可以取消,不會出現"None"了, BCC 可正常運作
但另一半:
我再填入 admin@mydomain.com ,
有啟動 BCC 的帳戶或未啟動的帳戶, admin@ 皆會收到一份;
我先前的問題又出現了, 從網域帳號或Gmail 帳號寄出皆一樣. 頭大啊!
不過若不是 與此bug 有關,我只能暫時維持欄位 "空白", 它是正常運作的.
感謝 版主.
有啟動 BCC 的帳戶或未啟動的帳戶, admin@ 皆會收到一份;
可否贴一下这个命令的输出:
postconf sender_bcc_maps recipient_bcc_maps
应该看到 *_bcc_maps_user.cf 放在 *_bcc_maps_domain.cf 的前面。
另外,请将设置了 bcc 的 domain 和设置了 bcc 的帐号的 LDIF 信息一并贴一下,需要对数据做个检查。贴的内容可以去掉 real domain name 和 password 等敏感信息。
1). test@ 啟動 BCC , test2@ 未啟動 BCC
log 檔 2200 多行 , 我從 @gmail 分別寄給 test@ 及 test2@
2).
# postconf sender_bcc_maps recipient_bcc_maps
sender_bcc_maps = proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_user.cf proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_domain.cf
recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_user.cf proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_domain.cf
3).
A). domain:
LDIF: mydomain.com
accountSetting: defaultSenderBcc:admin@mydomain.com
accountSetting: defaultLanguage:
accountSetting: defaultRecipientBcc:admin@mydomain.com
accountSetting: timezone:Asia/Taipei
accountSetting: defaultQuota:4024
accountSetting: minPasswordLength:8
accountStatus: active
domainCurrentAliasNumber: 0
domainCurrentListNumber: 1
domainCurrentQuotaSize: 67750592512
domainCurrentUserNumber: 10
domainName: mydomain.com
domainRecipientBccAddress: admin@mydomain.com
domainSenderBccAddress: admin@mydomain.com
enabledService: mail
enabledService: recipientbcc
enabledService: senderbcc
mtaTransport: dovecot
objectClass: mailDomain
B).user: test@ 啟用 bcc
LDIF: test@mydomain.com
accountStatus: active
amavisLocal: TRUE
cn: test
enabledService: managesievetls
enabledService: managesieve
enabledService: imaptls
enabledService: displayedInGlobalAddressBook
enabledService: deliver
enabledService: smtp
enabledService: lda
enabledService: smtpsecured
enabledService: pop3
enabledService: lmtp
enabledService: lib-storage
enabledService: sieve
enabledService: imap
enabledService: dsync
enabledService: shadowaddress
enabledService: sogo
enabledService: imapsecured
enabledService: pop3tls
enabledService: senderbcc
enabledService: recipientbcc
enabledService: pop3secured
enabledService: internal
enabledService: doveadm
enabledService: managesievesecured
enabledService: mail
enabledService: indexer-worker
enabledService: sievesecured
homeDirectory: /var/vmail/vmail1/mydomain.com/t/e/s/test-2018.12.09.15.54.46/
mail: test@mydomain.com
mailMessageStore: vmail1/mydomain.com/t/e/s/test-2018.12.09.15.54.46/
mailQuota: 1073741824
mailboxFolder: mdbox
mailboxFormat: mdbox
objectClass: inetOrgPerson
objectClass: mailUser
objectClass: shadowAccount
objectClass: amavisAccount
preferredLanguage: en_US
shadowLastChange: 17874
sn: test
storageBaseDirectory: /var/vmail/
uid: test
userPassword: {SSHA}xxxxxxxx
userRecipientBccAddress: admin@mydomain.com
userSenderBccAddress: admin@mydomain.com
C).user: test2@ 未啟用BCC
LDIF: test2@mydomain.com
accountStatus: active
amavisLocal: TRUE
cn: test2
enabledService: managesievetls
enabledService: managesieve
enabledService: imaptls
enabledService: displayedInGlobalAddressBook
enabledService: deliver
enabledService: smtp
enabledService: lda
enabledService: smtpsecured
enabledService: pop3
enabledService: lmtp
enabledService: lib-storage
enabledService: sieve
enabledService: imap
enabledService: dsync
enabledService: shadowaddress
enabledService: sogo
enabledService: imapsecured
enabledService: pop3tls
enabledService: pop3secured
enabledService: internal
enabledService: doveadm
enabledService: managesievesecured
enabledService: mail
enabledService: indexer-worker
enabledService: sievesecured
homeDirectory: /var/vmail/vmail1/mydomain.com/t/e/s/test2-2018.12.09.21.04.06/
mail: test2@mydomain.com
mailMessageStore: vmail1/mydomain.com/t/e/s/test2-2018.12.09.21.04.06/
mailQuota: 1073741824
mailboxFolder: mdbox
mailboxFormat: mdbox
objectClass: inetOrgPerson
objectClass: mailUser
objectClass: shadowAccount
objectClass: amavisAccount
preferredLanguage: en_US
shadowLastChange: 17874
sn: test2
storageBaseDirectory: /var/vmail/
uid: test2
userPassword: {SSHA}xxxxxxxx
感謝 版主.
iRedMail 开源邮件服务解决方案 » iRedAdmin-Pro 技术支持 » 有關BCC的問題
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2010 PunBB.
页面生成时间 0.009 秒, 共执行查询 71 条