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.
How can I make that?
Thanks
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org
Hi Mike
as mentioned elsewhere in the thread you could use the sasl backend to
do this.
For example if using dovecot sasl for the authentication with sql
backend (and probably with ldap too though I didn't try that), dovecot
has a %s variable that will be set to the service name (smtp, pop3, imap
etc) and you can use that variable in the sql query to have different
responses depending on user and service.
John
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org