Hmmm everything looks good with the .tab structure.  I'm running XMail in debugging 
mode and I see

'Filter error for domain "somewhere.com" (/var/MailRoot/filters/viruscheck.pl)'
'Filter error for domain "somewhere" (/var/MailRoot/filters/viruscheck.pl)'

Can I interpret that as a domain error (ie Gated is screwing up)?.  And that there is 
nothing wrong with XMail?

Scott

----- Original Message ----- 
From: "Davide Libenzi" <[EMAIL PROTECTED]>
To: "Scott Ritchie" <[EMAIL PROTECTED]>
Cc: "XMAIL" <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 3:56 PM
Subject: RE: Filters


> 
> On 20-Sep-2001 Scott Ritchie wrote:
> > I've been having some dificulty getting anything to filter.
> > I'm using a perl script for virus detection, actually the one from Emmanuel 
>Gonzalez , Thankyou :) 
> > 
> > Now I can use the filter by hand it works perfectly.
> > ie. /var/MailRoot/filters/viruscheck.pl 1000855935072.19192859.ns me@somewhere 
>[EMAIL PROTECTED]
> > 
> > the two emails get sent and the virus is id right.  So its not the script or 
>McAfee or reformime.
> > 
> > Why is it not working on actual an email (with virus)?  
> > I've tried sending:
> >  the email through the server with Lredirect - email is sent/recieved
> >  the email through an external server and the Xmail server retrieving it via pop3 
>- email is sent/recieved  
> > 
> > the filters directory contains:
> > somedomain.com.tab     -contains : "/var/MailRoot/filters/viruscheck.pl"    
>"@@FILE"    "@@FROM"    "@@RCPT" 
> > defaultfilter.tab               -contains the same as above
> > reformime
> > viruscheck.pl
> 
> I don't know how viruscheck.pl works but you've to note that :
> 
> 1) in the head of the message there's the XMail header
> 2) the message MUST be reformatted with CRLF newline
> 
> 
> The file defaultfilter.tab is no longer checked, the new default file name is  .tab
> 
> 
> > Filters will work on pop3 right? and they should work on incoming SMTP
> 
> Yep, filter works for pop3 fetched messages as long as for smtp messages as long as
> locally generated messages.
> 
> 
> 
> 
> - Davide
> 

Reply via email to