Autor: Jeremy Harris
Data:
Dla: exim-users
Temat: Re: [exim] Using Exim with LDAP
On 03/04/16 18:18, Luca Bertoncello wrote:
> localWrite_gw:
> driver = redirect
> allow_filter
> domains = +local_domains
> user = EXIM_UID
> group = EXIM_GID
> data = ${lookup ldap {LDAP_AD_MAIL_RCPT} {# EXIM Filter\n\nsave /var/spool/mail/$value/Maildir}fail}
> redirect_router = loopbackRouter
> reply_transport = autoresponder
> pipe_transport = address_pipe
> file_transport = address_file
> directory_transport = address_file
> no_more
>
> But it does not work...
> exim -bt lucabert@??? always say:
>
> lucabert@??? is undeliverable: Unrouteable address
Run it with debug turned on and capture the output. Examine carefully
router chain operation, the expansions and the lookups involved.
(By the way: you have a file-transport from that router. Why are you
involving a filter, just to write to a file?)
--
Cheers,
Jeremy