[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using courier-imap (was Re: Very disturbing feature in icedove)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/12/07 04:01, Chris Bannister wrote:
> On Sat, Feb 10, 2007 at 07:43:37AM -0600, Ron Johnson wrote:
>> IMAP is designed for what you what you want to do.  Run an imapd on
>> your box (courier-imap is popular and easy) and tell you MUA to use
>> the IMAP protocol instead of mbox.
> 
> Hi Ron,
> 
> If you use fetchmail to get your mail from your ISP, is it still easy?
> At the moment I use fetchmail and maildrop. Once courier-imap is
> installed, do I just change my .mailfilter from say:

Yes, it's very easy.  I set it up a couple of years ago and haven't
touched it since (except when I moved to a new machine, but that was
just mainly copying config files).

Also, my mail data flow is:
fetchmail -> postfix -> SpamAssassin -> maildrop -> Maildir.

I fetchmail my wife's mail the same way.  Windows Tbird looks over
the LAN to find it.  No sweat.

>  ###############################################
>  #    Filter debian-user list messages         #
>  ###############################################
>  if (/^X-Loop: debian-user@lists\.debian\.org$/)
>  {
>    to "$HOME/Mail/IN-debian-user/"
>  }
> 
> to --
> 
>   ###############################################
>   #    Filter debian-user list messages         #
>   ###############################################
>   if (/^X-Loop: debian-user@lists\.debian\.org$/)
>   {
>     to "$HOME/Maildir/IN-debian-user/"
>   }

Mine looks like:
if ( /^X-Mailing-List:.*<debian-user@lists.debian.org>*/ )
{
    to "Maildir/.Lists.Debian.User.2007q1"
}

But then, I've keep all mail, so have many folders, so that they
don't get too huge.

> (Assuming courier-imap defaults to $HOME/Maildir/)
> 
> To copy an existing $HOME/Mail/ structure
> =========================================
> Can I just "cp Mail Maildir" then when I am happy just "rm -r Mail"

No.  mbox & Maildir are *radically* different formats.  There are
some mbox2md scripts floating around.

However, when I converted, I just used my GUI MUA to drag and drop
each folder's contents from mbox to Maildir.  Took a while, but
that's what gnobots and PySol are for.

> What documentation do you recommend reading?
> 
> Using the MUA to access the "$HOME/Maildir/" is another 'kettle of fish'

http://www.firstpr.com.au/web-mail/RH90-Postfix-Courier-Maildrop-IMAP/

Doing it with Debian is boatloads easier, so most of it is
irrelevant, but it did (does) work for me.

> For mutt: 
> Mutt and IMAP (maintained by Brendan Cully)
> http://mutt.sourceforge.net/imap/

Not really.  Here are the relevant lines from ~/.muttrc :

set imap_user=XXXX
set spoolfile=imap://haggis/INBOX
set folder=imap://haggis/INBOX.
set move=no
set copy=yes
set record=imap://haggis/INBOX/Sent
set realname="XXXXXXXXXX"
folder-hook .   my_hdr From: XXXXXXXXXXXXXXXXXXXXXXXXXXX


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF0JRWS9HxQb37XmcRAlKcAJ4m+eQb8sb9yugIpAs7csz+UTeLHwCfRdUm
M76C0NM+FFCXOQUBXb0ddfY=
=vvY6
-----END PGP SIGNATURE-----



Reply to: