Opinion on mail server setup

Ruben de Groot fbsd-q at bzerk.org
Mon Apr 14 01:52:01 PDT 2003

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 at 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list