Re: [exim] Questions

Top Page
Delete this message
Reply to this message
Author: Magnus Holmgren
Date:  
To: exim-users
Subject: Re: [exim] Questions
Mittwoch 24. Mai 2006 00:25 schrieb Stefan Klatt:
> >In what way doesn't it work? Was $address_data already used for something
> >else? Error messages, log entries, general description of symptoms,
> > please? After all, this *is* what address_data is meant for.
>
> Now i testet "address_data" one more...
>
> The router works... but i can't use address_data :-(
> it's empty at transport


It shouldn't be completely empty if you always set address_data in the routers
that use the particular transport. "If the transport is handling multiple
addresses, the value from the first address is used", says chapter 11 about
$address_data. Naturally, if a transport handles multiple recipients, all
with different address_data, all those different data can't be used at once.

> i use this configuration:
>
> Router:
>
> local_user_cyrus:
> driver = accept
> address_data = ${LDAP_DATA}
> # address_data = test
> debug_print = "R: local_user_cyrus for $local_part@$domain, Sender:
> $sender_address"
> domains = +local_domains
> local_part_suffix = +*
> local_part_suffix_optional
> transport = cyrus_ltcp
> no_more
>
> Transport:
>
> auto_remote_smtp:
> driver = smtp
> debug_print = "****** auto_remote_smtp: $address_data"
> max_rcpt = 10
> hosts_try_auth = ${LDAP_AUTHTRY}
> hosts_require_auth = ${LDAP_AUTHREQ}
> hosts_require_tls = ${LDAP_TLSREQ}


Hmm, the router has transport = cyrus_ltcp but the transport is called
auto_remote_smtp. I don't follow...

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)