On 9/2/2010 4:51 PM, mouss wrote:
Le 02/09/2010 09:55, Stefan Seidel a écrit :
On Wed, 1 Sep 2010 16:33:31 -1000 (HST), Julian
Cowley<jul...@lava.net>
smtpd_recipient_restrictions =
Why would you use _recipient_ restrictions to block a _sender_?
it is ok to do that. smtpd_mumble_restrictions correspond to
stages, not to input fields. putting most of the checks under
smtpd_recipient_restrictions is a common approach, because you
have an ordered linear list. (I am assuming
smtpd_delay_reject=yes).
[snip]
Nitpick:
You don't need smtpd_delay_reject=yes to use sender checks
under smtpd_recipient_restrictions; the sender will always be
available at that time.
You do need smtpd_delay_reject=yes when you want to use
restrictions "out of order", ie. use smtpd_sender_restrictions
for recipient checks.
And yes, it is common and acceptable practice to put all
restrictions under smtpd_recipient_restrictions.
-- Noel Jones