Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2004 12:14:08 +0200 (CEST)
From:      Olaf Hoyer <ohoyer@ohoyer.de>
To:        Peter Risdon <peter@circlesquared.com>
Cc:        FreeBSD Question List <freebsd-questions@freebsd.org>
Subject:   Re: OT - sendmail forwarding for entire domain
Message-ID:  <20040520120535.W21807@gaff.hhhr.ision.net>
In-Reply-To: <40AC7FC9.3060803@circlesquared.com>
References:  <40AC7FC9.3060803@circlesquared.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20 May 2004, Peter Risdon wrote:

> Is it possible to configure sendmail to forward mail for an entire
> domain to another mail server, identified by ip address rather than
> domain name, keeping the original To: headers intact?

Hi!

DIfferent ways to do this:

I assume that the domain example.com is already added to
/etc/mail/local-host-names.

Then, depending on your preferences, whether use the virtusertable:

@example.com    %1@[172.16.0.1]

or the mailertable, which should be the better approach to your setup:

.example.com                 smtp:[172.16.0.1]


HTH
Olaf

-- 
Olaf Hoyer        ohoyer@gaff.hhhr.ision.net
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040520120535.W21807>