On Thu, May 29, 2003 at 02:32:05PM +0200, Tony Earnshaw wrote:

> > > 3rd and 4th are *always* consecutive, whether you like it or not.
> 
> > They are not always. It often happens that mailer logs some message
> > that comes between these 3rd and 4th lines of spamd.
> 
> Possibly. I don't know what you mean by the above;) For me, 3rd and 4th
> are consecutive. There's no such thing as 3 1/2-th, 3 1/3-th etc.

Carefully avoiding the word consecutive here:

Entries:

1:  ... connection from localhost [127.0.0.1] at ...
2:  ... info: setuid to <username> succeeded 
3:  ... processing message <message-ID> ...
4:  ... clean message (-2.2/5.0) for ...

It is possible that other lines come inbetween the 3rd and 4th line
of this spamd logentry.  This makes it hard to correlate the message-ID
and the number of spam points.

Also consider the case where multiple spamd processes are run on one
box, where multiple machines log to one syslog et cetera.

Extreme case:

- ... mailer log entry
- ... mailer log entry
- ... spamd log line 1
- ... spamd log line 2
- ... mailer log entry
- ... other spamd log line 1
- ... other spamd log line 2
- ... other spamd log line 3
- ... mailer log entry
- ... spamd log line 3
- ... other spamd log line 4
- ... mailer log entry
- ... mailer log entry
- ... mailer log entry
- ... spamd log line 4

Using the PID may help but I still feel this leaves room for
problems/errors.

cheers,
Alex


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to