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!

Remote email server configuration

Discussion in 'E-mail Discussion' started by logixbytes, May 8, 2018.

  1. logixbytes

    logixbytes Registered

    Joined:
    Feb 2, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    Hi

    We have our main website on a dedicated server. (EXAMPLE.COM)

    Recently we have started to use AMAZON LIGHTSAIL VPS SERVER, where we have installed cPanel & WHM. We have created a sub-domain at dedicated server level for this VPS Server.

    What we want is?
    -> We want our applications to use DEDICATED SERVER to send all emails
    -> I have configured the remote email configuration
    -> create MX record with destination as MAIL.EXAMPLE.COM
    -> We are able to receive the mail's sent from this VPS Server
    -> But these emails are delayed by 4-10 hours
    -> And as soon as the email are sent from application, they end up in MAIL QUEUE MANAGER

    Can any one help me here, this is very urgent and i have tried all options, including take help from cPanel technical which did not work.

    Thanks a lot in advance

    Warm Regards,

    Venkatesha
     
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @logixbytes

    To clarify/confirm you have your sites hosted on the Amazon VPS but you'd like to use your dedicated server to send/receive mail. Is the holdup you're having only occurring with mail sent from the VPS? Since you're using the dedicated server to send mail for sites on the VPS you really shouldn't be sending mail from the VPS at all unless it's originating from a script.

    What software are you using on the Dedicated server?
    Is the mail in queue on the dedicated server or on the VPS?
    Do you have associated logs from either or both servers for a mail transaction that was held in queue?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. logixbytes

    logixbytes Registered

    Joined:
    Feb 2, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    What you understood is correct.
    -> This is a customized application for field management.
    -> Because we are growing fast, we are providing the same application (from the dedicated server) for clients completely customized to their requirement on Amazon Lightsail - VPS Servers along with cPanel (with WHM).
    -> Emails are sent from the application itself.
    -> Emails are in the queue on the VPS server
    -> Please let me know which log files you require, I will email it to you separately.
    -> We welcome any suggestion and willing to change our VPS server or application accordingly.

    Waiting for your reply,

    Warm Regards,

    Venkatesha
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    Can you let us know if you're using cPanel on the dedicated server as well as the VPS? The log files that would be the best to discern what is occurring would be /var/log/exim_mainlog you may want to take a few of the message ID's for messages stuck in queue and run the following:

    Code:
    exigrep <messageID> /var/log/exim_mainlog
     
    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