Hi list,
i've made a configuration using hubbed hosts to have a backup of the  
incomming mails for certain domains. here it is:

hubbed_hosts_bkp:
   condition = ${if eq {$domain}{${lookup mysql {XBKP_DOMAINS}}}}
   debug_print = "R: hubbed_hosts_bkp for $domain"
   driver = manualroute
   domains = ${lookup mysql {MYSQL_QBCC_HUBBED_BCC_DOMAINS}}
   same_domain_copy_routing = yes
   route_data = ${lookup mysql {MYSQL_QBCC_HUBBED_BCC}}
   transport = remote_smtp
   unseen

hubbed_hosts:
   debug_print = "R: hubbed_hosts for $domain"
   driver = manualroute
   domains = ${lookup mysql {MYSQL_Q_HUBBED_DOMAINS}}
   same_domain_copy_routing = yes
   route_data = ${lookup mysql {MYSQL_Q_HUBBED_HOST}}
   transport = remote_smtp

It all works fine except one thing:
if sending an email to [email protected] with a cc to [email protected]  
(to note that domain1.com is the same domain) the first router,  
hubbed_hosts_bkp, passes the mail to the both destinations, while the  
seccond,
hubbed_host, only to the [email protected] (the cc address). strage  
enough is if it is to be as destinations [email protected] and as cc 
[email protected] 
  (to note that domain1.com and domain2.com are diffrent) everything  
works fine.

to be more clear in my explanation i'll give you the log:
2009-08-25 12:00:05 1Mfsov-0004la-Lj <= [email protected]  
H=mailserver01.avanzati.it [212.112.67.71] P=esmtp S=1456 
[email protected]
2009-08-25 12:00:06 1Mfsov-0004la-Lj => [email protected] R=hubbed_hosts  
T=remote_smtp H=212.112.67.190 [212.112.67.190]  
X=TLS1.0:RSA_AES_256_CBC_SHA1:32 DN="C=US,ST=N/A,O=Zimbra  
Collaboration Suite,OU=Zimbra Collaboration Suite,CN=domain1.com"
2009-08-25 12:00:06 1Mfsov-0004la-Lj => [email protected]  
R=hubbed_hosts_bkp T=remote_smtp H=212.112.67.191 [212.112.67.191]  
X=TLS1.0:RSA_AES_256_CBC_SHA1:32 DN="C=US,ST=N/A,O=Zimbra  
Collaboration Suite,OU=Zimbra Collaboration Suite,CN=domain1.com"
2009-08-25 12:00:06 1Mfsov-0004la-Lj -> [email protected]  
R=hubbed_hosts_bkp T=remote_smtp H=212.112.67.191 [212.112.67.191]  
X=TLS1.0:RSA_AES_256_CBC_SHA1:32 DN="C=US,ST=N/A,O=Zimbra  
Collaboration Suite,OU=Zimbra Collaboration Suite,CN=domain1.com"
2009-08-25 12:00:06 1Mfsov-0004la-Lj Completed

Any idea on how to solve this? what i need is to have the mail passed  
through the two routers to all destinations.

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to