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!

tough question

Discussion in 'E-mail Discussion' started by cartpauj, Oct 25, 2007.

  1. cartpauj

    cartpauj Registered

    Joined:
    Oct 25, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    I have a script on my site that allows users to create their own E-Mail accounts (without being logged in to Cpanel as an Admin). I think some of my users may be abusing this for SPAM accounts...I need to know if there is a way to log into and administrat the various accounts without knowing or changing the users password? Thanks,
    cartpauj
     
  2. ServerNet

    ServerNet Member

    Joined:
    Aug 19, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    Non that I am aware of. Try the logs instead. Should be proof enouth.
     
  3. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    You can log in to any cPanel account on a given server using the account's user name and the server's root password.

    Is this what you're looking to do?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cartpauj

    cartpauj Registered

    Joined:
    Oct 25, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Where do I find the log files?
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You will find cPanel log files in: /usr/local/cpanel/logs/

    access_log may be of some use.
     
  6. cartpauj

    cartpauj Registered

    Joined:
    Oct 25, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Ok I downloaded the Access log for my site and opened it in NotePad but I don't have a clue how to interpret which ones of the IP addresses would let me know if some of the E-Mail accounts are being used for spam purposes? Thanks for the help so far but any more would be great. Is there maybe a way to view what their passwords are?
     
  7. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Well looking for mail logs, you should check /var/logs/exim_mainlog
     
  8. Ankushforyou

    Ankushforyou Member

    Joined:
    Apr 16, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    151
    To view the logs for your email users with your domain name , you can check it by following comand :

    tail -f /var/log/exim_mainlog | grep yourdomainname

    You will be able to view the Spam sender's , who is using your domain to send spams.

    Regards,
    Anky ... :cool:
     
  9. cartpauj

    cartpauj Registered

    Joined:
    Oct 25, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Where would I enter this command? Thanks for the help everyone.
     
  10. mohit

    mohit Well-Known Member

    Joined:
    Jul 12, 2005
    Messages:
    553
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Sticky On Internet
    you would need to login to SSH as root to be able to run the tail command.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Tam

    Tam Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    108
    Likes Received:
    1
    Trophy Points:
    168
    Assuming that you have access to WHM, then install ConfigServer Mail Manage from http://www.configserver.com/cp/cmm.html (the instructions to do so are there).
     
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