What I am looking for is something to e-mail me that my external ip has changes nothing more I don't want to update DynDNS.org or anything like that.. Just simply send me e-mail saying it is new.. Any one have anything like this or can someone point me to the write place?
Though it´s no out-of-the-box solution you could look for a perl based ddns client and cut&paste the code that watches the pppoe interface. Or: write a shell script and do some ifconfig/awk stuff...
Just an idea. Use the up/down-script of the pppoe-deamon (if you are using pppoe). "/var/chroot-pppoe/etc/ppp/pppoe_updown.sh" There you could insert a line which is sending you an email. For example this one "anotifier "IP-change" PATH/FILE e-mail@address". Normaly this is for sending a file from the ASL via Email to a client. But you could abuse it for sending an email when your IP is chaning. Would be interesting if this will work. I never tried it.
The death is in the details! cnotifier is a Perl script which needs access to Exim's spool directory- in a different chroot jail!! JUST SO HAPPENS I am trying to work on a way to expose a directory from one jail to another, this being one exemplary need. You can ln files, but not directories.
Since it's a 2.4 kernel, you should be able to mount --bind, but the mount command balks at that option and no explanation forthcoming from Astaro as of yet as to why they don't support that command line option on their mount.
Personally, for this need I think dynamic DNS is easier in the long run:
The mount was version 2.9; I got a mount binary off of RedHat 8 that was version 2.11 and loaded it on the Astaro box (renaming the old mount binary to mount2.9). mount --bind works!
I am at a loss as to why they are using this version of the mount binary, unless somebody from Astaro can point out a subtle security hazard or reliability issue one risks with the 2.11 version...
So to get the cnotifier to work from that jail, you would have to copy over the perl software binaries and libraries it uses, update your bind, and bind the chroot-smtp/spool directory to the same path in the jail.