Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2005 15:32:49 +0200
From:      "Daniel Eriksson" <daniel_k_eriksson@telia.com>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Cc:        Pat Maddox <pergesu@gmail.com>
Subject:   RE: Forwarding mail to another server
Message-ID:  <4F9C9299A10AE74E89EA580D14AA10A605F544@royal64.emp.zapto.org>

next in thread | raw e-mail | index | archive | help
Pat Maddox wrote:

> For example, if I did
> mail pergesu@gmail.com
>=20
> And sent a message, my machine would send that to mail.bresnan.net and
> have them pass it on.  Is it possible to do that?  If so, how?

cd /etc/mail
make all
  this will create a FQDN.mc file (f.e. myhost.mydomain.com.mc)
  edit this file and uncomment the SMART_HOST line and insert an
  SMTP server that will relay mail for you
  example: define(`SMART_HOST', `mailrelay.myisp.com')
make cf install restart

Done!

/Daniel Eriksson



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