Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th February 2009, 13:55
wiseman wiseman is offline
Member
 
Join Date: Jan 2009
Posts: 52
Thanks: 2
Thanked 1 Time in 1 Post
Default 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 by wiseman; 20th February 2009 at 14:30.
Reply With Quote
Sponsored Links
  #2  
Old 21st February 2009, 18:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Quote:
Originally Posted by wiseman View Post
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 View Post
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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
wiseman (21st February 2009)
  #3  
Old 21st February 2009, 20:16
wiseman wiseman is offline
Member
 
Join Date: Jan 2009
Posts: 52
Thanks: 2
Thanked 1 Time in 1 Post
Default 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 by wiseman; 21st February 2009 at 20:26.
Reply With Quote
  #4  
Old 22nd February 2009, 20:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

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).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 23rd February 2009, 11:22
wiseman wiseman is offline
Member
 
Join Date: Jan 2009
Posts: 52
Thanks: 2
Thanked 1 Time in 1 Post
Default 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 by wiseman; 23rd February 2009 at 22:16.
Reply With Quote
  #6  
Old 25th February 2009, 10:25
wiseman wiseman is offline
Member
 
Join Date: Jan 2009
Posts: 52
Thanks: 2
Thanked 1 Time in 1 Post
Default 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 by wiseman; 26th February 2009 at 13:57.
Reply With Quote
  #7  
Old 26th February 2009, 20:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
 
Default

You've installed the latest DCC version, so you're not affected by that bug.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dspam + postfix : dspam didn't tag header messages NothingHere Server Operation 1 31st October 2008 16:57
can't receive mail from outgoing postfix nmy Server Operation 4 26th October 2008 15:04
SpamSnake SpamAssassin not working? getrav HOWTO-Related Questions 5 23rd June 2008 23:02
postfix, backup mx host + spam and virus scanning enabled rdeussen Tips/Tricks/Mods 6 6th November 2006 14:12


All times are GMT +2. The time now is 11:19.


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