Fix enabling a uto-reply in .qmail files

tags/smeserver-expire-accounts-0.1.7-1
Daniel Berteaud 9 years ago
parent 92444dbe8d
commit 736e4352bd
  1. 2
      root/etc/e-smith/templates-user/.qmail/20ExpireAutoReply

@ -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 ""
}

Loading…
Cancel
Save