Forwarding mail to another server
Daniel Eriksson
daniel_k_eriksson at telia.com
Fri Aug 26 13:32:52 GMT 2005
Pat Maddox wrote:
> For example, if I did
> mail pergesu at gmail.com
>
> 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
More information about the freebsd-questions
mailing list