Hi folks

        I've got web application where users can send messages to each
other. Messages are e-mails and system base on postfix and roundcube
(web client). User A can send message to user B if B has A on his
contact list. 
        I need to configure postfix to check restrictions for both
sender and receiver. Ie. if there are users A, B and C postfix should
allow send mail from A to B and from B to C, but not from A to C. Rules
changes as often as contact lists so restrictions cannot be static.
        Is it possible to create sender and recipient
restrictions dynamic, where sender and recipient are selected by sql
query?

Best regards,
Michael

Reply via email to