[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

Reply via email to