* Tim Prepscius <[email protected]> [2013-09-23 16:58:07 -0400]:

> Hey there,
> 
> So I'm continuing to configuration postfix.
> 
> I'm having some problems with virtual domains.  The goal of the
> virtual domains is to enumerate the domains which I'm ok with
> receiving mail.
> 
> So in my main.cf file I have:
> 
> virtual_mailbox_domains = hash:/etc/postfix/config/virtual_domains
> 
> 
> And the /etc/postfix/config/virtual_domains looks like:
> mydomain.com
> 
> 
> Firstly:
> postfix complains that it can't find "/etc/postfix/config/virtual_domains.db"
> so I renamed /etc/postfix/config/virtual_domains to
> /etc/postfix/config/virtual_domains.db...
> 
> Then it says there is some sort of table problem..
 
You need to use postmap(1) on your vitual_domains file, which then creates the 
.db file.

> 
> 1.  I definitely want one file with the domains in it.
> 2.  Should I be approaching this problem differently?
> 
> Thanks a lot in advance,
> 
> -tim

Reply via email to