From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: More emacs instances Date: Fri, 13 Aug 2010 17:22:05 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <8762ze8w6k.fsf@mean.albasani.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1281712983 6510 80.91.229.12 (13 Aug 2010 15:23:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Aug 2010 15:23:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 13 17:23:02 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ojw62-00062a-0R for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Aug 2010 17:23:02 +0200 Original-Received: from localhost ([127.0.0.1]:47806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ojw61-00079F-8T for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Aug 2010 11:23:01 -0400 Original-Received: from [140.186.70.92] (port=38383 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ojw5P-00077W-Kp for help-gnu-emacs@gnu.org; Fri, 13 Aug 2010 11:22:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ojw5O-0002Gt-9y for help-gnu-emacs@gnu.org; Fri, 13 Aug 2010 11:22:23 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:43627) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ojw5N-0002GW-V4 for help-gnu-emacs@gnu.org; Fri, 13 Aug 2010 11:22:22 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ojw5L-0005VL-BO for help-gnu-emacs@gnu.org; Fri, 13 Aug 2010 17:22:19 +0200 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Aug 2010 17:22:19 +0200 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Aug 2010 17:22:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 68 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74614 Archived-At: Andrea Crotti writes: > Richard Riley writes: >> >> ,---- >> | #!/bin/bash >> | host=$(hostname) >> | mailserver="hermes.servername.net" >> | if [ $host != "hermes.servername.net" ] >> | then >> | echo "Doing remote call to mailserver $mailserver" >> | ssh $mailserver /home/shamrock/bin/getmails >> | exit >> | fi >> | >> | cmd="getmail -l -a -q" >> | >> | for file in ~/.getmail/*.rc; do >> | cmd="$cmd --rcfile $file " >> | done >> | >> | $cmd >> `---- >> >> man getmail for the account rc file formats. >> >> But then I discovered offlineimap. Now I run offlineimap every ten >> minutes or so which stores imap email from gmail into local maildirs and >> I connect gnus directly to them. Fast and efficient. And easily >> "cloneable" on my laptops. >> >> This article proved useful :- >> >> http://pbrisbin.com:8080/pages/mutt2.html > > Why getmail over fetchmail? You know, I can't remember. Possibly easier to configure or better with IMAP? I really dont recall! But I listed it as a "heads up". > Anyway also the imapsync is a great idea, I forgot about that. offlineimap > Nice about fetchmail was to pass stuff to procmail to filter > automatically, can you do the same thing when you already have the imap > cloned? You can use gnus splitting if you like. I used to prefer that since its all self contained in gnus then. That said I recently decided that, the devil you know, just to use gmail filters configured via their web UI. I apply labels to emails e.g "emacs-gnus" and then see them as separate IMAP folders (eg I see an IMAP folder called "emacs-gnus") courtesy of offlineimap. > > It's much easier for cloning over laptops that's true... Yup. I did have local dovecot imap servers for a while, but I got confused with multiple gmail account setup and so decided to keep it simple. Also, the benefit of having local maildir is the wonderful Mairix for indexing and searching!