[Dovecot] Split imapsync cron by --

master
andryyy 2018-12-10 13:24:51 +01:00
parent 09b9055f1a
commit b710cb751b
1 changed files with 7 additions and 1 deletions

View File

@ -18,7 +18,13 @@ if ($imapsync_running eq 1)
exit;
}
sub qqw($) { split /\s+/, $_[0] }
sub qqw($) {
my @values = split('(?=--)', $_[0]);
foreach my $val (@values) {
$val=trim($val);
}
return @values
}
$DBNAME = '';
$DBUSER = '';