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.

How to determine is port 26 is actually being used?

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

  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    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"
     
  2. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    16
    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"
     
  3. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    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.
     
Loading...

Share This Page