Mauro Sanna wrote:
Not really. an OK in smtpd_sender_restrictions does not skip smtpd_recipient_restrictions. In particular, it doesn't make you an open relay.

If it doesn't skip so why not put directly in
smtpd_recipient_restrictions?


this is an anti-question. if you put it under smtpd_recipient_restrictions and the check has an OK (something that may happen one day or another), then it will skip other checks. which is not what you want. so you don't put it there.

In your case, you want to reject invalid senders. someday, you may want to change this to allow for few exceptions. if you put this under smtpd_sender_restrictions, you can simply use "OK". if you put this under smtpd_recipient_restrictions, you can't (you don't want to skip other checks) so you can only use DUNNO which is less flexible (dunno will not skip the following checks, even in a single restriction class).

Reply via email to