On 25/05/2024 23:58, Mike via Postfix-users wrote:
Hello,
My setup like below:
I have Postfix setup and use dovecot as SASL. Now, all email accounts
can use the smtp server to send emails. I want to allow only one email
account to send out emails and rest of others can only use POP3 or IMAP
great knowledge. thanks Wietse.
master.cf:
submission ... ... ... ... ... ... smtpd
-o { smtpd_client_restrictions =
check_sasl_access inline:{{ user@example = OK }}
static:{ REJECT this user is not allowed to send mail }
}
...
Mike via Postfix-users:
> Hello,
>
> My setup like below:
>
> I have Postfix setup and use dovecot as SASL. Now, all email accounts
> can use the smtp server to send emails. I want to allow only one email
> account to send out emails and rest of others can only use POP3 or IMAP.
>
> How can I
Mike via Postfix-users skrev den 2024-05-25 23:58:
How can I make that?
check_sasl_access https://wiki.zimbra.com/wiki/How-to-restrict-ssl-login
imho same you want ?
just replace reject with permit, and reject all remaining if sasl user
is not that user
__
On 26/05/24 09:58, Mike via Postfix-users wrote:
Hello,
My setup like below:
I have Postfix setup and use dovecot as SASL. Now, all email accounts
can use the smtp server to send emails. I want to allow only one email
account to send out emails and rest of others can only use POP3 or IMAP.
iptables?
I have Postfix setup and use dovecot as SASL. Now, all email accounts
can use the smtp server to send emails. I want to allow only one email
account to send out emails and rest of others can only use POP3 or IMAP.
___
Postfix-users mailin