You are not logged in.

#1 2018-12-10 11:04:46

PetrS
Member
Registered: 2018-12-10
Posts: 1

Postfix restrictions rules

Hello,

should I separate helo, sender, recipient, data, etc. restrictions or can I write all configuration in one (let's say recipient) restriction section? I am not pretty sure which one is the right way because I saw both configurations.

What is the difference between this:

smtpd_helo_restrictions =
    permit_mynetworks
    reject_non_fqdn_helo_hostname
    reject_invalid_helo_hostname

smtpd_sender_restrictions =
    permit_mynetworks
    reject_non_fqdn_sender

smtpd_recipient_restrictions = 
    permit_mynetworks
    reject_unauth_destination
    reject_non_fqdn_recipient

smtpd_data_restrictions =
    reject_unauth_pipelining

And this:

smtpd_recipient_restrictions =
    permit_mynetworks
    reject_non_fqdn_helo_hostname
    reject_invalid_helo_hostname
    reject_unauth_destination
    reject_non_fqdn_recipient
    reject_non_fqdn_sender
    reject_unauth_pipelining

Thank you for explanation.

Petr

Last edited by PetrS (2018-12-10 13:16:00)

Offline

Board footer

Powered by FluxBB