eTrust wrapper not working

Julian Field mailscanner at ecs.soton.ac.uk
Wed Mar 31 18:31:30 IST 2004


Check that all the eTrust files, including any licence key files, are
readable by the "postfix" user.
The programs and directories involved need to be executable as well.

At 18:12 31/03/2004, you wrote:
>Hello!!
>
>I'm trying to get the eTrust wrapper working with MailScanner. I have
>MailScanner working using SpamAssassin already and its filtering out
>spam and pulling out files that matches the blocked file content/name
>list. However, its not scanning the emails for viruses. I'm assuming
>that if the wrapper was working, I'd see the results of eTrusts' scans
>in the mail log, correct?
>
>Anyways, I'm running MailScanner 2.63 on SuSE 9.0 using PostFix. I've
>searched the Archive list and found email postings on 09.12.03 with
>someone having the same problem. It suggested modifying the SUDOER file
>and adding:
>
>User_Alias      MAIL = mail
>Runas_Alias     ROOT = root
>Host_Alias      LOCALHOST = 127.0.0.1
>Cmnd_Alias      ETRUST = /opt/eTrustAntivirus/ino/bin/inocmd32
>Defaults        mailto = you at yourdomain.com
>Defaults        env_reset = true
>Defaults        env_keep = LD_LIBRARY_PATH
>
>And also to create a script file that will set up the environment
>variables:
>
>LD_LIBRARY_PATH=/opt/eTrustAntivirus/secu/lib:/opt/eTrustAntivirus/ino/c
>onfig:/opt/eTrustAntivirus/ino/lib;
>export LD_LIBRARY_PATH
>CAIGLBL0002=CACRITMON; export CAIGLBL0002
>CAIGLBL0000=/opt/eTrustAntivirus; export CAIGLBL0000
>CAIUNIDB=caiunidb; export CAIUNIDB
>CAIGLBL0006=CASNMPMGR; export CAIGLBL0006
>CA_CAILANGUAGE=enu; export CA_CAILANGUAGE
>CAI_CAMSGF_OPRDIRECT=; export CAI_CAMSGF_OPRDIRECT
>CAI_DATEFMT=MMM-DD-YYYY; export CAI_DATEFMT
>CA_REPORT=/opt/eTrustAntivirus/report; export CA_REPORT
>CAPB_PATH=/opt/eTrustAntivirus/prb/config; export CAPB_PATH
>CA_CAIMESSAGE=/opt/eTrustAntivirus/messages/american; export
>CA_CAIMESSAGE
>
>/opt/eTrustAntivirus/ino/bin/inocmd32 $*
>
>And then modifying the line in the wrapper that calls the program to:
>
>exec sudo /path/to/your/script $ScanOptions "$@"
>
>I've tried this and it doesn't work. I'm not sure what lines I might
>have to change to get this working on my system or if it'll even work on
>my system. Any help is greatly appreciated. Thanx in advance and sorry
>for the long post.
>
>Howard

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



More information about the MailScanner mailing list