Users who connect to a 10.4 server via its IP address instead of its fully qualified domain name (FQDN) may get this error when trying to send email via WebMail:
"501 Bad address syntax error".
Set the server's domain name in the SquirrelMail configuration file. You can do this by using the Terminal application to run an interactive configuration script with root privileges.
sudo /etc/squirrelmail/config/conf.pl
Further information about configuring SquirrelMail is available in the Web Technologies Administration guide and in Mac OS X Server Help.