diff --git a/VIRTUAL_VACATION/vacation.pl b/VIRTUAL_VACATION/vacation.pl index 6ea43a6..1f5f9be 100755 --- a/VIRTUAL_VACATION/vacation.pl +++ b/VIRTUAL_VACATION/vacation.pl @@ -125,12 +125,15 @@ while (my $line = <>) { print $fh_email "Content-Type: text/plain; charset=utf-8\n\n"; print $fh_email "$vacation_msg[1]\n"; close $fh_email; + } else { + delete $ooo{$sid}; + dolog($fh, "$sid removed session - cache hit", $opt_l); } delete $ooo{$sid}; dolog($fh, "$sid removed session - OOO done", $opt_l); } else { delete $ooo{$sid}; - dolog($fh, "$sid removed session - OOO cache hit", $opt_l); + dolog($fh, "$sid removed session - OOO not found for $email", $opt_l); } } elsif ($line =~ m/data-line/ && $data eq '.' && $ooo{$sid} == 0) {