Hello, I am running into a problem on the server whereby a developer's phpMailer script is using EXIM to send outbound SMTP bulk messages to an opt-in list.
SMTP Restrictions are on
Added following rule to firewall to enable UID to send mail:
where MyUID = cPanel account username.
This seems to work as EXIM SMTP authenticates properly with a remote Office 365 Exchange Server, but randomly fails and then all outbound SMTP email requests stop authenticating (504 Gateway timeout)
Simply restarting the firewall resolves the issue and EXIM again properly authenticates with remote Exchange Server, but eventually the cycle repeats usually within the same day perhaps 7 or 8 hours later.
- Allison
SMTP Restrictions are on
Added following rule to firewall to enable UID to send mail:
Code:
iptables ACCEPT tcp -- 0.0.0.0/0 127.0.0.1 -dport 587 owner UID match MyUID
This seems to work as EXIM SMTP authenticates properly with a remote Office 365 Exchange Server, but randomly fails and then all outbound SMTP email requests stop authenticating (504 Gateway timeout)
Simply restarting the firewall resolves the issue and EXIM again properly authenticates with remote Exchange Server, but eventually the cycle repeats usually within the same day perhaps 7 or 8 hours later.
- Allison