Skip to content

Commit

Permalink
Fix a greedy match of regular expression. fixes #243
Browse files Browse the repository at this point in the history
  • Loading branch information
iredmail committed Oct 24, 2023
1 parent 443c357 commit 21b8e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/roundcubemail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ rcm_plugin_managesieve()
perl -pi -e 's#(.*managesieve_auth_type.*=).*#${1} "LOGIN";#' config.inc.php
perl -pi -e 's#(.*managesieve_port.*=).*#${1} $ENV{MANAGESIEVE_PORT};#' config.inc.php
perl -pi -e 's#(.*managesieve_usetls.*=).*#${1} true;#' config.inc.php
perl -pi -e 's#(.*managesieve_default.*=).*#${1} "";#' config.inc.php
perl -pi -e 's#(.*managesieve_default.. =).*#${1} "";#' config.inc.php
perl -pi -e 's#(.*managesieve_vacation.*=).*#${1} 1;#' config.inc.php
perl -pi -e 's#(.*managesieve_forward.*=).*#${1} 1;#' config.inc.php

Expand Down

0 comments on commit 21b8e8e

Please sign in to comment.