--- a/scripts/services/sendmail +++ b/scripts/services/sendmail @@ -388,7 +388,7 @@ } # QueueID formats: in 8.11 it was \w{7}\d{5}, in 8.12+ it is \w{8}\d{6} -my $QueueIDFormat = "(?:\\w{7,9}\\d{5}|NOQUEUE)"; +my $QueueIDFormat = "(?:\\w{7,9}\\d{5,6}|NOQUEUE)"; # ENOENT refers to "no such file or directory" my $ENOENT = Errno::ENOENT();