Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 734a018ceb2fbb6c77f4ada794fd7fa2 > files > 3

p3scan-2.3.2-18mdv2008.0.src.rpm

--- p3scan.conf.orig	2005-12-12 16:05:01.000000000 +0100
+++ p3scan.conf	2006-02-12 18:47:11.000000000 +0100
@@ -7,41 +7,41 @@
 #                                                                        #
 ##########################################################################
 
-/*
- * P3Scan v2.3.2
- *
- * (C) 2003-2005 by Jack S. Lai <laitcg@cox.net>
- *
- * It's intent is to provide a follow on program to POP3-Virusscan-Proxy 0.4
- * by Folke Ashberg <folke@ashberg.de>.
- *
- * It is based upon his program but provides numerous changes to include
- * scanning pop3 mail for spam, hardening the program, addaption to todays
- * email environment, and many other changes.
- *
- * The initial release of p3scan includes patches made and submitted to the
- * original project but were never incorporated. Please see the README for
- * further information.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- *
- * This program is released under the GPL with the additional exemption that
- * compiling, linking, and/or using OpenSSL is allowed."
- * (http://www.openssl.org/support/faq.html#LEGAL2)
- *
- */
+#/*
+# * P3Scan v2.3.2
+# *
+# * (C) 2003-2005 by Jack S. Lai <laitcg@cox.net>
+# *
+# * It's intent is to provide a follow on program to POP3-Virusscan-Proxy 0.4
+# * by Folke Ashberg <folke@ashberg.de>.
+# *
+# * It is based upon his program but provides numerous changes to include
+# * scanning pop3 mail for spam, hardening the program, addaption to todays
+# * email environment, and many other changes.
+# *
+# * The initial release of p3scan includes patches made and submitted to the
+# * original project but were never incorporated. Please see the README for
+# * further information.
+# *
+# * This program is free software; you can redistribute it and/or modify
+# * it under the terms of the GNU General Public License as published by
+# * the Free Software Foundation; either version 2 of the License, or
+# * (at your option) any later version.
+# *
+# * This program is distributed in the hope that it will be useful,
+# * but WITHOUT ANY WARRANTY; without even the implied warranty of
+# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# * GNU General Public License for more details.
+# *
+# * You should have received a copy of the GNU General Public License
+# * along with this program; if not, write to the Free Software
+# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+# *
+# * This program is released under the GPL with the additional exemption that
+# * compiling, linking, and/or using OpenSSL is allowed."
+# * (http://www.openssl.org/support/faq.html#LEGAL2)
+# *
+# */
 
 #
 # PID File
@@ -129,7 +129,7 @@
 #
 #   default: mail
 #
-# user = mail
+ user = clamav
 
 #
 # Notify Directory
@@ -341,7 +341,7 @@
 #     avpd    : /var/run/
 #     avpd_new: /var/run/
 #     trophie : /var/run/trophie
-#     clamd   : tcp/ip connection
+#     clamd   : 127.0.0.1
 #
 #
 # Sample: scannertype basic using McAfee UVSCAN:
@@ -349,7 +349,7 @@
 # Sample: scannertype basic using FRISK F-Prot Antivirus:
 # scanner = /usr/local/bin/f-prot -archive=5 -ai
 # Sample: scannertype basic using ClamAV:
-# scanner = /usr/bin/clamdscan --no-summary
+scanner = /usr/bin/clamdscan --no-summary
 # Sample: scannertype clamd using ClamAV in TCPSocket mode:
 # scanner = 127.0.0.1:3310
 # Sample: scannertype bash using p3scan.sh for testing:
@@ -402,7 +402,7 @@
 # Sample: FRISK F-Prot Antivirus
 # virusregexp = (?=Infection\:)[[:space:]]*(.*)$
 # Sample: ClamAV
-# virusregexp = .*: (.*) FOUND
+ virusregexp = .*: (.*) FOUND
 
 #
 # deMIME Setting
@@ -476,14 +476,14 @@
 #  man spamd for more information.
 #
 #  default: no checking of spam
-# checkspam
+ checkspam
 
 #
 # Mail::SpamAssassin
 #
 #  Where to find spamc, the link to the Mail::SpamAssassin daemon spamd.
 #
-# spamcheck = /usr/bin/spamc
+ spamcheck = /usr/bin/spamc
 
 #
 # DSPAM
@@ -565,7 +565,7 @@
 #
 #   default: /etc/p3scan/p3scan.mail
 #
-# template = /etc/p3scan/p3scan.mail
+template = /etc/p3scan/p3scan-en.mail
 
 #
 # Alternate virus notification email
@@ -664,7 +664,7 @@
 # Sample: FRISK F-Prot Antivirus:
 # footer = /usr/local/bin/f-prot -verno
 # Sample: ClamAV:
-# footer = /usr/bin/clamdscan -V
+ footer = /usr/bin/clamdscan -V
 
 #
 # TOP command processing