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!

How to determine is port 26 is actually being used?

Discussion in 'E-mail Discussion' started by Kent Brockman, Apr 29, 2009.

  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,189
    Likes Received:
    8
    Trophy Points:
    168
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi, how can be determined if any of the users is connecting thru port 26 rather than 25? May be executed any script or command a bit more elegant and clean than running something like the following?

    Code:
    cat /var/log/exim_mainlog|grep "[I]xxx.xxx.xxx.xxx[/I]]:26"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    1
    Trophy Points:
    166
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    You can try these good looking commands:
    1) grep ":26" /var/log/exim_mainlog
    2) netstat -nap | grep ":26"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,189
    Likes Received:
    8
    Trophy Points:
    168
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    yep, but i'm really looking for some reliable way to obtain some sort of listing reporting which users (accounts) have been using port 26 in a given moment.
     
    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