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.

how2? Cpanel Pro and DCC

Discussion in 'General Discussion' started by dcc4me, Aug 11, 2004.

  1. dcc4me

    dcc4me Registered

    Joined:
    Aug 11, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
  2. chadi

    chadi BANNED

    Joined:
    Apr 20, 2004
    Messages:
    415
    Likes Received:
    0
    Trophy Points:
    0
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Which has nothing to do with what the OP asked for :rolleyes:

    Here're sintructions for installing DCC which does help improve SA scores:
    Code:
    wget http://www.dcc-servers.net/dcc/source/dcc-dccproc.tar.Z
    tar -xzf dcc-dccproc*
    cd dcc-dccproc-*/
    ./configure 
    make
    make install
    cdcc info
    cd ..
    rm -Rf dcc-dccproc*
    You will also have to open outbound UDP port 6277 if use use a firewall for it. SA will automatically detect whether DCC (and Razor below) is installed and start using it.

    I'd also recommend that you look at Vipul's Razor which does a similar thing and also helps improve SA scoring:
    http://razor.sourceforge.net
     
  4. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    Iv installed DCC on every box with the exception of 1. I have spent weeks searching for answers and i cannot resolve the make error on this server. Just cannot get a clean compile to finish the DCC installation.

    /usr/lib/libmilter.a(main.o): In function `smfi_register':
    main.o(.text+0x74): undefined reference to `strlcpy'
    /usr/lib/libmilter.a(main.o): In function `smfi_setconn':
    main.o(.text+0x12f): undefined reference to `strlcpy'
    /usr/lib/libmilter.a(listener.o): In function `mi_milteropen':
    listener.o(.text+0x184): undefined reference to `strlcpy'
    /usr/lib/libmilter.a(engine.o): In function `st_connectinfo':
    engine.o(.text+0x83a): undefined reference to `strlcpy'
    collect2: ld returned 1 exit status
    make[1]: *** [dccm] Error 1
    make: *** [all] Error 2

    Something about libmilter. Heck if i can work out what its asking for. Did not get this error on any other cpanel box. /usr/lib/libmilter.a is where is supposed to be. Not sure what its looking for otherwise. :confused:
     
  5. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    Solved.

    rm -f /usr/lib/libmilter.a

    Its not needed. :)
     
  6. qwerty

    qwerty Well-Known Member

    Joined:
    Jan 21, 2003
    Messages:
    213
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for that Chirpy!! Finally got DCC working... just one note to anyone else wanting to enable it, edit /etc/mail/spamassassin/v310.pre and uncomment the DCC line so that the plugin works. Remember to install the DCC plugin from WHM->Perl Modules as well.

    Any ideas how to install Razor2 as well ?? If its as easy as DCC please let us know Thanks
     
  7. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,279
    Likes Received:
    36
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    For DCC, if you're running a firewall, make sure you open up UDP 6277 inbound and outbound. If you install Razor, make sure to open TCP 2703 outbound.

    I used the following instructions (ignoring everything but the DCC and Razor instructions) for my install of DCC and Razor:

    Razor Install
    DCC Install

    Mike
     
    #7 mtindor, Sep 6, 2009
    Last edited: Sep 6, 2009
  8. qwerty

    qwerty Well-Known Member

    Joined:
    Jan 21, 2003
    Messages:
    213
    Likes Received:
    0
    Trophy Points:
    16
    hey Mike I'm a bit confused as to which one is correct ...

    Chirpy's instructions only talk of dcc-proc ..it's not a demon of any sort from what I can see. I've done it like that and SA seems to be using DCC. I don't have any DCC demons/processes running on the server

    The instructions you used talk about installing demons for DCC and Razor ... what gives? Any ideas?

    Cheers
    Dan
     
  9. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,279
    Likes Received:
    36
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    Installing DCC as a daemon is more efficient. It entailed editing the dcc_conf file and disabling the one option and enabling another (the daemon) option. And then, install the service and start it.

    This way you have a DCC daemon running in the background instead of each individual incoming email spawning a separate DCC .

    As it is now, if you aren't running as a daemon, you will only see a DCC process for a brief period when it is called during the scanning of an incoming message by spamassassin - it coudl be very brief and so most of the time you would not see it in the process list unless you get a ton of incoming mail.

    The razor I installed is not a daemon.

    Mike
     
  10. qwerty

    qwerty Well-Known Member

    Joined:
    Jan 21, 2003
    Messages:
    213
    Likes Received:
    0
    Trophy Points:
    16
    I see thanks for the explanation. I'll leave dcc as it is since the loads are not affected and it appears to be working too. Now time to install razor ..finally done with this :)

    Have you or your customers noticed a significant drop in (successful) spam ?
     
  11. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,279
    Likes Received:
    36
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    I have no clue if the customer notice. Not one of our Cpanel customers has ever complained about spam, over the course of five+ years. But I myself pay attention to those things. And Im sure these steps make a difference to them because they make a difference in what spam I get.

    Mike
     
Loading...

Share This Page