Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2007 20:21:40 +0000
From:      "Christian Walther" <cptsalek@gmail.com>
To:        jekillen <jekillen@prodigy.net>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: relay host in sendmail?
Message-ID:  <14989d6e0712081221s7997cbb6jfafcc7a0ccb6d2b2@mail.gmail.com>
In-Reply-To: <31322205af1848d55900544163c31dd3@prodigy.net>
References:  <31322205af1848d55900544163c31dd3@prodigy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 08/12/2007, jekillen <jekillen@prodigy.net> wrote:
> Hello:
> I am using Absolute BSD, Second Ed.
> and am looking in the section on Sendmail.
> I cannot find where to specify a relay host.
> I have a hosts that originate mail to remote
> recipients but use a mail hub (Postfix) on
> another machine on local network to
> relay this mail to the outside. It is not spam.
> These messages will be used to verify web
> client supplied e-mail addresses.
> Thank you in advance;
> Jeff K
>

you can specify a smart host in sendmail.mc (or the mc-file created
for your host). The macro you need is already in there, you just need
to uncomment it. It's something like:

dnl Dialup users should uncomment and define this appropriately
define(`SMART_HOST', `your.relay.host')

where your.relay.host is the hostname of your relay, respectively.

There's an alternative called the "nullhost", which just sends mail to
a relay. The host won't be able to receive mails, though:

FEATURE(`nullclient',`your.relay.host')

HTH
Christian

PS: There are some



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