Mail Relay Configuration
SMTP authentication provides a way to authenticate SMTP client before accepting mail from it. With SMTP AUTH adds a security level to SMTP server.
An internal specially designed mail agent is used in Billing.
Therefore, from Billing side, SMTP AUTH configuration consists in specifying SMTP login and password in respective configuration file and enabling authentication.
Note: Billing mail agent supports Transport Layer Security (TLS) encryption and always attempts to use it. If mail server supports TLS, then TLS will be always used.
For instructions on configuring SMTP server to support authentication, please refer to SMTP documentation.
To enable SMTP AUTH in Billing:
- Open the
/usr/local/bm/conf/AMAIL-users.db
file for editing. -
Add the strings of the following format in the
[Server]
section:Host = <SMTP_server_hostname>
Port = 25
SmtpLogin = <SMTP_server_login>
SmtpPasswd = <SMTP_server_password>
Auth = yes
Where
<SMTP_server_hostname>
is to be replaced with actual hostname of your SMTP server,<SMTP_server_login>
is to be replaced with your SMTP server login, <SMTP_server_password>
is to be replaced with your SMTP server password. - Exit saving changes.
Note: To disable SMTP authentication, comment all strings except for Host and Port.