>
> On Wed, 3 Sep 2003, spankie wrote:
>
> > > On Wed, 3 Sep 2003, spankie wrote:
> > >
> > > >
> > > > I am running into a strange problem.  I am filtering incoming
e-mails
> > with
> > > > two filters, an antivirus script first, and then a spam detecting
> > script.
> > > > Occasionally, when the antivirus script runs and returns a 7 after
> > finding
> > > > no viruses and adding a header, the spam script starts but will
error
> > saying
> > > > that it cannot find the message file being passed to it via @@FILE.
> > > >
> > > > I can duplicate it by creating a loop sending messages, but can't
find
> > the
> > > > pattern.  Sometimes the first message, sometimes the fifth, tenth,
etc.
> > > > Sometimes it happens with just one incoming message.
> > > >
> > > > I am running xmail 1.17-pre03 on red hat 7.3.
> > > > Any ideas?
> > >
> > > This is very likely due to a non-reentrant filter.
> > >
> > > - Davide
> >
> > Sorry, can you help me with what that actually means?
>
> XMail sending happen in parallel, so multiple copies of your filters might
> be running at the same time. If you use fixed path locations, you're going
> to be screwed. You need to use the @@FILE (that is unique) in your paths.
>
>
> - Davide
>
> -
Both scripts use @@FILE as the input to process the message and use work
directories created with random generated values.  The antivirus script is
the one peter lindeman contributed and the spam script is the spamassassin
script contributed by don drake.  Based on the XMail logs, some of these
errors occur when there are no other messages coming in at least 30 minutes
before or after.   That's what makes it so puzzling.

It is safe to say the scripts for a single message are executed
consecutively and not in parallel, correct?

thanks,

randy

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to