Sorry about that here it is :

postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_size_limit = 104857600
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 30485760
mydestination = $myhostname, $mydomain, localhost
mydomain = topolauniverzal.co.rs
myhostname = mail.topolauniverzal.co.rs
mynetworks = 127.0.0.0/8, 192.168.0.0/24, 192.168.1.0/24, 192.168.2.0/24, 192.168.3.0/24, 192.168.4.0/24, 192.168.5.0/24, 192.168.6.0/24, 192.168.10.0/24
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES
recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.2.10/samples
sender_bcc_maps = hash:/etc/postfix/sender_bcc
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_sasl_auth_enable = no
smtpd_client_restrictions =
smtpd_data_restrictions = reject_unauth_pipelining,    permit
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_sasl_authenticated, permit_mynetworks, check_helo_access hash:/etc/postfix/helo_access, reject_non_fqdn_hostname, reject_invalid_hostname, permit smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unverified_recipient, reject_unauth_destination, check_policy_service unix:/var/spool/postfix/postgrey/socket, reject_rbl_client zen.spamhaus.org, reject_rbl_client list.dsbl.org, reject_rbl_client combined.njabl.org, reject_rbl_client bl.spamcop.net, reject_rbl_client combined.rbl.msrbl.net permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/topolauniverzal.crt
smtpd_tls_key_file = /etc/postfix/topolauniverzal.key
smtpd_tls_loglevel = 1
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap-accountsmap,proxy:ldap:/etc/postfix/ldap-aliases
virtual_gid_maps = static:500
virtual_mailbox_base = /home/vmail/domains
virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap-domains
virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts
virtual_minimum_uid = 500
virtual_transport = virtual
virtual_uid_maps = static:500


The LOG file

Jun 29 12:36:39 mail postfix/smtpd[19417]: connect from
mail.topolauniverzal.co.rs[127.0.0.1]
Jun 29 12:36:39 mail postfix/smtpd[19417]: D2A1282BD5:
client=mail.topolauniverzal.co.rs[127.0.0.1]
Jun 29 12:36:39 mail postfix/cleanup[19277]: D2A1282BD5:
message-id=<40897ef9c7eb437da86f24cb82939...@infolaptop>
Jun 29 12:36:39 mail postfix/qmgr[18697]: D2A1282BD5:
from=<robert.becs...@capriolobike.com>, size=1410, nrcpt=3 (queue active)
Jun 29 12:36:39 mail postfix/smtpd[19417]: disconnect from
mail.topolauniverzal.co.rs[127.0.0.1]
Jun 29 12:36:40 mail postfix/smtpd[19465]: connect from
mail.topolauniverzal.co.rs[127.0.0.1]
Jun 29 12:36:40 mail postfix/smtpd[19465]: D5F8182BD6:
client=mail.topolauniverzal.co.rs[127.0.0.1]
Jun 29 12:36:40 mail postfix/cleanup[18994]: D5F8182BD6:
message-id=<40897ef9c7eb437da86f24cb82939...@infolaptop>
Jun 29 12:36:40 mail postfix/qmgr[18697]: D5F8182BD6:
from=<robert.becs...@capriolobike.com>, size=1847, nrcpt=5 (queue active)
Jun 29 12:36:40 mail postfix/smtpd[19465]: disconnect from
mail.topolauniverzal.co.rs[127.0.0.1]
Jun 29 12:36:41 mail postfix/smtp[19461]: D2A1282BD5:
to=<boglarka.ive...@capriolobike.com>, orig_to=<s-dom...@capriolobike.com>,
relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 Ok: queued as
D5F8182BD6)
Jun 29 12:36:41 mail postfix/smtp[19461]: D2A1282BD5:
to=<imre.dom...@capriolobike.com>, relay=127.0.0.1[127.0.0.1], delay=2,
status=sent (250 Ok: queued as D5F8182BD6)
Jun 29 12:36:41 mail postfix/smtp[19461]: D2A1282BD5:
to=<lajos.brin...@capriolobike.com>, orig_to=<s-dom...@capriolobike.com>,
relay=127.0.0.1[127.0.0.1], delay=2, status=sent (250 Ok: queued as
D5F8182BD6)
Jun 29 12:36:41 mail postfix/qmgr[18697]: D2A1282BD5: removed
Jun 29 12:36:41 mail postfix/virtual[19371]: D5F8182BD6:
to=<boglarka.ive...@capriolobike.com>, relay=virtual, delay=1, status=sent
(delivered to maildir)
Jun 29 12:36:41 mail postfix/virtual[19371]: D5F8182BD6:
to=<boglarka.ive...@capriolobike.com>, orig_to=<s-dom...@capriolobike.com>,
relay=virtual, delay=1, status=sent (delivered to maildir)
Jun 29 12:36:41 mail postfix/virtual[19371]: D5F8182BD6:
to=<imre.dom...@capriolobike.com>, relay=virtual, delay=1, status=sent
(delivered to maildir)
Jun 29 12:36:41 mail postfix/virtual[19371]: D5F8182BD6:
to=<lajos.brin...@capriolobike.com>, orig_to=<s-dom...@capriolobike.com>,
relay=virtual, delay=1, status=sent (delivered to maildir)
Jun 29 12:36:41 mail postfix/virtual[19371]: D5F8182BD6:
to=<lajos.brin...@capriolobike.com>, relay=virtual, delay=1, status=sent
(delivered to maildir)
Jun 29 12:36:41 mail postfix/qmgr[18697]: D5F8182BD6: removed


and my master.cf

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
#smtps    inet  n       -       n       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission   inet    n       -       n       -       -       smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o smtpd_etrn_restrictions=reject
#628      inet  n       -       n       -       -       qmqpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       n       300     1       oqmgr
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop  unix  -       n       n       -       -       pipe
 flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix  -       n       n       -       -       pipe
flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus     unix  -       n       n       -       -       pipe
user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
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=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient

smtp-amavis unix        -       -       n       -       2       smtp
   -o disable_dns_lookups=yes
127.0.0.1:10025 inet    n       -       n       -       -       smtpd
   -o content_filter=
   -o local_recipient_maps=
   -o smtpd_client_restrictions=permit_mynetworks,reject
   -o mynetworks=127.0.0.0/8
scache    unix  -       -       n       -       1       scache
discard   unix  -       -       n       -       -       discard
tlsmgr    unix  -       -       n       1000?   1       tlsmgr


Sincerely
Robert B
----- Original Message ----- From: "mouss" <mo...@ml.netoyen.net>
To: <postfix-users@postfix.org>
Sent: Tuesday, June 30, 2009 00:29
Subject: Re: recipient_bcc to virtual alias


Robert Becskei a écrit :
Hello,

I have a virtual domain hosting posfix config here with amavisd-new. I
needed to silently bcc any recieved messages from one user to two other
users.
I've managed to do it with help like this

recipient_bcc original user to alias

u...@capriolobike.com -> silental...@capriolobike.com

sliental...@capriolobike.com is an alias for us...@capriolobike.com and
us...@capriolobike.com

The problem is both user2 and user3 recieve the e-mail sent to
u...@capriolobike.com twice, in one mail the X-OGIRIN-TO is
us...@capriolobike.com in the other e-mail
the X-ORIGIN-To is silental...@capriolobike.com

oh please, don't ignore the welcome message. it gives you a useful hint
on how to get help. in particular, the recommended URL will tell you to:
- show output of 'psotconf -n'
- logs (which you've shown. this is much appreciated)
- in your case, the copy of master.cf


If you use a content filter, make sure to disable rewrite before or
after the filter. see the FILTER README for more infos.


Reply via email to