Ok, so what does this mean:??? > The syntax of each flag is either FLAG or FLAG=VAL.
The description indicates a feature that would be more flexible. The ability to run a filter for those that *are* auth or wlst and/or for those that *are not* auth or wlst. "!aex"[tab]"program1.exe" This only allows me to run for those *not Auth* (equivalent to !aex=1 ? ) 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 7:49 AM To: xmail@xmailserver.org Subject: [xmail] Re: filter aex & wlex 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 - 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]