Page 1 of 1

how to allow smtp.office365.com in csf?

Posted: 14 Dec 2016, 07:07
by koms
Dear professionals I need your help.
How to security solve this task?
One of my clients need to send e-mail from web form. He uses smtp.office365.com.
If I add "nobody" to SMTP_ALLOWUSER, he can do what he wants.

No I wander if is't ok to add "nobody" to SMTP_ALLOWUSER?

Wasn't it better to allow connection to smtp.office365.com?
If yes, how to add host name (instead of IP) into allow list?

Re: how to allow smtp.office365.com in csf?

Posted: 29 Jul 2017, 11:50
by kharry
I'd recommend adding the username of the specific cPanel user looking to connect outbound. That'd be a more secure option than simply allowing nobody (anyone).