21 lines
318 B
Plaintext
21 lines
318 B
Plaintext
{
|
|
if (($dovecot{'FullTextIndexing'} || 'disabled') eq 'enabled'){
|
|
push @plugins, 'fts';
|
|
push @plugins, 'fts_squat';
|
|
my $string =<<'HERE';
|
|
|
|
plugin {
|
|
fts = squat
|
|
fts_squat = partial=4 full=10
|
|
}
|
|
|
|
HERE
|
|
|
|
push @conf, $string;
|
|
$OUT .= '';
|
|
}
|
|
else{
|
|
$OUT .= "# Full text indexing is disabled\n";
|
|
}
|
|
}
|