DOKK / manpages / debian 12 / libmail-milter-perl / Mail::Milter::Module::HeloUnqualified.3pm.en
Mail::Milter::Module::HeloUnqualified(3pm) User Contributed Perl Documentation Mail::Milter::Module::HeloUnqualified(3pm)

Mail::Milter::Module::HeloUnqualified - milter to check for an unqualified HELO name

    use Mail::Milter::Module::HeloUnqualified;
    my $milter = new Mail::Milter::Module::HeloUnqualified([EXCEPT]);
    my $milter2 = &HeloUnqualified([EXCEPT]); # convenience

This milter module rejects any domain name that HELOs without a dot, and which is not an IPv4/IPv6 literal. Whether or not the HELO value corresponds to the connecting host is not checked by this module.

If the EXCEPT argument is supplied, it should be a regex enclosed in a string which will be exempted from this check. Commonly, '^localhost' is excepted.

Todd Vierling, <tv@duh.org> <tv@pobox.com>

Mail::Milter::Object

2023-01-22 perl v5.36.0