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 make that?
Something like: 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 } } ...other -o options... submissions ... ... ... ... ... ... smtpd -o { smtpd_client_restrictions = check_sasl_access inline:{{ user@example = OK }} static:{ REJECT this user is not allowed to send mail } } ...other -o options... Instead of 'submissions', some configurations use 'smtps' for the same thing. Execute "postfix reload" after editing master.cf, and look for warnings in the maillog file. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org