2
SMTP Relay only for localhost requests without authentication
Question asked by Andrea Pacini - 4/3/2021 at 3:22 AM
Answered
Is it possibile to set the SMTP Relay of SmarterMail to work without authentication only for websites on the server?

5 Replies

Reply to Thread
0
Sébastien Riccio Replied
Hello,
I guess you can whitelist localhost (127.0.0.1).

In Settings > Security > Whitelist > and add 127.0.0.1 with SMTP SMTP and SMTP Auth Bypass options.

Kind regards.
Sébastien Riccio System & Network Admin https://swisscenter.com
0
Andrea Pacini Replied
Thanks for your reply Sébastien

I tried but if I try to send an e-mail from a website without smtp authentication it still give me error.
Here is the whitelist configuration I've made.

Have you any suggestion to allow only websites on server to send mail without smtp authentication?

Thanks for your help.
0
Sébastien Riccio Replied
Hello,

Does it return an error message ? Do you send the message from the website on port 25 or 587 ?
Please set SmarterMail SMTP log to detailed (in troubleshooting) and try again, then check the SMTP log to find the failing transaction, it might contain some info about why it fails.

Kind regards
Sébastien Riccio System & Network Admin https://swisscenter.com
0
Andrea Pacini Replied
Marked As Answer
I got the problem.
I had to set the IP of the server in the whitelist. The 127.0.0.1 wasn't enough to allow websites to send e-mail throw mail server without authentication.

Now it's working.

Thank you very much for your help.
0
Kyle Kerst Replied
Employee Post
@Andrea - I am glad to hear you were able to resolve the issue! I do recommend removing the whitelisting for 127.0.0.1 as this can allow anything installed on the server (localhost) to send email without authenticating beforehand. 
Kyle Kerst System/Network Administrator SmarterTools Inc. (877) 357-6278 www.smartertools.com

Reply to Thread