17 msgGrub heartbreaker
2 msgproblems compiling tk-8.14.8
24 msgDoubt about FLAG use
3 msgQCA
3 msgScriptable terminal program
5 msgHelp with mounting an ISO file as non-root
9 msgsomebody using x11-drm?
3 msg/etc/conf.d/net woes with baselayout2
6 msgError while compiling python
3 msgscreen locks too frequently
8 msgkolab questions
3 msgNon-interactive bash help?
7 msgroot password on 2008.1-i686 minimal install
9 msgWhat overwrites resolv.conf
8 msgnet-setup package
27 msgOpenRC broke my LVM?
4 msgconfusing emerge output
1 msgbashdb and dev-libs/openssl-0.9.8g-r1
5 msgWhy does emerge ignore APACHE2_MPMS?

Qmail and Spamassassin won't integrate
\ darren kirby (21 Apr 2008)
. \ Tim Garton (21 Apr 2008)
. . \ darren kirby (21 Apr 2008)
. . . \ Sean (26 Apr 2008)

Subject:Re: Qmail and Spamassassin won't integrate
Group:Gentoo-user
From:Sean
Date:26 Apr 2008


 

On Mon, Apr 21, 2008 at 05:13:21PM -0600, darren kirby wrote:
> quoth the Tim Garton:
>
> Hi Tim,
>
> > I run spamassassin with exim, so can't offer all that much help, but
> > as for attempt 1 you may try running:
> > spamc -R < {some file containing full source of a sample email}
> >
> > to make sure spamassassin is running correctly. It should spit back a
> > score and a possibly a list of tests failed, depending on how
> > spamassassin is configured. if you don't get this, or get a score
> > like "0/0", something is wrong with your spamassassin setup.
>
> Thanks for this. 'spamc -R < testmail' was failing (hanging forever)
> while 'spamassassin < testmail' was working fine. This led me to run the
> spamc command within strace, which showed the command blocked during
> a 'connect' call to 127.0.0.7. Would you believe it was a firewall issue? I
> forgot to allow conections to localhost in my iptables script.
>
> > Also, you don't want the "-P" option anymore, it is deprecated and is
> > the default behaviour of spamassassin now. And you definitely don't
> > want it with spamc, since it is an invalid option. And yes, you do
> > want to use "spamc" over "spamassassin" for performance reasons.
>
> Thanks for the explanation.
>
> After confirming spamc now works I played around some more. It seems my
> ~/.qmail file was overriding the system-wide spam check in 'defaultdelivery'.
>
> I changed ~/.qmail from:
>
> |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver
>
> to:
>
> |spamc |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver
>
> ...and everything seems to be cherry now. All incoming mail now has X-Spam
> headers added.
>

qmail-scanner (mail-filter/qmail-scanner) can take care of that too, as
well as running the email through clamav (assuming you have that
installed).

--
Sean

Guy in Chicken Suit: Enjoy your chicken sandwich.
Stewie Griffin: Enjoy your studio apartment.



© 2004-2008 readlist.com