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.

tough question

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

  1. cartpauj

    cartpauj Registered

    Joined:
    Oct 25, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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:
    1
    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:
    36
    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?
     
  4. cartpauj

    cartpauj Registered

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

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    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:
    1
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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:
    1
    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:
    1
    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:
    16
    Location:
    Sticky On Internet
    you would need to login to SSH as root to be able to run the tail command.
     
  11. Tam

    Tam Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    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