split up rejects
This commit is contained in:
@ -48,9 +48,25 @@ sub parser {
|
||||
m/(\ \[($re_host)\]\ )/gcix && do {
|
||||
$host = $2;
|
||||
};
|
||||
} elsif($string =~ m/\ rejected (AUTH|MAIL)\ /) {
|
||||
} elsif($string =~ m/\ rejected (EHLO|HELO)\ /) {
|
||||
$_ = $string;
|
||||
$reply = 'Rejected MAIL or AUTH';
|
||||
$reply = 'Rejected HELO/EHLO';
|
||||
$hostile = 1;
|
||||
PARSER:
|
||||
m/(\ \[($re_host)\](\:|\ ))/gcix && do {
|
||||
$host = $2;
|
||||
};
|
||||
} elsif($string =~ m/\ rejected AUTH\ /) {
|
||||
$_ = $string;
|
||||
$reply = 'Rejected AUTH';
|
||||
$hostile = 1;
|
||||
PARSER:
|
||||
m/(\ \[($re_host)\]\ )/gcix && do {
|
||||
$host = $2;
|
||||
};
|
||||
} elsif($string =~ m/\ rejected MAIL\ /) {
|
||||
$_ = $string;
|
||||
$reply = 'Rejected MAIL';
|
||||
$hostile = 1;
|
||||
PARSER:
|
||||
m/(\ \[($re_host)\]\ )/gcix && do {
|
||||
|
||||
Reference in New Issue
Block a user