Configuring default 6.0 install to send mail

Ted Mittelstaedt tedm at toybox.placo.com
Thu Nov 10 10:38:35 GMT 2005



>-----Original Message-----
>From: owner-freebsd-questions at freebsd.org
>[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Brooke Landers
>Sent: Wednesday, November 09, 2005 6:38 PM
>To: freebsd-questions at 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 at mylocalhost can send
>mail as user at 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



More information about the freebsd-questions mailing list