On Mon, Mar 07, 2022 at 03:31:43PM -0500, Alex wrote:

> Mar  7 13:25:36 armor postfix-113/smtpd[4009829]: NOQUEUE: reject:
> RCPT from unknown[173.213.231.144]: 504 5.5.2 <cp4435>: Helo command
> rejected: need fully-qualified hostname; from=<>
> to=<webad...@example.org> proto=ESMTP helo=<cp4435>
> 
>         reject_non_fqdn_helo_hostname,

> It also appears that smtpd_helo_required is still set to the default
> 'no', but wouldn't it normally be advisable to enable that check?

Replace "reject_non_fqdn_helo_hostname" with:

    main.cf:
        pcre = pcre:${config_directory}/

        # In the client, helo, sender or recipient restriction list
        smtpd_..._restrictions =
            ...
            check_helo_access ${pcre}non-fdqn-helo.pcre
            ...

    non-fdqn-helo.pcre:
        /^cp4435$/  DUNNO
        /^/         reject_non_fqdn_helo_hostname

-- 
    Viktor.

Reply via email to