Ken:
If I understand correctly you want to find the ip address of a dynamic ip.
I got htis grotty little line from a book called "Linux Network Toolkit".
It returns the ip address from ifconfig. It is likely, that someone who
can program perl (I can't) could have this script run from within exim and
get you an IP address.
ISP_IP=' ifconfig ppp0 | grep 'inet addr' | awk '(print $2)' | sed -e
"s/addr\://" '
as all one line. It pipes the output of ifconfig to grep which gives you
the line with the ip address. SED strips out the text 'addr:' leaving
the ip . I have not tested this.
HTH
JAH
From: "Ken Steven" <K.Steven@???>
To: <exim-users@???>
Date sent: Mon, 7 Feb 2000 10:53:13 -0000
Subject: [Exim] SMTP to a dynamically allocated IP?
> Hi all.
>
> Thanks to Tabor for your help with M$Exchange. All sorted now.
>
> Problem is, my 2nd tier provider has moved to a
> completely dynamic network now ie. no more static ip addresses.
>
> My other M$Echange client is running his server on a machine with
> a sub-domain, and dialing up to retrieve mail - so obviously he
> gets a dynamic IP. I tried (hahahahahaha) to capture his IP as
> he came in to deliver mail to that IP but as you can imagine it
> failed big time!
>
> Don't suppose anyone knows of any way to make Exim capture a
> dynamic IP and "magically" map that against a clients sub-domain
> and then deliver mail to it do you?????
>
> Ken.
>
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> ## details at http://www.exim.org/ ##
James A. Haliburton
On-Site Computer Services of Halifax
Suite 100, 25 Walton Drive
Halifax, Nova Scotia
Canada B3N 1X6
Cell/Pager : (902)499-5250
Home/Office : (902)477-8342
e-mail : jim@???