Cause its my first post I have to change symbol at (mail at domain dot com) to _at_.
I hope it can be still readable by you.

I have added one option to my postfix server to copy all outgoing messages:
Code:
sender_bcc_maps = proxy:mysql:/etc/postfix/mysql_virtual_sender_bcc_maps.cf
When I send a message - to for example user2_at_gmail.com - account user1_at_copy.my_domain.com recieves 3 copy of sended email instead of 1.

How to avoid this two unwanted copy of messages?

The file /etc/postfix/mysql_virtual_sender_bcc_maps.cf looks that:
Code:
user = postfix
password = password
hosts = 192.168.1.68
dbname = postfix
query = SELECT bcc FROM sender_bcc_maps WHERE sender='%s'
I have one row so far in sender_bcc_maps table:
Code:
column sender; column bcc
user1_at_my_domain.com; user1_at_copy.my_domain.com
/var/log/mail.log
Code:
Oct 31 15:39:33 postfix-new postfix/smtpd[23871]: warning: 192.168.1.62: hostname host-192.168.1.62.my_domain.com verification failed: Name or service not known

Oct 31 15:39:33 postfix-new postfix/smtpd[23871]: connect from unknown[192.168.1.62]
Oct 31 15:39:33 postfix-new dovecot: pop3-login: Login: user=<user1_at_my_domain.com>, method=PLAIN, rip=192.168.1.62, lip=192.168.1.68, TLS
Oct 31 15:39:33 postfix-new dovecot: POP3(user1_at_my_domain.com): Disconnected: Logged out top=0/0, retr=0/0, del=0/287, size=10696910

Oct 31 15:39:33 postfix-new postfix/smtpd[23871]: E591C804A8: client=unknown[192.168.1.62], sasl_method=LOGIN, sasl_username=user1_at_my_domain.com
Oct 31 15:39:33 postfix-new postfix/cleanup[23801]: E591C804A8: message-id=<007b01cc97da$e4bda400$ae38ec00$_at_my_domain.com>
Oct 31 15:39:33 postfix-new postfix/qmgr[23730]: E591C804A8: from=<user1_at_my_domain.com>, size=4301, nrcpt=2 (queue active)

Oct 31 15:39:34 postfix-new postfix/smtpd[23747]: connect from localhost[127.0.0.1]
Oct 31 15:39:34 postfix-new postfix/smtpd[23747]: D262D804A9: client=localhost[127.0.0.1]
Oct 31 15:39:34 postfix-new postfix/cleanup[23801]: D262D804A9: message-id=<007b01cc97da$e4bda400$ae38ec00$_at_my_domain.com>
Oct 31 15:39:34 postfix-new postfix/smtpd[23747]: disconnect from localhost[127.0.0.1]
Oct 31 15:39:34 postfix-new postfix/qmgr[23730]: D262D804A9: from=<user1_at_my_domain.com>, size=4735, nrcpt=2 (queue active)

Oct 31 15:39:34 postfix-new postfix/smtpd[23747]: connect from localhost[127.0.0.1]
Oct 31 15:39:34 postfix-new postfix/smtpd[23747]: D4D76804AB: client=localhost[127.0.0.1]
Oct 31 15:39:34 postfix-new postfix/cleanup[23801]: D4D76804AB: message-id=<007b01cc97da$e4bda400$ae38ec00$_at_my_domain.com>
Oct 31 15:39:34 postfix-new postfix/qmgr[23730]: D4D76804AB: from=<user1_at_my_domain.com>, size=4904, nrcpt=2 (queue active)
Oct 31 15:39:34 postfix-new postfix/smtpd[23747]: disconnect from localhost[127.0.0.1]

Oct 31 15:39:34 postfix-new postfix/pipe[23885]: D262D804A9: to=<user1_at_copy.my_domain.com>, relay=dovecot, delay=0.02, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Oct 31 15:39:34 postfix-new amavis[21820]: (21820-08) Passed CLEAN, TRUSTED LOCAL [192.168.1.62] [192.168.1.62] <user1_at_my_domain.com> -> <user2_at_gmail.com>,<user1_at_copy.my_domain.com>, Message-ID: <007b01cc97da$e4bda400$ae38ec00$_at_my_domain.com>, mail_id: q-t2UHAinUuc, Hits: -0.999, size: 4301, queued_as: D262D804A9/D4D76804AB, 926 ms
Oct 31 15:39:34 postfix-new postfix/pipe[23807]: D4D76804AB: to=<user1_at_copy.my_domain.com>, relay=dovecot, delay=0.02, delays=0/0/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)

Oct 31 15:39:34 postfix-new postfix/smtp[23802]: E591C804A8: to=<user2_at_gmail.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.96, delays=0.02/0/0/0.93, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as D262D804A9)
Oct 31 15:39:34 postfix-new postfix/smtp[23802]: E591C804A8: to=<user1_at_copy.my_domain.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.96, delays=0.02/0/0/0.93, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as D262D804A9)
Oct 31 15:39:34 postfix-new postfix/qmgr[23730]: E591C804A8: removed

Oct 31 15:39:34 postfix-new postfix/pipe[23809]: D4D76804AB: to=<user1_at_copy.my_domain.com>, relay=dovecot, delay=0.02, delays=0/0/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
Oct 31 15:39:34 postfix-new postfix/qmgr[23730]: D4D76804AB: removed

Oct 31 15:39:35 postfix-new postfix/smtp[23875]: D262D804A9: to=<user2_at_gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.43.26]:25, delay=1.1, delays=0/0/0.33/0.79, dsn=2.0.0, status=sent (250 2.0.0 OK 1320071975 l18si9190751bka.116)
Oct 31 15:39:35 postfix-new postfix/qmgr[23730]: D262D804A9: removed
Oct 31 15:39:36 postfix-new postfix/smtpd[23871]: disconnect from unknown[192.168.1.62]
part of main.cf:
Code:
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination =
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_tls_received_header = yes
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = dovecot
virtual_mailbox_base = /var/vmail/
recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql_virtual_recipient_bcc_maps.cf
sender_bcc_maps = proxy:mysql:/etc/postfix/mysql_virtual_sender_bcc_maps.cf
dovecot_destination_concurrency_limit = 2
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions =
        permit_mynetworks,
        permit_sasl_authenticated,
        reject_unauth_destination,
        reject_unlisted_recipient,
        check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
        check_sender_access hash:/etc/postfix/whitelist_sender,
        check_recipient_access hash:/etc/postfix/reject_over_quota,
        check_sender_access hash:/etc/postfix/rbl_sender_exceptions,
        check_client_access hash:/etc/postfix/rbl_client_exceptions,
        check_recipient_access hash:/etc/postfix/rbl_recipient_exceptions,
        permit
smtpd_sender_restrictions =
        check_sender_access hash:/etc/postfix/sender_access,
        reject_non_fqdn_sender,
        reject_unknown_sender_domain
smtpd_data_restrictions = reject_unauth_pipelining

smtpd_hard_error_limit = 10
smtpd_soft_error_limit = 8
smtpd_helo_required = yes
local_transport = error:no local mail delivery
message_size_limit = 104800000

transport_maps = hash:/etc/postfix/transport

vacation_destination_recipient_limit = 1
master.cf:
Code:
smtp      inet  n       -       -       -       -       smtpd
   -o smtpd_sasl_auth_enable=no
   -o content_filter=smtp-amavis:[127.0.0.1]:10024
submission inet n       -       -       -       -       smtpd
   -o smtpd_tls_security_level=may
   -o smtpd_sasl_auth_enable=yes
   -o smtpd_client_restrictions=permit_sasl_authenticated,reject
   -o content_filter=smtp-amavis:[127.0.0.1]:10026
smtps     inet  n       -       -       -       -       smtpd
   -o smtpd_tls_security_level=encrypt
   -o smtpd_tls_wrappermode=yes
   -o smtpd_sasl_auth_enable=yes
   -o smtpd_client_restrictions=permit_sasl_authenticated,reject
   -o content_filter=smtp-amavis:[127.0.0.1]:10026
4650     inet  n       -       -       -       -       smtpd
   -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
pickup    fifo  n       -       -       60      1       pickup
   -o content_filter=
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
        -o smtp_fallback_relay=
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
retry     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
maildrop  unix  -       n       n       -       -       pipe
  flags=ODRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
dovecot   unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient} -e
vacation  unix  -       n       n       -       -       pipe
     flags=Rq user=vacation argv=/var/spool/vacation/vacation.pl -f ${sender} -- ${recipient}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix  -       n       n       -       2       pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}
smtp-amavis unix -    -    n    -    5    smtp
    -o smtp_data_done_timeout=1200
    -o smtp_send_xforward_command=yes
    -o disable_dns_lookups=yes
127.0.0.1:10025 inet n    -    n    -    -    smtpd
    -o content_filter=
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o smtpd_restriction_classes=
    -o smtpd_delay_reject=no
    -o smtpd_client_restrictions=permit_mynetworks,reject
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o smtpd_data_restrictions=reject_unauth_pipelining
    -o smtpd_end_of_data_restrictions=
    -o mynetworks=127.0.0.0/8
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000
    -o smtpd_client_connection_count_limit=0
    -o smtpd_client_connection_rate_limit=0
    -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters
127.0.0.1:10035 inet n    -    n    -    -    smtpd
    -o content_filter=
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o smtpd_restriction_classes=
    -o smtpd_delay_reject=no
    -o smtpd_client_restrictions=permit_mynetworks,reject
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o smtpd_data_restrictions=reject_unauth_pipelining
    -o smtpd_end_of_data_restrictions=
    -o mynetworks=127.0.0.0/8
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000
    -o smtpd_client_connection_count_limit=0
    -o smtpd_client_connection_rate_limit=0
    -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters