[exim] Router problem

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jim Trigg
Datum:  
To: exim-users
Betreff: [exim] Router problem
I have the following routers (in order) in my exim configuration file.
/usr/local/etc/exim/localhosts is world-readable and consists of two
lines, 127.0.0.1 and my public IP. For some reason the first router does
not trigger on mail from my server, and the second only triggers on mail
from my server (causing mail from other systems to ecartis@{one of my
domains} to be dropped).

The idea is that mail to the administrative address of the list
management software should only be processed if it comes from this
system; otherwise it should be sent to me to determine whether it's
legit. What actually happens is that if it's sent through my server
it's forwarded to me, and if it's sent through another server it's
not accepted at all - nothing shows up in any of the exim logs.

What am I doing wrong?

approved_list_domain:
driver = accept
domains = +lists_domains
require_files = ECARTIS_HOME/$domain.cfg
local_parts = ecartis
condition = ${if match_ip{$sender_host_address}{iplsearch;/usr/local/etc/exim/localhosts}}
transport = list_domain

list_domain:
driver = redirect
domains = +lists_domains
local_parts = ecartis
require_files = ECARTIS_HOME/$domain.cfg
data = listmaster@$domain
file_transport = address_file
pipe_transport = address_pipe

Thanks,
Jim Trigg