mailman works with DA?

empowering

Verified User
Joined
Aug 2, 2005
Messages
158
Location
New York
I have a customer who wants to use mailman and we have a problems with the exim.conf

In order to prevent duplicate Emails we had to comment out unseen in the virtual_aliases_nostar.

Code:
virtual_aliases_nostar:
  driver = redirect
  allow_defer
  allow_fail
  data = ${if exists{/etc/virtual/${domain}/aliases}{${lookup{$local_part}lsearch{/etc/virtual/${domain}/aliases}}}}
  file_transport = address_file
  group = mail
  pipe_transport = virtual_address_pipe
  retry_use_local_part
  #unseen

The problem is then this prevents aliases that also map up to email accounts from working.

Is there a way to get this to work without modifing exim.conf
 
In the 2nd alias director: virtual_aliases
Try changing this line:
Code:
data = ${if exists{/etc/virtual/${domain}/aliases}{${lookup[b]{$local_part}[/b]lsearch{/etc/virtual/${domain}/aliases}}}}
to
Code:
data = ${if exists{/etc/virtual/${domain}/aliases}{${lookup[b]{*}[/b]lsearch{/etc/virtual/${domain}/aliases}}}}
as it's only purpose is to handle the catch-all anyway, so you could try explicitly searching for just the catch-all.

John
 
Back
Top