Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 02:38:31 -0800
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        "Brooke Landers" <brooke.84@hotmail.com>, <freebsd-questions@freebsd.org>
Subject:   RE: Configuring default 6.0 install to send mail
Message-ID:  <LOBBIFDAGNMAMLGJJCKNGEMCFCAA.tedm@toybox.placo.com>
In-Reply-To: <BAY13-F8201C453632D3B8FD8402F3660@phx.gbl>

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


>-----Original Message-----
>From: owner-freebsd-questions@freebsd.org
>[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Brooke Landers
>Sent: Wednesday, November 09, 2005 6:38 PM
>To: freebsd-questions@freebsd.org
>Subject: Configuring default 6.0 install to send mail
>
>
>Hello list. I am learning FreeBSD and I'd like to know how to configure
>Sendmail to simply forward mail although it seems it's doing this by
>default. I can send mail, but it's being rejected since
>mylocalhost.mydomain.com doesn't resolve. I'm using internal
>hosts that will
>never have DNS entries.
>
>I'm looking for somewhere where I can specify that
>user@mylocalhost can send
>mail as user@mydomain.com. I'm pretty sure that my mail would
>be accepted if
>I can do this.
>
>I don't want to set up a mail server, I'd just like to know how
>I can get my
>logs and admin mail forwarded to an external address.

Set macro DS in /etc/mail/sendmail.cf to the real mailserver, reboot.

DSfoo.example.com

Ted




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