|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: mydestination questions...
Subject: Re: mydestination questions...
From: Liviu Daia (Liviu.Daia
imar.ro)
Date: Thu Jan 20 2000 - 23:47:04 CST
- Next message: cyber
ms10.hinet.net: "Re: virtual domain?"
- Previous message: Andrew McNamara: "Re: mydestination questions..."
- In reply to: Andrew McNamara: "mydestination questions..."
- Reply: Liviu Daia: "Re: mydestination questions..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 21 January 2000, Andrew McNamara <andrewm
connect.com.au> wrote:
[...]
> Putting "melang.off.connect.com.au local:" in transports fixes things,
> but I was hoping to share the transports file between multiple
> machines.
[...]
On 20 January 2000, LaMont Jones <lamont
security.hp.com> wrote:
[...]
> You could use the prog map for a transport map, and have the program
> return 'local:' when the key is equal to the hostname, and nothing
> when it's not... Whatever you figure out, I'm curious as well,
> although my situation is the reverse of yours.
Nah, calling an external program for each message is way too
inefficient. Just share a template file and use sed to generate the
real one. Something like
transport.in:
connect.com.au smtp:[wawura.off.connect.com.au]
.connect.com.au smtp:[wawura.off.connect.com.au]
HOSTNAME
local:
sed "s/
HOSTNAME
/`hostname`/" <transport.in >transport
Regards,
Liviu Daia
-- Dr. Liviu Daia e-mail: Liviu.Daiaimar.ro Institute of Mathematics web page: http://www.imar.ro/~daia of the Romanian Academy PGP key: http://www.imar.ro/~daia/daia.asc
- Next message: cyber
ms10.hinet.net: "Re: virtual domain?"
- Previous message: Andrew McNamara: "Re: mydestination questions..."
- In reply to: Andrew McNamara: "mydestination questions..."
- Reply: Liviu Daia: "Re: mydestination questions..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This archive was generated by hypermail 2b27 : Fri Jan 21 2000 - 00:12:18 CST