I want to configure postfix with inbound authentication. For example, if this is my list of clients:
user | password
alice@alice.com 1234
bob@bob.com 5678
I want to serve only them and accept connections only from them.
The use-case is: Alice wants to send a mail to someone@gmail.com and pass through my MTA. Alice opens a connection to my postfix (MAIL FROM: alice@alice.com, RCPT TO: someone@gmail.com), and somewhere in the middle I want Alice to identify with her password 1234.
How can I force it using postfix configurations?