OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: sender_bcc duplicate delivery with 2 Virtual Domains

From: Jamuel P. Starkey (jamuelmy740il.com)
Date: Wed Aug 03 2005 - 03:42:30 CDT


Hi,

So I guess no one has run into this problem before :(

Is there anyway to turn on some sort of debugging to see how and where the matching
of the sender_bcc_maps is made? I've tried "postfix -v start" and even "postfix -v
-v -v start" and it doesn't seem to crank up the logging verbosity.

One thing that I failed to mention before is that the sender has a valid virtual
address in both domains i.e. joedomain1.com and joedomain2.com

If there's anymore information that you might need to help point me in the right
direction just say the word . . .

TIA,

JPS

Jamuel P. Starkey said:
> 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 testerdomain1.com
> domain2.com testerdomain1.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 testerdomain1.com
>
> Then a user sending mail (say joedomain1.com) is copied to testerdomain1.com (just
> once) but then if a user in the other domain (ralphdomain2.com) 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
>
>
>
>