On Mon, Dec 22, 2008 at 02:53:37PM -0500, Munroe Sollog wrote:

> While that gets me what I am looking for, it is avoiding the
> functionality that is documented, regarding subdomain matching.  When I
> fire up a new server on that domain all I want to do is point all mail
> to be forwarded to krypton.  I have something like nullmailer or ssmtp
> installed on the outlying machines, and want all the address handling
> done at the "hub".  Thus configuring the "hub" to accept all mail
> destined for *.domain.com is ideal.

You can play with masquerade_domains if that works for you. It is safe
on internal hubs. On Internet facing systems in interacts poorly with
recipient validation.

Another option is to make an entire domain tree "local".

        mydesetination = example.com, pcre:/etc/postfix/subdomains.pcre

    subdomains.pcre:
        /\.example\.com$/       all sub-domains of example.com are local

Then individual users are handled via aliases(5), ...

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to