Всем привет. Имею настроенную связку Postfix - Dovecot - Amavisd&Clamav (postfixadmin & phpmyadmin)
Не работает recipient_bcc_maps ни одним из способов (ни hash, ни mysql)
Код:
myhostname = mx3.mydomain.ru
mydomain = mx3.mydomain.ru
myorigin = $mydomain
inet_interfaces = all
mydestination = $mydomain.localhost, localhost
#mynetworks = 192.168.0.0/16, 127.0.0.0/8
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
smtpd_banner = $myhostname ESMTP $mail_name
debug_peer_level = 2
debug_peer_list = 127.0.0.1
#VIRTUAL
virtual_mailbox_domains=mysql:/usr/local/etc/postfix/virtual-mailbox-domains.cf
virtual_alias_maps=mysql:/usr/local/etc/postfix/virtual-alias-maps.cf
virtual_alias_domains=mysql:/usr/local/etc/postfix/virtual-alias-domains.cf
virtual_mailbox_maps=mysql:/usr/local/etc/postfix/virtual-mailbox-maps.cf
virtual_mailbox_base = /home/vmail
virtual_mailbox_maps=mysql:/usr/local/etc/postfix/virtual-mailbox-maps.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
#transport_maps = hash:/usr/local/etc/postfix/transport_maps
recipient_bcc_maps = hash:/usr/local/etc/postfix/bcc
relay_domains = mail.mydomain.ru
### Restrictions
smtpd_client_restrictions =
# permit_mynetworks,
permit_sasl_authenticated
reject_unauth_destination
smtpd_helo_restrictions =
# permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_helo_hostname,
reject_unknown_helo_hostname
smtpd_sender_restrictions =
# permit_mynetworks,
permit_sasl_authenticated
reject_unknown_sender_domain,
reject_unauth_destination
smtpd_recipient_restrictions =
# reject_unknown_recipient_domain,
permit_sasl_authenticated,
reject_unauth_destination
smtpd_etrn_restrictions = reject
smtpd_helo_required = yes
strict_rfc821_envelopes = yes
#smtpd_discard_ehlo_keywords = etrn, silent-discard
#smtpd_forbidden_commands = CONNECT GET POST
disable_vrfy_command = yes
### TLS
smtpd_sasl_auth_enable = yes
#smtpd_sasl_authenticated_header = yes
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/ssl/certs/dovecot.pem
smtpd_tls_key_file = /etc/ssl/private/dovecot.pem
smtp_tls_security_level=may
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_etrn_restrictions =
permit_mynetworks,
reject
content_filter=smtp-amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
bcc
Код:
test@mx3.mydomain.ru test@mail.mydomain.ru
При отправке напрямую с mx3.mydomain.ru на mail.mydomain.ru всё проходит отлично, тоесть не отрабатывает только bcc.
Логи молчат как партизаны.
В чем может быть проблема?