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>
wrote:
Hello,
I would like to block a particular user who is authenticated using
SASL from sending mail. Is there a way to do this?
I found one way to do it, but it is not perfect. I can block the
the email address of that user (the one they normally use) using
smtpd_sender_login_maps. This doesn't prevent them from using another
email address, however.
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]