Hello,

Yet another problem appeared: there are lines in exim.conf:

From: /etc/exim.conf

================== exim.conf snippet below
primary_hostname = example.com
domainlist local_domains = @ : example.ru : example.local : localhost
: localhost.localdomain

# From routers: system_aliases

system_aliases:
  driver = redirect
  allow_fail
  allow_defer
  data = ${lookup{$local_part}lsearch{/etc/aliases}}
  check_ancestor = true
  file_transport = address_file
  pipe_transport = address_pipe

================== exim.conf snippet above

In /etc/aliases:

userlist: user1,userlist

Scenario 1: a message is sent like this:

To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]

Result: user1 receives one copy of the message (duplicates eliminated)

Scenario 2: a message is sent to any domain from local_domains, i.e. like this:

To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]

Result: user1 receives 2 copies of the inbound message (duplicates not
eliminated).

In <exim logs root>/main.log I see the following lines:

2008-05-13 15:33:24 1Jvpwq-0004Ls-3D <= [EMAIL PROTECTED]
H=diamond.local [10.1.0.54] P=esmtpsa X=TLSv1:AES256-SHA:256
A=PLAIN:user1 S=639 [EMAIL PROTECTED]
2008-05-13 15:33:24 1Jvpwq-0004Ls-3D => userlist <[EMAIL PROTECTED]>
R=procmail T=procmail
2008-05-13 15:33:24 1Jvpwq-0004Ls-3D => user1 <[EMAIL PROTECTED]>
R=procmail T=procmail
2008-05-13 15:33:24 1Jvpwq-0004Ls-3D => user1 <[EMAIL PROTECTED]>
R=procmail T=procmail
2008-05-13 15:33:24 1Jvpwq-0004Ls-3D Completed

May I ask how should I enable duplicates elimination if the target
domain is in in local_domains, but not equal to primary_domain?

Thanks.

-- 
## 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