Re: [exim] router and transport entries

Top Page
Delete this message
Reply to this message
Author: sysadmin
Date:  
To: John Burnham
CC: exim-users
Subject: Re: [exim] router and transport entries
> Routers are handled in the order they appear in the configuration file.
> Transports are called by routers and so will be associated with a router
> hence
> the order in which they appear in the configuration file is not important.



With base on rule above, the right order for a procmail router is before
a localuser router?

Follow the routers that I'm using om exim.conf:

localuser:
        driver = accept
        check_local_user
        transport = local_delivery



procmail:
  debug_print = "R: procmail for $local_part@$domain"
  driver = accept
  domains = +local_domains
  check_local_user
  transport = procmail_pipe
  # emulate OR with "if exists"-expansion
  require_files = ${local_part}:\
                  ${if exists{/etc/procmailrc}\
                    {/etc/procmailrc}{${home}/.procmailrc}}:\
                  +/usr/bin/procmail



Regards,

Marlon