1#
2#   MailScanner - SMTP Email Processor
3#   Copyright (C) 2018  MailScanner project <https://www.mailscanner.info>
4#
5#   $Id: ConfigDefs.pl 5062 2010-11-09 21:56:06Z sysjkf $
6#
7#   This program is free software; you can redistribute it and/or modify
8#   it under the terms of the GNU General Public License as published by
9#   the Free Software Foundation; either version 2 of the License, or
10#   (at your option) any later version.
11#
12#   This program is distributed in the hope that it will be useful,
13#   but WITHOUT ANY WARRANTY; without even the implied warranty of
14#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15#   GNU General Public License for more details.
16#
17#   You should have received a copy of the GNU General Public License
18#   along with this program; if not, write to the Free Software
19#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20#
21#      https://www.mailscanner.info
22#
23
241;
25
26__DATA__
27########################################################################
28#
29# Go through the entire source code, checking wherever any variable is
30# used. Ensure they are used in a way that matches their spec.
31#
32########################################################################
33
34#
35# Translation between Internal and External keyword names.
36# This lets me use nice brief names internally, and set the
37# config file options to names that mean something.
38#
39# Format:
40#    Internal = External
41#
42
43[Translation,Translation]
44
45AFilenameRules                  = ArchivesFilenameRules
46AFiletypeRules                  = ArchivesFiletypeRules
47aallowfilenames                 = ArchivesAllowFilenames
48adenyfilemimetypes              = ArchivesDenyFileMIMETypes
49adenyfiletypes                  = ArchivesDenyFiletypes
50aallowfilemimetypes             = ArchivesAllowFileMIMETypes
51aallowfiletypes                 = ArchivesAllowFiletypes
52adenyfilenames                  = ArchivesDenyFilenames
53addenvfrom			= AddEnvelopeFromHeader
54addenvto			= AddEnvelopeToHeader
55addmshmac			= AddWatermark
56AllowObjectTags			= AllowObjectCodebaseTags
57AllowExternal			= AllowExternalMessageBodies
58allowmultsigs			= AllowMultipleHTMLSignatures
59AllowPartial			= AllowPartialMessages
60allowpasszips			= AllowPasswordProtectedArchives
61AllowWebBugTags			= AllowWebBugs
62assumeisdir			= MissingMailArchiveIs
63attachimage			= AttachImageToSignature
64attachimagename			= SignatureImageFilename
65attachimageinternalname		= SignatureImageImgFilename
66attachimagetohtmlonly		= AttachImageToHTMLMessageOnly
67AttachmentCharset		= AttachmentEncodingCharset
68AttachZipMinSize		= AttachmentsMinTotalSizeToZip
69AttachZipName			= AttachmentsZipFilename
70AttachZipIgnore			= AttachmentExtensionsNotToZip
71bayesrebuild			= RebuildBayesEvery
72bayeswait			= WaitDuringBayesRebuild
73blacklistedishigh		= definitespamishighscoring
74BlockEncrypted			= BlockEncryptedMessages
75BlockUnencrypted		= BlockUnencryptedMessages
76cachetiming			= SpamAssassinCacheTimings
77checkmshmac			= CheckWatermarksWithNoSender
78checkmshmacskip			= CheckWatermarksToSkipSpamChecks
79checkppafilenames		= CheckFilenamesInPasswordProtectedArchives
80CheckSAIfOnSpamList		= checkspamassassinifonspamlist
81children			= maxchildren
82#clamavmaxreclevel		= clamavmodulemaximumrecursionlevel
83#clamavmaxfiles			= clamavmodulemaximumfiles
84#clamavmaxfilesize		= clamavmodulemaximumfilesize
85#clamavmaxratio			= clamavmodulemaximumcompressionratio
86clamavspam			= ClamAVFullMessageScan
87#clamwatchfiles			= monitorsforclamavupdates
88cleanheader			= cleanheadervalue
89contentmodifysubject		= contentmodifysubject
90contentsubjecttext		= contentsubjecttext
91criticalqueuesize		= maxnormalqueuesize
92dangerscan			= dangerouscontentscanning
93deletedcontentmessage		= deletedbadcontentmessagereport
94deletedfilenamemessage		= deletedbadfilenamemessagereport
95deletedsizemessage		= deletedsizemessagereport
96deletedvirusmessage		= deletedvirusmessagereport
97deliverdisinfected		= deliverdisinfectedfiles
98deliversilent			= stilldeliversilentviruses
99scansilent			= stillscansilentviruses
100deliversilentunmodified		= stilldeliversilentvirusesunmodified
101dirtyheader			= infectedheadervalue
102disarmmodifysubject		= disarmedmodifysubject
103disarmsubjecttext		= disarmedsubjecttext
104disinfectedheader		= disinfectedheadervalue
105disinfectedreporttext		= disinfectedreport
106envfromheader			= EnvelopeFromHeader
107envtoheader			= EnvelopeToHeader
108findphishing			= FindPhishingFraud
109fprotd6port			= FpscandPort
110getipfromheader			= ReadIPAddressFromReceivedHeader
111gsscanner			= UseCustomSpamScanner
112gstimeout			= CustomSpamScannerTimeout
113gstimeoutlen			= CustomSpamScannertimeouthistory
114hamactions                      = nonspamactions
115hideworkdir			= hideincomingworkdir
116hideworkdirinnotice		= hideincomingworkdirinnotices
117highrbls                        = spamliststoreachhighscore
118highscorespamactions		= highscoringspamactions
119highscoremcpactions		= highscoringmcpactions
120highmcpmodifysubject		= highscoringmcpmodifysubject
121highspammodifysubject		= highscoringspammodifysubject
122highmcpsubjecttext		= highscoringmcpsubjecttext
123highspamsubjecttext		= highscoringspamsubjecttext
124htmltotext			= converthtmltotext
125includespamheader		= alwaysincludespamassassinreport
126includemcpheader		= alwaysincludemcpreport
127infoheader			= informationheader
128infovalue			= informationheadervalue
129insistpasszips			= ArchivesMustBePasswordProtected
130inlinehtmlsig			= inlinehtmlsignature
131inlinehtmlwarning		= inlinehtmlwarning
132inlinetextsig			= inlinetextsignature
133inlinetextwarning		= inlinetextwarning
134externalwarning			= externalmessagewarning
135inlineexternalhtml		= inlinehtmlexternalwarning
136inlineexternaltext		= inlinetextexternalwarning
137inqueuedir			= incomingqueuedir
138ipverheader			= ipprotocolversionheader
139isareply			= dontsignhtmlifheadersexist
140keepspamarchiveclean		= keepspamandmcparchiveclean
141lastafterbatch			= alwayslookeduplastafterbatch
142lastlookup			= alwayslookeduplast
143listsascores                    = includescoresinspamassassinreport
144logdelivery			= logdeliveryandnondelivery
145loghtmltags			= logdangeroushtmltags
146logfacility			= syslogfacility
147logsaactions			= logspamassassinruleactions
148logsock				= syslogsockettype
149lookforuu			= finduuencodedfiles
150maxattachmentsize		= maximumattachmentsize
151maxdirtybytes			= maxunsafebytesperscan
152maxdirtymessages		= maxunsafemessagesperscan
153maxgssize			= maxcustomspamscannersize
154maxgstimeouts			= maxcustomspamscannertimeouts
155maxmessagesize			= maximummessagesize
156maxparts			= maximumattachmentspermessage
157maxunscannedbytes		= maxunscannedbytesperscan
158maxunscannedmessages		= maxunscannedmessagesperscan
159maxzipdepth			= maximumarchivedepth
160minattachmentsize		= minimumattachmentsize
161minstars			= minimumstarsifonspamlist
162mshmac				= WatermarkSecret
163mshmacheader			= WatermarkHeader
164mshmacnull			= TreatInvalidWatermarksWithNoSenderAsSpam
165mshmacvalid			= WatermarkLifetime
166namemodifysubject		= filenamemodifysubject
167namesubjecttext			= filenamesubjecttext
168newheadersattop			= placenewheadersattopofmessage
169noisyviruses			= nonforgingviruses
170normalrbls                      = spamliststobespam
171nosenderprecedence		= nevernotifysendersofprecedence
172noticefullheaders		= noticesincludefullheaders
173noticerecipient			= noticesto
174phishingblacklist		= phishingbadsitesfile
175phishinghighlight		= highlightphishingfraud
176phishingnumbers			= alsofindnumericphishing
177phishingsubjecttag		= phishingsubjecttext
178phishingwhitelist		= phishingsafesitesfile
179outqueuedir			= outgoingqueuedir
180procdbattempts			= maximumprocessingattempts
181procdbname			= processingattemptsdatabase
182quarantinesilent		= quarantinesilentviruses
183quarantineuser			= quarantineuser
184quarantinegroup			= quarantinegroup
185quarantineperms			= quarantinepermissions
186rbltimeoutlen			= spamlisttimeoutshistory
187usesacache			= cachespamassassinresults
188saactions			= spamassassinruleactions
189sadecodebins			= IncludeBinaryAttachmentsInSpamAssassin
190satimeoutlen			= spamassassintimeoutshistory
191removeheaders			= removetheseheaders
192replacetnef			= usetnefcontents
193reqspamassassinscore		= requiredspamassassinscore
194sacache				= spamassassincachedatabasefile
195saviwatchfiles                  = monitorsforsophosupdates
196scanmail			= scanmessages
197scoreformat			= spamscorenumberformat
198secondlevellist                 = countrysubdomainslist
199sendercontentreport		= senderbadcontentreport
200# JKF 19/12/2007 senderpasswordreport		= senderbadpasswordprotectedarchivereport
201senderfilenamereport		= senderbadfilenamereport
202senderrblspamreport		= senderspamlistreport
203sendersaspamreport		= senderspamassassinreport
204sendersamcpreport		= sendermcpreport
205sendersizereport		= sendersizereport
206senderbothspamreport		= senderspamreport
207showscanner			= includescannernameinreports
208signalreadyscanned		= signmessagesalreadyprocessed
209signunscannedmessages		= markunscannedmessages
210sophosallowederrors		= allowedsophoserrormessages
211sophoside			= sophosidedir
212sophoslib			= sophoslibdir
213spamblacklist			= isdefinitelyspam
214spamdetail			= detailedspamreport
215mcpmodifysubject		= mcpmodifysubject
216sizemodifysubject		= sizemodifysubject
217sizesubjecttext			= sizesubjecttext
218spamassassintempdir		= spamassassintemporarydir
219spaminfected			= VirusNamesWhichAreSpam
220spammodifysubject		= spammodifysubject
221spamscorenotstars		= spamscorenumberinsteadofstars
222spamstars			= spamscore
223spamstarscharacter		= spamscorecharacter
224spamstarsheader			= spamscoreheader
225spamwhitelist			= isdefinitelynotspam
226storedcontentmessage		= storedbadcontentmessagereport
227storedfilenamemessage		= storedbadfilenamemessagereport
228storedsizemessage		= storedsizemessagereport
229storedvirusmessage		= storedvirusmessagereport
230storeentireasdfqf		= quarantinewholemessagesasqueuefiles
231strictphishing                  = usestricterphishingnet
232stripdangeroustags		= convertdangeroushtmltotext
233mcpblacklist			= isdefinitelymcp
234mcpblacklistedishigh		= definitemcpishighscoring
235mcpdetail			= detailedmcpreport
236mcplistsascores			= includescoresinmcpreport
237mcpreqspamassassinscore		= mcprequiredspamassassinscore
238mcpwhitelist			= isdefinitelynotmcp
239syntaxcheck			= automaticsyntaxcheck
240unpackole			= UnpackMicrosoftDocuments
241unscannedheader			= unscannedheadervalue
242usedefaultswithmanyrecips       = usedefaultruleswithmultiplerecipients
243tagphishingsubject		= phishingmodifysubject
244unzipmaxmembers			= UnzipMaximumFilesPerArchive
245unzipmaxsize			= UnzipMaximumFileSize
246unzipmembers			= UnzipFilenames
247unzipmimetype			= UnzipMimeType
248#virusbeforespammcp		= virusscanningbeforespamormcp
249virusmodifysubject		= virusmodifysubject
250virusscan			= virusscanning
251warnsenders			= notifysenders
252warnvirussenders		= notifysendersofviruses
253warnnamesenders			= notifysendersofblockedfilenamesorfiletypes
254warnsizesenders                 = notifysendersofblockedsizeattachments
255warnothersenders		= notifysendersofotherblockedcontent
256# JKF 19/12/2007 warnpasswordsenders		= notifysendersofblockedpasswordprotectedarchives
257webbugurl			= webbugreplacement
258webbugblacklist			= knownwebbugservers
259webbugwhitelist			= ignoredwebbugfilenames
260whitelistmaxrecips		= ignorespamwhitelistifrecipientsexceed
261workuser			= incomingworkuser
262workgroup			= incomingworkgroup
263workperms			= incomingworkpermissions
264msmailqueuetype                 = MSMailQueueType
265msmailrelayport                 = MSMailRelayPort
266msmailrelayaddress              = MSMailRelayAddress
267milterpidfile                   = MilterPIDFile
268milterscanner                   = MilterScanner
269miltermaxchildren               = MilterMaxChildren
270milterport                      = MilterPort
271milterbind                      = MilterBind
272milterdispatcher                = MilterDispatcher
273milterignoreloopback            = MilterIgnoreLoopback
274msmaildeliverymethod            = MSMailDeliveryMethod
275msmailsockettype                = MSMailSocketType
276msmailsocketdir                 = MSMailSocketDir
277
278#
279# Simple variables which can only have a single value, no rules allowed.
280#
281
282# These can be any of the words given, with the corresponding value stored.
283# Format is	<Keyword Name>
284#		<Default internal value>
285#	      [ <External name> <Internal store value ] ...
286#
287[Simple,YesNo]
288bayeswait		0	no	0	yes	1
289clamavspam		0	no	0	yes	1
290debug			0	no	0	yes	1
291debugspamassassin	0	no	0	yes	1
292deliverinbackground	1	no	0	yes	1
293logdelivery		0	no	0	yes	1
294lognonspam		0	no	0	yes	1
295logsaactions		0	no	0	yes	1
296logsilentviruses	0	no	0	yes	1
297logspam			0	no	0	yes	1
298logspeed		0	no	0	yes	1
299logmcp			0	no	0	yes	1
300expandtnef		1	no	0	yes	1
301runinforeground		0	no	0	yes	1
302showscanner		1	no	0	yes	1
303spamassassinautowhitelist	1	no	0	yes	1
304spamlistskipifauthenticated	0	no	0	yes	1
305spliteximspool		0	no	0	yes	1
306storeentireasdfqf	0	no	0	yes	1
307syntaxcheck		1	no	0	yes	1
308usedefaultswithmanyrecips	0	no	0	yes	1
309#virusbeforespammcp	0	no	0	yes	1
310SQLDebug		0	no	0	yes	1
311MilterScanner	1	no	0	yes	1
312MilterIgnoreLoopback	1	no	0	yes	1
313
314
315# These should be checked for dir existence
316[Simple,Dir]
317incomingworkdir		/var/spool/MailScanner/incoming
318lockfiledir		/var/lock/subsys
319
320# Check the first word of these for file existence
321[Simple,File]
322PhishingWhitelist	/etc/MailScanner/phishing.safe.sites.conf
323PhishingBlacklist	/etc/MailScanner/phishing.bad.sites.conf
324pidfile			/var/run/MailScanner.pid
325SecondLevelList         /etc/MailScanner/country.domains.conf
326spamassassinprefsfile	/etc/MailScanner/spamassassin.conf
327SpamListDefinitions	/etc/MailScanner/spam.lists.conf
328mcpspamassassinprefsfile /etc/MailScanner/mcp/mcp.spamassassin.conf
329VirusScannerDefinitions	/etc/MailScanner/virus.scanners.conf
330
331# Check these to ensure they are just numbers
332[Simple,Number]
333AntiwordTimeout			50
334BayesRebuild			0
335Children			5
336#clamavmaxreclevel               8
337#clamavmaxfiles                  1000
338#clamavmaxfilesize               10000000
339#clamavmaxratio                  250
340ClamdPort 3310
341KsePort                 9999
342CriticalQueueSize		800
343FileTimeout			20
344fprotd6port			10200
345GSTimeout			20
346GSTimeoutLen			20
347GunzipTimeout			50
348MaxUnscannedBytes		100000000
349MaxUnscannedMessages		30
350MaxDirtyBytes			50000000
351MaxDirtyMessages		30
352MaxGSSize			20000
353MaxGSTimeouts			10
354MaxSpamAssassinTimeouts		10
355ProcDBAttempts			6
356QueueScanInterval		6
357RBLTimeoutLen			10
358RestartEvery			14400
359SATimeoutLen			30
360SpamListTimeout			10
361SpamAssassinTimeout		75
362VirusScannerTimeout		300
363MCPMaxSpamAssassinTimeouts	20
364MCPSpamAssassinTimeout		10
365TNEFTimeout			120
366UnrarTimeout			50
367Un7zipTimeout			50
368WhitelistMaxRecips		20
369# For Qmail users
370qmailhashdirectorynumber	23
371qmailintdhashnumber		1
372
373# These are all the other strings I haven't categorised.
374# inqueuedir is here as it can be a glob (if it contains a * or a ?) or a
375# filename containing a list of directories.
376[Simple,Other]
377AvastdSocket    /var/run/avast/scan.sock
378cachetiming		1800,300,10800,172800,600
379#ClamWatchFiles		/var/lib/clamav/*.cvd
380CustomFunctionsDir	/usr/share/MailScanner/perl/custom
381FileCommand		/usr/bin/file
382FirstCheck		mcp
383getipfromheader		0
384GunzipCommand		/bin/gunzip
385inqueuedir		/var/spool/mqueue.in
386LDAPbase
387LDAPserver
388LDAPsite
389# LockType *must not* have a static default
390LockType
391LogFacility		mail
392LogSock
393MailScannerVersionNumber	1.0.0
394MaxSpamAssassinSize		30000
395MinimumCodeStatus	supported
396MTA			sendmail
397ProcDBName		/var/spool/MailScanner/incoming/Processing.db
398QuarantineUser
399QuarantineGroup
400QuarantinePerms		0660
401RunAsUser		0
402RunAsGroup		0
403SACache			/var/spool/MailScanner/incoming/SpamAssassin.cache.db
404SAVIWatchFiles		/opt/sophos-av/lib/sav/*.ide
405SophosAllowedErrors
406sophoside
407sophoslib
408spamassassintempdir	/var/spool/MailScanner/incoming/SpamAssassin-Temp
409SpamAssassinUserStateDir
410SpamAssassinSiteRulesDir
411SpamAssassinLocalRulesDir
412SpamAssassinLocalStateDir
413SpamAssassinDefaultRulesDir
414SpamAssassinInstallPrefix
415SpamInfected		Sane*UNOFFICIAL
416SpamStarsCharacter	s
417MCPMaxSpamAssassinSize		100000
418MCPSpamAssassinUserStateDir
419MCPSpamAssassinLocalRulesDir	/etc/MailScanner/mcp
420MCPSpamAssassinDefaultRulesDir	/etc/MailScanner/mcp
421MCPSpamAssassinInstallPrefix	/etc/MailScanner/mcp
422TNEFExpander		/usr/bin/tnef --maxsize=100000000
423UnrarCommand		/usr/bin/unrar
424Un7zipCommand		/usr/bin/7z
425VirusScanners		auto  # Space-separated list
426WorkUser
427WorkGroup
428WorkPerms		0660
429DBDSN
430DBUsername
431DBPassword
432SQLSerialNumber
433SQLQuickPeek
434SQLConfig
435SQLRuleset
436SQLSpamAssassinConfig
437MSMailQueueType          short
438MSMailRelayPort          25
439MSMailRelayAddress       127.0.0.1
440MilterPIDFile            /var/run/MSMilter.pid
441MilterMaxChildren        10
442MilterPort               33333
443MilterBind               127.0.0.1
444MilterDispatcher         postfork
445MSMailDeliveryMethod     SMTP
446MSMailSocketType         inet
447MSMailSocketDir          /var/spool/postfix/public/qmqp
448KseSocket                /var/run/kse/kse.sock
449FsecureSocket            /tmp/.fsav-0
450SAVIDSocket              /var/lib/savdid/savdid.sock
451
452#
453# These variables match on any rule matching From:, else anything for To:
454#
455
456[First,YesNo]
457AddTextOfDoc		0	no	0	yes	1
458AllowExternal		0	no	0	yes	1
459AllowPartial		0	no	0	yes	1
460ArchivePublicKeys	0	no	0	yes	1
461blacklistedishigh	0	no	0	yes	1
462bouncemcpasattachment	0	no	0	yes	1
463bouncespamasattachment	0	no	0	yes	1
464CheckSAIfOnSpamList	1	no	0	yes	1
465ContentModifySubject	start	no	0	yes	1	start	start	end	end
466DeliverDisinfected	0	no	0	yes	1
467DeliverSilent		0	no	0	yes	1
468ScanSilent		0	no	0	yes	1
469DeliverSilentUnmodified	0	no	0	yes	1
470deliverunparsabletnef	0	no	0	yes	1
471deliverymethod		batch	batch	batch	queue	queue
472DisarmModifySubject	start	no	0	yes	1	start	start	end	end
473EnableSpamBounce	0	no	0	yes	1
474findarchivesbycontent	1	no	0	yes	1
475gsscanner		0	no	0	yes	1
476HideWorkDir		1	no	0	yes	1
477HideWorkDirInNotice	0	no	0	yes	1
478HighMCPModifySubject	start	no	0	yes	1	start	start	end	end
479HighSpamModifySubject	start	no	0	yes	1	start	start	end	end
480IncludeSpamHeader	0	no	0	yes	1
481IncludeMCPHeader	0	no	0	yes	1
482KeepSpamArchiveClean	0	no	0	yes	1
483LastAfterBatch		0	no	0	yes	1
484LastLookup		0	no	0	yes	1
485ListSAScores		1	no	0	yes	1
486#LoadSpamAssassin	0	no	0	yes	1
487LogHTMLTags		0	no	0	yes	1
488LogPermittedFilenames	0	no	0	yes	1
489LogPermittedFiletypes	0	no	0	yes	1
490LogPermittedFileMimetypes	0	no	0	yes	1
491LookForUU		0	no	0	yes	1
492MultipleHeaders		append	append	append	replace	replace	add	add
493NameModifySubject	start	no	0	yes	1	start	start	end	end
494NoticeFullHeaders	1	no	0	yes	1
495RejectMessage		0	no	0	yes	1
496ScannedModifySubject	0	no	0	yes	1	start	start	end	end
497SendNotices		1	no	0	yes	1
498SignAlreadyScanned	0	no	0	yes	1
499SignCleanMessages	1	no	0	yes	1
500SignUnscannedMessages	1	no	0	yes	1
501ExternalWarning		0	no	0	yes	1
502SizeModifySubject	start	no	0	yes	1	start	start	end	end
503SpamBlacklist		0	no	0	yes	1
504SpamDetail		1	no	0	yes	1
505SpamChecks		1	no	0	yes	1
506MCPModifySubject	start	no	0	yes	1	start	start	end	end
507SpamModifySubject	start	no	0	yes	1	start	start	end	end
508SpamScoreNotStars	0	no	0	yes	1
509SpamWhitelist		0	no	0	yes	1
510StripDangerousTags	0	no	0	yes	1
511MCPBlacklist		0	no	0	yes	1
512MCPblacklistedishigh	0	no	0	yes	1
513MCPChecks		0	no	0	yes	1
514MCPDetail		1	no	0	yes	1
515MCPListSAScores		0	no	0	yes	1
516MCPWhitelist		0	no	0	yes	1
517UnpackOle		1	no	0	yes	1
518UseSACache		1	no	0	yes	1
519VirusModifySubject	start	no	0	yes	1	start	start	end	end
520warningisattachment	1	no	0	yes	1
521WarnSenders		1	no	0	yes	1
522WarnVirusSenders	0	no	0	yes	1
523WarnNameSenders		1	no	0	yes	1
524WarnSizeSenders		0	no	0	yes	1
525WarnOtherSenders	1	no	0	yes	1
526# JKF 19/12/2007 WarnPasswordSenders    1       no      0       yes     1
527
528[First,File]
529DeletedContentMessage	/usr/share/MailScanner/reports/en/deleted.content.message.txt
530DeletedFilenameMessage	/usr/share/MailScanner/reports/en/deleted.filename.message.txt
531DeletedSizeMessage	/usr/share/MailScanner/reports/en/deleted.size.message.txt
532DeletedVirusMessage	/usr/share/MailScanner/reports/en/deleted.virus.message.txt
533DisinfectedReportText	/usr/share/MailScanner/reports/en/disinfected.report.txt
534inlinehtmlsig		/usr/share/MailScanner/reports/en/inline.sig.html
535inlinehtmlwarning	/usr/share/MailScanner/reports/en/inline.warning.html
536inlinespamwarning	/usr/share/MailScanner/reports/en/inline.spam.warning.txt
537inlinetextsig		/usr/share/MailScanner/reports/en/inline.sig.txt
538inlinetextwarning	/usr/share/MailScanner/reports/en/inline.warning.txt
539inlineexternalhtml	/usr/share/MailScanner/reports/en/inline.external.warning.html
540inlineexternaltext	/usr/share/MailScanner/reports/en/inline.external.warning.txt
541languagestrings
542recipientmcpreport	/usr/share/MailScanner/reports/en/recipient.mcp.report.txt
543recipientspamreport	/usr/share/MailScanner/reports/en/recipient.spam.report.txt
544rejectionreport		/usr/share/MailScanner/reports/en/message.rejection.report.txt
545sendercontentreport 	/usr/share/MailScanner/reports/en/sender.content.report.txt
546# JKF 19/12/2007 senderpasswordreport   /usr/share/MailScanner/reports/en/sender.password.report.txt
547sendererrorreport 	/usr/share/MailScanner/reports/en/sender.error.report.txt
548senderfilenamereport	/usr/share/MailScanner/reports/en/sender.filename.report.txt
549SenderRBLSpamReport	/usr/share/MailScanner/reports/en/sender.spam.rbl.report.txt
550SenderSASpamReport	/usr/share/MailScanner/reports/en/sender.spam.sa.report.txt
551SenderSAMCPReport	/usr/share/MailScanner/reports/en/sender.mcp.report.txt
552SenderSizeReport	/usr/share/MailScanner/reports/en/sender.size.report.txt
553SenderBothSpamReport	/usr/share/MailScanner/reports/en/sender.spam.report.txt
554sendervirusreport 	/usr/share/MailScanner/reports/en/sender.virus.report.txt
555StoredContentMessage	/usr/share/MailScanner/reports/en/stored.content.message.txt
556StoredFilenameMessage	/usr/share/MailScanner/reports/en/stored.filename.message.txt
557StoredSizeMessage	/usr/share/MailScanner/reports/en/stored.size.message.txt
558StoredVirusMessage	/usr/share/MailScanner/reports/en/stored.virus.message.txt
559
560[First,Command]
561Sendmail		/usr/sbin/sendmail
562
563[First,Dir]
564OutQueueDir			/var/spool/mqueue
565PublicKeyArchiveDir		#/var/spool/MailScanner/keys
566quarantinedir			/var/spool/MailScanner/quarantine
567
568[First,Number]
569AttachZipMinSize		100000
570HighRBLs			3
571HighSpamAssassinScore		10
572MaxAttachmentSize		-1
573MaxMessageSize			0
574MaxParts			200
575MaxSpamCheckSize		150000
576MaxSpamListTimeouts		7
577MaxZipDepth			2
578MCPErrorScore			1
579MCPHighSpamAssassinScore	10
580MCPReqSpamAssassinScore		1
581MinAttachmentSize		-1
582MinStars			0
583mshmacvalid			604800
584NormalRBLs			1
585ReqSpamAssassinScore		6
586unzipmaxmembers			0
587unzipmaxsize			50000
588
589[First,Other]
590Antiword			/usr/bin/antiword -f
591ArchivesAre			zip rar ole
592AttachmentCharset		ISO-8859-1
593attachimageinternalname
594attachimagename
595AttachmentWarningFilename	VirusWarning.txt
596AttachZipName			MessageAttachments.zip
597cleanheader			Found to be clean
598ContentSubjectText		{Dangerous Content?}
599DefaultRenamePattern		__FILENAME__.disarmed
600dirtyheader			Found to be infected
601DisarmSubjectText		{Disarmed}
602DisinfectedHeader		Disinfected
603EnvFromHeader			X-MailScanner-Envelope-From:
604EnvToHeader			X-MailScanner-Envelope-To:
605HighMCPSubjectText		{MCP?}
606HighSpamSubjectText		{Spam?}
607Hostname			the MailScanner
608IDHeader			X-MailScanner-ID:
609InfoHeader
610InfoValue			Please contact an administrator for more information
611IPVerHeader
612LocalPostmaster			postmaster
613MailHeader			X-MailScanner:
614mshmac				Watermark-secret
615mshmacheader			MailScanner-NULL-Check:
616NameSubjectText			{Filename?}
617NoticesFrom			MailScanner
618NoticeSignature			-- \nMailScanner\nEmail Processor\nwww.mailscanner.info
619PhishingSubjectTag		{Fraud?}
620ScannedSubjectText		{Scanned}
621ScoreFormat			%d
622Sendmail2			/usr/sbin/sendmail
623SpamHeader			X-MailScanner-SpamCheck:
624SpamList
625SpamVirusHeader			X-MailScanner-SpamVirus-Report:
626MCPSubjectText			{MCP?}
627SpamSubjectText			{Spam?}
628SpamStarsHeader			X-MailScanner-SpamScore:
629MCPHeader			X-MailScanner-MCPCheck:
630UnscannedHeader			Not scanned: please contact your administrator for details
631VirusSubjectText		{Virus?}
632WebBugURL			https://s3.amazonaws.com/msv5/images/spacer.gif
633HamActions		deliver header "X-Spam-Status: No"
634SpamActions		deliver header "X-Spam-Status: Yes"
635HighScoreSpamActions	deliver header "X-Spam-Status: Yes"
636NonMCPActions		deliver
637MCPActions		deliver
638HighScoreMCPActions	deliver
639SizeSubjectText		{Size}
640unzipmembers		*.txt *.ini *.log *.csv
641unzipmimetype		text/plain
642
643[All,YesNo]
644AddEnvFrom		1	no	0	yes	1
645AddEnvTo		0	no	0	yes	1
646addmshmac		1	no	0	yes	1
647AllowIFrameTags		convert	no	0	yes	1	disarm	convert
648AllowFormTags		convert	no	0	yes	1	disarm	convert
649allowmultsigs		0	no	0	yes	1
650AllowObjectTags		convert	no	0	yes	1	disarm	convert
651AllowScriptTags		convert	no	0	yes	1	disarm	convert
652AllowPassZips		0	no	0	yes	1
653AllowWebBugTags		convert	no	0	yes	1	disarm	convert
654assumeisdir		1	file	0	directory	1
655attachimage		0	no	0	yes	1
656attachimagetohtmlonly	1	no	0	yes	1
657BlockEncrypted		0	no	0	yes	1
658BlockUnencrypted	0	no	0	yes	1
659checkppafilenames	1	no	0	yes	1
660checkmshmac		1	no	0	yes	1
661checkmshmacskip		1	no	0	yes	1
662ClamdUseThreads		0	no	0	yes	1
663DangerScan		1	no	0	yes	1
664DeliverCleanedMessages	1	no	0	yes	1
665FindPhishing		1	no	0	yes	1
666markinfectedmessages	1	no	0	yes	1
667PhishingHighlight	1	no	0	yes	1
668HighlightHiddenURLs	0	no	0	yes	1
669HighlightMailtoPhishing	1	no	0	yes	1
670HtmlToText		0	no	0	yes	1
671InsistPassZips		0	no	0	yes	1
672NewHeadersAtTop		0	no	0	yes	1
673PhishingNumbers		1	no	0	yes	1
674QuarantineInfections	1	no	0	yes	1
675QuarantineDenialOfService	1	no	0	yes	1
676QuarantineModifiedBody	0	no	0	yes	1
677QuarantineSilent	0	no	0	yes	1
678QuarantineWholeMessage	0	no	0	yes	1
679IgnoreDenialOfService	0	no	0	yes	1
680IgnoreQPDenialOfServiceFailure	0	no	0	yes	1
681ReplaceTNEF		2	no	0	add	1	replace	2
682sadecodebins		0	no	0	yes	1
683ScanMail		1	no	0	yes	1	virus	2
684SpamStars		1	no	0	yes	1
685StrictPhishing		1	no	0	yes	1
686TagPhishingSubject	0	no	0	yes	1	start	start	end	end
687MCPUseSpamAssassin	1	no	0	yes	1
688UseSpamAssassin		1	no	0	yes	1
689UseWatermarking		1	no	0	yes	1
690VirusScan		1	no	0	yes	1
691ZipAttachments		0	no	0	yes	1
692
693[All,File]
694#FilenameRules		/etc/MailScanner/filename.rules.conf
695
696[All,Other]
697# This is the other stuff that came up in the search that I haven't
698# figured out what to do with yet...
699aallowfilenames
700adenyfilemimetypes
701adenyfiletypes
702aallowfilemimetypes
703aallowfiletypes
704adenyfilenames
705afilenamerules
706afiletyperules
707ArchiveMail
708AttachZipIgnore			.zip .rar .gz .tgz .mpg .mpe .mpeg .mp3 .rpm
709ClamdLockFile
710ClamdSocket 127.0.0.1
711FilenameRules
712FiletypeRules
713isareply
714mshmacnull			spam
715NoisyViruses			Joke/ OF97/ WM97/ W97M/ eicar
716NoSenderPrecedence		list bulk
717NoticeRecipient			postmaster
718RemoveHeaders			X-Mozilla-Status: X-Mozilla-Status2:
719SilentViruses			HTML-IFrame All-Viruses
720SpamDomainList
721webbugblacklist
722webbugwhitelist
723allowfilenames
724denyfilemimetypes
725denyfiletypes
726allowfilemimetypes
727allowfiletypes
728denyfilenames
729saactions
730
731