From owner-freebsd-questions@FreeBSD.ORG Fri Dec 24 18:54:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74EAA106566C for ; Fri, 24 Dec 2010 18:54:04 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 544038FC16 for ; Fri, 24 Dec 2010 18:54:04 +0000 (UTC) Received: by pzk32 with SMTP id 32so1891441pzk.13 for ; Fri, 24 Dec 2010 10:54:04 -0800 (PST) Received: by 10.142.179.7 with SMTP id b7mr7720934wff.147.1293216842535; Fri, 24 Dec 2010 10:54:02 -0800 (PST) Received: from localhost (118-93-184-18.dsl.dyn.ihug.co.nz [118.93.184.18]) by mx.google.com with ESMTPS id x35sm12706208wfd.13.2010.12.24.10.53.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 24 Dec 2010 10:54:00 -0800 (PST) Date: Sat, 25 Dec 2010 07:53:55 +1300 From: Jonathan Chen To: Chris Brennan Message-ID: <20101224185355.GA2225@osiris.chen.org.nz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Questions Subject: Re: fetching mail (but not fetchmail) 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, 24 Dec 2010 18:54:04 -0000 On Thu, Dec 23, 2010 at 10:27:32PM -0500, Chris Brennan wrote: > Bit of an odd question. But I will try. Is it possible to set up some > mechanism (in freebsd or maybe gentoo (doesn't matter to me)) to pop/imap > into my mail location and download everything as storage and then I imap to > my local machine to read my mail. I realize I can pop/imap directly into my > mail, the goal of this exorcise is to store my mail on one of my local > servers and not my windows machine which can change at a moment's notice. (I > just don't like the idea of permanent/long-term storage in Windows :/ ) I've got a fetchmail + procmail combination, where fetchmail retrieves it from a remote POP3 server and procmail is the local MDA which converts it to Maildir format (which can be read by my local IMAP server). My ~/.fetchmailrc looks like this: poll pop3.vodafone.co.nz protocol pop3 username "myusername" password "mypassword" mda /usr/local/bin/procmail sslproto "" And ~/.procmailrc looks like: # # # Trailing / for Maildir MAILDIR=$HOME/Maildir/ DEFAULT=$HOME/Maildir/ ... Hope that helps. -- Jonathan Chen ---------------------------------------------------------------------- Don't worry about avoiding temptation, as you grow older, it starts avoiding you.