summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 33eaf79)
raw | patch | inline | side by side (parent: 33eaf79)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Sep 2008 13:28:30 +0000 (13:28 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Sep 2008 13:28:30 +0000 (13:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12379 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/client/events/mailqueue.pm | patch | blob | history |
index 5268b7b5696ec6b15dd3a725fa8131c2e12f32b3..9f07f685e85e0943509c3c7539ca02eff242e36e 100644 (file)
my $error = 0; # clear error status
# sanity check of each msg_id
- if (not $msg_id =~ /^[0-9A-Z]{10}$/) {
+ if (not $msg_id =~ /^[0-9A-Z]{10,12}$/) {
$error = 1;
- $error_string = "message ID is not valid ([0-9A-Z]{10}) : $msg_id";
+ $error_string = "message ID is not valid ([0-9A-Z]{10,12}) : $msg_id";
&main::daemon_log("ERROR: $error_string : $msg", 1);
}
my $error = 0; # clear error status
# sanity check of each msg_id
- if (not $msg_id =~ /^[0-9A-Z]{10}$/) {
+ if (not $msg_id =~ /^[0-9A-Z]{10,12}$/) {
$error = 1;
- $error_string = "message ID is not valid ([0-9A-Z]{10}) : $msg_id";
+ $error_string = "message ID is not valid ([0-9A-Z]{10,12}) : $msg_id";
&main::daemon_log("ERROR: $error_string : $msg", 1);
}
my $error = 0; # clear error status
# sanity check of each msg_id
- if (not $msg_id =~ /^[0-9A-Z]{10}$/) {
+ if (not $msg_id =~ /^[0-9A-Z]{10,12}$/) {
$error = 1;
- $error_string = "message ID is not valid ([0-9A-Z]{10}) : $msg_id";
+ $error_string = "message ID is not valid ([0-9A-Z]{10,12}) : $msg_id";
&main::daemon_log("ERROR: $error_string : $msg", 1);
}
my $error = 0; # clear error status
# sanity check of each msg_id
- if (not $msg_id =~ /^[0-9A-Z]{10}$/) {
+ if (not $msg_id =~ /^[0-9A-Z]{10,12}$/) {
$error = 1;
- $error_string = "message ID is not valid ([0-9A-Z]{10}) : $msg_id";
+ $error_string = "message ID is not valid ([0-9A-Z]{10,12}) : $msg_id";
&main::daemon_log("ERROR: $error_string : $msg", 1);
}
my $msg_id;
if (not $error) {
$msg_id = @{$msg_hash->{'msg_id'}}[0];
- if (not $msg_id =~ /^[0-9A-Z]{10}$/) {
+ if (not $msg_id =~ /^[0-9A-Z]{10,12}$/) {
$error = 1;
- $error_string = "message ID is not valid ([0-9A-Z]{10}) : $msg_id";
+ $error_string = "message ID is not valid ([0-9A-Z]{10,12}) : $msg_id";
&main::daemon_log("ERROR: $error_string : $msg", 1);
}
}