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.

Where does Boxtrapper store it's config and other files?

Discussion in 'cPanel Developers' started by DogTags, Nov 2, 2004.

  1. DogTags

    DogTags Active Member

    Joined:
    Mar 10, 2002
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Hi All

    Trying boxtrapper

    Where are all the boxtrapper files stored?

    I'm trying to locate the config stuff mostly.

    Thanks :)
     
  2. danimal

    danimal Well-Known Member

    Joined:
    Jul 14, 2003
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    here they are...

    <account location>/etc/domain.com/person/.boxtrapper/X-list.txt

    So, for example, I have an account called "myhost" with the domain "mydomain.com" and an email account "danimal". The whitelist would be at:

    /home/myhost/etc/mydomain.com/danimal/.boxtrapper/white-list.txt

    -Danimal :cool:
     
  3. DogTags

    DogTags Active Member

    Joined:
    Mar 10, 2002
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Ah, thanks Danimal :)

    Sure would love to get either boxtrapper or better ASK working smoothly
     
  4. DogTags

    DogTags Active Member

    Joined:
    Mar 10, 2002
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Config file for boxtrapper

    Where is the main config file for boxtrapper?

    I was never able to get A-S-K to work, but I'm thinking that if I study the boxtrapper config file that it might help me understand how to set up A-S-K.

    Reason is that I don't know if/when boxtrapper might get updated, but if I can get A-S-K to work, then I could install that and keep it up to date.

    Thanks - Happy Turkey :)
     
  5. DogTags

    DogTags Active Member

    Joined:
    Mar 10, 2002
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Okay, I'm closer

    I've found stuff at:

    /usr/local/cpanel/base (webmailboxtrapper.cgi and a few other things)

    /usr/local/cpanel/base/frontend/x/cpanelpro (some of the html for the boxtrapper pages within admin)

    But....still trying to find the core config file(s)
     
  6. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Here is some help for you.

    /usr/local/cpanel/Cpanel/BoxTrapper.pm

    The BoxTrapper.pm is the perl script that is used to create most things for the users boxtrapper configuration. It is broken into multiple sub so it should not be too hard to read.
     
  7. DogTags

    DogTags Active Member

    Joined:
    Mar 10, 2002
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Thanks, dg :)

    I'll take a look in there.

    Gobble, Gobble <:>==
     
    #7 DogTags, Nov 25, 2004
    Last edited: Nov 25, 2004
Loading...

Share This Page