Hello,
could somebody explain me what is the purpose of this part in main.cf.in file?
I thought that "check_client_access" is applicable only in "smtpd_client_restrictions", "check_sender_access" only in "smtpd_sender_restrictions" and "check_recipient_access" only in "smtpd_recipient_restrictions".
Thank you for explanation.
Petr
could somebody explain me what is the purpose of this part in main.cf.in file?
Code:
smtpd_sender_restrictions =
check_client_access cidr:/etc/postfix/clientaccess
check_recipient_access regexp:/etc/postfix/rcptaccess
smtpd_recipient_restrictions =
[%- IF postfix.usepolicy %] check_sender_access regexp:/etc/postfix/senderaccess[% END %]
[%- IF postfix.usepolicy %] check_client_access cidr:/etc/postfix/clientaccess[% END %]
I thought that "check_client_access" is applicable only in "smtpd_client_restrictions", "check_sender_access" only in "smtpd_sender_restrictions" and "check_recipient_access" only in "smtpd_recipient_restrictions".
Thank you for explanation.
Petr