On Wed, 23 Jul 2003, Filip wrote:

>
> Hello,
>
> I'm using XMAil 1.17 on Linux RH9.
>
> In file [/var/MailRoot/filters.in.tab] I have this
> "*"     "*"     "0.0.0.0/0"     "0.0.0.0/0"     "XM_AV_Filter.tab"
> "*"     "*"     "0.0.0.0/0"     "0.0.0.0/0"     "XM_Content_Filter.tab"
>
> In directory [/var/MailRoot/filters/] I have two files :
>         XM_AV_Filter.tab
>         XM_Content_Filter.tab
>
>
> In file [/var/MailRoot/filters/XM_AV_Filter.tab], I have this line
> "/var/MailRoot/filters/XM_AV_Filter/XM_AV_Filter.sh"    "@@FILE"        "@@FROM"     
>    "@@RCPT"
>
>
> In [/var/MailRoot/filters/XM_Content_Filter.tab] I have this line
> "/var/MailRoot/filters/XM_Content_Filter/XM_Content_Filter.sh"  "@@FILE"        
> "@@FROM"        "@@RCPT"
>
>
> When a virus is found, bash script XM_AV_Filter.sh issues an exit 6 and the mail
> is rejected. Fine.
>
> When a bad content (ie "Viagra Online" spam) is found, bash script
> XM_Content_Filter.sh issues an exit 6 and the mail is NOT rejected :-(

Pls check again. I just tried on my setup and it works fine. Are you sure
both filters get executed ? Is there an end of line at the end of the last
line ?



- 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]

Reply via email to