How can we help?

How do I configure Email2SMS plugin to accept FQDN email addresses

Follow

Is it possible to change 123456789@192.168.0.101 to 123456789@yourdomain.com?

Disclaimer: Before you setup your SMSEagle device to accept FQDN email addresses, be aware, that a weak point of such configuration will be your DNS server. Once DNS server becomes unavailable (it breaks or connection to it will break) your Email2SMS messages will not be sent. This is additional risk point in terms of sustainability of your configuration.



If you accept abovementioned disclaimer, here are the steps for settting-up your SMSEagle to accept FQDN addresses:

1. Configure domain yourdomain.com
on your DNS server to point to SMSEagle device (A, MX entries).

2. Login to your SMSEagle device with SSH

3. Edit file:

[for NXS device type:]
/etc/postfix/main.cf

[for NPE device type:]
/mnt/nand-user/postfix/etc/postfix/main.cf

a) find line: myhostname = localhost.localdomain
b) comment the line (add a # sign before it):
#myhostname = localhost.localdomain
c) add new line: myhostname = yourdomain.com
d) save file, exit from editor

4. Reload Postfix configuration with command
postfix reload

Was this article helpful?
1 out of 1 found this helpful