Re: Dynamic sender and recipient restrictions

2009-03-11 Thread Michał Łomnicki
> "Yes" because you can use MySQL for a lookup table. > http://www.postfix.org/mysql_table.5.html > > "No" because I don't believe you can lookup the sender AND recipient > at once for this kind of check. For that you need a policy server. "No" because postfix can pass only one argument to where

Re: Dynamic sender and recipient restrictions

2009-03-11 Thread Michał Łomnicki
> Yes, you can do this with a policy server. Some pre-built Thank you Noel. That's exactly what I was looking for. Michael

Dynamic sender and recipient restrictions

2009-03-11 Thread Michał Łomnicki
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 s