]> git.pld-linux.org Git - packages/amavis.git/blame - amavis-config.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/amavis.git] / amavis-config.patch
CommitLineData
15d50db0
AA
1diff -Nur old/amavis/amavis.conf.in new/amavis/amavis.conf.in
2--- old/amavis/amavis.conf.in 1970-01-01 00:00:00.000000000 +0000
3+++ new/amavis/amavis.conf.in 2004-07-12 16:20:42.000000000 +0000
4@@ -0,0 +1,218 @@
5+################################################################################
6+# Customisable variable from here on
7+################################################################################
8+
9+#
10+# Av scanners
11+
12+# NAI AntiVirus (uvscan)
13+$uvscan = "@uvscan@";
14+
15+# H+BEDV AntiVir
16+$antivir = "@antivir@";
17+
18+# Sophos Anti Virus (sweep)
19+$sophos = "@sophos@";
20+$sophos_ide_path = "@sophos_ide@";
21+
22+# KasperskyLab AntiViral Toolkit Pro (AVP)
23+$avp = "@avp@";
24+$AVPDIR = dirname($avp);
25+
26+# KasperskyLab AVPDaemon / AvpDaemonClient
27+#
28+# use AvpDaemon and AvpDaemonClient
29+# Note: AvpDaemon must be started before amavisd!
30+# AvpDaemon should be started at boot time as AvpDaemon -* /var/amavis
31+$avpdc = "@avpdc@";
32+
33+# F-Secure Antivirus
34+$fsav = "@fsav@";
35+
36+# Trend Micro FileScanner
37+$vscan = "@vscan@";
38+
39+# CyberSoft VFind
40+$vfind = "@vfind@";
41+
42+# CAI InoculateIT
43+$inocucmd = "@inocucmd@";
44+
45+# GeCAD RAV Antivirus 8
46+$rav = "@rav@";
47+
48+# ESET Software NOD32
49+$nod32 = "@nod32@";
50+
51+# ESET Software NOD32 (Client/Server Version)
52+$nod32cli = "@nod32cli@";
53+
54+# Command AntiVirus for Linux
55+$csav = "@csav@";
56+
57+# VirusBuster (Daemon + Client)
58+$vbengcl = "@vbengcl@";
59+
60+# Symantec CarrierScan via Symantec Command Line Scannner
61+$cscmdline = "@cscmdline@";
62+$scs_host = "@scs_host@"; # host/IP CarrierScan runs on
63+$scs_port = "@scs_port@"; # port CarrierScan listens on
64+
65+# Sophie (Sophos SAVI)
66+$sophie_sockname = "@sophie_sockname@";
67+
68+# Trophie (Trend API)
69+$trophie_sockname = "@trophie_sockname@";
70+
71+# FRISK F-Prot
72+$fprot = "@fprot@";
73+
74+# FRISK F-Prot Daemon
75+$fprotd = "@fprotd@";
76+
77+# Panda Antivirus for Linux
78+$panda = "@panda@";
79+
80+# CentralCommand Vexira
81+$vexira = "@vexira@";
82+
83+# OpenAntiVirus ScannerDaemon
84+$oav = "@oav@";
85+
86+# DrWeb Antivirus for Linux/FreeBSD/Solaris
87+$drweb = "@drweb@";
88+
89+# MkS_Vir for Linux (beta)
90+$mks = "@mks@";
91+
92+# MkS_Vir Daemon for Linux (beta)
93+$mksd = "@mksd@";
94+
95+# Norman Virus Control
96+$norman = "@norman@";
97+
98+# Clam Antivirus
99+$clamscan = "@clamscan@";
100+
101+$clamd = "@clamd@";
102+
103+# Ikarus AntiVirus
104+$ikarus = "@ikarus@";
105+
106+# AVG Anti-Virus
107+$avg = "@avg@";
108+$avgd = "@avgd@";
109+
110+#
111+# Logging
112+
113+# yes - syslog, no - file logging
114+$do_syslog = "@do_syslog@";
115+
116+# Directory to put log entries (if not using syslog)
117+$LOGDIR = "@logdir@";
118+$LOGFILE = "amavis.log";
119+
120+# 0: default - startup/exit/failure messages
121+# 1: args passed from client
122+# 2: virus scanner output
123+# 3: server client
124+# 4: decompose parts
125+$log_level = 0;
126+
127+#
128+# Notification etc.
129+
130+# Notify admin/sender/recipient [yes/no]?
131+$warnadmin = "@warnadmin@";
132+$warnsender = "@warnsender@";
133+$warnrecip = "@warnrecip@";
134+
135+# Notify off-site recipients?
136+$warn_offsite = "no";
137+
138+# requeue if all virus scanners failed
139+$requeue_on_scanner_errors = "yes";
140+
141+#
142+$viruses_that_fake_sender_re = qr(/(?i)nimda|hybris|klez|bugbear|yaha|braid|sobig|fizzer|palyh|peido|holar|tanatos|lentin|bridex|mimail|trojan\.dropper|dumaru|parite|spaces|dloader|galil|gibe|swen|netwatch|bics|sbrowse|sober|rox|val(hal)?la|be?agle/);
143+
144+# List of local domains
145+# e.g. @local_domains = qw( dom.ain other.dom.ain );
146+@local_domains = qw();
147+
148+# Location to put infected mail - leave empty for not quarantining
149+$QUARANTINEDIR = "@virusdir@";
150+
151+# Add X-Virus-Scanned line to mail?
152+$X_HEADER_TAG = "X-Virus-Scanned";
153+# Leave empty to add no header
154+$X_HEADER_LINE = "by AMaViS @VERSION@";
155+
156+#
157+# External programs
158+
159+$arc = "@arc@";
160+$bunzip = "@bunzip2@";
161+$file = "@file@";
162+$lha = "@lha@";
163+$unarj = "@unarj@";
164+$uncompress = "@uncompress@";
165+$unrar = "@unrar@";
166+$zoo = "@zoo@";
167+
168+#
169+# MTA specific stuff
170+
171+# Qmail-specific
172+$QMAILDIR = "@qmaildir@";
173+
174+# postfix-specific
175+$smtp_port = "@smtp_port@";
176+$localhost_name = "localhost";
177+$localhost_ip = "127.0.0.1";
178+
179+# sendmail-specific
180+# Do we use amavis on a mail relay/gateway type setup?
181+$enable_relay = "@enable_relay@";
182+
183+#
184+$sendmail_cf_orig = "@sendmail_cf_orig@";
185+
186+# What sendmail wrapper to use
187+$sendmail_wrapper = "@sendmail_wrapper@";
188+$sendmail_wrapper_args = "@sendmail_wrapper_args@";
189+
190+#
191+# Misc
192+
193+# The next three are resource limitations - exit with EX_TEMPFAIL if exceeded
194+# Maximum overall recursion level for extraction/decoding
195+# default: 20 - DO NOT SET THIS TO 0
196+$MAXLEVELS = @maxlevel@;
197+
198+# Maximum nesting level for compressing archive formats
199+# default: 3. If set to 0, feature is disabled
200+$MAX_ARCHIVE_NESTING = @maxdepth@;
201+
202+# Maximum number of extracted files
203+# default: 500. If set to 0, feature is disabled
204+$MAXFILES = @maxfiles@;
205+
206+# Magic number to detect DoS attacks
207+# default: 14. if set to 0, feature is disabled (change with care!)
208+$threshold = 14;
209+
210+# Who reports are sent from
211+$mailfrom = '@mailfrom@';
212+
213+# Where to send virus reports
214+$mailto = '@mailto@';
215+
216+# Display AMaViS credits to users [yes/no]
217+$credits = "@credits@";
218+
219+################################################################################
220+# End of customisation section
221+################################################################################
222+1; # this must be the last line
223