Hello Noel Jones thanks, that's my fallback situation: unroll all addresses from DOM1.com and DOM2.com:
[email protected] [email protected], [email protected] [email protected] [email protected], [email protected] .... however I would like to avoid that because of administrative overhead (setup and future maintenance). DOM1.com and DOM2.com are 2 separate organizations that recently gained administrative affinities the simply operation of obtaining the complete address lists from DOM1.com and DOM2.com may not be easy best regards, João On Wed, Jan 18, 2012 at 5:10 PM, Noel Jones <[email protected]> wrote: > On 1/18/2012 10:35 AM, João Pagaime wrote: >> Hello >> >> as strange as it may seem I need to forward all email coming to >> DOM.com to DOM1.com and DOM2.com, regardless of the destination >> address at DOM.com >> >> I almost got away with a configuration like this at " /etc/postfix/virtual" >> >> @DOM.com @DOM1.com, @DOM2.com > > wildcard rewriting bypasses recipient validation and is strongly > discouraged. > >> >> unfortunately postfix only does writing on the first domain (as >> documented: "This works only for the first address in a multi-address >> lookup result." >> >> can someone help out with this configuration? maybe some regexp? > > Use a simple script to generate virtual_alias_maps from a list of > valid recipients. > > [email protected] [email protected] [email protected] > [email protected] [email protected] [email protected] > ... > > > > -- Noel Jones
