I have a puzzling thing.... xmail 1.16 /1.17 On Win2kServer (patched up to
date), filters launched from filters.in.tab seem to launch multiple copies
of the filter almost all at once.  I have written the same filter in two
different languages and get the same behavior. I was surprised - I really
thought it had something to do with the langauge the filter was written in.
But Noooooo . . .

I have simplified the filter untill all it does is log the fact that it
started, and then it exits.  XMAIL does get the return code in every
case..... and responds the way it should.  BUT, it runs the filter several
times?!  There is almost no chance its a program loop in the filter, and the
filter is NOT self reentrant.  It really is like three lines long at this
point. Open, log startup, and exit.

After receiving ONE email only, here is the log for Joe, showing it runs
twice. (It should run only once):
05-18-2004 03:39:59:  Started.(@@FROM @@RRCPT passed are just fine and
dandy)
05-18-2004 03:40:00:  Started. (@@FROM @@RRCPT passed are not valid in this
copy)

filters.in.tab
"*"[tab]"[EMAIL PROTECTED]"[tab] "0.0.0.0/0"[tab] "0.0.0.0/0"[tab] "concq.tab"
CRLF

\filters\concq.tab   (php version of the filter)
"c:\\php\\php.exe -q c:\\xmail\\mailroot\\filters\\conc.php"[tab]
"@@FROM"[tab]"@@RRCPT" CRLF
or
\filters\concq.tab   (VB Version of the filter)
"conc.exe"[tab] "@@FROM"[tab]"@@RRCPT" CRLF

Even more strange,   it seems like  the more complex the filter - and the
longer it takes to run - the more "extra" copies of itself it runs. And the
@@FROM And other parameters are all wrong every occurance of the filter
except the first one of the bunch.

I have started / stoped xmail.  Rebooted the server, and waved a dead
chicken over it, but nothing has helped.  I almost hope Im an idiot (you
don't have to rush to agree), and am making a basic mistake.  But I'm really
stumped - Any idea why my xmail server has decided to launch the same filter
over and over again?

Tony




-
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