Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2009 05:26:10 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Aflatoon Aflatooni <aaflatooni@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Bind Sendmail to an IP address
Message-ID:  <87d446vq25.fsf@kobe.laptop>
In-Reply-To: <73281.80475.qm@web56205.mail.re3.yahoo.com> (Aflatoon Aflatooni's message of "Wed, 28 Oct 2009 15:49:15 -0700 (PDT)")
References:  <73281.80475.qm@web56205.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 Oct 2009 15:49:15 -0700 (PDT), Aflatoon Aflatooni <aaflatooni@ya=
hoo.com> wrote:
> Hi,
> I have a Freebsd 7.2 installation and using Sendmail for the SMTP
> service. This server has two public interfaces and different IP
> addresses.
>
> I need to have sendmail configured so that the outbound emails are
> sent using a certain IP address (SPF rules).=A0 I have=A0tried the
> following without any success:
>
> DAEMON_OPTIONS(`Addr=3Dx.y.z.i')dnl
> =A0
> Any help or suggestions would be greatly appriciated.

When Sendmail relays messages to another server it acts as the `client'
for that server.  So you have to use CLIENT_OPTIONS() instead of the
DAEMON_OPTIONS() you are using now:

    CLIENT_OPTIONS(`Addr=3Da.b.c.d')dnl




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