On 1/20/22 08:13, Wietse Venema wrote:
> [email protected]:
>> Today we stumbled over a postfix behaviour that was quite unexpected
>> for us.
>>
>> we had in main.cf
>>
>>
>> smtpd_client_restrictions =
>>    check_helo_access
>> pcre:/etc/postfix/helo_access.pcre,regexp:/etc/postfix/helo_access.rege
> 
> Commas and spaces are treated identically, therefore 
> this is equivalent to:
> 
> smtpd_client_restrictions =
>       check_helo_access pcre:/etc/postfix/helo_access.pcre
>       regexp:/etc/postfix/helo_access.regex
> 
> The syntax on the last line was deprecated, and was removed from
> the manpage. For backwards compatibility, if you omit the
> check_xxx_access before a table, then the kind of access is determined
> by the smtpd_xxx_restrictions type.
> 
> Therefore the above is equivalent to:
> 
> smtpd_client_restrictions =
>         check_helo_access pcre:/etc/postfix/helo_access.pcre 
>         check_client_access regexp:/etc/postfix/helo_access.regex
> 
>       Wietse

Would it be possible for Postfix to issue a warning for such deprecated
syntax?

-- 
Sincerely,
Demi Marie Obenour (she/her/hers)

Attachment: OpenPGP_0xB288B55FFF9C22C1.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to