SMS Gateway 4.4 - User's Guide
8. The integrated SMTP server
SMS Gateway features an integrated SMTP server. The SMTP server supports RFC-822 and does currently not support MIME. It cannot be used for direct delivery. When receiving a message it parses the To address which should be on the form recipient@<anything>. That is it only looks at the left-hand side of the address for the recipient.
You need to enable the SMTP server in order to use it (see SMTP_ENABLE). The default port the server listens to is 7181, this can be changed using SMTP_PORT in the config file.
In order to limit access to the SMTP server you can specify hosts or networks that can access the server, see ACCESS_SMTP. You can also specify users and password using USER_FILE.
Keywords used by the SMTP server:
SMTP_ENABLE, SMTP_PORT, ACCESS_SMTP, USER_FILE