The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SMTP from remote server

Discussion in 'E-mail Discussions' started by AMB, Nov 30, 2015.

  1. AMB

    AMB Registered

    Nov 30, 2015
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hi I currently use an account on my main VPS as a central CMS where clients ect login and manage their CMS. Part of this system allows them to send emails but these emails are coming through as spam. When I try to login using PHP mail SMTP nothing happens so the emails have to be sent from the local SMTP server and recently these are now turning up as spam. Why can I not remote SMTP login to an account on server A from server B. I get no error logs but no emails are sent. What settings to do I need to allow on server B for emails to be sent via SMTP on server A.

    As a bit of further info I am using the following:

    $smtp =Mail::factory('smtp', array(
    #1 AMB, Nov 30, 2015
    Last edited by a moderator: Nov 30, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Have you reviewed /var/log/exim_mainlog for any specific error messages? Do you have "SMTP Restrictions" enabled via "WHM Home » Security Center » SMTP Restrictions"?

    Thank you.

Share This Page