ZMailer and MailScanner--a little problem.

Artur Meski apm at CIFRID.NET
Thu Jun 5 21:30:26 IST 2003


Hello MailScanner hackers.

I've found out, that in some conditions MailScanner behaves stangely.

Take a look at this:

[...]
Jun  5 17:39:56 naos MailScanner[49495]: Batch: Found invalid queue file for message 224686
Jun  5 17:39:56 naos MailScanner[49447]: Batch: Found invalid queue file for message 224686
Jun  5 17:39:58 naos MailScanner[49460]: Batch: Found invalid queue file for message 224686
Jun  5 17:40:01 naos MailScanner[49479]: Batch: Found invalid queue file for message 224686
Jun  5 17:40:01 naos MailScanner[49434]: Batch: Found invalid queue file for message 224686
Jun  5 17:40:01 naos MailScanner[49495]: Batch: Found invalid queue file for message 224686
Jun  5 17:40:01 naos MailScanner[49447]: Batch: Found invalid queue file for message 224686
Jun  5 17:40:03 naos MailScanner[49460]: Batch: Found invalid queue file for message 224686
Jun  5 17:40:06 naos MailScanner[49479]: Batch: Found invalid queue file for message 224686
[...]

It does not affect every message--it happens from time to time.

See attachement for queue file.  It has no 'from' field in "env" part
(I think, it's ok for ZMailer).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 224686
Type: application/octet-stream
Size: 5489 bytes
Desc: queue file
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20030605/a77ebbef/224686.obj
-------------- next part --------------

I use ZMailer version 2.99.56-pre4 (on mailhub).  I don't know on
which ZM. version MS. was tested and developed--maybe something
imporatnt has changed.

I've changed ZMailer.pm temporarily:

  -return 1 if $FROMFound && $TOFound && $IPFound;
  +return 1 if $TOFound && $IPFound;

Is it ok?


And one, small, additional question:
  When MailScanner drops privileges (Run As User = nonprivilegeduser)?


Artur Meski.

--
// WWW: artur.black.pl // PGP: finger apm at heze.cifrid.net //


More information about the MailScanner mailing list