[Exim] Why is it skipping routers?

Top Pagina
Delete this message
Reply to this message
Auteur: Cal Evans
Datum:  
Aan: exim-users
Onderwerp: [Exim] Why is it skipping routers?
Exim 4.05/Gentoo 1.3x/mysql 3.23.52/mailman 1.10/spamassassin

I have everything working together until I add in my mailman_router:
I can get it to work but then my mysql_forward: stops working.

from the config file:

begin routers

dnslookup:
  driver    = dnslookup
  domains   = ! +local_domains
  transport = remote_smtp
  ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
  no_more


mysql_forward:
domains = +local_domains
driver = redirect
no_verify
no_expn
check_ancestor
data = ${lookup mysql{SELECT_USER_FORWARD}}
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply

mailman_router:
    driver = accept
    require_files = MAILMAN_HOME/lists/$local_part/config.db
    local_part_suffix_optional
    local_part_suffix = -bounces : -bounces+* :       \
                        -confirm+* : -join : -leave : \
                        -owner : -request : -admin
    transport = mailman_transport


I am trying to get exim to check the routers in this order. After this comes
my spamassassin router and I don't want forwards to mailinglists checked for
spam.

With this config, when I sent a message to the forwarder beavis@??? I
get:

--------> dnslookup router <--------
local_part=beavis domain=domain.com
checking domains
search_open: mysql "NULL"
  cached open
search_find: file="NULL"
  key="SELECT d.domain               FROM domain d               WHERE
d.type   = 'local' AND d.domain = 'domain.com' AND d.active = '1'"
partial=-1
LRU list:
internal_search_find: file="NULL"
  type=mysql key="SELECT d.domain               FROM domain d
WHERE d.type   = 'local' AND d.domain = 'domain.com' AND d.active = '1'"
cached data used for lookup of SELECT d.domain               FROM domain d
WHERE d.type   = 'local' AND d.domain = 'domain.com' AND d.active = '1'
lookup yielded: domain.com
domain.com in "domain.com"? yes (matched "domain.com")
domain.com in "! +local_domains"? no (matched "! +local_domains")
dnslookup router skipped: domains mismatch
--------> mysql_forward router <--------
local_part=beavis domain=domain.com
mysql_forward router skipped: verify 2 0 0
--------> mailman_router router <--------
local_part=beavis domain=domain.com
checking require_files
file check: /home/virtual/$domain/mailman/lists/$local_part/config.db
expanded file: /home/virtual/domain.com/mailman/lists/beavis/config.db
stat() yielded -1
errno = 2
mailman_router router skipped: file check
--- END OF LOG CLIP ---


Why does it just skip over the mysql_forwarder router and going to
mailman_router?  What does:
     mysql_forward router skipped: verify 2 0 0
mean?


TIA!
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*