Gabriele Di Giambelardini wrote:
Ok, I used that directive, now my postconf -n is this:
[snip]
daemon started -- version 2.3.8, configuration /etc/postfix
Nov 3 14:05:44 hosting postfix/smtpd[31371]: fatal: parameter
"smtpd_recipient_restrictions": specify at least one working instance of:
check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Nov 3 14:05:45 hosting postfix/master[31350]: warning: process
/usr/lib/postfix/smtpd pid 31371 exit status 1
Nov 3 14:05:45 hosting postfix/master[31350]: warning: /usr/lib/postfix/smtpd:
bad command startup -- throttling
I don't understand....
you don't read carefully. I said:
"but don't fix the typo. use smtpd_sender_restrictions as I suggested."
it's smtpd_SENDER_restrictions. sender, not recipient.
your smtpd_recipient_restrictions is not acceptable, because it makes
you an open relay. it's possible to fix it, but using
smtpd_sender_restrictions is safer (and easier).