On Wed, 28 Oct 2009 15:49:15 -0700 (PDT), Aflatoon Aflatooni 
<aaflato...@yahoo.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).  I have tried the
> following without any success:
>
> DAEMON_OPTIONS(`Addr=x.y.z.i')dnl
>  
> 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=a.b.c.d')dnl

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to