You could have the script that invokes the dhcp query
write a file suitable for use by Exim.
For example have it write a file with a route list
for a domainlist router poiting all mailroutes to the
smarthost, and you are set.
HTH,
Florian
> -----Original Message-----
> From: Leonardo Boselli [mailto:leo@dicea.unifi.it]
> Sent: Thursday, August 21, 2003 6:38 PM
> To: Christian Vogel
> Cc: exim-users@???
> Subject: Re: [Exim] DHCP ext 69 and smarthost
>
>
> Since the thing is already codified in rfc2132 could exim use
> it by itself?
> this would be useful for portable users, that would grab
> local smarthost
> even if the connection is mobile .
>
> Il 21 Aug 2003 alle 17:42, Christian Vogel immise in rete:
> > At least the /sbin/dhcpcd on my Redhat-7.3 installed notebook writes
> > /etc/dhcpc/dhcpcd-eth0.info:
> > IPADDR=...
> > NETMASK=...
> > you will get one line for each option sent by the
> dhcp-server. But this
> > question is hardly exim-specific. You can use arbitrary scripts to
> > configure arbitrary applications this way.
> --
> Leonardo Boselli
> Nucleo Informatico e Telematico del Dipartimento Ingegneria Civile
> Universita` di Firenze , V. S. Marta 3 - I-50139 Firenze
> tel +39 0554796431 cell +39 3488605348 fax +39 055495333
> http://www.dicea.unifi.it/~leo
>
>
> --
>
> ## List details at
http://www.exim.org/mailman/listinfo/exim-users Exim details at
http://www.exim.org/ ##