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:
> "
> /.*/        [email protected]
> "
> 
> my problem is that rewriting is also recipient addres so the mails is send
> to [email protected].
> 
> I know that i can set generic file:
> "
> @domain1local   [email protected]
> @domain2local   [email protected]
> "
> 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

Reply via email to