This file is indexed.

/usr/share/augeas/lenses/dist/tests/test_mailscanner.aug is in augeas-lenses 1.10.1-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
module Test_Mailscanner =

let conf = "# Main configuration file for the MailScanner E-Mail Virus Scanner
%org-name% = BARUWA
%org-long-name% = BARUWA MAILFW
%web-site% = www.baruwa.com
%etc-dir% = /etc/MailScanner
%reports-base% = /etc/MailScanner/reports
%report-dir% = /etc/MailScanner/reports/en
%rules-dir% = /etc/MailScanner/rules
%mcp-dir% = /etc/MailScanner/mcp
%spool-dir% = /var/spool/MailScanner
%signature-dir% = /etc/MailScanner/baruwa/signatures
%brules-dir% = /etc/MailScanner/baruwa/rules
Max Children = 5
Run As User = exim
Run As Group = exim
Queue Scan Interval = 6
Incoming Queue Dir = /var/spool/exim.in/input
Outgoing Queue Dir = /var/spool/exim/input
Incoming Work Dir = %spool-dir%/incoming
Quarantine Dir = %spool-dir%/quarantine
PID file = /var/run/MailScanner/MailScanner.pid
Restart Every = 7200
MTA = exim
Sendmail = /usr/sbin/exim -C /etc/exim/exim_out.conf
Sendmail2 = /usr/sbin/exim -C /etc/exim/exim_out.conf
Incoming Work User = exim
Incoming Work Group = clam
Incoming Work Permissions = 0640
Quarantine User = exim
Quarantine Group = baruwa
Quarantine Permissions = 0660
Max Unscanned Bytes Per Scan = 100m
Max Unsafe Bytes Per Scan = 50m
Max Unscanned Messages Per Scan = 30
Max Unsafe Messages Per Scan = 30
Max Normal Queue Size = 800
Scan Messages = %rules-dir%/scan.messages.rules
Reject Message = no
Maximum Processing Attempts = 6
Processing Attempts Database = %spool-dir%/incoming/Processing.db
Maximum Attachments Per Message = 200
Expand TNEF = yes
Use TNEF Contents = replace
Deliver Unparsable TNEF = no
TNEF Expander = /usr/bin/tnef --maxsize=100000000
TNEF Timeout = 120
File Command = /usr/sbin/file-wrapper
File Timeout = 20
Gunzip Command = /bin/gunzip
Gunzip Timeout = 50
Unrar Command = /usr/bin/unrar
Unrar Timeout = 50
Find UU-Encoded Files = no
Maximum Message Size = %brules-dir%/message.size.rules
Maximum Attachment Size = -1
Minimum Attachment Size = -1
Maximum Archive Depth = 4
Find Archives By Content = yes
Unpack Microsoft Documents = yes
Zip Attachments = no
Attachments Zip Filename = MessageAttachments.zip
Attachments Min Total Size To Zip = 100k
Attachment Extensions Not To Zip = .zip .rar .gz .tgz .jpg .jpeg .mpg .mpe .mpeg .mp3 .rpm .htm .html .eml
Add Text Of Doc = no
Antiword = /usr/bin/antiword -f
Antiword Timeout = 50
Unzip Maximum Files Per Archive = 0
Unzip Maximum File Size = 50k
Unzip Filenames = *.txt *.ini *.log *.csv
Unzip MimeType = text/plain
Virus Scanning = %brules-dir%/virus.checks.rules
Virus Scanners = auto
Virus Scanner Timeout = 300
Deliver Disinfected Files = no
Silent Viruses = HTML-IFrame All-Viruses
Still Deliver Silent Viruses = no
Non-Forging Viruses = Joke/ OF97/ WM97/ W97M/ eicar
Spam-Virus Header = X-%org-name%-BaruwaFW-SpamVirus-Report:
Virus Names Which Are Spam = Sanesecurity.Spam*UNOFFICIAL HTML/* *Phish* *Suspected-phishing_safebrowsing*
Block Encrypted Messages = no
Block Unencrypted Messages = no
Allow Password-Protected Archives = yes
Check Filenames In Password-Protected Archives = yes
Allowed Sophos Error Messages =
Sophos IDE Dir = /opt/sophos-av/lib/sav
Sophos Lib Dir = /opt/sophos-av/lib
Monitors For Sophos Updates = /opt/sophos-av/lib/sav/*.ide
Monitors for ClamAV Updates = /var/lib/clamav/*.cvd
ClamAVmodule Maximum Recursion Level = 8
ClamAVmodule Maximum Files = 1000
ClamAVmodule Maximum File Size = 10000000
ClamAVmodule Maximum Compression Ratio = 250
Clamd Port = 3310
Clamd Socket = /var/run/clamav/clamd.sock
Clamd Lock File =
Clamd Use Threads = no
ClamAV Full Message Scan = yes
Fpscand Port = 10200
Dangerous Content Scanning = %rules-dir%/content.scanning.rules
Allow Partial Messages = no
Allow External Message Bodies = no
Find Phishing Fraud = yes
Also Find Numeric Phishing = yes
Use Stricter Phishing Net = yes
Highlight Phishing Fraud = yes
Phishing Safe Sites File = %etc-dir%/phishing.safe.sites.conf
Phishing Bad Sites File = %etc-dir%/phishing.bad.sites.conf
Country Sub-Domains List = %etc-dir%/country.domains.conf
Allow IFrame Tags = disarm
Allow Form Tags = disarm
Allow Script Tags = disarm
Allow WebBugs = disarm
Ignored Web Bug Filenames = spacer pixel.gif pixel.png gap
Known Web Bug Servers = msgtag.com
Web Bug Replacement = https://datafeeds.baruwa.com/1x1spacer.gif
Allow Object Codebase Tags = disarm
Convert Dangerous HTML To Text = no
Convert HTML To Text = no
Archives Are = zip rar ole
Allow Filenames =
Deny Filenames =
Filename Rules = %rules-dir%/filename.rules
Allow Filetypes =
Allow File MIME Types =
Deny Filetypes =
Deny File MIME Types =
Filetype Rules = %rules-dir%/filetype.rules
Archives: Allow Filenames =
Archives: Deny Filenames =
Archives: Filename Rules = %etc-dir%/archives.filename.rules.conf
Archives: Allow Filetypes =
Archives: Allow File MIME Types =
Archives: Deny Filetypes =
Archives: Deny File MIME Types =
Archives: Filetype Rules = %etc-dir%/archives.filetype.rules.conf
Default Rename Pattern = __FILENAME__.disarmed
Quarantine Infections = yes
Quarantine Silent Viruses = no
Quarantine Modified Body = no
Quarantine Whole Message = yes
Quarantine Whole Messages As Queue Files = no
Keep Spam And MCP Archive Clean = yes
Language Strings = %brules-dir%/languages.rules
Rejection Report = %brules-dir%/rejectionreport.rules
Deleted Bad Content Message Report = %brules-dir%/deletedcontentmessage.rules
Deleted Bad Filename Message Report = %brules-dir%/deletedfilenamemessage.rules
Deleted Virus Message Report = %brules-dir%/deletedvirusmessage.rules
Deleted Size Message Report = %brules-dir%/deletedsizemessage.rules
Stored Bad Content Message Report = %brules-dir%/storedcontentmessage.rules
Stored Bad Filename Message Report = %brules-dir%/storedfilenamemessage.rules
Stored Virus Message Report = %brules-dir%/storedvirusmessage.rules
Stored Size Message Report = %brules-dir%/storedsizemessage.rules
Disinfected Report = %brules-dir%/disinfectedreport.rules
Inline HTML Signature = %brules-dir%/html.sigs.rules
Inline Text Signature = %brules-dir%/text.sigs.rules
Signature Image Filename = %brules-dir%/sig.imgs.names.rules
Signature Image <img> Filename = %brules-dir%/sig.imgs.rules
Inline HTML Warning = %brules-dir%/inlinewarninghtml.rules
Inline Text Warning = %brules-dir%/inlinewarningtxt.rules
Sender Content Report = %brules-dir%/sendercontentreport.rules
Sender Error Report = %brules-dir%/sendererrorreport.rules
Sender Bad Filename Report = %brules-dir%/senderfilenamereport.rules
Sender Virus Report = %brules-dir%/sendervirusreport.rules
Sender Size Report = %brules-dir%/sendersizereport.rules
Hide Incoming Work Dir = yes
Include Scanner Name In Reports = yes
Mail Header = X-%org-name%-BaruwaFW:
Spam Header = X-%org-name%-BaruwaFW-SpamCheck:
Spam Score Header = X-%org-name%-BaruwaFW-SpamScore:
Information Header = X-%org-name%-BaruwaFW-Information:
Add Envelope From Header = yes
Add Envelope To Header = no
Envelope From Header = X-BARUWA-BaruwaFW-From:
Envelope To Header = X-%org-name%-BaruwaFW-To:
ID Header = X-%org-name%-BaruwaFW-ID:
IP Protocol Version Header =
Spam Score Character = s
SpamScore Number Instead Of Stars = no
Minimum Stars If On Spam List = 0
Clean Header Value = Found to be clean
Infected Header Value = Found to be infected
Disinfected Header Value = Disinfected
Information Header Value = Please contact %org-long-name% for more information
Detailed Spam Report = yes
Include Scores In SpamAssassin Report = yes
Always Include SpamAssassin Report = no
Multiple Headers = add
Place New Headers At Top Of Message = yes
Hostname = the %org-name% ($HOSTNAME) Baruwa
Sign Messages Already Processed = no
Sign Clean Messages = %brules-dir%/sign.clean.msgs.rules
Attach Image To Signature = yes
Attach Image To HTML Message Only = yes
Allow Multiple HTML Signatures = no
Dont Sign HTML If Headers Exist =
Mark Infected Messages = yes
Mark Unscanned Messages = no
Unscanned Header Value = Not scanned: please contact %org-long-name% for details
Remove These Headers = X-Mozilla-Status: X-Mozilla-Status2:
Deliver Cleaned Messages = yes
Notify Senders = no
Notify Senders Of Viruses = no
Notify Senders Of Blocked Filenames Or Filetypes = no
Notify Senders Of Blocked Size Attachments = no
Notify Senders Of Other Blocked Content = no
Never Notify Senders Of Precedence = list bulk
Scanned Modify Subject = no
Scanned Subject Text = {Scanned}
Virus Modify Subject = no
Virus Subject Text = {Virus?}
Filename Modify Subject = no
Filename Subject Text = {Filename?}
Content Modify Subject = no
Content Subject Text = {Dangerous Content?}
Size Modify Subject = no
Size Subject Text = {Size}
Disarmed Modify Subject = no
Disarmed Subject Text = {Disarmed}
Phishing Modify Subject = yes
Phishing Subject Text = {Suspected Phishing?}
Spam Modify Subject = no
Spam Subject Text = {Spam?}
High Scoring Spam Modify Subject = no
High Scoring Spam Subject Text = {Spam?}
Warning Is Attachment = yes
Attachment Warning Filename = %org-name%-Attachment-Warning.txt
Attachment Encoding Charset = ISO-8859-1
Archive Mail =
Missing Mail Archive Is = file
Send Notices = no
Notices Include Full Headers = yes
Hide Incoming Work Dir in Notices = yes
Notice Signature = -- \\n%org-name%\\nEmail Security\\n%website%
Notices From = Baruwa
Notices To = postmaster
Local Postmaster = postmaster
Spam List Definitions = %etc-dir%/spam.lists.conf
Virus Scanner Definitions = %etc-dir%/virus.scanners.conf
Spam Checks = %brules-dir%/spam.checks.rules
Spam List =
Spam Domain List =
Spam Lists To Be Spam = 1
Spam Lists To Reach High Score = 3
Spam List Timeout = 10
Max Spam List Timeouts = 7
Spam List Timeouts History = 10
Is Definitely Not Spam = %brules-dir%/approved.senders.rules
Is Definitely Spam = %brules-dir%/banned.senders.rules
Definite Spam Is High Scoring = yes
Ignore Spam Whitelist If Recipients Exceed = 20
Max Spam Check Size = 4000k
Use Watermarking = no
Add Watermark = yes
Check Watermarks With No Sender = yes
Treat Invalid Watermarks With No Sender as Spam = nothing
Check Watermarks To Skip Spam Checks = yes
Watermark Secret = %org-name%-BaruwaFW-Secret
Watermark Lifetime = 604800
Watermark Header = X-%org-name%-BaruwaFW-Watermark:
Use SpamAssassin = yes
Max SpamAssassin Size = 800k
Required SpamAssassin Score = %brules-dir%/spam.score.rules
High SpamAssassin Score = %brules-dir%/highspam.score.rules
SpamAssassin Auto Whitelist = yes
SpamAssassin Timeout = 75
Max SpamAssassin Timeouts = 10
SpamAssassin Timeouts History = 30
Check SpamAssassin If On Spam List = yes
Include Binary Attachments In SpamAssassin = no
Spam Score = yes
Cache SpamAssassin Results = yes
SpamAssassin Cache Database File = %spool-dir%/incoming/SpamAssassin.cache.db
Rebuild Bayes Every = 0
Wait During Bayes Rebuild = no
Use Custom Spam Scanner = no
Max Custom Spam Scanner Size = 20k
Custom Spam Scanner Timeout = 20
Max Custom Spam Scanner Timeouts = 10
Custom Spam Scanner Timeout History = 20
Spam Actions = %brules-dir%/spam.actions.rules
High Scoring Spam Actions = %brules-dir%/highspam.actions.rules
Non Spam Actions = %rules-dir%/nonspam.actions.rules
SpamAssassin Rule Actions =
Sender Spam Report = %brules-dir%/senderspamreport.rules
Sender Spam List Report = %brules-dir%/senderspamrblreport.rules
Sender SpamAssassin Report = %brules-dir%/senderspamsareport.rules
Inline Spam Warning = %brules-dir%/inlinespamwarning.rules
Recipient Spam Report = %brules-dir%/recipientspamreport.rules
Enable Spam Bounce = %rules-dir%/bounce.rules
Bounce Spam As Attachment = no
Syslog Facility = mail
Log Speed = no
Log Spam = no
Log Non Spam = no
Log Delivery And Non-Delivery = no
Log Permitted Filenames = no
Log Permitted Filetypes = no
Log Permitted File MIME Types = no
Log Silent Viruses = no
Log Dangerous HTML Tags = no
Log SpamAssassin Rule Actions = no
SpamAssassin Temporary Dir = /var/spool/MailScanner/incoming/SpamAssassin-Temp
SpamAssassin User State Dir =
SpamAssassin Install Prefix =
SpamAssassin Site Rules Dir = /etc/mail/spamassassin
SpamAssassin Local Rules Dir =
SpamAssassin Local State Dir =
SpamAssassin Default Rules Dir =
DB DSN = DBI:Pg:database=baruwa
DB Username = baruwa
DB Password = password
SQL Serial Number = SELECT MAX(value) AS confserialnumber FROM configurations WHERE internal='confserialnumber'
SQL Quick Peek = SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1
SQL Config = SELECT internal, dbvalue(value) AS value, hostname FROM quickpeek WHERE hostname=? OR hostname='default'
SQL Ruleset = SELECT row_number, ruleset AS rule FROM msrulesets WHERE name=?
SQL SpamAssassin Config =
SQL Debug = no
Sphinx Host = 127.0.0.1
Sphinx Port = 9306
MCP Checks = no
First Check = spam
MCP Required SpamAssassin Score = 1
MCP High SpamAssassin Score = 10
MCP Error Score = 1
MCP Header = X-%org-name%-BaruwaFW-MCPCheck:
Non MCP Actions = deliver
MCP Actions = deliver
High Scoring MCP Actions = deliver
Bounce MCP As Attachment = no
MCP Modify Subject = start
MCP Subject Text = {MCP?}
High Scoring MCP Modify Subject = start
High Scoring MCP Subject Text = {MCP?}
Is Definitely MCP = no
Is Definitely Not MCP = no
Definite MCP Is High Scoring = no
Always Include MCP Report = no
Detailed MCP Report = yes
Include Scores In MCP Report = no
Log MCP = no
MCP Max SpamAssassin Timeouts = 20
MCP Max SpamAssassin Size = 100k
MCP SpamAssassin Timeout = 10
MCP SpamAssassin Prefs File = %mcp-dir%/mcp.spam.assassin.prefs.conf
MCP SpamAssassin User State Dir =
MCP SpamAssassin Local Rules Dir = %mcp-dir%
MCP SpamAssassin Default Rules Dir = %mcp-dir%
MCP SpamAssassin Install Prefix = %mcp-dir%
Recipient MCP Report = %report-dir%/recipient.mcp.report.txt
Sender MCP Report = %report-dir%/sender.mcp.report.txt
Use Default Rules With Multiple Recipients = no
Read IP Address From Received Header = no
Spam Score Number Format = %d.1f
MailScanner Version Number = 4.85.5
SpamAssassin Cache Timings = 1800,300,10800,172800,600
Debug = no
Debug SpamAssassin = no
Run In Foreground = no
Always Looked Up Last = &BaruwaLog
Always Looked Up Last After Batch = no
Deliver In Background = yes
Delivery Method = batch
Split Exim Spool = no
Lockfile Dir = %spool-dir%/incoming/Locks
Custom Functions Dir = /usr/share/baruwa/CustomFunctions
Lock Type =
Syslog Socket Type =
Automatic Syntax Check = yes
Minimum Code Status = supported
include /etc/MailScanner/conf.d/*.conf
"

test Mailscanner.lns get conf =
    { "#comment" = "Main configuration file for the MailScanner E-Mail Virus Scanner"}
    { "%org-name%" = "BARUWA" }
    { "%org-long-name%" = "BARUWA MAILFW" }
    { "%web-site%" = "www.baruwa.com" }
    { "%etc-dir%" = "/etc/MailScanner" }
    { "%reports-base%" = "/etc/MailScanner/reports" }
    { "%report-dir%" = "/etc/MailScanner/reports/en" }
    { "%rules-dir%" = "/etc/MailScanner/rules" }
    { "%mcp-dir%" = "/etc/MailScanner/mcp" }
    { "%spool-dir%" = "/var/spool/MailScanner" }
    { "%signature-dir%" = "/etc/MailScanner/baruwa/signatures" }
    { "%brules-dir%" = "/etc/MailScanner/baruwa/rules" }
    { "Max Children" = "5" }
    { "Run As User" = "exim" }
    { "Run As Group" = "exim" }
    { "Queue Scan Interval" = "6" }
    { "Incoming Queue Dir" = "/var/spool/exim.in/input" }
    { "Outgoing Queue Dir" = "/var/spool/exim/input" }
    { "Incoming Work Dir" = "%spool-dir%/incoming" }
    { "Quarantine Dir" = "%spool-dir%/quarantine" }
    { "PID file" = "/var/run/MailScanner/MailScanner.pid" }
    { "Restart Every" = "7200" }
    { "MTA" = "exim" }
    { "Sendmail" = "/usr/sbin/exim -C /etc/exim/exim_out.conf" }
    { "Sendmail2" = "/usr/sbin/exim -C /etc/exim/exim_out.conf" }
    { "Incoming Work User" = "exim" }
    { "Incoming Work Group" = "clam" }
    { "Incoming Work Permissions" = "0640" }
    { "Quarantine User" = "exim" }
    { "Quarantine Group" = "baruwa" }
    { "Quarantine Permissions" = "0660" }
    { "Max Unscanned Bytes Per Scan" = "100m" }
    { "Max Unsafe Bytes Per Scan" = "50m" }
    { "Max Unscanned Messages Per Scan" = "30" }
    { "Max Unsafe Messages Per Scan" = "30" }
    { "Max Normal Queue Size" = "800" }
    { "Scan Messages" = "%rules-dir%/scan.messages.rules" }
    { "Reject Message" = "no" }
    { "Maximum Processing Attempts" = "6" }
    { "Processing Attempts Database" = "%spool-dir%/incoming/Processing.db" }
    { "Maximum Attachments Per Message" = "200" }
    { "Expand TNEF" = "yes" }
    { "Use TNEF Contents" = "replace" }
    { "Deliver Unparsable TNEF" = "no" }
    { "TNEF Expander" = "/usr/bin/tnef --maxsize=100000000" }
    { "TNEF Timeout" = "120" }
    { "File Command" = "/usr/sbin/file-wrapper" }
    { "File Timeout" = "20" }
    { "Gunzip Command" = "/bin/gunzip" }
    { "Gunzip Timeout" = "50" }
    { "Unrar Command" = "/usr/bin/unrar" }
    { "Unrar Timeout" = "50" }
    { "Find UU-Encoded Files" = "no" }
    { "Maximum Message Size" = "%brules-dir%/message.size.rules" }
    { "Maximum Attachment Size" = "-1" }
    { "Minimum Attachment Size" = "-1" }
    { "Maximum Archive Depth" = "4" }
    { "Find Archives By Content" = "yes" }
    { "Unpack Microsoft Documents" = "yes" }
    { "Zip Attachments" = "no" }
    { "Attachments Zip Filename" = "MessageAttachments.zip" }
    { "Attachments Min Total Size To Zip" = "100k" }
    { "Attachment Extensions Not To Zip" = ".zip .rar .gz .tgz .jpg .jpeg .mpg .mpe .mpeg .mp3 .rpm .htm .html .eml" }
    { "Add Text Of Doc" = "no" }
    { "Antiword" = "/usr/bin/antiword -f" }
    { "Antiword Timeout" = "50" }
    { "Unzip Maximum Files Per Archive" = "0" }
    { "Unzip Maximum File Size" = "50k" }
    { "Unzip Filenames" = "*.txt *.ini *.log *.csv" }
    { "Unzip MimeType" = "text/plain" }
    { "Virus Scanning" = "%brules-dir%/virus.checks.rules" }
    { "Virus Scanners" = "auto" }
    { "Virus Scanner Timeout" = "300" }
    { "Deliver Disinfected Files" = "no" }
    { "Silent Viruses" = "HTML-IFrame All-Viruses" }
    { "Still Deliver Silent Viruses" = "no" }
    { "Non-Forging Viruses" = "Joke/ OF97/ WM97/ W97M/ eicar" }
    { "Spam-Virus Header" = "X-%org-name%-BaruwaFW-SpamVirus-Report:" }
    { "Virus Names Which Are Spam" = "Sanesecurity.Spam*UNOFFICIAL HTML/* *Phish* *Suspected-phishing_safebrowsing*" }
    { "Block Encrypted Messages" = "no" }
    { "Block Unencrypted Messages" = "no" }
    { "Allow Password-Protected Archives" = "yes" }
    { "Check Filenames In Password-Protected Archives" = "yes" }
    { "Allowed Sophos Error Messages" }
    { "Sophos IDE Dir" = "/opt/sophos-av/lib/sav" }
    { "Sophos Lib Dir" = "/opt/sophos-av/lib" }
    { "Monitors For Sophos Updates" = "/opt/sophos-av/lib/sav/*.ide" }
    { "Monitors for ClamAV Updates" = "/var/lib/clamav/*.cvd" }
    { "ClamAVmodule Maximum Recursion Level" = "8" }
    { "ClamAVmodule Maximum Files" = "1000" }
    { "ClamAVmodule Maximum File Size" = "10000000" }
    { "ClamAVmodule Maximum Compression Ratio" = "250" }
    { "Clamd Port" = "3310" }
    { "Clamd Socket" = "/var/run/clamav/clamd.sock" }
    { "Clamd Lock File" }
    { "Clamd Use Threads" = "no" }
    { "ClamAV Full Message Scan" = "yes" }
    { "Fpscand Port" = "10200" }
    { "Dangerous Content Scanning" = "%rules-dir%/content.scanning.rules" }
    { "Allow Partial Messages" = "no" }
    { "Allow External Message Bodies" = "no" }
    { "Find Phishing Fraud" = "yes" }
    { "Also Find Numeric Phishing" = "yes" }
    { "Use Stricter Phishing Net" = "yes" }
    { "Highlight Phishing Fraud" = "yes" }
    { "Phishing Safe Sites File" = "%etc-dir%/phishing.safe.sites.conf" }
    { "Phishing Bad Sites File" = "%etc-dir%/phishing.bad.sites.conf" }
    { "Country Sub-Domains List" = "%etc-dir%/country.domains.conf" }
    { "Allow IFrame Tags" = "disarm" }
    { "Allow Form Tags" = "disarm" }
    { "Allow Script Tags" = "disarm" }
    { "Allow WebBugs" = "disarm" }
    { "Ignored Web Bug Filenames" = "spacer pixel.gif pixel.png gap" }
    { "Known Web Bug Servers" = "msgtag.com" }
    { "Web Bug Replacement" = "https://datafeeds.baruwa.com/1x1spacer.gif" }
    { "Allow Object Codebase Tags" = "disarm" }
    { "Convert Dangerous HTML To Text" = "no" }
    { "Convert HTML To Text" = "no" }
    { "Archives Are" = "zip rar ole" }
    { "Allow Filenames" }
    { "Deny Filenames" }
    { "Filename Rules" = "%rules-dir%/filename.rules" }
    { "Allow Filetypes" }
    { "Allow File MIME Types" }
    { "Deny Filetypes" }
    { "Deny File MIME Types" }
    { "Filetype Rules" = "%rules-dir%/filetype.rules" }
    { "Archives: Allow Filenames" }
    { "Archives: Deny Filenames" }
    { "Archives: Filename Rules" = "%etc-dir%/archives.filename.rules.conf" }
    { "Archives: Allow Filetypes" }
    { "Archives: Allow File MIME Types" }
    { "Archives: Deny Filetypes" }
    { "Archives: Deny File MIME Types" }
    { "Archives: Filetype Rules" = "%etc-dir%/archives.filetype.rules.conf" }
    { "Default Rename Pattern" = "__FILENAME__.disarmed" }
    { "Quarantine Infections" = "yes" }
    { "Quarantine Silent Viruses" = "no" }
    { "Quarantine Modified Body" = "no" }
    { "Quarantine Whole Message" = "yes" }
    { "Quarantine Whole Messages As Queue Files" = "no" }
    { "Keep Spam And MCP Archive Clean" = "yes" }
    { "Language Strings" = "%brules-dir%/languages.rules" }
    { "Rejection Report" = "%brules-dir%/rejectionreport.rules" }
    { "Deleted Bad Content Message Report" = "%brules-dir%/deletedcontentmessage.rules" }
    { "Deleted Bad Filename Message Report" = "%brules-dir%/deletedfilenamemessage.rules" }
    { "Deleted Virus Message Report" = "%brules-dir%/deletedvirusmessage.rules" }
    { "Deleted Size Message Report" = "%brules-dir%/deletedsizemessage.rules" }
    { "Stored Bad Content Message Report" = "%brules-dir%/storedcontentmessage.rules" }
    { "Stored Bad Filename Message Report" = "%brules-dir%/storedfilenamemessage.rules" }
    { "Stored Virus Message Report" = "%brules-dir%/storedvirusmessage.rules" }
    { "Stored Size Message Report" = "%brules-dir%/storedsizemessage.rules" }
    { "Disinfected Report" = "%brules-dir%/disinfectedreport.rules" }
    { "Inline HTML Signature" = "%brules-dir%/html.sigs.rules" }
    { "Inline Text Signature" = "%brules-dir%/text.sigs.rules" }
    { "Signature Image Filename" = "%brules-dir%/sig.imgs.names.rules" }
    { "Signature Image <img> Filename" = "%brules-dir%/sig.imgs.rules" }
    { "Inline HTML Warning" = "%brules-dir%/inlinewarninghtml.rules" }
    { "Inline Text Warning" = "%brules-dir%/inlinewarningtxt.rules" }
    { "Sender Content Report" = "%brules-dir%/sendercontentreport.rules" }
    { "Sender Error Report" = "%brules-dir%/sendererrorreport.rules" }
    { "Sender Bad Filename Report" = "%brules-dir%/senderfilenamereport.rules" }
    { "Sender Virus Report" = "%brules-dir%/sendervirusreport.rules" }
    { "Sender Size Report" = "%brules-dir%/sendersizereport.rules" }
    { "Hide Incoming Work Dir" = "yes" }
    { "Include Scanner Name In Reports" = "yes" }
    { "Mail Header" = "X-%org-name%-BaruwaFW:" }
    { "Spam Header" = "X-%org-name%-BaruwaFW-SpamCheck:" }
    { "Spam Score Header" = "X-%org-name%-BaruwaFW-SpamScore:" }
    { "Information Header" = "X-%org-name%-BaruwaFW-Information:" }
    { "Add Envelope From Header" = "yes" }
    { "Add Envelope To Header" = "no" }
    { "Envelope From Header" = "X-BARUWA-BaruwaFW-From:" }
    { "Envelope To Header" = "X-%org-name%-BaruwaFW-To:" }
    { "ID Header" = "X-%org-name%-BaruwaFW-ID:" }
    { "IP Protocol Version Header" }
    { "Spam Score Character" = "s" }
    { "SpamScore Number Instead Of Stars" = "no" }
    { "Minimum Stars If On Spam List" = "0" }
    { "Clean Header Value" = "Found to be clean" }
    { "Infected Header Value" = "Found to be infected" }
    { "Disinfected Header Value" = "Disinfected" }
    { "Information Header Value" = "Please contact %org-long-name% for more information" }
    { "Detailed Spam Report" = "yes" }
    { "Include Scores In SpamAssassin Report" = "yes" }
    { "Always Include SpamAssassin Report" = "no" }
    { "Multiple Headers" = "add" }
    { "Place New Headers At Top Of Message" = "yes" }
    { "Hostname" = "the %org-name% ($HOSTNAME) Baruwa" }
    { "Sign Messages Already Processed" = "no" }
    { "Sign Clean Messages" = "%brules-dir%/sign.clean.msgs.rules" }
    { "Attach Image To Signature" = "yes" }
    { "Attach Image To HTML Message Only" = "yes" }
    { "Allow Multiple HTML Signatures" = "no" }
    { "Dont Sign HTML If Headers Exist" }
    { "Mark Infected Messages" = "yes" }
    { "Mark Unscanned Messages" = "no" }
    { "Unscanned Header Value" = "Not scanned: please contact %org-long-name% for details" }
    { "Remove These Headers" = "X-Mozilla-Status: X-Mozilla-Status2:" }
    { "Deliver Cleaned Messages" = "yes" }
    { "Notify Senders" = "no" }
    { "Notify Senders Of Viruses" = "no" }
    { "Notify Senders Of Blocked Filenames Or Filetypes" = "no" }
    { "Notify Senders Of Blocked Size Attachments" = "no" }
    { "Notify Senders Of Other Blocked Content" = "no" }
    { "Never Notify Senders Of Precedence" = "list bulk" }
    { "Scanned Modify Subject" = "no" }
    { "Scanned Subject Text" = "{Scanned}" }
    { "Virus Modify Subject" = "no" }
    { "Virus Subject Text" = "{Virus?}" }
    { "Filename Modify Subject" = "no" }
    { "Filename Subject Text" = "{Filename?}" }
    { "Content Modify Subject" = "no" }
    { "Content Subject Text" = "{Dangerous Content?}" }
    { "Size Modify Subject" = "no" }
    { "Size Subject Text" = "{Size}" }
    { "Disarmed Modify Subject" = "no" }
    { "Disarmed Subject Text" = "{Disarmed}" }
    { "Phishing Modify Subject" = "yes" }
    { "Phishing Subject Text" = "{Suspected Phishing?}" }
    { "Spam Modify Subject" = "no" }
    { "Spam Subject Text" = "{Spam?}" }
    { "High Scoring Spam Modify Subject" = "no" }
    { "High Scoring Spam Subject Text" = "{Spam?}" }
    { "Warning Is Attachment" = "yes" }
    { "Attachment Warning Filename" = "%org-name%-Attachment-Warning.txt" }
    { "Attachment Encoding Charset" = "ISO-8859-1" }
    { "Archive Mail" }
    { "Missing Mail Archive Is" = "file" }
    { "Send Notices" = "no" }
    { "Notices Include Full Headers" = "yes" }
    { "Hide Incoming Work Dir in Notices" = "yes" }
    { "Notice Signature" = "-- \\n%org-name%\\nEmail Security\\n%website%" }
    { "Notices From" = "Baruwa" }
    { "Notices To" = "postmaster" }
    { "Local Postmaster" = "postmaster" }
    { "Spam List Definitions" = "%etc-dir%/spam.lists.conf" }
    { "Virus Scanner Definitions" = "%etc-dir%/virus.scanners.conf" }
    { "Spam Checks" = "%brules-dir%/spam.checks.rules" }
    { "Spam List" }
    { "Spam Domain List" }
    { "Spam Lists To Be Spam" = "1" }
    { "Spam Lists To Reach High Score" = "3" }
    { "Spam List Timeout" = "10" }
    { "Max Spam List Timeouts" = "7" }
    { "Spam List Timeouts History" = "10" }
    { "Is Definitely Not Spam" = "%brules-dir%/approved.senders.rules" }
    { "Is Definitely Spam" = "%brules-dir%/banned.senders.rules" }
    { "Definite Spam Is High Scoring" = "yes" }
    { "Ignore Spam Whitelist If Recipients Exceed" = "20" }
    { "Max Spam Check Size" = "4000k" }
    { "Use Watermarking" = "no" }
    { "Add Watermark" = "yes" }
    { "Check Watermarks With No Sender" = "yes" }
    { "Treat Invalid Watermarks With No Sender as Spam" = "nothing" }
    { "Check Watermarks To Skip Spam Checks" = "yes" }
    { "Watermark Secret" = "%org-name%-BaruwaFW-Secret" }
    { "Watermark Lifetime" = "604800" }
    { "Watermark Header" = "X-%org-name%-BaruwaFW-Watermark:" }
    { "Use SpamAssassin" = "yes" }
    { "Max SpamAssassin Size" = "800k" }
    { "Required SpamAssassin Score" = "%brules-dir%/spam.score.rules" }
    { "High SpamAssassin Score" = "%brules-dir%/highspam.score.rules" }
    { "SpamAssassin Auto Whitelist" = "yes" }
    { "SpamAssassin Timeout" = "75" }
    { "Max SpamAssassin Timeouts" = "10" }
    { "SpamAssassin Timeouts History" = "30" }
    { "Check SpamAssassin If On Spam List" = "yes" }
    { "Include Binary Attachments In SpamAssassin" = "no" }
    { "Spam Score" = "yes" }
    { "Cache SpamAssassin Results" = "yes" }
    { "SpamAssassin Cache Database File" = "%spool-dir%/incoming/SpamAssassin.cache.db" }
    { "Rebuild Bayes Every" = "0" }
    { "Wait During Bayes Rebuild" = "no" }
    { "Use Custom Spam Scanner" = "no" }
    { "Max Custom Spam Scanner Size" = "20k" }
    { "Custom Spam Scanner Timeout" = "20" }
    { "Max Custom Spam Scanner Timeouts" = "10" }
    { "Custom Spam Scanner Timeout History" = "20" }
    { "Spam Actions" = "%brules-dir%/spam.actions.rules" }
    { "High Scoring Spam Actions" = "%brules-dir%/highspam.actions.rules" }
    { "Non Spam Actions" = "%rules-dir%/nonspam.actions.rules" }
    { "SpamAssassin Rule Actions" }
    { "Sender Spam Report" = "%brules-dir%/senderspamreport.rules" }
    { "Sender Spam List Report" = "%brules-dir%/senderspamrblreport.rules" }
    { "Sender SpamAssassin Report" = "%brules-dir%/senderspamsareport.rules" }
    { "Inline Spam Warning" = "%brules-dir%/inlinespamwarning.rules" }
    { "Recipient Spam Report" = "%brules-dir%/recipientspamreport.rules" }
    { "Enable Spam Bounce" = "%rules-dir%/bounce.rules" }
    { "Bounce Spam As Attachment" = "no" }
    { "Syslog Facility" = "mail" }
    { "Log Speed" = "no" }
    { "Log Spam" = "no" }
    { "Log Non Spam" = "no" }
    { "Log Delivery And Non-Delivery" = "no" }
    { "Log Permitted Filenames" = "no" }
    { "Log Permitted Filetypes" = "no" }
    { "Log Permitted File MIME Types" = "no" }
    { "Log Silent Viruses" = "no" }
    { "Log Dangerous HTML Tags" = "no" }
    { "Log SpamAssassin Rule Actions" = "no" }
    { "SpamAssassin Temporary Dir" = "/var/spool/MailScanner/incoming/SpamAssassin-Temp" }
    { "SpamAssassin User State Dir" }
    { "SpamAssassin Install Prefix" }
    { "SpamAssassin Site Rules Dir" = "/etc/mail/spamassassin" }
    { "SpamAssassin Local Rules Dir" }
    { "SpamAssassin Local State Dir" }
    { "SpamAssassin Default Rules Dir" }
    { "DB DSN" = "DBI:Pg:database=baruwa" }
    { "DB Username" = "baruwa" }
    { "DB Password" = "password" }
    { "SQL Serial Number" = "SELECT MAX(value) AS confserialnumber FROM configurations WHERE internal='confserialnumber'" }
    { "SQL Quick Peek" = "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" }
    { "SQL Config" = "SELECT internal, dbvalue(value) AS value, hostname FROM quickpeek WHERE hostname=? OR hostname='default'" }
    { "SQL Ruleset" = "SELECT row_number, ruleset AS rule FROM msrulesets WHERE name=?" }
    { "SQL SpamAssassin Config" }
    { "SQL Debug" = "no" }
    { "Sphinx Host" = "127.0.0.1" }
    { "Sphinx Port" = "9306" }
    { "MCP Checks" = "no" }
    { "First Check" = "spam" }
    { "MCP Required SpamAssassin Score" = "1" }
    { "MCP High SpamAssassin Score" = "10" }
    { "MCP Error Score" = "1" }
    { "MCP Header" = "X-%org-name%-BaruwaFW-MCPCheck:" }
    { "Non MCP Actions" = "deliver" }
    { "MCP Actions" = "deliver" }
    { "High Scoring MCP Actions" = "deliver" }
    { "Bounce MCP As Attachment" = "no" }
    { "MCP Modify Subject" = "start" }
    { "MCP Subject Text" = "{MCP?}" }
    { "High Scoring MCP Modify Subject" = "start" }
    { "High Scoring MCP Subject Text" = "{MCP?}" }
    { "Is Definitely MCP" = "no" }
    { "Is Definitely Not MCP" = "no" }
    { "Definite MCP Is High Scoring" = "no" }
    { "Always Include MCP Report" = "no" }
    { "Detailed MCP Report" = "yes" }
    { "Include Scores In MCP Report" = "no" }
    { "Log MCP" = "no" }
    { "MCP Max SpamAssassin Timeouts" = "20" }
    { "MCP Max SpamAssassin Size" = "100k" }
    { "MCP SpamAssassin Timeout" = "10" }
    { "MCP SpamAssassin Prefs File" = "%mcp-dir%/mcp.spam.assassin.prefs.conf" }
    { "MCP SpamAssassin User State Dir" }
    { "MCP SpamAssassin Local Rules Dir" = "%mcp-dir%" }
    { "MCP SpamAssassin Default Rules Dir" = "%mcp-dir%" }
    { "MCP SpamAssassin Install Prefix" = "%mcp-dir%" }
    { "Recipient MCP Report" = "%report-dir%/recipient.mcp.report.txt" }
    { "Sender MCP Report" = "%report-dir%/sender.mcp.report.txt" }
    { "Use Default Rules With Multiple Recipients" = "no" }
    { "Read IP Address From Received Header" = "no" }
    { "Spam Score Number Format" = "%d.1f" }
    { "MailScanner Version Number" = "4.85.5" }
    { "SpamAssassin Cache Timings" = "1800,300,10800,172800,600" }
    { "Debug" = "no" }
    { "Debug SpamAssassin" = "no" }
    { "Run In Foreground" = "no" }
    { "Always Looked Up Last" = "&BaruwaLog" }
    { "Always Looked Up Last After Batch" = "no" }
    { "Deliver In Background" = "yes" }
    { "Delivery Method" = "batch" }
    { "Split Exim Spool" = "no" }
    { "Lockfile Dir" = "%spool-dir%/incoming/Locks" }
    { "Custom Functions Dir" = "/usr/share/baruwa/CustomFunctions" }
    { "Lock Type" }
    { "Syslog Socket Type" }
    { "Automatic Syntax Check" = "yes" }
    { "Minimum Code Status" = "supported" }
    { "include" = "/etc/MailScanner/conf.d/*.conf"}