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
|
Description: Fix paths on Debian in tools/rehash
Author: Sven Mueller <debian@incase.de>
Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org
Last-Update: 2020-02-10
--- a/perl/imap/IMAP/Shell.pm
+++ b/perl/imap/IMAP/Shell.pm
@@ -445,7 +445,7 @@
sub shell {
my ($server, $port, $authz, $auth, $systemrc, $userrc, $dorc, $mech, $pw,
$tlskey, $notls, $cacert, $capath) =
- ('', 143, undef, $ENV{USER} || $ENV{LOGNAME}, '/usr/local/etc/cyradmrc.pl',
+ ('', 143, undef, $ENV{USER} || $ENV{LOGNAME}, '/etc/cyradmrc.pl',
"$ENV{HOME}/.cyradmrc.pl", 1, undef, undef, undef, undef, undef, undef);
GetOptions('user|u=s' => \$auth,
'authz|z=s' => \$authz,
--- a/tools/rehash
+++ b/tools/rehash
@@ -66,10 +66,10 @@
# evil globals
my @configs = ($imapdconf);
-my $confdir = "/var/imap";
+my $confdir = "/var/lib/cyrus";
my @parts;
my $yn = "y";
-my $sievedir = "/usr/sieve";
+my $sievedir = "/var/spool/sieve";
my $nosievedir = 0;
my $hashimapspool = 0;
my $fulldirhash = 0;
|