Thanks Victor and Benny. I think the section you mentioned is useful to
me.
Per-account access control
Postfix can implement policies that depend on the SASL login name
(Postfix 2.11 and later). Typically this is used to HOLD or REJECT mail
from accounts whose credentials have been compromised.
/etc/postfix/main.cf:
smtpd_recipient_restrictions =
permit_mynetworks
check_sasl_access hash:/etc/postfix/sasl_access
permit_sasl_authenticated
best regards.
On 2024-08-22 21:36, Viktor Dukhovni via Postfix-users wrote:
On Thu, Aug 22, 2024 at 08:44:33PM +0800, horizon--- via Postfix-users
wrote:
I am sorry that I have asked this question on dovecot list, but I got
no
answer there. So I am forwarding this to postfix list hoping I can get
your
help.
Is it *authentication* you want to disable, or the right to submit
messages? It may be simpler to just deny submission for some
authenticated users:
smtpd_sender_restrictions =
check_sasl_access inline:{
{ user1 = reject },
{ user2 = reject },
...
},
permit_sasl_authenticated,
reject
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org