/usr/lib/cyrus/upgrade/convert-sieve.pl is in cyrus-common-2.4 2.4.17+caldav~beta9-3.
This file is owned by root:root, with mode 0o755.
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 | #!/usr/bin/perl
#
# Run this script in your sievedir to fix the names of people's sieve
# directories to conform with the altnamespace format.
#
$|++;
foreach $file (glob "?/*.*") {
print "Converting $file...";
$oldfile = $file;
$file =~ s/\./^/g;
print "to $file...";
if (rename $oldfile, $file) {
print "Done.\n";
} else {
print "Error: $!\n";
}
}
|