107 |
$$o{login} = $1; $$o{fqdn} = $2; |
$$o{login} = $1; $$o{fqdn} = $2; |
108 |
} |
} |
109 |
if ($self->{option}->{validate} && $$o{fqdn} =~ |
if ($self->{option}->{validate} && $$o{fqdn} =~ |
110 |
/[.@](example\.(?:com|org|net)|localdomain|localhost|example|invalid|arpa)$/) { |
/[.@](example\.(?:com|org|net)|localdomain|localhost|example|invalid|test|arpa)$/) { |
111 |
Carp::croak "Msg-ID generation: invalid TLD of FQDN: .$1"; |
Carp::croak "Msg-ID generation: invalid TLD of FQDN: .$1"; |
112 |
} |
} |
113 |
if (!$$o{fqdn} && $$o{ip_address}) { |
if (!$$o{fqdn} && $$o{ip_address}) { |