Hello, I am sorry to tell but my qsheff installation does nothing about antivirus scanning...A manual scan of Maildir's found a lot of viruses that qsheff didn't.Here's my qsheff.conf: QSHEFFDIR = /var/qsheff LOGFILE = /var/log/qsheff.log
# Set debug level # qsheff will log entries has debug level less than this value. # # level Identifier Comment # ------- ------------ ----------------------------------------------- # 0 ERR Internal error. # 3 VIRUS Clamd or Antivirus software found a virus. # 5 FILTER Custom filter program caught a spam pattern. # 7 WBLIST White/black list module caught a spam pattern. # 9 BODY Spam found in body. # 11 SUBJ Spam found in subject line. # 13 ATTACH Caught prohibited attach file. # 17 EMPTY Mail header is empty. # 21 SAFE Succeed/safe email. # debug_level = 99 # 0: Don't panic when any function doesnt work # Just continue to finish job. # 1: Spammer and antivirus must work. # Condone other errors. # 2: Don't forgive any error. paronia_level = 2 # Drop mails, if the From or To is empty. drop_empty_line = 1 # Don't reply # Usefull for random generated sender's enable_blackhole = 0 # Save SPAM mails for ISPs. # (That is provide quarantine to customers) # ATTENTION: This feature needs more disk area. # Don't enable it, if you unsure. enable_quarantine = 1 # Enable White/Black List Control enable_wblist = 1 # Check the header enable_header_filter = 1 # Enable/disable spam program enable_body_filter = 1 # Check mail attachments. enable_attach_filter = 1 # Enable internal clamd client enable_clamd = 1 MIME_PROG = "/usr/local/bin/ripmime" # if you want to run a custom filter you have for each mail # set filter_prog values. # # For the custom filter developers: Your script/program will run in # the temporary program which includes the part of the message. # _headers_ textfile0 textfile1 ... attach1.pif attach2.gif attach3.html # You can work on this directory. # # It is disabled by default. # enable_custom_prog = 1 CUSTOM_PROG = "" CUSTOM_PROG_OK_RET = 0 CUSTOM_PROG_CUSTOM_RET = 1 CUSTOM_PROG_ERR_RET = 2 # This string will be appended to the end of the custom message. # It may be your company/organisation name. # It can be maximum 32 characters. orgname = "EnderUNIX SDT @ Tr" I tried the trick found on enderunix faq: enable_virus_prog = 1 VIRUS_PROG = "/usr/local/bin/clamscan" VIRUS_PROG_OK_RET = 0 VIRUS_PROG_VIRUS_RET = 1 VIRUS_PROG_ERR_RET = 2 but my qmail-smtp log says: @40000000445e50a50cc1a1f4 illegal keyword in config file: enable_virus_prog @40000000445e50a50cc376b4 illegal keyword in config file: VIRUS_PROG @40000000445e50a50cc48ff4 illegal keyword in config file: VIRUS_PROG_OK_RET @40000000445e50a50cc5a164 illegal keyword in config file: VIRUS_PROG_VIRUS_RET @40000000445e50a50cc6b2d4 illegal keyword in config file: VIRUS_PROG_ERR_RET My installation was like that ./configure --enable-debug --enable-qmailqueue-patch --with-clamd-socket=/var/run/clamav/clamd.sock What did I missed? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
