[wplug] Roving IPs

Wise, Jeremey jeremey.wise at agilysys.com
Fri Jan 20 09:04:58 EST 2006


I am looking for a shell script which will email out from a box the IP
address of the host (aka track dynamic IP) I use to run a script:

 

Ifconfig ppp0 > mail -s "new ip address"  stupid at user.com

 

 

But this no longer works.

 

 

Is their a way to set up a script that connects to the users SMTP
server. Injects a messages after username and password are given?

 

 

 

I don't know quite enough about the SMTP protocol to know how to script
a full auth, send, close. Or if there is some definition file or
parameter I can set so the 'mail' client can be defined to use a server,
username, password.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.wplug.org/pipermail/wplug/attachments/20060120/33732ea1/attachment.html


More information about the wplug mailing list