Re: Mail Server

From: Kevin D. Kinsey, DaleCo, S.P. (kdk_at_daleco.biz)
Date: 09/30/03

  • Next message: David: "persistent connections"
    Date: Tue, 30 Sep 2003 16:16:46 -0500
    To: Bernard Roux <bernard@microzone.co.za>
    
    

    Bernard Roux wrote:

    >Please can you help me. I would like to setup a mail server using Freebsd. I
    >have installed the software, but how do I configure Freebsd to become a mail
    >server.
    >
    >I am desperate.
    >
    >
    >Kind regards
    >
    >Bernard Roux
    >
    >
    In addition to the fine replies you have already
    received, let me add to the noise: FreeBSD comes
    with Sendmail, all time King ("James" ;-) of the
    MTA's, already installed. All you need is the line

    sendmail_enable="YES"

    In /etc/rc.conf.

    So you have a working SMTP server on
    hand, it just needs some configuration.

    If you do *not* know how to set up DNS,
    you should read up on that first.

    Walk through /etc/mail and look at a few files:

    local-host-names # add your hostname to this file
                                #if it doesn't exist, create it
    relay-domains #you may need to add LAN IP's
                                # or other domains to allow outbound
                                # relaying of mail
    aliases # username mapping
    virtusertable # domain mapping

    Check the file /var/log/maillog as well, as most
    any errors dealing with the mailserver will show
    up there.

    If you want to use the machine as a POP or
    IMAP server, check the programs in /etc/ports/mail.
    There is an example line to enable a POP server
    in /etc/inetd.conf, but one is not installed by
    default.

    I don't necessarily wish to give you the
    impression that running a mail server is a
    piece of cake, but it's not that difficult to
    get started with it. What is tough is keeping
    it secure, and making sure the configuration
    makes it a workhorse and not a headache.

    HTH,

    Kevin Kinsey
    DaleCo, S.P.

    _______________________________________________
    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"


  • Next message: David: "persistent connections"

    Relevant Pages

    • Re: Mail Server
      ... On Tue, 30 Sep 2003, Bernard Roux wrote: ... but how do I configure Freebsd to become a mail ... > server. ... To unsubscribe, ...
      (freebsd-questions)
    • RE: freebsd-questions Digest, Vol 52, Issue 3
      ... To subscribe or unsubscribe via the World Wide Web, ... bypassing a proxy server ... > As some of you may recall, I'm engaged in an ongoing saga trying to set> up a FreeBSD machine on a school's network. ...
      (freebsd-questions)
    • Re: Question
      ... >I am a network manager for a small government. ... >proprietary to something like FreeBSD or linux? ... Are server needs are currently simple and we only have one NT4 server ...
      (freebsd-newbies)
    • RE: FreeBSD Security Survey
      ... Your also ignoring the fact that many security holes are a lot ... queries to this server to the NAS only. ... server with a new version of FreeBSD. ... Your survey responses lack any responses that indicate that leaving ...
      (freebsd-questions)
    • Re: freebsd reseller
      ... 2000 for workstations and 2000 Server for servers. ... FreeBSD and OpenBSD. ... When I try to install dvips I get the following ... >> I'm not at all familiar with firewire stuff. ...
      (freebsd-questions)