> -----Original Message-----
> From: Dave Sill [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 30, 2003 8:03 AM
> To: [EMAIL PROTECTED]
> Subject: [SAtalk] spamc/spamd not checking all messages
> 
> 
> I'm using 2.55 under Red Hat 8 and qmail with qmail-scanner-1.16. I
> *think* this problem started when I upgraded to 2.55 from 
> 2.50, but I'm not sure. I'm using nearly the same 
> configuration at home and not seeing this problem.
> 
> What's happening is that some spam (~5-10/day out of 60-70) 
> is not being checked correctly by spamd. For example, an 
> obvious spam contains the header field:
> 
>   X-Spam-Status: No, hits=0 required=0
> 
> Syslog shows, for this message:
> 
>   Jul 29 23:33:18 sws5 spamd[5574]: checking message 
> <[EMAIL PROTECTED]> for qmailq:49503. 
> 
> I.e., it shows spamd is seeing the message, but there's no 
> line indicating whether it was determined to be clean or spam.
> 
> Has anyone else seen this? Is there any way to tell what's 
> causing spamd not to correctly check the message?
> 

why not run in debug mode so you can go back and check your logs?

i run spamd via daemontools like this..

[EMAIL PROTECTED] spamd]# cat /service/spamd/run
#!/bin/bash
exec /usr/bin/spamd -D -q -a -x 2>&1

and log it like this..

[EMAIL PROTECTED] spamd]# cat /service/spamd/log/run
#!/bin/sh
PATH=/bin:/usr/local/bin
exec setuidgid nobody multilog t !append_spamd /var/log/spamd

and my append_spamd script handles the appending, so i get more than
just a few minutes worth of logging....

[EMAIL PROTECTED] spamd]# cat /bin/append_spamd
#!/bin/bash
PATH=/usr/local/bin
tai64nlocal  >>/var/log/spamd/spamdlog


[EMAIL PROTECTED] log]# ls -lad /var/log/spamd
drwxr-----    2 nobody   nofiles      4096 Jul 30 08:31 /var/log/spamd


[EMAIL PROTECTED] log]# ls -la /var/log/spamd
total 7248
drwxr-----    2 nobody   nofiles      4096 Jul 30 08:31 .
drwxr-xr-x   11 root     root         4096 Jul 27 05:33 ..
-rwxr--r--    1 nobody   nobody          0 Jul 30 08:23
@400000003f27c6cf086928fc.s
-rwxr--r--    1 nobody   nobody          0 Jul 30 08:23
@400000003f27c6cf0ab56abc.s
-rwxr--r--    1 nobody   nobody          0 Jul 30 08:23
@400000003f27c6df31d61844.s
-rwxr--r--    1 nobody   nobody          0 Jul 30 08:28
@400000003f27c8240fd379bc.s
-rwxr--r--    1 nobody   nobody          0 Jul 30 08:28
@400000003f27c824143fad7c.s
-rwxr--r--    1 nobody   nobody          0 Jul 30 08:28
@400000003f27c82417d7bca4.s
-rwxr--r--    1 nobody   nobody          0 Jul 30 08:28
@400000003f27c8241e8eedec.s
-rwxr--r--    1 nobody   nobody          0 Jul 30 08:28
@400000003f27c82420f3f384.s
-rwxr--r--    1 nobody   nobody          0 Jul 30 08:31
@400000003f27c8d9037d3234.s
-rw-r--r--    1 nobody   nobody      22574 Jul 30 08:32 current
-rw-------    1 nobody   nobody          0 Jun 13 09:37 lock
-rw-r--r--    1 nobody   nobody    2342603 Jul 30 08:31 spamdlog
-rw-r--r--    1 nobody   nobody    5027256 Jul 30 03:51 spamdlog.1.gz
-rw-r--r--    1 nobody   nobody          0 Jul 30 08:31 state


then i have a log rotate script that handles the rotation of spamdlog
for 30 days...

[EMAIL PROTECTED] log]# cat /etc/logrotate.d/spamd
/var/log/spamd/spamdlog {
    missingok
    sharedscripts
    daily
    rotate 30
    compress
}


if i think something is wrong with my spamd, its much easier to browse
through logs than trying to replicate it.

are you sure those messages that score 0/0 arent > 256Kb in size so
spamd does not scan them?

Dallas


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to