I can run the following command and connect successfully under root account:
telnet smtp.office365.com 587
When run under any other account this will not connect, receive:
Trying 40.100.29.34...
telnet: connect to address 40.100.29.34: Connection refused
I have tried setting in WHM:
Server Settings >> Tweak Settings:
Prevent “nobody” from sending mail [?] = off
Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak) [?] = off
And set:
Security Centre >> SMTP Restrictions: Disabled.
Same issue.
What am I missing?
Started looking in to this due to an account on the server wanting to use PHPMailer to send mail using O365 server and they get the connection refused error.
telnet smtp.office365.com 587
When run under any other account this will not connect, receive:
Trying 40.100.29.34...
telnet: connect to address 40.100.29.34: Connection refused
I have tried setting in WHM:
Server Settings >> Tweak Settings:
Prevent “nobody” from sending mail [?] = off
Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak) [?] = off
And set:
Security Centre >> SMTP Restrictions: Disabled.
Same issue.
What am I missing?
Started looking in to this due to an account on the server wanting to use PHPMailer to send mail using O365 server and they get the connection refused error.