Hello We have an inhouse application that deliver emails to validate students registrations.
For adminitrative purpose we nedd to keep a copy of each sent email. I activated the sender_bcc_maps feature to send a copy to another administrative email address : in the sender_bcc_maps map I have the following [email protected] [email protected] The problem is each email is sent twice to the bcc target address. Any info welcome , thank you see below the postconf -n trace 2bounce_notice_recipient = poubmail address_verify_sender = postmaster alias_database = hash:/etc/mail/aliases alias_maps = hash:/etc/mail/aliases bounce_notice_recipient = blackhole command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix content_filter = smtp:[127.0.0.1]:10024 daemon_directory = /usr/local/libexec/postfix data_directory = /var/db/postfix debug_peer_level = 2 default_privs = nobody delay_notice_recipient = postmaster disable_vrfy_command = yes error_notice_recipient = postmaster html_directory = /usr/local/share/doc/postfix ignore_mx_lookup_error = yes inet_interfaces = all local_recipient_maps = $alias_maps unix:passwd.byname mail_owner = postfix mail_spool_directory = /var/mail mailbox_delivery_lock = fcntl, dotlock mailbox_size_limit = 0 mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man message_size_limit = 20480000 mydestination = $myhostname, esiee.fr , istm.fr, mail.istm.fr, esiee-management.fr, esiee-paris.fr, esieeparis.fr mydomain = esiee.fr myhostname = mail.esiee.fr mynetworks = 147.215.0.0/16, 127.0.0.0/8 myorigin = $mydomain newaliases_path = /usr/local/bin/newaliases notify_classes = resource,software parent_domain_matches_subdomains = queue_directory = /var/spool/postfix queue_minfree = 1073741824 readme_directory = /usr/local/share/doc/postfix relay_domains = esiee.fr, istm.fr, esiee-management.fr, esiee-paris.fr, esieeparis.fr, advancity.eu relayhost = [147.215.1.4] relocated_maps = hash:/usr/local/etc/postfix/relocated sample_directory = /usr/local/etc/postfix sender_bcc_maps = hash:/usr/local/etc/postfix/sender_bcc sender_canonical_maps = hash:/usr/local/etc/postfix/sender_canonical sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop smtpd_banner = $myhostname ESMTP smtpd_client_restrictions = hash:/usr/local/etc/postfix/access smtpd_error_sleep_time = 1s smtpd_etrn_restrictions = reject smtpd_helo_restrictions = smtpd_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, reject_unauth_destination, check_recipient_access hash:/usr/local/etc/postfix/bad_recipients, permit smtpd_sender_restrictions = permit_mynetworks,check_sender_access hash:/usr/local/etc/postfix/restrictions_access strict_rfc821_envelopes = yes transport_maps = hash:/usr/local/etc/postfix/transport unknown_address_reject_code = 554 virtual_alias_domains = hash:/usr/local/etc/postfix/virtual_alias_domains virtual_alias_maps = hash:/usr/local/etc/postfix/virtual_alias_maps
