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 [EMAIL PROTECTED], 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 [EMAIL PROTECTED]
(No Cc of list mail needed, thanks)
pgpwJgEsm6MY3.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/
