How can we help?

Email2SMS - configure email relaying


Built-in Postfix in its default configuration accepts only emails addressed to it as an SMTP server e.g number@smseagle_ipand by default rejects emails sent to different domains (so it can't be used for email spoofing) but it can be configured to relay them further if necessary.

To do so, please connect with SSH (as root) to your SMSEagle device and in the file /etc/postfix/ please modify parameter
#relay_domains = $mydestination
relay_domains = $mydestination,

Then emails to would be forwarded. If you need more domains, just add them in the same line, separating with comma:
relay_domains = $mydestination,,

Optionally it also may be necessary to change:
mynetworks_style = host
mynetworks_style = subnet
but this you will need to check if it's required in your environment.

After changes please restart the Postfix service:
service postfix restart

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