| |||||||||||||||||||||||||||||||
|
I use postfix with virtual domains, mysql backend. I have virtual_alias_maps = proxy:mysql:$config_directory/mysql_virtual_alias_maps.cf mysql_virtual_alias_maps.cf is as follows: user = postfix password = <password> hosts = localhost dbname = postfix query = SELECT goto FROM alias WHERE address='%s' AND active = '1' I would like to create some "groups" in the mailbox table, adding a column with the list of groups the specific address belong to. Therefore, I will "complicate" the query to select from that table also. The problems is the I would like these groups (that is departments) to be accesible only when the sender is within that specific domain. To and with the real question: I see that the query uses %s to specify the "send to" address. Is there an option for the "from" address? I also have a second question: is there a straightforward way to create an all@domain alias and restrict access to it from within that domain only? Thanks (sorry for the fuzzy description of what I would like to do) -- Sincerely, Andrei-Florian STAICU Network Administrator Tel: (+40) 741.227.014 IPSO S.A.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com