Hi,

I would like to only allow sasl authenticated relay for specific users, so I have in main.cf:

smtpd_relay_restrictions = permit_mynetworks, check_sasl_access hash:/etc/postfix/sasl_list,....

and in /etc/postfix/sasl_list:
username1 OK
username2 REJECT
username3 OK
* REJECT

The config works. I tested: username1 can relay, username2 cannot.

However, I want to blacklist ALL my users, except username1 / username3, so the line with "*" is ignored.

Googled and googled, but I can't find: How can I enter wildcards in that file, or otherwise get the same result?

This is postfix 2.11.2

MJ

Reply via email to