On Sun, 1 Sep 2002, Theo Rosbag wrote:
> > Hello, > I'm using a viruscheck filter (viruscheck.pl from P Lindeman) to check > incoming/outgoing mail for virusses . > All went well until i try to send a very big attachement (about 550MB) . > Xmail seems to try to send the message during the virusscan , and after > a while it returns the following errorlog in the spool directory : > > [Start Log] > [PeekTime] 1030836324 : Sun, 01 Sep 2002 01:25:24 +0200 > << > ErrCode = -5 > ErrString = Timeout error > Filter error for domain "xxxxx.nl" (/var/MailRoot/filters/checkvirus.pl) > >> > << > ErrCode = -162 > ErrString = End of socket stream data > SMAIL SMTP-Send RLYS = "xxxxx.nl" SMTP = "xxxxx" From = [EMAIL PROTECTED]" To > = "[EMAIL PROTECTED]" Failed ! > [/end Log] > > In my opinion Xmail should wait for an exit code from the script before > sending the message or am i getting wrong? yes, it is possible. to prevent the SMAIL thread to get stuck forever there's an hard-coded timeout of 60 secs. this is the time XMail will wait for the filter command to complete. i'll make this configurable from the command 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]
