I have more data - It seems important. I have verified this behavior on 2 completely different boxes, and its absolutely consistent. (Win2KServer, fully patched)
When the filter returns a value of Zero, or say, 2 - it only runs once. BUT when the filter returns a 6 - its runs TWICE. Please somebody try and duplicate this - I'm well and truly stuck until I can figure out why the filters run twice. Davide - I this might not make sense - but it's happening and repeatable - it must be real. Can anyone else duplicate this behavior? Make filter in either PHP or VB (same results in either language). Just have it return a 0, or a 6. Have it make some log entries so you can track how many times it runs. On all my Windows 2K machines, a returned 6 will cause the filter to run twice. I have tested returning a zero, or a 2, and neither of those return values cause the filter to run twice. This is xmail vers. 1.16 & 1.17. (Versions as late as 1.11 do NOT exhibit this behavior at all) Puzzled - does anyone have any thoughts? Tony > The destination ([EMAIL PROTECTED]) is not handled locally. Also, > filters.in.tab is set only for [EMAIL PROTECTED] > So - I have no filters.out.tab, so outbound to [EMAIL PROTECTED] should > not be tripping a filter. > This behavior happens the same if I return a zero as well, or any other > return, or if I don't specifiy a return. All produce same behavior. > > More ideas? > > > ----- Original Message ----- > From: "Davide Libenzi" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, May 18, 2004 12:39 PM > Subject: [xmail] Re: Filters Run More than Once > > > > On Tue, 18 May 2004 [EMAIL PROTECTED] wrote: > > > > > Davide; > > > > > > Here is the output from the debug you did ask for. ONE SINGLE EMAIL was > > > received. There are NO other filters in filters.in.tab. Filters.out.tab > is > > > empty. What can I try next? > > > > > > Debugging XMail Server. > > > SMAIL thread [00] started > > > SMAIL thread [01] started > > > SMAIL thread [02] started > > > SMAIL thread [03] started > > > [XMail 1.17 (Win32/Ix86) PSYNC Server] started > > > LMAIL thread [00] started > > > LMAIL thread [01] started > > > LMAIL thread [02] started > > > [XMail 1.17 (Win32/Ix86) POP3 Server] started > > > [XMail 1.17 (Win32/Ix86) ESMTP Server] started > > > [XMail 1.17 (Win32/Ix86) FINGER Server] started > > > [XMail 1.17 (Win32/Ix86) CTRL Server] started > > > SMTP client connection from [192.153.125.11] > > > SMAIL local SMTP = "defiant.federation.local" From = > <[EMAIL PROTECTED]> > > > To =<[EMAIL PROTECTED]> > > > SMTP client exit [192.153.125.11] > > > Filter run: Sender = "[EMAIL PROTECTED]" Recipient = > "[EMAIL PROTECTED]" > > > Filter = "c:\\php\\php.exe -q c:\\xmail\\mailroot\\filters\\conc.php" > > > Retcode = 6 > > > SMAIL SMTP-Send RLYS = "192.153.125.11" SMTP = "colsolgrp.org" From = > > > "[EMAIL PROTECTED]" To = "[EMAIL PROTECTED]" > > > SMAIL local SMTP = "colsolgrp.org" From = <[EMAIL PROTECTED]> To = > > > <[EMAIL PROTECTED]> > > > Filter run: Sender = "[EMAIL PROTECTED]" Recipient = > "[EMAIL PROTECTED]" > > > Filter = "c:\\php\\php.exe -q c:\\xmail\\mailroot\\filters\\conc.php" > > > Retcode = 6 > > > > you're rejecting the message (6) with a request to send a notification > > message to the sender ([EMAIL PROTECTED]). That's is eventually handled > > locally and generate the other message (still rejected with 6). > > > > > > > > - Davide > > > > - > > 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] > > > > > > - > 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] > > - 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]