> My guess is that this isn’t a problem, but just because SME
> can only handle file types with limited lengths.
Hey, this aint MS-DOS 4.2!! Linux can handle filenames longer than you can memorize

(about 255 characters, if I'm not mistaken). The reason you're seing the ~ is probably because of the way you are looking at the direcory. Try ls -l to get a long listing format.
> ip address. That seems logical, because the script doesn’t
> know what variable $2 is. How can I get this variable to be
$2 Refers to the second argument from the command line. Since you ran the script without arguments, $2 will be empty. Try "mail-external-ip one two" to see what I mean.
To get the IP address mailed to you, try the following (untested) script:
#!/bin/sh
recipients="bart@alternatemailaddress.nl"
IP=/sbin/e-smith/db configuration get ExternalIP
mail -s "hostname -f now at $IP" $recipients <
As of date the external IP of hostname -f is $IP.
EOF
> 2. Is this script being ran each time my ip address changes
> because there is a shortcut in the /actions directory, or do
The correct way is to put the script in the /actions directory and a link in the /ip-change dir. All the links in the /ip-change dir will be automagically executed when your IP changes.
BTW, "shortcut" is windoweeze. Real men call it links

M