initial commit of file from CVS for smeserver-clamav on Mon 10 Jul 08:35:52 BST 2023
This commit is contained in:
1
root/etc/e-smith/db/configuration/defaults/clamav/Checks
Normal file
1
root/etc/e-smith/db/configuration/defaults/clamav/Checks
Normal file
@@ -0,0 +1 @@
|
||||
24
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
current.cvd.clamav.net
|
@@ -0,0 +1 @@
|
||||
db.local.clamav.net
|
1
root/etc/e-smith/db/configuration/defaults/clamav/Debug
Normal file
1
root/etc/e-smith/db/configuration/defaults/clamav/Debug
Normal file
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
/proc,/sys,/usr/share,/var
|
@@ -0,0 +1 @@
|
||||
/home/e-smith/files
|
@@ -0,0 +1 @@
|
||||
admin
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
60
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
6
|
@@ -0,0 +1 @@
|
||||
30
|
@@ -0,0 +1 @@
|
||||
20
|
@@ -0,0 +1 @@
|
||||
15M
|
@@ -0,0 +1 @@
|
||||
1500
|
@@ -0,0 +1 @@
|
||||
8
|
@@ -0,0 +1 @@
|
||||
20
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
/var/spool/clamav/quarantine
|
@@ -0,0 +1 @@
|
||||
300
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
1
root/etc/e-smith/db/configuration/defaults/clamav/ScanPE
Normal file
1
root/etc/e-smith/db/configuration/defaults/clamav/ScanPE
Normal file
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
1800
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
unknown
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
disabled
|
1
root/etc/e-smith/db/configuration/defaults/clamav/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/clamav/status
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/clamav/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/clamav/type
Normal file
@@ -0,0 +1 @@
|
||||
service
|
@@ -0,0 +1 @@
|
||||
1610612736
|
1
root/etc/e-smith/db/configuration/defaults/clamd/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/clamd/status
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/clamd/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/clamd/type
Normal file
@@ -0,0 +1 @@
|
||||
service
|
@@ -0,0 +1 @@
|
||||
enabled
|
@@ -0,0 +1 @@
|
||||
service
|
20
root/etc/e-smith/db/configuration/migrate/40clamav93
Normal file
20
root/etc/e-smith/db/configuration/migrate/40clamav93
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
my $smtpd = $DB->get('clamav') or return;
|
||||
|
||||
if (my $maxFileSize = $DB->get_prop_and_delete('clamav', 'ArchiveMaxFileSize')) {
|
||||
$smtpd->merge_props('MaxFileSize', $maxFileSize);
|
||||
}
|
||||
|
||||
if (my $maxRecursion = $DB->get_prop_and_delete('clamav', 'ArchiveMaxRecursion')) {
|
||||
$smtpd->merge_props('MaxRecursion', $maxRecursion);
|
||||
}
|
||||
|
||||
if (my $maxFiles = $DB->get_prop_and_delete('clamav', 'ArchiveMaxFiles')) {
|
||||
$smtpd->merge_props('MaxFiles', $maxFiles);
|
||||
}
|
||||
|
||||
if (my $AlertEncrypted = $DB->get_prop_and_delete('clamav', 'ArchiveBlockEncrypted')) {
|
||||
$smtpd->merge_props('AlertEncrypted', $AlertEncrypted);
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
{
|
||||
my $clamav = $DB->get('clamav') or return;
|
||||
|
||||
return unless ($clamav->prop('DatabaseMirror') eq 'db.us.clamav.net');
|
||||
|
||||
$clamav->set_prop('DatabaseMirror','db.local.clamav.net');
|
||||
}
|
7
root/etc/e-smith/db/configuration/migrate/clamavLogTime
Normal file
7
root/etc/e-smith/db/configuration/migrate/clamavLogTime
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
my $clamav = $DB->get('clamav');
|
||||
return unless $clamav;
|
||||
|
||||
my $LogTime = 'yes';
|
||||
$DB->set_prop('clamav', 'LogTime', $LogTime);
|
||||
}
|
7
root/etc/e-smith/db/configuration/migrate/clamdMemLimit
Normal file
7
root/etc/e-smith/db/configuration/migrate/clamdMemLimit
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
my $clamd = $DB->get('clamd');
|
||||
return unless $clamd;
|
||||
|
||||
my $size = 1610612736;
|
||||
$DB->set_prop('clamd', 'MemLimit', $size) if $DB->get_prop('clamd','MemLimit') < $size;
|
||||
}
|
7
root/etc/e-smith/db/configuration/migrate/clamdSelfCheck
Normal file
7
root/etc/e-smith/db/configuration/migrate/clamdSelfCheck
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
my $clamd = $DB->get('clamd');
|
||||
return unless $clamd;
|
||||
|
||||
my $size = 600;
|
||||
$DB->set_prop('clamd', 'SelfCheck', $size);
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
{
|
||||
my $clamav = $DB->get('clamav');
|
||||
return unless $clamav;
|
||||
if ($clamav{'DetectBrokenExecutables'}) {
|
||||
$DB->get_prop_and_delete( 'clamav', 'DetectBrokenExecutables' );
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user