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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

View who connects using hostname

Discussion in 'E-mail Discussion' started by codepoet, Apr 25, 2018.

  1. codepoet

    codepoet Member

    Jun 28, 2017
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello, I am currently in the process of migrating my server to a more powerful one.

    The hostname will change to something more professional to what I had 10 years ago :).

    Now I have searched around, and couldn't find anything about this :

    How can I scan the mail or exim logs to view what email is connecting (imap, smtp) using the hostname instead of the per example ?

    The reason for this, before Auto SSL some clients didn't have a dedicated IP + SSL so they connected using the hostname of the server that had ssl. Now that I am moving servers, I would like to see what email accounts is using the hostname and notify them

    I will eventually push the old hostname to the new server by changing the A record but I wouldn't want any downtime for my clients.

    Thank you in advance
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    The log file for mail server login activity is located at:

    However, I don't believe you will be able to easily determine the specific mail server name the end-user is using in their email client, as the DNS lookup happens on their local computers. A better approach might be to send a notification to your clients ahead of time to alert them of the change.

    Thank you.

Share This Page