HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   ntegrating amavisd-new Into Postfix For Spam- And Virus-Scanning (http://www.howtoforge.com/forums/showthread.php?t=31569)

wiseman 20th February 2009 14:55

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:)

falko 21st February 2009 19:02

Quote:

Originally Posted by wiseman (Post 170679)
but iI couLD still install razor and pyzor?

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
Quote:

Originally Posted by wiseman (Post 170679)
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:)

What's in /etc/default/spamassassin?

wiseman 21st February 2009 21:16

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:)

falko 22nd February 2009 21:22

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

wiseman 23rd February 2009 12:22

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

wiseman 25th February 2009 11:25

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:)

falko 26th February 2009 21:02

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


All times are GMT +2. The time now is 12:29.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.