To change the SMTP mail relay configuration:
1. Open a terminal to the FE.
2. As root edit /usr/local/nukona/appstore_cu/appstore_cu/settings_local.py:
vi /usr/local/nukona/appstore_cu/appstore_cu/settings_local.py
The below lines can be changed and the following entries are accepted:
EMAIL_PROXY_TYPE='<smtp or localhost>'
EMAIL_HOST='<SMTPFQDN or localhost>'
EMAIL_HOST_PASSWORD = '<password or blank>'
EMAIL_PORT=<any port>
EMAIL_HOST_USER='<user or blank>'
EMAIL_USE_TLS=<True or False>
For example:
3. Restart Mobility Services:
sudo /etc/init.d/appcenter-services restart
4. If the EMAIL_PROXY_TYPE=’localhost’ and the EMAIL_HOST=’localhost’ the Mobility: Suite FE will use postfix to proxy messages to the relay. Edit the postfix configuration file located at the end of the /etc/postfix/main.cf file:
vi /etc/postfix/main.cf
The below lines can be changed and the following entries are accepted:
smtp_sasl_auth_enable = <Yes or No>
smtp_sasl_security_options = noanonymous
smtp_tls_security_level = may
header_size_limit = 4096000
relayhost = [<SMTPFQDN or IP>]:<any port>
smtp_sasl_password_maps = static:<user>:<password>
For example:
Without Authentication:
With authentication:
5. Restart postfix:
sudo service postfix restart
Tip: Postfix mail logs are stored in /var/log/maillog if the mail log contains messages regarding an untrusted issuer follow TECH209709 to build troubleshoot TLS failures.