You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Haines Brown <br...@hartford-hwp.com> on 2005/01/20 18:33:11 UTC

Off to a rocky start with amavix+spamd

My spamassassin 3.0.2 can be directed to tag a test message as spam
(debian testing), but amavisd-new is not automatically sending
messages to spamd for tagging as they come in. amavis does work to
filter viruses with clamAV. I'm running amavis as an interface for
postfix.

I know spamd is running. In /etc/default/spamassassin I have ENABLED =
1, and in amavisd.conf, I have $sa_local_tests_only = 0. But I don't
see any place to get spamd to filter incoming messages automatically. 

Haines Brown


Re: Off to a rocky start with amavix+spamd

Posted by Haines Brown <br...@hartford-hwp.com>.
> Date: Thu, 20 Jan 2005 20:15:37 +0100
> From: "Chr. von Stuckrad" <st...@mi.fu-berlin.de>
> 
> On Thu, Jan 20, 2005 at 12:33:11PM -0500, Haines Brown wrote:
> > My spamassassin 3.0.2 can be directed to tag a test message as spam
> > (debian testing), but amavisd-new is not automatically sending
> ...
> > I know spamd is running. In /etc/default/spamassassin I have ENABLED =
> > 1, and in amavisd.conf, I have $sa_local_tests_only = 0. But I don't
> > see any place to get spamd to filter incoming messages automatically. 
> 
> I wondered too, had to completely reinstall today (disk crash),
> and then couldn't get spamd to run, because it's 3.* since my
> now newer debian-sarge(testing) install.

Indeed, that's what happened to me. I had upgraded spamassassin
without realizing it (easy to do with debian apt), and the
configuration file therefore had obsolete lines that wouldn't parse. 

> So all you need to Spamassassin[ate]-via-amavis is spamassassin
> installed and switched on in amavis's config files.

I'm not getting any automatic spam checking, probably because I can't
find where in amavis.conf to switch checking on, other than setting
local_tests_only = 0; I've got spamd running and wonder it that could
be interfering with amavis doing checks.

Haines

Re: Off to a rocky start with amavix+spamd

Posted by "Chr. von Stuckrad" <st...@mi.fu-berlin.de>.
On Thu, Jan 20, 2005 at 12:33:11PM -0500, Haines Brown wrote:
> My spamassassin 3.0.2 can be directed to tag a test message as spam
> (debian testing), but amavisd-new is not automatically sending
...
> I know spamd is running. In /etc/default/spamassassin I have ENABLED =
> 1, and in amavisd.conf, I have $sa_local_tests_only = 0. But I don't
> see any place to get spamd to filter incoming messages automatically. 

I wondered too, had to completely reinstall today (disk crash),
and then couldn't get spamd to run, because it's 3.* since my
now newer debian-sarge(testing) install.

But looking at the logs and reading some readme(s) I was
reminded, that 'amavis-new' does *never* filter through 'spamd',
but (as it is already 'perlcode') it simply loads the Perl-Modules
of spamassassin and then calls perl-functions to analyze its
spool-files directly.  This is a lot faster, as the Mail needs
not to be copied to spamd and is (re)read directly by the same
daemon.

So all you need to Spamassassin[ate]-via-amavis is spamassassin
installed and switched on in amavis's config files.
And *there* should be the necessary configurations for
spamassassin too (well, I'll have to find them now, to change
to spamassassin 3 form today on)

Your's   Stucki    (very surprised postmaster)

-- 
Christoph von Stuckrad     * * |nickname |<st...@math.fu-berlin.de>\
Freie Universitaet Berlin  |/_*|'stucki' |Tel(days):+49 30 838-75 459|
Fachbereich Mathematik, EDV|\ *|if online|Tel(else):+49 30 77 39 6600|
Arnimallee 2-6/14195 Berlin* * |on IRCnet|Fax(alle):+49 30 838-75454/

Re: Off to a rocky start with amavix+spamd

Posted by Brian Wong <bw...@gmail.com>.
This really belongs on the Amavis-users list, but I can tell you right
now that amavisd-new does not use spamd. The spamd daemon does not
need to be running. Make sure that your domain is listed in the
@local_domain_maps in amavisd.conf for tagging to be performed.


On Thu, 20 Jan 2005 12:33:11 -0500 (EST), Haines Brown
<br...@hartford-hwp.com> wrote:
> My spamassassin 3.0.2 can be directed to tag a test message as spam
> (debian testing), but amavisd-new is not automatically sending
> messages to spamd for tagging as they come in. amavis does work to
> filter viruses with clamAV. I'm running amavis as an interface for
> postfix.
> 
> I know spamd is running. In /etc/default/spamassassin I have ENABLED =
> 1, and in amavisd.conf, I have $sa_local_tests_only = 0. But I don't
> see any place to get spamd to filter incoming messages automatically.
> 
> Haines Brown
> 
>