On 1/17/2013 10:28 AM, Muzaffer wrote: > > > On 17 January 2013 16:17, Noel Jones <njo...@megan.vbhcs.org > <mailto: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 <http://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 > <mailto:u...@example.com> example doesn't work with > virtual_alias_domains. Guess I need to find another solution.
The supported format is documented. http://www.postfix.org/VIRTUAL_README.html#virtual_alias http://www.postfix.org/postconf.5.html#virtual_alias_domains If you need more help, you'll need to describe your problem in more detail. To report a problem, please see http://www.postfix.org/DEBUG_README.html#mail -- Noel Jones