From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dirk Kleinhesselink Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: MailScanner Date: Fri, 27 Jun 2003 08:54:51 -0700 (PDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1056729642 30223 80.91.224.249 (27 Jun 2003 16:00:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 27 Jun 2003 16:00:42 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Jun 27 18:00:40 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19VvYw-0007O8-00 for ; Fri, 27 Jun 2003 17:54:58 +0200 Original-Received: (qmail 32261 invoked by uid 5); 27 Jun 2003 15:55:08 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 32252 invoked by uid 49493); 27 Jun 2003 15:55:08 -0000 Original-Received: from dkleinh@phy.ucsf.edu by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-7.3/5.0):. Processed in 0.810432 secs); 27 Jun 2003 15:55:08 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 27 Jun 2003 15:55:07 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HH5005A5DJUWA@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 27 Jun 2003 11:55:06 -0400 (EDT) Original-Received: from lehrer.ucsf.edu (lehrer.ucsf.edu [128.218.64.95]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HH5008PODJKOS@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 27 Jun 2003 11:54:57 -0400 (EDT) Original-Received: from amadeus.ucsf.edu (amadeus.ucsf.edu [128.218.65.107]) by lehrer.ucsf.edu (8.11.6p2/8.11.6) with ESMTP id h5RFsq1829737 for ; Fri, 27 Jun 2003 08:54:52 -0700 (PDT) In-reply-to: X-Sender: dkleinh@amadeus.ucsf.edu Original-To: tru64-unix-managers@ornl.gov X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean Xref: main.gmane.org gmane.os.tru64.managers:4690 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4690 I finally got MailScanner working with sophos antivirus on Tru64 5.1A. The problem was that the Perl module file, Sys::Syslog.pm that is in the perl 5.6.0 distribution shipped with 5.1A, at least, is broken. I was able to get MailScanner going by changing the calls to the syslog utility from 'unix' to 'inet'. I probably could've also fixed by upgrading to a newer perl release. My fix was to modify the MailScanner perl library module, Log.pm (/opt/MailScanner/lib/MailScanner/Log.pm) and change the line: eval { Sys::Syslog::setlogsock('unix'); } # This may fail! to: eval { Sys::Syslog::setlogsock('inet'); } # This may fail! I had responses from Nikola Milutinovic, who advised the use of AMaVisD, instead of MailScanner -- uses less system resources than MailScanner and also Sophie as a free alternative to the commercial Sophos. Also Richard Mollel who is using MailScanner on 4.0g with Perl 5.8. I'm using Tru64 5.1A and MailScanner 4.21-9. Dirk Kleinhesselink > Is anybody successfully running MailScanner ? I have a tru64 5.1A cluster > running sendmail-8.11.6 (patched) and I'd like to use MailScanner to pass > mail through Sophos. I've installed MailScanner (version 4.21-9) and > sophos according to directions. Sophos seems to be working OK if I run > sweep against a directory, so I believe it to be installed OK. However, > when I start MailScanner, it seems to start OK and does not give me any > error messages, yet it never seems to process anything from the incoming > mail queue, nor can I find any informational messages from it -- I just > see one or two mailscanner processes and that's it. I tried to turn on > debugging by setting debug = yes in the MailScanner.conf file and then I > got this when I tried to run it: > > # ./check_mailscanner > Starting MailScanner... > In Debugging mode, not forking... > Your vendor has not defined the Sys::Syslog macro _PATH_LOG at > /usr/lib/perl-5.6.0/lib/5.6.0/alpha-dec_osf/Sys/Syslog.pm line 277. > > Thanks for any help, > > Dirk Kleinhesselink >