Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    1

    Question how2? Cpanel Pro and DCC

    Is there a guide or experience here installing- and configuring DCC, http://www.rhyolite.com/anti-spam/dcc/ , to play nicely with SpamAssassin installed in CpanelPro?

    thanks

  2. #2
    BANNED
    Join Date
    Apr 2004
    Posts
    424

    Default

    Try Exim+ ClamAV instead. Works like a charm
    http://forums.cpanel.net/showthread....ht=exim+clamav

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Try Exim+ ClamAV instead
    Which has nothing to do with what the OP asked for

    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
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    Quote Originally Posted by chirpy
    Which has nothing to do with what the OP asked for

    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
    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.

  5. #5
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    Solved.

    rm -f /usr/lib/libmilter.a

    Its not needed.

  6. #6
    Member
    Join Date
    Jan 2003
    Posts
    169

    Default

    Quote Originally Posted by chirpy View Post
    Which has nothing to do with what the OP asked for

    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:
    Vipul's Razor: home
    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. #7
    Member
    Join Date
    Sep 2004
    Location
    inside a catfish
    Posts
    963
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by qwerty View Post
    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
    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
    Last edited by mtindor; 09-06-2009 at 07:31 PM.

  8. #8
    Member
    Join Date
    Jan 2003
    Posts
    169

    Default

    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. #9
    Member
    Join Date
    Sep 2004
    Location
    inside a catfish
    Posts
    963
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by qwerty View Post
    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
    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. #10
    Member
    Join Date
    Jan 2003
    Posts
    169

    Default

    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. #11
    Member
    Join Date
    Sep 2004
    Location
    inside a catfish
    Posts
    963
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by qwerty View Post
    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 ?
    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

Similar Threads & Tags
Similar threads

  1. Viro Networks Pro Reseller | Price of Starter for Pro!
    By ViroNetworks in forum Reseller Hosting
    Replies: 0
    Last Post: 10-06-2009, 10:01 PM
  2. SpamAssassin + DCC - DCC is not logging
    By mtindor in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-23-2009, 03:46 PM
  3. How2: Cpanel & WHM Newbie Guide:
    By hostmedic in forum Data Protection
    Replies: 80
    Last Post: 07-13-2009, 04:36 PM
  4. How2 put a lot of IPs to DENY MANAGER
    By gonz0 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-10-2005, 11:46 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube