Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 10:52:12 +0200
From:      Ruben de Groot <fbsd-q@bzerk.org>
To:        "Defryn, Guy" <G.P.Defryn@massey.ac.nz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Opinion on mail server setup
Message-ID:  <20030414085212.GA34407@ei.bzerk.org>
In-Reply-To: <9EA1E9775D329F4CB45B259FCA43F79F63F944@its-xchg3.massey.ac.nz>
References:  <9EA1E9775D329F4CB45B259FCA43F79F63F944@its-xchg3.massey.ac.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 14, 2003 at 11:50:38AM +1200, Defryn, Guy typed:
> 
> 
> Hi there,
> 
> I have a freebsd box that I am using as web server/database server.
> I would like to set it up as a mail server for my registered domain name
> (only a few email addresses).
> Can anyone give some ideas on what to use and maybe where I can find
> documentation?

Your freebsd box allready has sendmail installed. All you have to do is 
put your registered domain name in the file /etc/mail/local-host-names 
and sendmail will accept mail for username@yourdomain.com. 
You may also want to take a look at the file /etc/mail/aliases and the
command newaliases.
To setup a pop3 server you'll have to install something like qpopper
(pkg_add -r qpopper) and put the following line in your /etc/inetd.conf:

pop3 stream tcp nowait root /usr/local/libexec/qpopper qpopper

After which you must restart inetd.

cheers,
Ruben

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



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