Ensuring mail can be sent via Scalix Webmail

The Scalix Webmail client requires an authenticated smtp connection in order to be able to successfully send messages. If the Scalix smtpd service is not configured to allow annoymous smtp connections from the Webmail host then the client will receive the following Javascript error:

methodname = send

To correct this edit the Scalix smtpd configuration file at /var/opt/scalix/sys/smtpd.cfg and ensure the Webmail server is added as a source that can send annoymous email. For example in my network the Webmail server (Tomcat) is at 10.1.1.40 so the configuration file looks like this:

RELAY accept 127.0.0.1
RELAY accept .stress-free.co.nz
RELAY Log_Reject ALL

ANONYMOUS accept 127.0.0.1
ANONYMOUS accept 10.1.1.40
ANONYMOUS Log_Reject ALL

# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*

AUTH_SUCCESS Header .pwd.stress-free.co.nz
AUTH_SUCCESS Accept ALL

After editing this file restart Scalix smtpd for the changes to take effect:

sudo omoff -d0 smtpd && sudo omon smtpd