> Ok, for consistency with the doc, now you can do the aex=0 smart thing.
Ok, ignore crossed email BTW, is that "!aex=0" or "aex=0" Does the "!" indicate Flags here, or does it mean "not" Rob :-) _________________________________________________ Note To Self: Remember to put something witty here later... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Davide Libenzi Sent: Monday, 20 November 2006 8:46 AM To: XMail mailing list Subject: [xmail] Re: filter aex & wlex On Sun, 19 Nov 2006, Davide Libenzi wrote: > On Sun, 19 Nov 2006, Rob Arends wrote: > > > > > Davide, let me first quote your documentation: > > > > <quote> > > "!flags"[TAB]"command"[TAB]"arg-or-macro"[TAB]...[NEWLINE] > > > > Each file may contain multiple commands, that will be executed in > > strictly sequential order. The first command that will trigger a > > rejection code will make the filtering process to end. The 'flags' > > parameter is a comma-separated list of flags that drives the filter > > execution. The syntax of each flag is either FLAG or FLAG=VAL. Currently supported flags are: > > > > aex > > exclude filter execution in case of authenticated sender > > > > wlex > > exclude filter execution in case the client IP is white-listed > > inside the SMTP.IPPROP.TAB file. > > </quote> > > > > I have recently attempted to use a post-data filter. > > I have need to execute one program if the user *was* authenticated, > > and another when the user was *not*. > > > > I tried this in "filters.post-data.tab", based on the FLAG=VAL > > detailed above. > > > > "!aex=1"[tab]"program1.exe" > > "!aex=0"[tab]"program2.exe" > > > > Hoping to achieve my goal, but I get both excluded. > > aex and wlex have no VAL. There is no point in adding them as aex=0 Ok, for consistency with the doc, now you can do the aex=0 smart thing. - 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]