Date: Sat, 25 Dec 2010 07:53:55 +1300 From: Jonathan Chen <jonc@chen.org.nz> To: Chris Brennan <xaero@xaerolimit.net> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: fetching mail (but not fetchmail) Message-ID: <20101224185355.GA2225@osiris.chen.org.nz> In-Reply-To: <AANLkTimeMfGOvBqztdr_HCT3y%2BMFhQomFCvXe2mASLP-@mail.gmail.com> References: <AANLkTimeMfGOvBqztdr_HCT3y%2BMFhQomFCvXe2mASLP-@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonc@chen.org.nz>
----------------------------------------------------------------------
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101224185355.GA2225>
