From owner-freebsd-questions@FreeBSD.ORG Wed Jun 27 10:06:15 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E071E16A46D for ; Wed, 27 Jun 2007 10:06:15 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 6139413C455 for ; Wed, 27 Jun 2007 10:06:15 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id l5RA6D1i068156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Jun 2007 17:06:13 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.3/8.12.11) id l5RA6DGq033694; Wed, 27 Jun 2007 17:06:13 +0700 (ICT) Date: Wed, 27 Jun 2007 17:06:13 +0700 (ICT) Message-Id: <200706271006.l5RA6DGq033694@banyan.cs.ait.ac.th> From: Olivier Nicole To: bds@waywood.co.uk In-reply-to: <46822D9C.3010400@waywood.co.uk> (message from Barnaby Scott on Wed, 27 Jun 2007 10:27:56 +0100) References: <46822D9C.3010400@waywood.co.uk> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: Gradual move to own mail server - strategy for noob 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: Wed, 27 Jun 2007 10:06:16 -0000 > Install Fetchmail to get mail from my various hosted mailboxes Yes. For testing purpose, why don't you create a temporary mail account at your ISP, at yahoo, gmail, etc. provided they have IMAP, and try retreiving emails from that account. > Configure Sendmail, which I accepted as the default mailer Does fetchmail need sendmail? I never used fetchmail, so I am not sure about that one. > Install Procmail to deliver messages in Maildir format (to users' home > directories?) Yes and yes, Courrier IMAP expects the mailbox to be in the user home directory in ~user/Maildir and procmail is a good place to plugin several features for sorting emails. > Install Courier IMAP as the IMAP server Yes As I said, test everything on a temporary email account. When you start deploying it for your users, do not delete the messages from the ISP server while you fetchmail them to your local server, that will avoid messages getting lost: users are very touchy about lost mail. Try to keep long time log of everything, so you can show them thy are complaining for no good reason. One month of /var/log/mailog may be a good start. > Email is downloaded by individual clients from ISP via POP3 - user must > be at specific machine to access their local mail folders. If elsewhere, > they must use webmail, but of course sent messages, replied flags etc > are then inconsistent, besides which messages are only left on the (ISP) > server for a limited time. This would not change, only displace the problm. If you read your email with POP3, you better always use the same machine, because the sent folder is local to the POP3 client machine. > Again, not necessarily now, but when I am fully up and running, run spam > and virus checking (that's done for me now, but inevitably could be > improved on.) Don't wait too much, especially for anti-virus, if you have the feeling that the service provided to you so far is leaking some viruses. If the architecture is Fetchmail/sendmail/procmail, install the amavid plugin while you are building the new infrastructure. Improved antivirus may be a good way to sell the new email procedure to your users (users don't like to change the way they read email, you need incentives :). Spam is touchy question, no one like spam, but every one may have a very different definition of what is spam or not. On this issue, when I started with SpamAssassin, I let the system running for a couple of months, just tagging the spam messages, so people get used to it. Only after that period, I started to quarantine the spam messages. Good luck, email is certainly a big and touchy subject. Olivier