Re: Can't configure spamd correctly

2004-12-07 Thread Info
Well, some progress

1) The problem with spamd was that, running as vscan it couldn't read
/etc/mail/spamassassin. My own dumb fault, corrected this and the log
now looks a lot healthier.

2) Amavisd-new seems to call perl-spamassassing directly, and keeps
child processes running at the ready. So spamd was never being used, and
wouldn't benefit me if it were.

Conclusion: Don't use spamd.

Thanks for the help

Paul Hilton

On Mon, 2004-12-06 at 15:04, Theo Van Dinter wrote:
> On Mon, Dec 06, 2004 at 02:57:02PM -0500, Info wrote:
> > Why is spamd running with a home directory under /tmp ?
> 
> The debug output you've shown is the initial temp message that gets sent
> through spamd to "prime the pump", so to speak.
> 
> > Dec  6 14:12:13 Pangloss spamd[23172]: debug: ignore: test message to
> > precompile patterns and load modules
> 
> :)



Re: Can't configure spamd correctly

2004-12-07 Thread Info
Jack,

Thanks for the suggestion, I may indeed do that, but at the moment
spamd isn't generating any messages after its startup. (unless I telnet
to it)

I start spamd with a script that came with the rpm package from SuSE in
/etc/init.d, the options are specified in the file /etc/sysconfig/spamd,
and I currently have SPAMD_ARGS="-d -a -L -D -x -u vscan", and
/etc/init.d/spamd does:
startproc -p /var/run/spamd.pid $SPAMD_BIN $SPAMD_ARGS

Paul Hilton

On Tue, 2004-12-07 at 10:01, Jack L. Stone wrote:
> At 09:51 AM 12.7.2004 -0500, Info wrote:
> >Theo,
> >
> >Thanks for the reply, and there may be some truth in that, but I'm not
> >convinced that it is ever working correctly.
> >
> >There have been NO spamd debug messages in the log since then, despite
> >emails being scanned. 
> >
> >There is never any message saying it actually found the Bayes data. I am
> >not convinced that spamd has ever found it, or that it is ever actually
> >being used.
> >
> >If I telnet to port 783 I do get spamd debug messages.
> >
> >Paul Hilton
> >
> >
> 
> You could isolate the spamd-only messages by adding a syslog switch:
> 
> Like so:
> /usr/local/bin/spamd --syslog=local1 -u spamd -x -d -r
> /var/run/spamd/spamd.pid
> 
> HTH.
> 
> 
> Happy trails,
> Jack L. Stone
> 
> System Admin
> Sage-american



Re: Can't configure spamd correctly

2004-12-07 Thread Jack L. Stone
At 09:51 AM 12.7.2004 -0500, Info wrote:
>Theo,
>
>Thanks for the reply, and there may be some truth in that, but I'm not
>convinced that it is ever working correctly.
>
>There have been NO spamd debug messages in the log since then, despite
>emails being scanned. 
>
>There is never any message saying it actually found the Bayes data. I am
>not convinced that spamd has ever found it, or that it is ever actually
>being used.
>
>If I telnet to port 783 I do get spamd debug messages.
>
>Paul Hilton
>
>

You could isolate the spamd-only messages by adding a syslog switch:

Like so:
/usr/local/bin/spamd --syslog=local1 -u spamd -x -d -r
/var/run/spamd/spamd.pid

HTH.


Happy trails,
Jack L. Stone

System Admin
Sage-american


Re: Can't configure spamd correctly

2004-12-07 Thread Info
Theo,

Thanks for the reply, and there may be some truth in that, but I'm not
convinced that it is ever working correctly.

There have been NO spamd debug messages in the log since then, despite
emails being scanned. 

There is never any message saying it actually found the Bayes data. I am
not convinced that spamd has ever found it, or that it is ever actually
being used.

If I telnet to port 783 I do get spamd debug messages.

Paul Hilton


On Mon, 2004-12-06 at 15:04, Theo Van Dinter wrote:
> On Mon, Dec 06, 2004 at 02:57:02PM -0500, Info wrote:
> > Why is spamd running with a home directory under /tmp ?
> 
> The debug output you've shown is the initial temp message that gets sent
> through spamd to "prime the pump", so to speak.
> 
> > Dec  6 14:12:13 Pangloss spamd[23172]: debug: ignore: test message to
> > precompile patterns and load modules
> 
> :)



Re: Can't configure spamd correctly

2004-12-06 Thread Theo Van Dinter
On Mon, Dec 06, 2004 at 02:57:02PM -0500, Info wrote:
> Why is spamd running with a home directory under /tmp ?

The debug output you've shown is the initial temp message that gets sent
through spamd to "prime the pump", so to speak.

> Dec  6 14:12:13 Pangloss spamd[23172]: debug: ignore: test message to
> precompile patterns and load modules

:)

-- 
Randomly Generated Tagline:
You mean, I'm on my own?  I've never been on my own.  Oh no!  On 
 own!  On own!  I need help.  Oh, God help me!  Help me, God!
 
-- Homer Simpson
   Homer Badman


pgpfkWQMQcYtV.pgp
Description: PGP signature