Searching the README, I found the following.

filters.in.tab
"sender"[TAB]"recipient"[TAB]"remote-addr"[TAB]"local-addr"[TAB]"filename"[N
EWLINE]
Your example would be:
"[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "0.0.0.0/0" "0.0.0.0/0" "exception.tab"

exception.tab
"command"[TAB]"arg-or-macro"[TAB]...[NEWLINE]
Your example would be:
"c:\winnt\system32\cmd.exe /c return8.bat"[NEWLINE]

return8.bat
@echo off
EXIT 8


If the filter returns "0" the message is allowed to pass, but if you add "8"
the next filter is NOT executed.  So if you return "0+8"  (ie."8") then you
have the ability to stop all further filter processing.

So in the example, if the to & from domains are your domain and the mail is
incoming (being delivered to a local mailbox) then execute the script
defined within exception.tab.  That script should do nothing, just exit with
return code 8.
You might want to play with the IP address also, to ensure you ONLY except
email that are locally created.  The above example will except mail created
by a user at home with a from address of [EMAIL PROTECTED] sending to
[EMAIL PROTECTED]  You may want to scan mail that originates offsite
regardless.

I haven't test the above, It's just theory, but let me know how you go.

Rob :-)

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of William
> Sent: Wednesday, August 27, 2003 7:47 AM
> To: [EMAIL PROTECTED]
> Subject: [xmail] Filters.in.tab
>
>
>
> Is there a way to avoid filtering mydomain to mydomain emails? I am NOT
> using an outgoing filter at all, but incoming mails from the same
> domain are
> still considered incoming, and people are upset that they get
> caught in the
> filter since I am not always around to hand filter for a time.
>
> Has anyone figured out of this is doable at all?
>
> XMail 1.15 Win32
>
> Thanks!
>
> -
> 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]

Reply via email to