On Tuesday 27 June 2006 20:07, [EMAIL PROTECTED] took the opportunity 
to write:
> > 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?

Yes. Only the first matching router will be used (unless unseen is used, but 
that will cause a copy to be made), so with the order below the procmail 
router will never be used.

> 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 [EMAIL PROTECTED]"
>   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

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

Attachment: pgpQUa1MdxFkm.pgp
Description: PGP signature

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to