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.

exim.conf - removing boxtrapper (boxtraper)

Discussion in 'General Discussion' started by webignition, Aug 29, 2005.

  1. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    I've recently noticed quite a few of the following in /var/log/exim_mainlog and exim_paniclog:

    Code:
    2005-08-29 19:47:08 failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.
    
    2005-08-29 19:47:08 failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.
    Firstly, I know that there have been some threads about this recently, however this goes on a little more . . .

    I've since followed some instructions for fully getting rid of anything boxtrapper, since, from what I've read, it's no longer present in cPanel. Specifically, I found the following post very useful http://forums.cpanel.net/showthread.php?p=205863#post198814:

    I checked /etc/exim.conf for any reference to boxtraper, as suggested, and found:

    Code:
    boxtraper_autowhitelist:
      driver = accept
      condition = "${perl{checkbx_autowhitelist}{$authenticated_id}}"
      require_files = "/usr/local/cpanel/bin/boxtrapper"
      transport = boxtrapper_autowhitelist
      unseen
    I considered commenting this out and decided to do it through the exim configuration in WHM to avoid any changes being overwritten by cPanel.

    Taking a look at the advanced exim configuration editor in WHM I can find no reference to the above quoted boxtraper snippet. I looked and looked and it is definitely not there.

    Therefore, my questions are:

    1. How could it be that /etc/exim.conf could contain something that does not show in the exim configuration editor in WHM? Is /etc/exim.conf not the right file to check?

    2. Would it be 'safe' to comment out the above quoted snippet in /etc/exim.conf? I understand that it is best to make changes through the exim configuration editor in WHM so as to avoid cPanel updates undoing changes, however this bit I need to change does not show in the exim configuration editor . . .
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'd first have a go at:

    /scripts/eximup --force

    To make sure that you have the latest /etc/exim.pl file.
     
  3. shann

    shann Well-Known Member

    Joined:
    Jul 5, 2002
    Messages:
    366
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    Possibly, you are missing exim.pl. Just replace with new one.
     
  4. RickG

    RickG Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    238
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    North Carolina
    Don't mean to revive this older thread, but I could sure use some help.

    - I have boxtrapper disabled in WHM.
    - I recently updated to WHM 10.8.0 cPanel 10.8.1-R30
    - BoxTrapper Spam Trap is unchecked under Server Configuration >> Tweak Settings
    - Despite the above, I am still seeing boxtrapper ...
    - a) update the file /.boxtrapper/white-list.txt in each users home directory (if I delete directories, they are re-created)
    - b) log R=boxtraper_autowhitelist T=boxtrapper_autowhitelist in /var/log/exim_mainlog as users send mail

    Forcing eximup does not change this behavior ... there are still loads of lines referencing boxtrapper in exim.conf (which I know I edit directly, but sounds like there should be a workaround for this).

    Jonathan ... you state: make sure that you have the latest /etc/exim.pl file. My /etc/exim.pl is dated Jul 28 08:15. Does anyone know if this is the correct file for 10.8.1-R30?

    Thanks -

    Rick
     
  5. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    Boxtrapper.

    The idea is great.

    The implementation simply does not work properly. Best to remove it.
     
  6. dstlink

    dstlink Member

    Joined:
    Apr 23, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    The Woodlands, TX
    I followed the guide a couple of posts above and removed all of the .boxtrapper entries. They were recreated. I also tried removing the boxtrapper entries in exim.conf and they were recreated during the update.

    I don't have Boxtrapper enabled anywhere in WHM, we are using the great MailScanner scripts from ConfigServer so cPanel SpamAssassin is also disabled.

    I'm beginning to think Boxtrapper is like a bad penny, it just keeps showing up.

    David
     
  7. siya

    siya Member

    Joined:
    Sep 28, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    I have tried all methods to remove boxtrapper that I found in cpanel forums for no use. It keeps reappearing after another upgrade. No matter even if it is not enabled in whm.

    Just wondering why can't cPanel provide us with an easy and effective tool to remove boxtrapper if it is not needed.

    :p
     
Loading...

Share This Page