initial commit of file from CVS for smeserver-clamav on Mon 10 Jul 08:35:52 BST 2023
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user