Fix enabling a uto-reply in .qmail files

This commit is contained in:
Daniel Berteaud 2016-02-04 15:47:32 +01:00
parent 92444dbe8d
commit 736e4352bd
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ my $pwd = $props{'PasswordSet'} || 'no';
my $locked = $props{'ExpireLockedOn'} || '';
my $reply = $props{'ExpireAutoReply'} || 'enabled';
if ($pwd eq 'yes' || $locked !~ m/^\d{4}\-\d{1,2}\-\d{1,2}$/ || $reply =~ m/^enabled|yes|on|1$/){
if ($pwd eq 'yes' || $locked !~ m/^\d{4}\-\d{1,2}\-\d{1,2}$/ || $reply !~ m/^enabled|yes|on|1$/){
return ""
}