Skip to main content

Allow single account PHP direct email relaying

Comments

4 comments

  • cPanelMichael
    Hello :) Could you let us know which version of PHP is installed on this system? Have you reported the issue to the developers of the script? Thank you.
    0
  • aralis
    PHP Version 5.3.27 You can see full details here: - Removed - I have not reached out to the script provider as I have tried this same script on several different non-cpanel systems and it works fine. I will also not that in the past, it would not work on the cPanel system on standard SMTP ports with TLS or SSL encryption. The only way that I was able to get it working was to use the one nonstandard port that Amazon allows which is 2587. That solution was fine until cPanel patched it.
    0
  • aralis
    Okay you can disregard. I was unable to resolve the issue but I did find a workaround which is probably the appropriate way to do it in the first place. For reference for anyone with a similar issue, I added the following to the Exim config (through WHM I might add) to make the system MTA (exim) be in charge of the connection SES and I am using the swift class to pass the email along to the MTA.
    !ROUTERS send_via_ses: driver = manualroute domains = ! +local_domains senders = foo@bar.com transport = ses_smtp route_list = * email-smtp.us-west-2.amazonaws.com; !TRANSPORT BEGIN ses_smtp: driver = smtp port = 587 hosts_require_auth = $host_address hosts_require_tls = $host_address !AUTHENTICATION ses_login: driver = plaintext public_name = LOGIN client_send = : USERNAME : PASSWORD
    0
  • cPanelMichael
    I am happy to see you were able to address the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.