1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/mail/p3scan/files/patch-p3scan.h
Edwin Groothuis 8f30f8ef6a [UPDATE] mail/p3scan to 2.3.2
Update port mail/p3scan to version 2.3.2.
	By default UVSCAN is off, because we have OSS clamav.
	User changed to system mailnull.
	Possible description must be changed too, because new version
	can POP3S, SMTP transparent proxing.

PR:		ports/96673
Submitted by:	edwin@FreeBSD.org
2006-10-31 21:50:01 +00:00

31 lines
1.6 KiB
C

--- p3scan.h.orig Mon May 1 00:33:38 2006
+++ p3scan.h Mon May 1 00:36:01 2006
@@ -110,21 +110,21 @@
#define VIRUS_SCANNER_VIRUSCODE 1
#define PID_FILE "/var/run/p3scan/p3scan.pid"
#define SYSLOG_NAME "p3scan"
-#define CONFIGFILE "/etc/p3scan/p3scan.conf"
-#define VIRUS_TEMPLATE "/etc/p3scan/p3scan.mail"
+#define CONFIGFILE "/usr/local/etc/p3scan/p3scan.conf"
+#define VIRUS_TEMPLATE "/usr/local/etc/p3scan/p3scan.mail"
#define DEBUG 0
#define QUIET 0
#define OVERWRITE NULL
#define CHECKSPAM 0
-#define SPAMCHECK "/usr/bin/spamc"
+#define SPAMCHECK "/usr/local/bin/spamc"
#define MINSPACE 10000
#define DELIT 0
#define SUBJECT "[Virus] found in a mail to you:"
#define NOTIFY "Per instruction, the message has been deleted."
#define SMTPRSET "Virus detected! P3scan rejected message!"
-#define XMAIL "/bin/mail"
-#define FOOTER "/etc/p3scan/p3scan.footer"
-#define EXTRA "/etc/p3scan/p3scan.extra"
+#define XMAIL "/usr/bin/mail"
+#define FOOTER "/usr/local/etc/p3scan/p3scan.footer"
+#define EXTRA "/usr/local/etc/p3scan/p3scan.extra"
#define EMERGCON "root@localhost postmaster@localhost"
/* Defaut maximum mail size for scanning. ZERO for no limit! */
#define MAX_SIZE_SCAN 0