most of them are empty by default iirc.
is no value is given, afaik the default is permit. That's why the
default value of smtpd_relay_restrictions is not empty by
edfault
On 17.07.19 15:26, Tobias Köck wrote:
smtpd_client_restrictions = permit_mynetworks, reject
Yes the default value is empty and so to allow all connections but
that doesn't mean that that behavior is the same if the attribute
isn't empty. That's not 100 percent clear in the documentation.
Does that mean if I don't put some kind of 'reject' rule at the end
all the rules aren't restricting anything because I have a default
allow at the end anyway?
you are restricting unauthorized mail relaying by default, since 2.10.
Note that there are directives like smtpd_helo_required,
smtpd_reject_unlisted_sender and smtpd_reject_unlisted_recipient
of which each affects the result even if you don't specify anything in
restrictions lists, but only
smtpd_reject_unlisted_recipient seems to be "yea" by default, so you don't
receive mail for non-existing recipients.
otherwise, everything seems to be enabled.
chech http://www.postfix.org/postconf.5.html for more info.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Fucking windows! Bring Bill Gates! (Southpark the movie)