On 17 January 2013 16:17, Noel Jones <njo...@megan.vbhcs.org> wrote: > On 1/17/2013 3:58 AM, Muzaffer wrote: > > Hi, > > > > Is there a simpler way of making postfix accept mail for all the > > domains I'm hosting, than adding them one by one to > > $virtual_alias_domains? > > > > Regards, > > In addition to listing the domains in main.cf, postfix can read from > an sql database or from an indexed file. If you have lots of > frequently-changing domains, you are expected to generate this list > automatically or use a shared db. > > > -- Noel Jones >
I've just found out a virtual file in the format u...@example.com example doesn't work with virtual_alias_domains. Guess I need to find another solution.