Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Email interception

Discussion in 'E-mail Discussion' started by Ingens Networks, Oct 1, 2014.

  1. Ingens Networks

    Ingens Networks Registered

    Joined:
    Oct 1, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    At the moment, we don't use any CPANEL/WHM Email services (because we have other email server), but when we installed, we selected Exim as mail server. Now we verified that any of our hosted web sites can't send email to outside, because Exim or any other component on the server is intercepting SMTP connections and forcing to connect to localhost. For example.. we configure SMTP server as 213.27.221.213 in a Wordpress web site and when we try to send email we can see in web site logs that is trying to connect to localhost rather than the server specified in the code.. also happens with other type of libraries for example swiftmailer. We read some documentation about configuring Exim to forward all to other mail server, but in our case we would like that every web page will can use any SMTP server, and do not send emails through Exim..

    Do you understand me?

    Thanks!
     
  2. Ingens Networks

    Ingens Networks Registered

    Joined:
    Oct 1, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Also, we have this option for email routing:

    Capture.JPG

    Thanks
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,758
    Likes Received:
    1,886
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    What do you see in /var/log/exim_mainlog when a user attempts to send an email from their website's script?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Ingens Networks

    Ingens Networks Registered

    Joined:
    Oct 1, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi!

    The problema was solverd, The solution was to verify that all domains has configured "Remote Mail Exchanger" and verify that the setting in "WHM > Server configuration > Tweak Settings > Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak)" is Off

    Thanks
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,758
    Likes Received:
    1,886
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice