initial commit of file from CVS for e-smith-email on Wed 12 Jul 08:53:55 BST 2023
This commit is contained in:
3
root/etc/cron.d/purge_junkmail
Normal file
3
root/etc/cron.d/purge_junkmail
Normal file
@@ -0,0 +1,3 @@
|
||||
# Visit all user's junkmail folders, and purge old messages
|
||||
# Do it late at night, but well before the backup - e.g. 11:25pm
|
||||
25 23 * * * root perl /etc/e-smith/events/actions/purge-junkmail-folders
|
1
root/etc/e-smith/db/accounts/defaults/abuse/Account
Normal file
1
root/etc/e-smith/db/accounts/defaults/abuse/Account
Normal file
@@ -0,0 +1 @@
|
||||
admin
|
1
root/etc/e-smith/db/accounts/defaults/abuse/Removable
Normal file
1
root/etc/e-smith/db/accounts/defaults/abuse/Removable
Normal file
@@ -0,0 +1 @@
|
||||
no
|
1
root/etc/e-smith/db/accounts/defaults/abuse/type
Normal file
1
root/etc/e-smith/db/accounts/defaults/abuse/type
Normal file
@@ -0,0 +1 @@
|
||||
pseudonym
|
1
root/etc/e-smith/db/accounts/defaults/anonymous/Account
Normal file
1
root/etc/e-smith/db/accounts/defaults/anonymous/Account
Normal file
@@ -0,0 +1 @@
|
||||
admin
|
@@ -0,0 +1 @@
|
||||
no
|
1
root/etc/e-smith/db/accounts/defaults/anonymous/type
Normal file
1
root/etc/e-smith/db/accounts/defaults/anonymous/type
Normal file
@@ -0,0 +1 @@
|
||||
pseudonym
|
1
root/etc/e-smith/db/accounts/defaults/devnull/type
Normal file
1
root/etc/e-smith/db/accounts/defaults/devnull/type
Normal file
@@ -0,0 +1 @@
|
||||
alias
|
1
root/etc/e-smith/db/accounts/defaults/everyone/Account
Normal file
1
root/etc/e-smith/db/accounts/defaults/everyone/Account
Normal file
@@ -0,0 +1 @@
|
||||
shared
|
@@ -0,0 +1 @@
|
||||
no
|
1
root/etc/e-smith/db/accounts/defaults/everyone/Removable
Normal file
1
root/etc/e-smith/db/accounts/defaults/everyone/Removable
Normal file
@@ -0,0 +1 @@
|
||||
no
|
1
root/etc/e-smith/db/accounts/defaults/everyone/Visible
Normal file
1
root/etc/e-smith/db/accounts/defaults/everyone/Visible
Normal file
@@ -0,0 +1 @@
|
||||
internal
|
1
root/etc/e-smith/db/accounts/defaults/everyone/type
Normal file
1
root/etc/e-smith/db/accounts/defaults/everyone/type
Normal file
@@ -0,0 +1 @@
|
||||
pseudonym
|
@@ -0,0 +1 @@
|
||||
admin
|
@@ -0,0 +1 @@
|
||||
no
|
1
root/etc/e-smith/db/accounts/defaults/mailer-daemon/type
Normal file
1
root/etc/e-smith/db/accounts/defaults/mailer-daemon/type
Normal file
@@ -0,0 +1 @@
|
||||
pseudonym
|
1
root/etc/e-smith/db/accounts/defaults/postmaster/Account
Normal file
1
root/etc/e-smith/db/accounts/defaults/postmaster/Account
Normal file
@@ -0,0 +1 @@
|
||||
admin
|
@@ -0,0 +1 @@
|
||||
no
|
1
root/etc/e-smith/db/accounts/defaults/postmaster/type
Normal file
1
root/etc/e-smith/db/accounts/defaults/postmaster/type
Normal file
@@ -0,0 +1 @@
|
||||
pseudonym
|
13
root/etc/e-smith/db/accounts/migrate/20migrate_typo
Normal file
13
root/etc/e-smith/db/accounts/migrate/20migrate_typo
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
# Migrate any value from Visisble property. :)
|
||||
my $everyone = $DB->get('everyone');
|
||||
if ($everyone)
|
||||
{
|
||||
my $visible = $everyone->prop('Visisble');
|
||||
if ($visible)
|
||||
{
|
||||
$everyone->set_prop('Visible', $visible);
|
||||
$everyone->delete_prop('Visisble');
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1 @@
|
||||
every15min
|
@@ -0,0 +1 @@
|
||||
every15min
|
@@ -0,0 +1 @@
|
||||
every15min
|
@@ -0,0 +1 @@
|
||||
standard
|
@@ -0,0 +1 @@
|
||||
popaccount
|
@@ -0,0 +1 @@
|
||||
poppassword
|
@@ -0,0 +1 @@
|
||||
mail.myisp.xxx
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
service
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
|
@@ -0,0 +1 @@
|
||||
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
service
|
@@ -0,0 +1 @@
|
||||
90
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
my $e = $DB->get_value("EmailUnknownUser");
|
||||
$DB->set_value("EmailUnknownUser",'returntosender')
|
||||
if (defined $e && $e eq 'return');
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
{
|
||||
my $MD5Patch = $DB->get_prop_and_delete('smtp-auth-proxy','MD5Patch') or return;
|
||||
|
||||
if ($MD5Patch eq 'enabled')
|
||||
{
|
||||
$DB->set_prop('smtp-auth-proxy','Blacklist', 'CRAM-MD5 DIGEST-MD5');
|
||||
}
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
my $debug = $DB->get_prop('smtp-auth-proxy','Debug') or return;
|
||||
|
||||
$DB->set_prop('smtp-auth-proxy','Debug', 'disabled') if $debug eq 0;
|
||||
}
|
13
root/etc/e-smith/db/configuration/migrate/20smtpProxy
Normal file
13
root/etc/e-smith/db/configuration/migrate/20smtpProxy
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
# In SME Server 7 smtpd Proxy used 'enabled'.
|
||||
# In SME Server 8 the UI uses enabled but the configuration value is transparent.
|
||||
# This migrate fragment is needed to allow upgrades from SME Server 7.
|
||||
|
||||
my $proxy = $DB->get_prop('qpsmtpd','Proxy') or return;
|
||||
|
||||
if ($proxy eq 'enabled')
|
||||
{
|
||||
$DB->set_prop('qpsmtpd','Proxy', 'blocked');
|
||||
$DB->set_prop('qpsmtpd','Authentication', 'enabled');
|
||||
}
|
||||
}
|
7
root/etc/e-smith/db/configuration/migrate/20smtpd-auth
Normal file
7
root/etc/e-smith/db/configuration/migrate/20smtpd-auth
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
my $qpsmtpd = $DB->get('qpsmtpd') or return;
|
||||
|
||||
my $auth = $DB->get_prop_and_delete('qpsmtpd','authentication') or return;
|
||||
|
||||
$qpsmtpd->merge_props('Authentication',$auth);
|
||||
}
|
12
root/etc/e-smith/db/configuration/migrate/20smtpfront-qmail
Normal file
12
root/etc/e-smith/db/configuration/migrate/20smtpfront-qmail
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
my $mailfront = $DB->get("smtpfront-qmail") or return;
|
||||
|
||||
my $qpsmtpd = $DB->get("qpsmtpd") ||
|
||||
$DB->new_record("qpsmtpd", { type => "service" });
|
||||
|
||||
$qpsmtpd->merge_props($mailfront->props);
|
||||
|
||||
$qpsmtpd->delete_prop($_) for ( qw(Patterns PatternsFile) );
|
||||
|
||||
$mailfront->delete;
|
||||
}
|
10
root/etc/e-smith/db/configuration/migrate/30popd
Normal file
10
root/etc/e-smith/db/configuration/migrate/30popd
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
my $popd = $DB->get("popd") or return;
|
||||
|
||||
my $pop3 = $DB->get("pop3") ||
|
||||
$DB->new_record("pop3", { type => "service" });
|
||||
|
||||
$pop3->merge_props($popd->props);
|
||||
|
||||
$popd->delete;
|
||||
}
|
10
root/etc/e-smith/db/configuration/migrate/35enableImap
Normal file
10
root/etc/e-smith/db/configuration/migrate/35enableImap
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
|
||||
my $imap = $DB->get('imap') ||
|
||||
$DB->new_record('imap', {type => 'service'});
|
||||
my $status = $imap->prop('status') || 'disabled';
|
||||
return "" if ($status eq 'enabled');
|
||||
$imap->set_prop('status', 'enabled');
|
||||
$imap->set_prop('access', 'localhost');
|
||||
|
||||
}
|
@@ -0,0 +1,14 @@
|
||||
{
|
||||
my $hordessl = $DB->get_prop('horde', 'access') or return;
|
||||
if ($hordessl eq 'SSL')
|
||||
{
|
||||
$DB->set_prop('horde',"HttpsOnly", "yes" );
|
||||
$DB->set_prop('horde',"access", "public" );
|
||||
}
|
||||
elsif ($hordessl eq 'full')
|
||||
{
|
||||
$DB->set_prop('horde',"HttpsOnly", "no" );
|
||||
$DB->set_prop('horde',"access", "public" );
|
||||
}
|
||||
}
|
||||
|
1
root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Body
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Body
Normal file
@@ -0,0 +1 @@
|
||||
AHhIYW5k
|
@@ -0,0 +1 @@
|
||||
PIF file (AHhIYW5k)
|
1
root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Glob
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Glob
Normal file
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
disabled
|
1
root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/type
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/type
Normal file
@@ -0,0 +1 @@
|
||||
pattern
|
1
root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Body
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Body
Normal file
@@ -0,0 +1 @@
|
||||
AHhUYXgg
|
@@ -0,0 +1 @@
|
||||
PIF file (AHhUYXgg)
|
1
root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Glob
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Glob
Normal file
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
disabled
|
1
root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/type
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/type
Normal file
@@ -0,0 +1 @@
|
||||
pattern
|
1
root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Body
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Body
Normal file
@@ -0,0 +1 @@
|
||||
AMkgICAg
|
@@ -0,0 +1 @@
|
||||
PIF file (AMkgICAg)
|
1
root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Glob
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Glob
Normal file
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
disabled
|
1
root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/type
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/type
Normal file
@@ -0,0 +1 @@
|
||||
pattern
|
@@ -0,0 +1 @@
|
||||
AMlIbDk5Lm
|
@@ -0,0 +1 @@
|
||||
PIF file (AMlIbDk5Lm)
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
pattern
|
1
root/etc/e-smith/db/mailpatterns/defaults/GIF01/Body
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/GIF01/Body
Normal file
@@ -0,0 +1 @@
|
||||
R0lGODlhaAA7APcAAP///+rp6puSp6GZrDUjUUc6Zn53mFJMdbGvvVtXh2xre8bF1x8cU4yLprOy
|
@@ -0,0 +1 @@
|
||||
GIF file from old virus
|
1
root/etc/e-smith/db/mailpatterns/defaults/GIF01/Glob
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/GIF01/Glob
Normal file
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
1
root/etc/e-smith/db/mailpatterns/defaults/GIF01/Status
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/GIF01/Status
Normal file
@@ -0,0 +1 @@
|
||||
disabled
|
1
root/etc/e-smith/db/mailpatterns/defaults/GIF01/type
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/GIF01/type
Normal file
@@ -0,0 +1 @@
|
||||
pattern
|
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Body
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Body
Normal file
@@ -0,0 +1 @@
|
||||
TVoFAQUAA
|
@@ -0,0 +1 @@
|
||||
PC executables (TVoAAAAAA)
|
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Glob
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Glob
Normal file
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
disabled
|
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/type
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/type
Normal file
@@ -0,0 +1 @@
|
||||
pattern
|
@@ -0,0 +1 @@
|
||||
TVoAAAEAAA
|
@@ -0,0 +1 @@
|
||||
PC executables (TVoAAAEAAA)
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
pattern
|
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Body
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Body
Normal file
@@ -0,0 +1 @@
|
||||
TVoAAAQAA
|
@@ -0,0 +1 @@
|
||||
PC executables (TVoAAAQAA)
|
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Glob
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Glob
Normal file
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
disabled
|
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/type
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/type
Normal file
@@ -0,0 +1 @@
|
||||
pattern
|
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Body
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Body
Normal file
@@ -0,0 +1 @@
|
||||
TVoAACoAG
|
@@ -0,0 +1 @@
|
||||
PC executables (TVoAACoAG)
|
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Glob
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Glob
Normal file
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
disabled
|
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/type
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/type
Normal file
@@ -0,0 +1 @@
|
||||
pattern
|
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Body
Normal file
1
root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Body
Normal file
@@ -0,0 +1 @@
|
||||
TVoFAQUAA
|
@@ -0,0 +1 @@
|
||||
PC executables (TVoAAD8AA)
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user