ntegrating amavisd-new Into Postfix For Spam- And Virus-Scanning

Discussion in 'HOWTO-Related Questions' started by wiseman, Feb 20, 2009.

  1. wiseman

    wiseman New Member

    integrating amavisd-new Into Postfix For Spam- And Virus-Scanning

    falko thanks for this howto

    at the end of the howto you say that:

    'if you like you can now add Razor, Pyzor, and DCC to SpamAssassin to improve its filtering performance. Razor, Pyzor and DCC are spamfilters that use a collaborative filtering network. "

    dcc clint is no longer available in debian.
    but iI couLD still install razor and pyzor?

    the howto is working fine but I do notice that when I start and shutdown my
    server it does say something about spamassassin not being configured in /etc/default/spamassassin
    since amavisd is taking care of this I suppose it does not matter?



    wiseman:)
     
    Last edited: Feb 20, 2009
  2. falko

    falko Super Moderator Howtoforge Staff

    Yes.

    You can install DCC as follows:
    Code:
    cd /tmp
    wget http://www.dcc-servers.net/dcc/source/dcc-dccproc.tar.Z
    tar xzvf dcc-dccproc.tar.Z
    cd dcc-dccproc-1.3.102
    ./configure --with-uid=amavis
    make
    make install
    chown -R amavis:amavis /var/dcc
    ln -s /var/dcc/libexec/dccifd /usr/local/bin/dccifd
    In /etc/spamassassin/v310.pre you must enable the following line:
    Code:
    loadplugin Mail::SpamAssassin::Plugin::DCC
    What's in /etc/default/spamassassin?
     
  3. wiseman

    wiseman New Member

    here is /etc/default/spamassassin

    as requested here is the file
    it says on boot and shutdown:

    spamassassain mail filter daemon disabled see /etc/default/spamassassin

    (i made a mistake in my first post I said 'not configured' i ment 'disabled' I think I need to change
    ENABLED=0 to ENABLED=1 ?)


    # /etc/default/spamassassin
    # Duncan Findlay

    # WARNING: please read README.spamd before using.
    # There may be security risks.

    # Change to one to enable spamd
    ENABLED=0

    # Options
    # See man spamd for possible options. The -d option is automatically added.

    # SpamAssassin uses a preforking model, so be careful! You need to
    # make sure --max-children is not set to anything higher than 5,
    # unless you know what you're doing.

    OPTIONS="--create-prefs --max-children 5 --helper-home-dir"

    # Pid file
    # Where should spamd write its PID to file? If you use the -u or
    # --username option above, this needs to be writable by that user.
    # Otherwise, the init script will not be able to shut spamd down.
    PIDFILE="/var/run/spamd.pid"

    # Set nice level of spamd
    #NICE="--nicelevel 15"

    # Cronjob
    # Set to anything but 0 to enable the cron job to automatically update
    # spamassassin's rules on a nightly basis
    CRON=0


    wiseman:)
     
    Last edited: Feb 21, 2009
  4. falko

    falko Super Moderator Howtoforge Staff

    Yes, you can change it to ENABLED=1 (although I'm not quite sure now if amavisd connects to spamd or uses the spamassassin program).
     
  5. wiseman

    wiseman New Member

    re spamassassin

    I will change ENABLED to 1 see it makes a diffrence-thankyou falko


    In the 2nd post of this thread you showed how to install dcc-client from
    source but I was wondering if you would look at the bug report below and
    see if it affects the source tar ball also?




    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464161



    wiseman:)

    ps I notice that ubuntu also do not have this package any more
     
    Last edited: Feb 23, 2009
  6. wiseman

    wiseman New Member

    Does the bug report apply the source tar ball?

    Any one can answer my question in my lpost no5 in this thread please?

    thanks

    wiseman:)
     
    Last edited: Feb 26, 2009
  7. falko

    falko Super Moderator Howtoforge Staff

    You've installed the latest DCC version, so you're not affected by that bug.
     

Share This Page