ghe wrote:
James Berwick wrote:
From the documentation:
check_client_access type:table
Search the specified access database for the client hostname, parent
domains, client IP address, or networks obtained by stripping least
significant octets. See the access(5) manual page for details.
You'd want your client_access file to list hostnames and IPs to
permit/reject, email addresses won't be queried for.
And the client in 'check_client_access' is the host postfix is receiving
from; not the one it's sending to...
Thanx a bunch!
Could you give some advice on my current postfix setup?
Currently i use the following:
smtpd_client_restrictions = reject_invalid_hostname check_client_access
hash:/etc/postfix/client_access
So, reject_invalid_hostname will check for the server we are receiving
mail from.
Is that OK, or would be change this?
Better change or add other things?
I ask about smtpd_sender_restrictions and smtpd_recipient_restrictions
in later mails ...