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!

Track ports used for smtp auth?

Discussion in 'E-mail Discussion' started by MACscr, Nov 6, 2013.

  1. MACscr

    MACscr Well-Known Member

    Joined:
    Sep 30, 2003
    Messages:
    193
    Likes Received:
    1
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    I am planning to close off port 25 in the near future for incoming connections except from my anti-spam gateway that will be setting in front of my cpanel server. I am though concerned that some users might still be using port 25 versus 587 or 465 for smtp. The only smtp authentication i am seeing in the exim_mainlog is failed connections and standard non authenticated connections. Am a missing something? Any suggestions for tracking what ports are being used for smtp auth and from what email accounts/domains?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,216
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MACscr

    MACscr Well-Known Member

    Joined:
    Sep 30, 2003
    Messages:
    193
    Likes Received:
    1
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    That thread doesn't help me at all. You seem to try to educate the user on what ports are used for what, which i already know. As explained, I'm looking for only to find out what users are using port 25 for SMTP auth only, not general connections for server to server communication.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,216
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    The thread I referenced lists a couple of ways of checking for this (through CSF and with custom IPTables rules). I presume you read through the entire thread, and not just the first post? I am not aware of any other methods of tracking which IP addresses are connecting to port 25, however I will leave this thread open for others to add their input.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. MACscr

    MACscr Well-Known Member

    Joined:
    Sep 30, 2003
    Messages:
    193
    Likes Received:
    1
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Yes I did read the whole thing and I think you are overlooking the key word here "auth". As in smtp authentication. A lot of traffic obviously flows through port 25 that isnt authenticated as its server to server communication. I am only looking to track users that are authenticated/submitting through port 25. The exim_mainlog appears to track users that fail their authentication on port 25 and the maillog keeps track of imap/pop3 connections, but for some reason I cant seem to find a record of valid smtp auths on port 25.
     
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