From owner-freebsd-questions@FreeBSD.ORG Fri Aug 18 07:59:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 D769D16A4DD for ; Fri, 18 Aug 2006 07:59:27 +0000 (UTC) (envelope-from bsd@bathnetworks.com) Received: from lmail.bathnetworks.co.uk (mail.bathnetworks.com [84.92.24.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C6C243D62 for ; Fri, 18 Aug 2006 07:59:26 +0000 (GMT) (envelope-from bsd@bathnetworks.com) Received: (qmail 5695 invoked by uid 510); 18 Aug 2006 09:03:40 +0100 Received: from 127.0.0.1 by lmail.bathnetworks.co.uk (envelope-from , uid 508) with qmail-scanner-1.24-st-qms (clamdscan: 0.88/1261. spamassassin: 3.0.2. perlscan: 1.24-st-qms. Clear:RC:0(127.0.0.1):SA:0(-4.3/5.0):. Processed in 3.987902 secs); 18 Aug 2006 08:03:40 -0000 X-Spam-Status: No, hits=-4.3 required=5.0 X-Antivirus-MYDOMAIN-Mail-From: bsd@bathnetworks.com via lmail.bathnetworks.co.uk X-Antivirus-MYDOMAIN: 1.24-st-qms (Clear:RC:0(127.0.0.1):SA:0(-4.3/5.0):. Processed in 3.987902 secs Process 5686) Received: from localhost (HELO 192.168.0.50) (bsd@bathnetworks.com@127.0.0.1) by lmail.bathnetworks.co.uk with SMTP; 18 Aug 2006 09:03:36 +0100 Received: from 192.168.0.107 (SquirrelMail authenticated user bsd@bathnetworks.com) by 192.168.0.50 with HTTP; Fri, 18 Aug 2006 09:03:36 +0100 (BST) Message-ID: <1710.192.168.0.107.1155888216.squirrel@192.168.0.50> In-Reply-To: <5.2.0.9.2.20060818003418.00be4ad0@192.168.0.30> References: <5.2.0.9.2.20060818003418.00be4ad0@192.168.0.30> Date: Fri, 18 Aug 2006 09:03:36 +0100 (BST) From: bsd@bathnetworks.com To: "Steve Lake" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: Needing a guide/tutorial please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2006 07:59:28 -0000 > Looking for a guide online somewhere that will walk me through > setting up a mail server with the following items on it. > > SpamAssassin > Postfix (pop3 and smtp setup) > MySQL (for database driven mail user administration) > MyPHPAdmin (to visually admin the database) > Squirrelmail (for webmail) > Apache (for squirrelmail) > Dovecot Imap (for squirrelmail) > Postfix Admin <- this is the reason for the need to have a mysql driven > mail user database. It's apparently required for this to work. Plus > database driven user management tends to be easier. Of course, if you > know > of a better way to graphically admin mail users without using a database, > I'm all ears. :) > And lastly, some kind of web based server admin page that's similar to > webmin, but more secure. > > I want to setup a mail server with all these elements, have > postfix, squirrelmail and dovecot be database driven and somehow create a > mailbox tree for the webmail users for saved, spam, sent and trashcan > folders. Also, lastly, which format for mail is better? Maildir or > Mbox? I'm partial to Mbox, but I've heard some others say Maildir is > better. The server is only going to host about 30-40 users for a realty > company, so security is priority, plus it needs to have ease of > administration because the guy who's going to admin this in the end (I'm > just building it, he's maintaining it) isn't unix savy. I've already done > a lot of google diving, but with little luck. Hence why I'm asking > here. If someone knows of a good guide or series of guides that'll help > me > through all this, it'd be greatly appreciated. I'm used to doing this the > hard way with sendmail and the regular freebsd users through the > console. So I'm really new to postfix, but I'm using it because it's > supposedly more secure. I'd have the guy who's admining it do the same, > but he's too green in the console to risk it. ;) > > Many thanks in advance for any help you can provide. :) > > > Steven Lake > Owner/Technical Writer > Raiden's Realm > www.raiden.net > A friendly web community > Steve, Youve asked at lot of questions in one here. For 30 to 40 users what you are proposing is way over the top, I would stay away from mysql etc. I am using qmail + courier(pop3 & imap) + calamav + squirrelmail etc base on the installation from http://www.qmailrocks.org/ with some tweeks from Bill Olson's site http://www.goodcleanemail.com/ for spamassassin rules and learning etc. Bill's site is useful as he uses FreeBsd. I also used the Chkuser patch (rejecting mails during smtp for non existing users) from John Simpson's site http://www.jms1.net/ + block lists. The setup uses web based qmailadmin for managing mail boxes. It has been running for nearly 2 years now and the only maintanence has been updating clamav and tweeking the spamassassin rules. BTW qmailrocks has an updated script for a freebsd installation using most of the latest sw from ports. Although this is Beta3 it works - just used it for a small business, there is also an active mailing list where Bill and John are posting. Hope this helps and guys please no postfix is better etc. Rob