Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2007 16:31:53 -0700
From:      Gary Kline <kline@tao.thought.org>
To:        Andrew Pantyukhin <infofarmer@FreeBSD.org>
Cc:        Gary Kline <kline@tao.thought.org>, FreeBSD Mailing List <freebsd-questions@FreeBSD.org>
Subject:   Re: is there any way of turning muttrc list into an evolution or other mail alias database?
Message-ID:  <20070917233153.GA82108@thought.org>
In-Reply-To: <20070917212432.GN52705@amilo.cenkes.org>
References:  <20070917042703.GA73835@thought.org> <20070917144619.GK52705@amilo.cenkes.org> <20070917193551.GA80219@thought.org> <20070917212432.GN52705@amilo.cenkes.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 18, 2007 at 01:24:33AM +0400, Andrew Pantyukhin wrote:
> On Mon, Sep 17, 2007 at 12:35:51PM -0700, Gary Kline wrote:
> > On Mon, Sep 17, 2007 at 06:46:20PM +0400, Andrew Pantyukhin wrote:
> > > On Sun, Sep 16, 2007 at 09:27:03PM -0700, Gary Kline wrote:
> > > > 
> > > > This may be a bit off the wall, but does anybody have a tool to
> > > > take my dozens of mutt  aliases and turn them into an evolution
> > > > -style database format?  (if not, is there any universal
> > > > "address-book" app that I could use?)
> > > 
> > > A sed one-liner could probably solve the problem, but try
> > > mail/abook - it's a nice converter.
> > 
> > Can you help me with the exact syntax?  As a test, I tried:
> >  abook --convert --informat mutt  --infile
> >  /home/kline/.mutt/muttrc --outformat abook --outfile abook
> 
> I think you should put your aliases in a separate file and use
> that as an infile.


	Easily done, thanks.

> 
> > An emtpy file ~/.abook/addressbook.new was created.  ((I still
> > stand by what I'd said for years, that a few examples are worth
> > 10K words.))
> > 
> > Re a sed line to get this stuff into ~/.evolution/*, maybe.
> > This may be where another very simple perl script would serve
> > btter.  Further clues very welcome.
> 
> Google says something about evo being able to import ldif files.
> Abook can convert mutt's aliases into ldif.


	I'll google for it; thanks for the tip.

> 
> P.S. Must you really insert a tab before each line in your
> messages? It certainly doesn't make them look pretty.


	Failing eyesight.  The whitespace helps me far more than
	the greater-than's.....
-- 
  Gary Kline  kline@thought.org   www.thought.org  Public Service Unix
      http://jottings.thought.org   http://transfinite.thought.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070917233153.GA82108>