# # MailScanner - SMTP E-Mail Virus Scanner # Copyright (C) 2002 Julian Field # # $Id: ConfigDefs.pl 4131 2007-08-15 16:32:12Z sysjkf $ # # 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 # # The author, Julian Field, can be contacted by email at # Jules@JulianField.net # or by paper mail at # Julian Field # Dept of Electronics & Computer Science # University of Southampton # Southampton # SO17 1BJ # United Kingdom # 1; __DATA__ ######################################################################## # # Go through the entire source code, checking wherever any variable is # used. Ensure they are used in a way that matches their spec. # ######################################################################## # # Translation between Internal and External keyword names. # This lets me use nice brief names internally, and set the # config file options to names that mean something. # # Format: # Internal = External # [Translation,Translation] addenvfrom = AddEnvelopeFromHeader addenvto = AddEnvelopeToHeader addmshmac = AddWatermark AllowObjectTags = AllowObjectCodebaseTags AllowExternal = AllowExternalMessageBodies AllowPartial = AllowPartialMessages allowpasszips = AllowPasswordProtectedArchives AllowWebBugTags = AllowWebBugs attachimage = AttachImageToSignature attachimagename = SignatureImageFilename attachimageinternalname = SignatureImageImgFilename attachimagetohtmlonly = AttachImageToHTMLMessageOnly AttachmentCharset = AttachmentEncodingCharset AttachZipMinSize = AttachmentsMinTotalSizeToZip AttachZipName = AttachmentsZipFilename AttachZipIgnore = AttachmentExtensionsNotToZip bayesrebuild = RebuildBayesEvery bayeswait = WaitDuringBayesRebuild blacklistedishigh = definitespamishighscoring BlockEncrypted = BlockEncryptedMessages BlockUnencrypted = BlockUnencryptedMessages cachetiming = SpamAssassinCacheTimings checkmshmac = CheckWatermarksWithNoSender checkmshmacskip = CheckWatermarksToSkipSpamChecks checkppafilenames = CheckFilenamesInPasswordProtectedArchives CheckSAIfOnSpamList = checkspamassassinifonspamlist children = maxchildren clamavmaxreclevel = clamavmodulemaximumrecursionlevel clamavmaxfiles = clamavmodulemaximumfiles clamavmaxfilesize = clamavmodulemaximumfilesize clamavmaxratio = clamavmodulemaximumcompressionratio clamavspam = ClamAVFullMessageScan clamwatchfiles = monitorsforclamavupdates cleanheader = cleanheadervalue contentmodifysubject = contentmodifysubject contentsubjecttext = contentsubjecttext criticalqueuesize = maxnormalqueuesize dangerscan = dangerouscontentscanning deletedcontentmessage = deletedbadcontentmessagereport deletedfilenamemessage = deletedbadfilenamemessagereport deletedsizemessage = deletedsizemessagereport deletedvirusmessage = deletedvirusmessagereport deliverdisinfected = deliverdisinfectedfiles deliversilent = stilldeliversilentviruses dirtyheader = infectedheadervalue disarmmodifysubject = disarmedmodifysubject disarmsubjecttext = disarmedsubjecttext disinfectedheader = disinfectedheadervalue disinfectedreporttext = disinfectedreport envfromheader = EnvelopeFromHeader envtoheader = EnvelopeToHeader findphishing = FindPhishingFraud gsscanner = UseCustomSpamScanner gstimeout = CustomSpamScannerTimeout gstimeoutlen = CustomSpamScannertimeouthistory hamactions = nonspamactions hideworkdir = hideincomingworkdir hideworkdirinnotice = hideincomingworkdirinnotices highrbls = spamliststoreachhighscore highscorespamactions = highscoringspamactions highscoremcpactions = highscoringmcpactions highmcpmodifysubject = highscoringmcpmodifysubject highspammodifysubject = highscoringspammodifysubject highmcpsubjecttext = highscoringmcpsubjecttext highspamsubjecttext = highscoringspamsubjecttext htmltotext = converthtmltotext includespamheader = alwaysincludespamassassinreport includemcpheader = alwaysincludemcpreport infoheader = informationheader infovalue = informationheadervalue inlinehtmlsig = inlinehtmlsignature inlinehtmlwarning = inlinehtmlwarning inlinetextsig = inlinetextsignature inlinetextwarning = inlinetextwarning inqueuedir = incomingqueuedir keepspamarchiveclean = keepspamandmcparchiveclean lastafterbatch = alwayslookeduplastafterbatch lastlookup = alwayslookeduplast listsascores = includescoresinspamassassinreport loghtmltags = logdangeroushtmltags logfacility = syslogfacility lookforuu = finduuencodedfiles maxattachmentsize = maximumattachmentsize maxdirtybytes = maxunsafebytesperscan maxdirtymessages = maxunsafemessagesperscan maxgssize = maxcustomspamscannersize maxgstimeouts = maxcustomspamscannertimeouts maxmessagesize = maximummessagesize maxparts = maximumattachmentspermessage maxunscannedbytes = maxunscannedbytesperscan maxunscannedmessages = maxunscannedmessagesperscan maxzipdepth = maximumarchivedepth minattachmentsize = minimumattachmentsize minstars = minimumstarsifonspamlist mshmac = WatermarkSecret mshmacheader = WatermarkHeader mshmacnull = TreatInvalidWatermarksWithNoSenderAsSpam mshmacvalid = WatermarkLifetime namemodifysubject = filenamemodifysubject namesubjecttext = filenamesubjecttext noisyviruses = nonforgingviruses normalrbls = spamliststobespam nosenderprecedence = nevernotifysendersofprecedence noticefullheaders = noticesincludefullheaders noticerecipient = noticesto phishingblacklist = phishingbadsitesfile phishinghighlight = highlightphishingfraud phishingnumbers = alsofindnumericphishing phishingsubjecttag = phishingsubjecttext phishingwhitelist = phishingsafesitesfile outqueuedir = outgoingqueuedir quarantinesilent = quarantinesilentviruses quarantineuser = quarantineuser quarantinegroup = quarantinegroup quarantineperms = quarantinepermissions rbltimeoutlen = spamlisttimeoutshistory usesacache = cachespamassassinresults saactions = spamassassinruleactions sadecodebins = IncludeBinaryAttachmentsInSpamAssassin satimeoutlen = spamassassintimeoutshistory removeheaders = removetheseheaders replacetnef = usetnefcontents reqspamassassinscore = requiredspamassassinscore sacache = spamassassincachedatabasefile saviwatchfiles = monitorsforsophosupdates scanmail = scanmessages scoreformat = spamscorenumberformat secondlevellist = countrysubdomainslist sendercontentreport = senderbadcontentreport senderfilenamereport = senderbadfilenamereport senderrblspamreport = senderspamlistreport sendersaspamreport = senderspamassassinreport sendersamcpreport = sendermcpreport sendersizereport = sendersizereport senderbothspamreport = senderspamreport showscanner = includescannernameinreports signalreadyscanned = signmessagesalreadyprocessed signunscannedmessages = markunscannedmessages sophosallowederrors = allowedsophoserrormessages sophoside = sophosidedir sophoslib = sophoslibdir spamblacklist = isdefinitelyspam spamdetail = detailedspamreport mcpmodifysubject = mcpmodifysubject sizemodifysubject = sizemodifysubject sizesubjecttext = sizesubjecttext spamassassintempdir = spamassassintemporarydir spammodifysubject = spammodifysubject spamscorenotstars = spamscorenumberinsteadofstars spamstars = spamscore spamstarscharacter = spamscorecharacter spamstarsheader = spamscoreheader spamwhitelist = isdefinitelynotspam storedcontentmessage = storedbadcontentmessagereport storedfilenamemessage = storedbadfilenamemessagereport storedsizemessage = storedsizemessagereport storedvirusmessage = storedvirusmessagereport storeentireasdfqf = quarantinewholemessagesasqueuefiles strictphishing = usestricterphishingnet stripdangeroustags = convertdangeroushtmltotext mcpblacklist = isdefinitelymcp mcpblacklistedishigh = definitemcpishighscoring mcpdetail = detailedmcpreport mcplistsascores = includescoresinmcpreport mcpreqspamassassinscore = mcprequiredspamassassinscore mcpwhitelist = isdefinitelynotmcp unscannedheader = unscannedheadervalue usedefaultswithmanyrecips = usedefaultruleswithmultiplerecipients tagphishingsubject = phishingmodifysubject #virusbeforespammcp = virusscanningbeforespamormcp virusmodifysubject = virusmodifysubject virusscan = virusscanning warnsenders = notifysenders warnvirussenders = notifysendersofviruses warnnamesenders = notifysendersofblockedfilenamesorfiletypes warnsizesenders = notifysendersofblockedsizeattachments warnothersenders = notifysendersofotherblockedcontent webbugurl = webbugreplacement webbugblacklist = knownwebbugservers webbugwhitelist = ignoredwebbugfilenames whitelistmaxrecips = ignorespamwhitelistifrecipientsexceed workuser = incomingworkuser workgroup = incomingworkgroup workperms = incomingworkpermissions # # Simple variables which can only have a single value, no rules allowed. # # These can be any of the words given, with the corresponding value stored. # Format is # # [