On Tuesday, August 25, 2009 at 21:24 CEST,
     Cameron Camp <came...@logicalwebhost.com> wrote:

> LuKreme said to use:
> 
> check_sender_access hash:/etc/postfix/mydomain
> 
> == mydomain
> example.com     REJECT you cannot send on behalf of example.com
> .example.com    REJECT you cannot send on behalf of example.com
> 
> can I use:
> 
> check_sender_access proxy:mysql:/etc/postfix/mysql-virtual_domains.cf

That depends on your table schema and the contents of
mysql-virtual_domains.cf.

> and if so, what entry should I add in mysql db mail table domains?

You should add whatever is necessary to make queries of example.com
and .example.com produce the results you're looking for. Postfix more
or less allows arbitrary queries, so you can store the data
in any way you want and just construct a suitable query.

-- 
Magnus Bäck
mag...@dsek.lth.se

Reply via email to