Re: [exim] Exim, NSS, winbind...

Inizio della pagina
Delete this message
Reply to this message
Autore: Marco Gaiarin
Data:  
To: Heiko Schlittermann via Exim-users
CC: exim-users
Oggetto: Re: [exim] Exim, NSS, winbind...
Mandi! Heiko Schlittermann via Exim-users
In chel di` si favelave...

> How does your Exim decide, if the user is known? Can you post the
> router(s), that are responsible for your local users?


Pretty standard debian routers.

I've added a big section of LDAP routers, but are only for internal user
aliases, they return in any case a 'login'.

Effectivaly the errors are thrown on the phisical mailboxes, not on the
aliases, eg:
    2019-02-11 14:02:34 1gtBEG-0006lw-Qm ** admin123@??? F=<admin123@???>: Unrouteable address


where 'admin123@???' is the real mailbox, 'admin123@???' is the
original destination, expanded by LDAP.

The finel delivery are these routers:

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



local_user:
debug_print = "R: local_user for $local_part@$domain"
driver = accept
local_part_suffix = +*
local_part_suffix_optional
domains = +local_domains
check_local_user
local_parts = ! root
transport = LOCAL_DELIVERY
require_files = ${local_part}:${home}
cannot_route_message = Unknown user

but i think never match, because user does not exist, so ${home}, and router
are skipped (so the 'Unrouteable address').

-- 
  Nobody expects the Bavarian inquisition!
                        (Anonimo, 19/4/2005)