From owner-freebsd-questions@FreeBSD.ORG Sat Apr 23 15:15:27 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44E1716A4CE for ; Sat, 23 Apr 2005 15:15:27 +0000 (GMT) Received: from post-22.mail.nl.demon.net (post-22.mail.nl.demon.net [194.159.73.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id E94FA43D3F for ; Sat, 23 Apr 2005 15:15:26 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:9985 helo=mail.aseed.antenna.nl) by post-22.mail.nl.demon.net with esmtp (Exim 4.43) id 1DPMLt-000BD6-UF; Sat, 23 Apr 2005 15:15:25 +0000 Received: from http.aseed.antenna.nl (unknown [192.168.0.50]) by mail.aseed.antenna.nl (Postfix) with ESMTP id 564FF15495B; Sat, 23 Apr 2005 17:15:35 +0200 (CEST) Received: from localhost.localdomain (217-19-30-147.dsl.cambrium.nl [217.19.30.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by http.aseed.antenna.nl (Postfix) with ESMTP id 8F6C858CB68; Sat, 23 Apr 2005 17:15:25 +0200 (CEST) Date: Sat, 23 Apr 2005 17:15:24 +0200 From: "albi@scii.nl" To: "Bill Schmitt (SW)" Message-Id: <20050423171524.4a536ff1.albi@scii.nl> In-Reply-To: <426A62B1.2020903@schmittnet.com> References: <426A62B1.2020903@schmittnet.com> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: Need help setting up an IMAP Server on a local network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2005 15:15:27 -0000 On Sat, 23 Apr 2005 10:58:57 -0400 "Bill Schmitt (SW)" wrote: > I would like to set up an IMAP server on a FreeBSD box for my home > network. I don't have a lot of depth in this area, so could really use > some help or pointers to "how to" pages. Searching the web and > reading > the documentation has left a couple of gaps that I would appreciate > someone filling in. Most of what I've found seems to concentrate on > running internet connected servers with "real" domain names on them, > and this would sit in the local network with a separate > router/firewall connecting the local network to a cable connection. > The FreeBSD box is not normally visible to the outside world. i'm using dovecot (imap-ssl, pop3-ssl) and postfix on a local machine, dovecot is in the ports-collection, it aims to be fast and secure, has an active development, is flexible (support both Maildir and mbox-style mailboxes) i've set it up using the main website http://www.dovecot.org/ and by looking at the config-file (sample) postfix is really easy to set up, esp. if you can use your ISP's mailserver as relayhost # ----- example /usr/local/etc/postfix/main.cf for a local machine # ----- using the mailserver from the ISP as relay host # the name of your machine myhostname = my_machine_s_name # the domain you use, so you can get errors mailed back to you myorigin = my_real_domain_name mydestination = localhost relayhost = smtp.yourISP.net mynetworks = 127.0.0.0/8 # ------ end example -------- look at your /etc/aliases (PATH of it depending on what postfix main.cf already has) run : newaliases restart postfix after you've filled this in HTH