sender_bcc duplicate delivery with 2 Virtual Domains

From: Jamuel P. Starkey (no email)
Date: Tue Aug 02 2005 - 01:40:56 EDT

  • Next message: Jonas Björklund: "Re: Any hardware loadbalancer recommendations?"

    Howdy,

    I'm running postfix-2.3-20050726 and have set up a sender_bcc map for two virtual
    domains (domain1.com and domain2.com):

    @domain1.com
    @domain2.com

    So whenever any user of either domain sends a message I end up with two copies in
    tester's mailbox. But if I set sender_bcc map to:

    @domain1.com

    Then a user sending mail (say ) is copied to tester at domain1 dot com (just
    once) but then if a user in the other domain () sends a message
    nothing is copied to tester.

    Incidentally I've got the same set up working just fine with a recipient_bcc map.

    Any ideas?

    Thanks,

    JPS

    Here's a postconf -n:

    alias_database = hash:/etc/postfix/aliases
    alias_maps = mysql:/etc/postfix/mysql-virtual.cf, mysql:/etc/postfix/mysql-alias.cf
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    debug_peer_level = 2
    disable_vrfy_command = yes
    inet_interfaces = all
    mail_owner = postfix
    mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
    mailq_path = /usr/bin/mailq.postfix
    manpage_directory = /usr/share/man
    message_size_limit = 20000000
    mydestination = $myhostname, localhost.$mydomain
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases.postfix
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES
    recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
    recipient_delimiter = -
    sender_bcc_maps = hash:/etc/postfix/sender_bcc
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    smtp_use_tls = no
    smtpd_helo_required = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated, check_sender_access
    hash:/etc/postfix/access_sender, check_client_access
    hash:/etc/postfix/access_client, reject_unauth_destination
    smtpd_restriction_classes = my_check_sender_access
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous

    smtpd_use_tls = no
    unknown_local_recipient_reject_code = 450
    virtual_alias_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf


  • Next message: Jonas Björklund: "Re: Any hardware loadbalancer recommendations?"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD