Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: gbentley on May 26, 2006, 09:22:43 AM
-
Is it possible (with some cron job maybe?) to get SME to figure out its
current WAN IP on a dynamic ADSL account and mail that IP to the admin
account mail forward address ?
Could this be triggered by mailing the admin with a certain subject line ?
Can anyone help me achieve this function / provide sample code etc
Thanks !
-
Is it possible (with some cron job maybe?) to get SME to figure out its current WAN IP on a dynamic ADSL account and mail that IP to the admin account mail forward address ?
Why don't you just use dyndns.org and get yourself a domain name with them (free) and use SME's automatic dynamic DNS update system?
-
Good idea however I think the function of autoresponses for admin is also a good one too and would be a neat feature.
For example sending an email to admin@smeserver.com with the subject line 'config' would reply with all the settings / details to the admin account forward address.
-
This might help out:
http://forums.contribs.org/index.php?topic=7619.msg28032#msg28032
Regards Lloyd
-
I thought the DynDNS updater in SME sent an email to the administrator from the ddclient when the ip addres changed.
-
I hadnt actually tried using DynDNS so didnt realise this function was already available - there you go, SME has it all :)
Wondered why didnt get too many responses LOL !
Edit: Never thought about this before but I just added a user account for myself with my forwarding address. The WAN IP is in the returned mail header.
Simple really.