1 最后由 rain6966 (2018-10-30 16:51:40) 编辑

主题: 無法取消 BCC

iRedMail     0.9.8
iRedAdmin-Pro     3.1 (LDAP)
CentOS7
########

在 Profile of user > Advanced
取消此選項無效 (save 後, 仍打勾)
BCC incoming emails to other address
BCC outgoing emails to other address

查看LDIF內容 :
dn: mail=test@mydomain.com,ou=Users,domainName=mydomain.com,o=domains,dc=mydomain,dc=com
accountStatus: active
amavisLocal: TRUE
cn: test
enabledService: managesievetls
enabledService: managesieve
enabledService: imaptls
enabledService: displayedInGlobalAddressBook
enabledService: smtptls
enabledService: lda
enabledService: smtpsecured
enabledService: lib-storage
enabledService: shadowaddress
enabledService: sogo
enabledService: imapsecured
enabledService: pop3tls
enabledService: pop3secured
enabledService: internal
enabledService: forward
enabledService: mail
enabledService: indexer-worker
enabledService: smtp
enabledService: deliver
enabledService: pop3
enabledService: managesievesecured
enabledService: lmtp
enabledService: sieve
enabledService: imap
enabledService: dsync
enabledService: senderbcc
enabledService: recipientbcc
enabledService: doveadm
enabledService: sievesecured
homeDirectory: /var/vmail/vmail1/mydomain.com/t/e/s/test-2018.08.09.11.43.16/
mail: test@mydomain.com
mailMessageStore: vmail1/mydomain.com/t/e/s/test-2018.08.09.11.43.16/
mailQuota: 1073741824
objectClass: inetOrgPerson
objectClass: mailUser
objectClass: shadowAccount
objectClass: amavisAccount
preferredLanguage: en_US
shadowLastChange: 17752
sn: test
storageBaseDirectory: /var/vmail/
uid: test
userPassword: {SSHA}mxxxxxxxxxxYg==
userRecipientBccAddress: admin@mydomain.com
userSenderBccAddress: admin@mydomain.com

回复: 無法取消 BCC

rain6966 写道:

在 Profile of user > Advanced
取消此選項無效 (save 後, 仍打勾)
BCC incoming emails to other address
BCC outgoing emails to other address

确认是 bug。在开发版本中已经修复。这里是 iRedAdmin-Pro-LDAP-3.1 的 patch:

diff -Naur a/libs/ldaplib/attrs.py b/libs/ldaplib/attrs.py
--- a/libs/ldaplib/attrs.py    2018-08-14 14:01:17.000000000 +0200
+++ b/libs/ldaplib/attrs.py    2018-10-30 20:45:51.000000000 +0100
@@ -92,6 +92,9 @@
 USER_FILTER = '(objectClass=mailUser)'
 USER_ATTR_PASSWORD = 'userPassword'
 
+USER_SERVICES_INTERNAL = ('internal', 'doveadm', 'lib-storage',
+                          'indexer-worker', 'dsync')
+
 # Services for normal user. used while adding a new mail user.
 USER_SERVICES_OF_NORMAL_USER = (
     'internal', 'doveadm', 'lib-storage', 'indexer-worker', 'mail', 'dsync',
diff -Naur a/libs/ldaplib/user.py b/libs/ldaplib/user.py
--- a/libs/ldaplib/user.py    2018-08-14 14:01:17.000000000 +0200
+++ b/libs/ldaplib/user.py    2018-10-30 20:46:21.000000000 +0100
@@ -1659,7 +1659,7 @@
         if not _enabled_services:
             _enabled_services = None
 
-        user_enabled_services = list(set(user_enabled_services + _enabled_services))
+        user_enabled_services = list(set(set(list(attrs.USER_SERVICES_INTERNAL) + _enabled_services)))
 
         # allow_nets
         _allow_nets = form.get('allow_nets', '').splitlines()

3 最后由 rain6966 (2018-10-31 09:13:46) 编辑

回复: 無法取消 BCC

感謝回覆, patch 檔可修正此"取消打勾"的bug.

取消打勾後,
admin@mydomain.com 及 test@mydomain.com 還是皆會收到信.
取消BCC的功能無動作.

# postconf -n|grep -i bcc
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 $sender_dependent_relayhost_maps
recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_user.cf proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_domain.cf
sender_bcc_maps = proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_user.cf proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_domain.cf

# postconf -Mf|grep -i6 ^submission
discard    unix  -       -       n       -       -       discard
local      unix  -       n       n       -       -       local
virtual    unix  -       n       n       -       -       virtual
lmtp       unix  -       -       n       -       -       lmtp
anvil      unix  -       -       n       -       1       anvil
scache     unix  -       -       n       -       1       scache
submission inet  n       -       n       -       -       smtpd
    -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    -o content_filter=smtp-amavis:[127.0.0.1]:10026
465        inet  n       -       n       -       -       smtpd
    -o syslog_name=postfix/smtps -o smtpd_tls_wrappermode=yes

謝謝

回复: 無法取消 BCC

rain6966 写道:

recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_user.cf proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_domain.cf
sender_bcc_maps = proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_user.cf proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_domain.cf

麻烦贴一下这四个文件里的 LDAP filter。
同时贴一下这个用户的 LDIF 数据。

5 最后由 rain6966 (2018-11-01 10:17:29) 编辑

回复: 無法取消 BCC

1).
find /etc/postfix/ldap/ -name "*bcc*" |xargs grep  "query_filter"

/etc/postfix/ldap/recipient_bcc_maps_domain.cf:query_filter    = (&(objectClass=mailDomain)(|(domainName=%d)(domainAliasName=%d))(accountStatus=active)(enabledService=mail)(enabledService=recipientbcc))

/etc/postfix/ldap/recipient_bcc_maps_user.cf:query_filter    = (&(|(mail=%s)(&(enabledService=shadowaddress)(shadowAddress=%s)))(objectClass=mailUser)(accountStatus=active)(!(domainStatus=disabled))(enabledService=mail)(enabledService=recipientbcc))

/etc/postfix/ldap/sender_bcc_maps_domain.cf:query_filter    = (&(objectClass=mailDomain)(|(domainName=%d)(domainAliasName=%d))(accountStatus=active)(enabledService=mail)(enabledService=senderbcc))

/etc/postfix/ldap/sender_bcc_maps_user.cf:query_filter    = (&(|(mail=%s)(&(enabledService=shadowaddress)(shadowAddress=%s)))(objectClass=mailUser)(accountStatus=active)(!(domainStatus=disabled))(enabledService=mail)(enabledService=senderbcc))

2).
LDIF 數據前文已PO.(打勾不可取消)

我再po一次 (打勾可取消)
dn: mail=test@mydomain.com,ou=Users,domainName=mydomain.com,
o=domains,dc=mydomain,dc=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: forward
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/test-2018.08.09.11.43.16/
mail: test@mydomain.com
mailMessageStore: vmail1/mydomain.com/t/e/s/test-2018.08.09.11.43.16/
mailQuota: 1073741824
objectClass: inetOrgPerson
objectClass: mailUser
objectClass: shadowAccount
objectClass: amavisAccount
preferredLanguage: en_US
shadowLastChange: 17752
sn: test
storageBaseDirectory: /var/vmail/
uid: test
userPassword: {SSHA}mxxxxxxxxxxYg==
userRecipientBccAddress: admin@mydomain.com
userSenderBccAddress: admin@mydomain.com

##另一個帳號xxxxalert@mydomain.com (一樣會BCC給 admin@mydomain.com)

在Profile of user >Advanced >
BCC incoming emails to other address
BCC outgoing emails to other address
此兩欄未填 ,保持空白

BCC incoming emails to other address
BCC outgoing emails to other address
未打勾

dn: mail=xxxxalert@mydomain.com,ou=Users,domainName=mydomain.com,
o=domains,dc=mydomain,dc=com
accountStatus: active
amavisLocal: TRUE
cn: xxxxalert
enabledService: managesievetls
enabledService: managesieve
enabledService: imaptls
enabledService: displayedInGlobalAddressBook
enabledService: deliver
enabledService: smtp
enabledService: lda
enabledService: smtpsecured
enabledService: pop3
enabledService: forward
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/x/x/x/xxxxalert-2018.08.03.08.32.33/
mail: xxxxalert@mydomain.com
mailMessageStore: vmail1/mydomain.com/x/x/x/xxxxalert-2018.08.03.08.32.33/
mailQuota: 10737418240
objectClass: inetOrgPerson
objectClass: mailUser
objectClass: shadowAccount
objectClass: amavisAccount
shadowLastChange: 0
sn: xxxxalert
storageBaseDirectory: /var/vmail/
uid: xxxxalert
userPassword: {SSHA}vxxxxxxxxxxxvw==


謝謝

6 最后由 rain6966 (2018-11-21 16:51:07) 编辑

回复: 無法取消 BCC

1).

ZhangHuangbin 写道:
rain6966 写道:

在 Profile of user > Advanced
取消此選項無效 (save 後, 仍打勾)
BCC incoming emails to other address
BCC outgoing emails to other address

确认是 bug。在开发版本中已经修复。这里是 iRedAdmin-Pro-LDAP-3.1 的 patch:

版主, 我還在處理"無法取消BCC" 的困擾 , 
查LDIF  admin@mydomain.com 有啟動bcc,把其取消 ;
再試著把 Forwarding ,取消掉時, 發現下面的問題:
Profile of user: > Forwarding >Enable mail forwarding 打勾無效
(iRedAdmin 預設值是打勾)下面 , Advance > 預設值是已打勾了.

但在 Profile of user: >Advanced >Forwarding mails to other addresses  ,取消打勾後 ,上面  Forwarding >Enable mail forwarding 直接跟著取消打勾 .

無法在 Forwarding 裡設定 , 需在 Advanced 裡設定.

2).
此台伺服器,我有另外增加安裝 OpenDmarc 及python-policyd-spf .
我試著把這兩項停止掉 , 或把 iRedApd 也停止掉 , 從外面 gmail 帳號寄信測試仍然會bcc給admin@mydomain.com .

3).
試這把admin@mydomain.com 刪除 ,想再重新建此帳號 ,
此選項最短保留一天, 版主 . 可增加直接刪除的選項?

4).
雖此台是測試機台, 我還是想把此問題搞清楚.
Get professional support from iRedMail Team via email or direct ssh access
https://www.paypal.com/cgi-bin/webscr?c … XEZU2Y32Q4

此連結可付費請版主處理?

回复: 無法取消 BCC

rain6966 写道:

3).
試這把admin@mydomain.com 刪除 ,想再重新建此帳號 ,
此選項最短保留一天, 版主 . 可增加直接刪除的選項?

重新建立 admin@mydomain.com 後,
從 外部 gmail 寄給test@mydomain.com 時,會收到1封,
而admin@mydomain.com 會收到2封相同信件.

PS:
查了admin@ 的Advanced 裡:
BCC incoming emails to other address
BCC outgoing emails to other address
其為空白, 我記的以前我曾反應, 當建立新帳號時 ,上面兩欄會直接套用網域的的設定值
現在的版本有改了?

回复: 無法取消 BCC

aaaaaaaa@gmail.com to tt@mydomain (tt@mydomain.com 為再新建帳號 , 我個人電腦的 TB, 把 admin@mydomain.com 也重新建立)

log:
Nov 21 17:56:30 mail policyd-spf[7801]: Normal exit
Nov 21 17:56:49 mail postfix/postscreen[15191]: CONNECT from [209.85.160.172]:40436 to [10.10.10.10]:25
Nov 21 17:56:55 mail postfix/postscreen[15191]: PASS NEW [209.85.160.172]:40436
Nov 21 17:56:55 mail postfix/smtpd[15552]: connect from mail-qt1-f172.google.com[209.85.160.172]
Nov 21 17:56:56 mail postfix/smtpd[15552]: Anonymous TLS connection established from mail-qt1-f172.google.com[209.85.160.172]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Nov 21 17:56:57 mail policyd-spf[15617]: Starting
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "request=smtpd_access_policy"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "protocol_state=RCPT"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "protocol_name=ESMTP"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "client_address=209.85.160.172"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "client_name=mail-qt1-f172.google.com"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "reverse_client_name=mail-qt1-f172.google.com"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "helo_name=mail-qt1-f172.google.com"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "sender=aaaaaaaa@gmail.com"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "recipient=tt@mydomain.com"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "recipient_count=0"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "queue_id="
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "instance=3cc0.5bf52be8.e2c2a.0"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "size=3552"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "etrn_domain="
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "stress="
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "sasl_method="
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "sasl_username="
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "sasl_sender="
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "ccert_subject="
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "ccert_issuer="
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "ccert_fingerprint="
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "ccert_pubkey_fingerprint="
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "encryption_protocol=TLSv1.2"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "encryption_cipher=ECDHE-RSA-AES128-GCM-SHA256"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: "encryption_keysize=128"
Nov 21 17:56:57 mail policyd-spf[15617]: Read line: ""
Nov 21 17:56:57 mail policyd-spf[15617]: Found the end of entry
Nov 21 17:56:57 mail policyd-spf[15617]: Config: {'Mail_From_reject': 'Fail', 'Void_Limit': 2, 'Header_Type': 'SPF', 'PermError_reject': 'False', 'Lookup_Time': 20, 'Authserv_Id': 'HEADER', 'defaultSeedOnly': 1, 'debugLevel': 5, 'skip_addresses': '127.0.0.0/8,::ffff:127.0.0.0/104,::1,10.192.176.0/24,', 'HELO_reject': 'Fail', 'TempError_Defer': 'False'}
Nov 21 17:56:57 mail policyd-spf[15617]: Cached data for this instance: []
Nov 21 17:56:57 mail policyd-spf[15617]: ERROR:  in skip_addresses not IP network.  Message: . Aborting whitelist processing.
Nov 21 17:56:57 mail policyd-spf[15617]: spfcheck: pyspf result: "['None', '', 'helo']"
Nov 21 17:56:57 mail policyd-spf[15617]: None; identity=helo; client-ip=209.85.160.172; helo=mail-qt1-f172.google.com; envelope-from=aaaaaaaa@gmail.com; receiver=tt@mydomain.com
Nov 21 17:56:57 mail policyd-spf[15617]: Header type: SPF; Authres ID (for AR): HEADER
Nov 21 17:56:57 mail policyd-spf[15617]: spfcheck: pyspf result: "['Pass', 'sender SPF authorized', 'mailfrom']"
Nov 21 17:56:57 mail policyd-spf[15617]: Pass; identity=mailfrom; client-ip=209.85.160.172; helo=mail-qt1-f172.google.com; envelope-from=aaaaaaaa@gmail.com; receiver=tt@mydomain.com
Nov 21 17:56:57 mail policyd-spf[15617]: Header type: SPF; Authres ID (for AR): HEADER
Nov 21 17:56:57 mail policyd-spf[15617]: Action: prepend: Text: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=209.85.160.172; helo=mail-qt1-f172.google.com; envelope-from=aaaaaaaa@gmail.com; receiver=tt@mydomain.com
Nov 21 17:56:58 mail postfix/smtpd[15552]: DE385980000A1: client=mail-qt1-f172.google.com[209.85.160.172]
Nov 21 17:56:59 mail postfix/cleanup[15717]: DE385980000A1: message-id=<CAAuwq4oAzYKo6f1PtmY4ru1e4uVMmpa98YaJMZfdRwfxR2ZPoQ@mail.gmail.com>
Nov 21 17:56:59 mail opendmarc[3479]: DE385980000A1: SPF(mailfrom): aaaaaaaa@gmail.com pass
Nov 21 17:56:59 mail opendmarc[3479]: DE385980000A1: gmail.com pass
Nov 21 17:56:59 mail postfix/qmgr[4018]: DE385980000A1: from=<aaaaaaaa@gmail.com>, size=3980, nrcpt=2 (queue active)
Nov 21 17:56:59 mail postfix/smtpd[15552]: disconnect from mail-qt1-f172.google.com[209.85.160.172]
Nov 21 17:57:03 mail postfix/10025/smtpd[16058]: connect from mail.mydomain.com[127.0.0.1]
Nov 21 17:57:03 mail opendmarc[3479]: ignoring connection from mail.mydomain.com
Nov 21 17:57:03 mail postfix/10025/smtpd[16058]: A27DA9800594D: client=mail.mydomain.com[127.0.0.1]
Nov 21 17:57:03 mail postfix/10025/smtpd[16059]: connect from mail.mydomain.com[127.0.0.1]
Nov 21 17:57:03 mail opendmarc[3479]: ignoring connection from mail.mydomain.com
Nov 21 17:57:03 mail postfix/cleanup[15717]: A27DA9800594D: message-id=<CAAuwq4oAzYKo6f1PtmY4ru1e4uVMmpa98YaJMZfdRwfxR2ZPoQ@mail.gmail.com>
Nov 21 17:57:03 mail postfix/10025/smtpd[16059]: A5C849800594E: client=mail.mydomain.com[127.0.0.1]
Nov 21 17:57:03 mail postfix/cleanup[16062]: A5C849800594E: message-id=<CAAuwq4oAzYKo6f1PtmY4ru1e4uVMmpa98YaJMZfdRwfxR2ZPoQ@mail.gmail.com>
Nov 21 17:57:03 mail postfix/qmgr[4018]: A27DA9800594D: from=<aaaaaaaa@gmail.com>, size=4941, nrcpt=1 (queue active)
Nov 21 17:57:03 mail postfix/10025/smtpd[16058]: disconnect from mail.mydomain.com[127.0.0.1]
Nov 21 17:57:03 mail amavis[19305]: (19305-05) Passed CLEAN {RelayedInbound}, [209.85.160.172]:40436 [209.85.160.172] <aaaaaaaa@gmail.com> -> <admin@mydomain.com>, Queue-ID: DE385980000A1, Message-ID: <CAAuwq4oAzYKo6f1PtmY4ru1e4uVMmpa98YaJMZfdRwfxR2ZPoQ@mail.gmail.com>, mail_id: ftlhIFUb4FVe, Hits: -0.098, size: 4200, queued_as: A27DA9800594D, dkim_sd=20161025:gmail.com, 4191 ms, Tests: [DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,FREEMAIL_FROM=0.001,HTML_MESSAGE=0.001,RCVD_IN_DNSWL_NONE=-0.0001,SPF_PASS=-0.001,URIBL_BLOCKED=0.001]
Nov 21 17:57:03 mail amavis[19305]: (19305-05) Passed CLEAN, <aaaaaaaa@gmail.com> -> <admin@mydomain.com>, Hits: -0.098, tag=0, tag2=6.2, kill=6.9, queued_as: A27DA9800594D, L/Y/0/0
Nov 21 17:57:03 mail postfix/10025/smtpd[16059]: disconnect from mail.mydomain.com[127.0.0.1]
Nov 21 17:57:03 mail postfix/qmgr[4018]: A5C849800594E: from=<aaaaaaaa@gmail.com>, size=4927, nrcpt=2 (queue active)
Nov 21 17:57:03 mail amavis[19314]: (19314-02) Passed CLEAN {RelayedInbound}, [209.85.160.172]:40436 [209.85.160.172] <aaaaaaaa@gmail.com> -> <tt@mydomain.com>, Queue-ID: DE385980000A1, Message-ID: <CAAuwq4oAzYKo6f1PtmY4ru1e4uVMmpa98YaJMZfdRwfxR2ZPoQ@mail.gmail.com>, mail_id: MTm01VsJ4AaN, Hits: -0.098, size: 4200, queued_as: A5C849800594E, dkim_sd=20161025:gmail.com, 4190 ms, Tests: [DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,FREEMAIL_FROM=0.001,HTML_MESSAGE=0.001,RCVD_IN_DNSWL_NONE=-0.0001,SPF_PASS=-0.001,URIBL_BLOCKED=0.001]
Nov 21 17:57:03 mail amavis[19314]: (19314-02) Passed CLEAN, <aaaaaaaa@gmail.com> -> <tt@mydomain.com>, Hits: -0.098, tag=0, tag2=6.2, kill=6.9, queued_as: A5C849800594E, L/Y/0/0
Nov 21 17:57:03 mail postfix/amavis/smtp[15772]: DE385980000A1: to=<admin@mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.8, delays=2.6/0.02/0/4.2, 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 A27DA9800594D)
Nov 21 17:57:03 mail postfix/amavis/smtp[15773]: DE385980000A1: to=<tt@mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.8, delays=2.6/0.03/0/4.2, 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 A5C849800594E)
Nov 21 17:57:03 mail postfix/qmgr[4018]: DE385980000A1: removed
Nov 21 17:57:03 mail postfix/pipe[16064]: A5C849800594E: to=<admin@mydomain.com>, relay=dovecot, delay=0.2, delays=0.04/0.01/0/0.15, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 21 17:57:03 mail postfix/pipe[16066]: A5C849800594E: to=<tt@mydomain.com>, relay=dovecot, delay=0.21, delays=0.04/0.02/0/0.15, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 21 17:57:03 mail postfix/pipe[16063]: A27DA9800594D: to=<admin@mydomain.com>, relay=dovecot, delay=0.22, delays=0.04/0.01/0/0.17, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 21 17:57:03 mail postfix/qmgr[4018]: A5C849800594E: removed
Nov 21 17:57:03 mail postfix/qmgr[4018]: A27DA9800594D: removed
Nov 21 17:58:39 mail policyd-spf[15617]: Normal exit

回复: 無法取消 BCC

rain6966 写道:

再試著把 Forwarding ,取消掉時, 發現下面的問題:
Profile of user: > Forwarding >Enable mail forwarding 打勾無效
(iRedAdmin 預設值是打勾)下面 , Advance > 預設值是已打勾了.

但在 Profile of user: >Advanced >Forwarding mails to other addresses  ,取消打勾後 ,上面  Forwarding >Enable mail forwarding 直接跟著取消打勾 .

無法在 Forwarding 裡設定 , 需在 Advanced 裡設定.

請問舨主:
Forwarding 的設定 , 正確的設法是在 Advanced 裡設定?

回复: 無法取消 BCC

rain6966 写道:

BCC incoming emails to other address
BCC outgoing emails to other address
其為空白, 我記的以前我曾反應, 當建立新帳號時 ,上面兩欄會直接套用網域的的設定值
現在的版本有改了?

請問版主:
有關BCC 的設定:
在Profile of domain : 有BCC欄位 ,及Advanced欄位,
在Profile of user: 有Advanced欄位,
在設定上,Profile of user 裡已告之, user 的權限大於 domain.這我是了解.

但在Profile of domain裡 , BCC 及Advanced 能整併成一欄位? BCC欄位 感覺重複.

11 最后由 rain6966 (2018-12-03 19:30:40) 编辑

回复: 無法取消 BCC

Hi 版主:
很對不起, 經我重新安裝後, 測試還是一樣 , 不過最後我發現是我公司的防火牆造成的.

在防火牆 (公司的Gateway上)設定log訊息寄送,
不可設定為 網域內帳號 , 不然造成iRedMail 的BCC帳號皆會收到網域內所有收,發件者的一份信件(不管啟用或沒啟用的帳號).

防火牆上的收,發件帳號 只能設為 root@mail.mydomain.com  (mail.mydomain.com 是郵件伺服器名稱)

感謝,