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.

Munroe Sollog
Systems Engineer
Digirati Consulting, Inc
sol...@digiraticonsulting.com




Wietse Venema wrote:
> Munroe Sollog:
>   
>> I will try to be as verbose as possible.  I have been working with a
>> few people in IRC and can't seem to get the functionality wanted.  I
>> have half a dozen servers, all with hostnames on a fake domain.  I
>> want mail bound for r...@hostname to be forwarded to a central
>> location so that I can then deliver all mail to a "real" address.
>> Auto-forwarding, is easy.  I can get all the servers to forward mail
>> to a central location.  However the central location is turning around
>> and trying to send it back to the source machine.
>>     
>
> /etc/postfix/main.cf:
>     virtual_alias_maps = hash:/etc/postfix/virtual
>
> /etc/postfix/virtual:
>     r...@hostname     someone+hostn...@example.com
>
> This will send mail for r...@hostname to some...@example.com,
> and assumes that + is the recipient delimiter on example.com.
>
>       Wietse
>   

Reply via email to