On 1/8/2014 8:31 AM, pgala wrote: > Hi, > > i want be able to relay mail sent by all of postfix server users. I try do > it by smtp_generic_maps. > My generic file is: > " > /.*/ myrelaym...@domain.com > " > > my problem is that rewriting is also recipient addres so the mails is send > to myrelaym...@domain.com. > > I know that i can set generic file: > " > @domain1local myrelaydom...@domain.com > @domain2local myrelaydom...@domain.com > " > and everything is fine, but i want be able to add new domain withouth > modification generic file. How can i do it?
Generic maps must be told which addresses to rewrite. You can't use a .* wildcard. You may be able to use a Makefile to adjust multiple postfix settings when a "domain" list is updated. -- Noel Jones