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!

View who connects using hostname

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

  1. codepoet

    codepoet Member

    Joined:
    Jun 28, 2017
    Messages:
    9
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Canada
    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 mail.domain.com 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

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @codepoet,

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

    Code:
    /var/log/maillog
    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.
     
    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