|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Volker Apelt (va
org.chemie.uni-frankfurt.de)Date: Tue Mar 06 2001 - 06:34:50 CST
On Mon, 5 Mar 2001 10:41:52 -0500 (EST), Wietse Venema wrote:
>Volker Apelt:
[snip - problems with $var substitution in lusr_relay ]
>> eg: luser_relay = $relayhost
>
># The luser_relay parameter specifies an optional destination address
># for unknown recipients. By default, mail for unknown local recipients
># is bounced.
>#
># The following expansions are done on luser_relay: $user (recipient
># username), $shell (recipient shell), $home (recipient home directory),
># $recipient (full recipient address), $extension (recipient address
># extension), $domain (recipient domain), $local (entire recipient
># localpart), $recipient_delimiter. Specify ${name?value} or
># ${name:value} to expand value only when $name does (does not) exist.
>#
># luser_relay = $user
other.host
># luser_relay = $local
other.host
># luser_relay = admin+$local
[summay of a short dissussion about lusr_relay with Wietse Venema]
Volker> And it does not expand any other variables ?! So, these
expansions
Volker> are not _in_addition_ to the usual expansions ?
Wietse> Why don't you believe you my documentation? I actually spend
a fair
Wietse> amount of time on such things.
Volker>.. and the documentation is one of the best I have seen yet.
:-)
Volker>But, there was still an opportunity for a missunderstanding.
Volker> these lines could be added to the comments above.
Volker># No other expansions are performed on luser_relay in
Volker># addition to those listed above.
Volker> Why?
Wietse> The expansion of $name is done at a different time, and by
different
Wietse> code, than the normal main.cf expansions.
Volker> It would be very convenient to have only one location where
relayhost
Volker> is defined instead of multiple.
Wietse> You cannot specify a hostname as user_relay.
Thank You
Volker
--
Volker Apelt Group of Prof. Dr. Ch. Griesinger
Johann Wolfgang Goethe Universitaet
Frankfurt am Main (Germany)
va
krypton.org.chemie.uni-frankfurt.de
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]