Re: [Exim] DHCP ext 69 and smarthost

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Christian Vogel
Datum:  
To: Leonardo Boselli
CC: exim-users
Betreff: Re: [Exim] DHCP ext 69 and smarthost
On Thu, Aug 21, 2003 at 05:14:10PM +0200, Leonardo Boselli wrote:
> Is there away to let exim and in general any MUA/MTA, aware of the
> 69th option field in DHCP ? (that is the one that specify the local smtp
> server ...) ???


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.

        Chris