[Exim] exiscan and f-prot

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jeffrey Wheat
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] exiscan and f-prot
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
I am running the latest version of exim (4.30) with the exiscan acl
patch and the
latest version of f-prot. I am trying without success to get virus
scanning to work.
Has anyone managed to get this working and would be willing to share the
parts
of the config file that is relevent?

Any help is greatly appreciated.

Regards,
Jeff


This is what I have presently:

# The following ACL entries are used if you want to do content scanning
with
# the exiscan-acl patch. When you uncomment one of these lines, you must
also
# review the respective entries in the ACL section further below.

#acl_smtp_mime = acl_check_mime
acl_smtp_data = acl_check_content

# This configuration variable defines the virus scanner that is used
with
# the 'malware' ACL condition of the exiscan acl-patch. If you do not
use
# virus scanning, leave it commented. Please read
doc/exiscan-acl-readme.txt

# for a list of supported scanners.

av_scanner = cmdline:/usr/local/f-prot/f-prot %s:Infection\::Infection\:
(.+)$
#av_scanner = cmdline:/usr/local/f-prot/f-prot %s:Infection:Infection.
(.+)$
#av_scanner = cmdline:/usr/bin/fsav -archive
%s/*:infection:infection[^s] (.+)

acl_check_content:

  # Reject virus infested messages.
  deny  message = This message contains malware ($malware_name)
        demime = *
        malware = *


  # Always add X-Spam-Score and X-Spam-Report headers, using SA
system-wide settings
  # (user "nobody"), no matter if over threshold or not.
  #warn  message = X-Spam-Score: $spam_score ($spam_bar)
  #      spam = nobody:true
  #warn  message = X-Spam-Report: $spam_report
  #      spam = nobody:true


  # Add X-Spam-Flag if spam is over system-wide threshold
  #warn message = X-Spam-Flag: YES
  #     spam = nobody


  # Reject spam messages with score over 10, using an extra condition.
  #deny  message = This message scored $spam_score points.
Congratulations!
  #      spam = nobody:true
  #      condition = ${if >{$spam_score_int}{100}{1}{0}}


# finally accept all the rest
accept


--