Re: Are there any good/recommended address book add-ons for mutt other than abook?

2017-01-31 Thread Chris Green
On Tue, Jan 31, 2017 at 08:41:42AM +0100, bastian-muttu...@t6l.de wrote:
> On 30Jan17 17:57 +0100, Peter P. wrote:
> > * Chris Green <c...@isbd.net> [2017-01-27 10:13]:
> > > On Thu, Jan 26, 2017 at 08:46:02PM -0200, Marcelo Laia wrote:
> > > > On 26/01/17 at 04:28, Chris Green wrote:
> > > > > Does anyone here use an address book for mutt other than abook?
> 
> I use the maildir-utils "mu" as a mail indexer. That tool also creates a
> database of all email contacts found and as such it is kind of a address
> book.
> 
> It integrates well into mutt's address completion function (pressing
> CTRL-T):
> 
>   set query_command="mu cfind --format mutt-ab %s"
> 
> Good thing: You don't have to manually fill your email address book. It
> is all in the mailboxes
> 
> Drawback: I haven't found an easy way to remove/modify entries, besides
> directly editing the email and the address book DB (which is ascii).
> But that was necessary just one time in four years I use mu.
> 
OK for use within mutt but I want a 'universal' address book that has
postal addresses (remember them?) and notes such as 'Christmas Card'
too.

-- 
Chris Green


Re: Are there any good/recommended address book add-ons for mutt other than abook?

2017-01-31 Thread bastian-muttuser
On 30Jan17 17:57 +0100, Peter P. wrote:
> * Chris Green <c...@isbd.net> [2017-01-27 10:13]:
> > On Thu, Jan 26, 2017 at 08:46:02PM -0200, Marcelo Laia wrote:
> > > On 26/01/17 at 04:28, Chris Green wrote:
> > > > Does anyone here use an address book for mutt other than abook?

I use the maildir-utils "mu" as a mail indexer. That tool also creates a
database of all email contacts found and as such it is kind of a address
book.

It integrates well into mutt's address completion function (pressing
CTRL-T):

  set query_command="mu cfind --format mutt-ab %s"

Good thing: You don't have to manually fill your email address book. It
is all in the mailboxes

Drawback: I haven't found an easy way to remove/modify entries, besides
directly editing the email and the address book DB (which is ascii).
But that was necessary just one time in four years I use mu.


Cheers,
-- 
Bastian


Re: Are there any good/recommended address book add-ons for mutt other than abook?

2017-01-30 Thread Peter P.
* Chris Green <c...@isbd.net> [2017-01-27 10:13]:
> On Thu, Jan 26, 2017 at 08:46:02PM -0200, Marcelo Laia wrote:
> > On 26/01/17 at 04:28, Chris Green wrote:
> > > Does anyone here use an address book for mutt other than abook?
> > > 
> > 
> > Yes! I use The Little Brother's Database (lbdb)
> > 
> > http://www.spinnaker.de/lbdb/
> > 
> Aha!  Thank you, I'd not found that in my recent searches though I
> think I have noticed it before.  A major plus for lbdb is that it's in
> the Ubuntu repositories.
> 
> 
> > Maybe you would like to use goobook with lbdb.
> > 
> > https://pypi.python.org/pypi/goobook
> > 
> No, I don't want my addresses out on the cloud.  However there are
> lots of possibilities with lbdb and I'm sure something will fit my
> needs.

For example I do sort and tidy up my collected addresses in lbdb like the 
following:

# let lbdbq filter all duplicates:
lbdbq > m_inmail.list.filteredByLbdbq

# sort by TAB delimiter according to first and second field, ignoring
# the third one and remove duplicates
sort -k1,1 -k2,2 -t$'\t' --stable --unique m_inmail.list > m_inmail.list.sorted

# extract first column only (email addresses) 
cut -f1 m_inmail.list.sorted > uppercase.txt

# convert them to lowercase 
tr '[:upper:]' '[:lower:]' < uppercase.txt > lowercase.txt

# and check for duplicates
uniq -d lowercase.txt


Re: Are there any good/recommended address book add-ons for mutt other than abook?

2017-01-27 Thread Chris Green
On Thu, Jan 26, 2017 at 08:46:02PM -0200, Marcelo Laia wrote:
> On 26/01/17 at 04:28, Chris Green wrote:
> > Does anyone here use an address book for mutt other than abook?
> > 
> 
> Yes! I use The Little Brother's Database (lbdb)
> 
> http://www.spinnaker.de/lbdb/
> 
Aha!  Thank you, I'd not found that in my recent searches though I
think I have noticed it before.  A major plus for lbdb is that it's in
the Ubuntu repositories.


> Maybe you would like to use goobook with lbdb.
> 
> https://pypi.python.org/pypi/goobook
> 
No, I don't want my addresses out on the cloud.  However there are
lots of possibilities with lbdb and I'm sure something will fit my
needs.

-- 
Chris Green


Re: Are there any good/recommended address book add-ons for mutt other than abook?

2017-01-26 Thread Alexander Dahl
Hei hei,

On Thu, Jan 26, 2017 at 02:10:40PM -0500, Ben Boeckel wrote:
> On Thu, Jan 26, 2017 at 18:25:10 +, Chris Green wrote:
> > Yes, but (as I said) they're not in the Ubuntu repositories so I'd
> > need to check and update manually - which I'll forget.  
> 
> Odd. It's in Debian:
> 
> https://packages.debian.org/search?keywords=khard

From the not yet released Debian 9 codename stretch aka testing. It's
not available for still stable Debian 8 codename jessie, and there's
no backport.

But thanks for the hint, I probably want to use it, once I made the
next dist upgrade. :-)

Greets
Alex

-- 
»With the first link, the chain is forged. The first speech censured, 
the first thought forbidden, the first freedom denied, chains us all 
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: C28E E6B9 0263 95CF 8FAF  08FA 34AD CD00 7221 5CC6 ***


pgpJCDQ_AiT2j.pgp
Description: PGP signature


Re: Are there any good/recommended address book add-ons for mutt other than abook?

2017-01-26 Thread Marcelo Laia
On 26/01/17 at 04:28, Chris Green wrote:
> Does anyone here use an address book for mutt other than abook?
> 

Yes! I use The Little Brother's Database (lbdb)

http://www.spinnaker.de/lbdb/

Maybe you would like to use goobook with lbdb.

https://pypi.python.org/pypi/goobook

-- 
Marcelo


Re: Are there any good/recommended address book add-ons for mutt other than abook?

2017-01-26 Thread Ben Boeckel
On Thu, Jan 26, 2017 at 18:25:10 +, Chris Green wrote:
> Yes, but (as I said) they're not in the Ubuntu repositories so I'd
> need to check and update manually - which I'll forget.  

Odd. It's in Debian:

https://packages.debian.org/search?keywords=khard

> But what do you update with your Android device?  Google contacts or
> something like that?

I used to use Contact Editor Pro[1] but Google Contacts no longer asks
which app you'd like to use and just uses its internal editor (I've
submitted feedback about this multiple times; no dice so far). Advice on
alternative Contact apps appreciated (I've been lazy and just haven't
searched for a replacement yet).

For sync, I use CardDAV-Sync[2] because it supports client SSL certs,
otherwise I'd use DAVdroid[3].

--Ben

[1]http://dmfs.org/editor/
[2]http://dmfs.org/carddav/
[3]https://gitlab.com/bitfireAT/davdroid


Re: Are there any good/recommended address book add-ons for mutt other than abook?

2017-01-26 Thread Chris Green
On Thu, Jan 26, 2017 at 01:01:40PM -0500, Ben Boeckel wrote:
> On Thu, Jan 26, 2017 at 16:28:14 +, Chris Green wrote:
> > So, I was wondering if there are any more elegant approaches.  I guess
> > abook itself is a possibility but I'd really prefer a GUI to add and
> > change addresses, it's a place where a GUI is just better and easier.
> > 
> > What I'm after is probably, ideally, a local GUI to add and edit
> > addresses, a simple way to get an E-Mail address into mutt via the
> > query_command and a way to export to the web in some shape or form.
> 
> vdirsyncer and khard sync over CardDAV, so you can use any client to
> edit a CardDAV store/server and sync with it to keep khard up-to-date.
> 
Yes, but (as I said) they're not in the Ubuntu repositories so I'd
need to check and update manually - which I'll forget.  


> Personally, I use Android as my main way of adding and editing contacts
> and sync things that way.
> 
But what do you update with your Android device?  Google contacts or
something like that?

-- 
Chris Green


Re: Are there any good/recommended address book add-ons for mutt other than abook?

2017-01-26 Thread Ben Boeckel
On Thu, Jan 26, 2017 at 16:28:14 +, Chris Green wrote:
> So, I was wondering if there are any more elegant approaches.  I guess
> abook itself is a possibility but I'd really prefer a GUI to add and
> change addresses, it's a place where a GUI is just better and easier.
> 
> What I'm after is probably, ideally, a local GUI to add and edit
> addresses, a simple way to get an E-Mail address into mutt via the
> query_command and a way to export to the web in some shape or form.

vdirsyncer and khard sync over CardDAV, so you can use any client to
edit a CardDAV store/server and sync with it to keep khard up-to-date.

Personally, I use Android as my main way of adding and editing contacts
and sync things that way.

--Ben


Are there any good/recommended address book add-ons for mutt other than abook?

2017-01-26 Thread Chris Green
Does anyone here use an address book for mutt other than abook?

I currently use a combination of OwnCloud to actually maintain and use
(outside mutt) my address book, plus pycardsyncer and pc_query to
interrogate it from mutt.

However it's all a bit messy in a way and there are various minor
issues:-

pycardsyncer and pc_query are now 'deprecated' in favour of
vcardsyncer and khard but these are not available from the Ubuntu
repositories so keeping up to date becomes an issue.  Also khard
and vcardsyncer are still rather a convoluted way of maintaining a
mutt address book.

OwnCloud's address book ("Contacts") isn't very good, a major
issue for me is not being able to sort in family/last name order.

As noted above it's just "messy".


So, I was wondering if there are any more elegant approaches.  I guess
abook itself is a possibility but I'd really prefer a GUI to add and
change addresses, it's a place where a GUI is just better and easier.

What I'm after is probably, ideally, a local GUI to add and edit
addresses, a simple way to get an E-Mail address into mutt via the
query_command and a way to export to the web in some shape or form.

Any ideas anyone?

-- 
Chris Green


Re: Author's name in index from address book

2015-11-21 Thread Wim de With
On Fri, Nov 20, 2015 at 11:26:28AM -0600, David Champion wrote:
> But you do need:
> 
>   set reverse_alias
> 
> to get that.

Thank you, that was exactly what I needed.

According to the man page, the format of the aliases should be:

alias Foo  (Foo Bar)

And that worked.

Wim


Re: Author's name in index from address book

2015-11-20 Thread David Champion
* On 19 Nov 2015, Ian Zimmerman wrote: 
> 
> You don't need to write a script for that.  Mutt will display the "real
> name" automatically for addresses in your alias list.  Define aliases in
> your .muttrc as follows:
> 
> alias Foo Foo Bar 
> 
> and now incoming mails from foo...@bars.name will have "Foo Bar" in the
> origin field.

But you do need:

set reverse_alias

to get that.

-- 
David Champion • d...@bikeshed.us


Re: Author's name in index from address book

2015-11-19 Thread Ian Zimmerman
On 2015-11-19 22:51 +0100, Wim de With wrote:

> I configured Thunderbird to override the name in the From: header with
> the name associated with that email address in my address book. I
> would like to do the same in Mutt. Is there any way to replace the
> author's name in Mutt's index view with a shell script instead of
> using the options of the index_format configuration option?

You don't need to write a script for that.  Mutt will display the "real
name" automatically for addresses in your alias list.  Define aliases in
your .muttrc as follows:

alias Foo Foo Bar <foo...@bars.name>

and now incoming mails from foo...@bars.name will have "Foo Bar" in the
origin field.

If you insist on using an address list in some other format such as
Thunderbird's, consider automatically converting the other format into
mutt's.

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.


Author's name in index from address book

2015-11-19 Thread Wim de With
I configured Thunderbird to override the name in the From: header with the
name associated with that email address in my address book. I would like to do
the same in Mutt. Is there any way to replace the author's name in Mutt's
index view with a shell script instead of using the options of the
index_format configuration option? 

Wim


Re: address book?

2014-11-14 Thread Chris Bannister
On Tue, Nov 11, 2014 at 04:05:49PM -0600, Russell Harris wrote:
 On Tue, November 11, 2014 7:03 am, Chris Bannister wrote:
  On Mon, Nov 10, 2014 at 08:23:57AM -0600, Russell Harris wrote:
 
  On Mon, November 10, 2014 7:34 am, DaleKelly wrote:
 
  how can I configure/maintain an address book?
 
  But if you have a high volume of email and many addresses, you may need
  to utilize a database package to manage the address book.
 
  Do you mean something like abook or lbdb?
  I would be interested to know what else there is.
 
 I had in mind The Little Brother's Database (lbdb), but it has been
 several years since I considered using a database, so I do not know what
 is available today.

Ah, OK.

 A search on mutt address book reveals at least three data bases which
 interface directly with Mutt.  And with the aid of a script, it may be
 possible to use a stand-alone database such as Postgress.

Well, I suppose anything's possible with a script, but thanks for your
answer anyway.

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


Re: address book?

2014-11-12 Thread Suvayu Ali
On Tue, Nov 11, 2014 at 03:09:17PM +0100, Daniël de Kok wrote:
 
 Of course, notmuch can be wrapped to provide similar functionality.

This repo has a very nice wrapper for notmuch:

  https://github.com/domo141/nottoomuch/

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.


Re: address book?

2014-11-11 Thread Chris Bannister
On Mon, Nov 10, 2014 at 08:23:57AM -0600, Russell Harris wrote:
 On Mon, November 10, 2014 7:34 am, DaleKelly wrote:
  how can I configure/maintain an address book?
 
 But if you have a high volume of email and many addresses, you may need to
 utilize a database package to manage the address book.

Do you mean something like abook or lbdb?
I would be interested to know what else there is.

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


Re: address book?

2014-11-11 Thread Chris Bannister
On Mon, Nov 10, 2014 at 09:24:45AM -0500, Patrick Shanahan wrote:
 * DaleKelly d...@dalekelly.org [11-10-14 09:22]:
  On 11/10/2014 08:55 AM, John Niendorf wrote:
  Check out abook in the repository.
  
[...]
  already installed, how do I interface it with mutt?
 
 Honestly, from a *long* time linux user...
 
 man abook

JFTR, in my Debian system I have nothing in my .muttrc about abook, 
which made me curious. (I couldn't remember setting it up.)

Nor in /etc/Muttrc ... but the last line in /etc/Muttrc has:

source /usr/lib/mutt/source-muttrc.d|

/usr/lib/mutt/source-muttrc.d has:

-8- ---8-
#!/bin/sh -e

for rc in /etc/Muttrc.d/*.rc; do
test -r $rc  echo source \$rc\
done

-8- ---8-

root@tal:~# ls -al /etc/Muttrc.d
total 40
drwxr-xr-x   2 root root  4096 Sep  8 22:35 .
drwxr-xr-x 118 root root 12288 Nov 12 00:35 ..
-rw-r--r--   1 root root79 Jul  9  2011 abook.rc
-rw-r--r--   1 root root   410 Jan 15  2011 charset.rc
-rw-r--r--   1 root root   612 Jan 15  2011 colors.rc
-rw-r--r--   1 root root   427 May  9  2011 compressed-folders.rc
-rw-r--r--   1 root root  1406 Jan 15  2011 gpg.rc
-rw-r--r--   1 root root  3648 Jan 15  2011 smime.rc


All nice and tidy. :)

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


Re: address book?

2014-11-11 Thread Daniël de Kok
On Wed, Nov 12, 2014 at 02:03:15AM +1300, Chris Bannister wrote:
 On Mon, Nov 10, 2014 at 08:23:57AM -0600, Russell Harris wrote:
  On Mon, November 10, 2014 7:34 am, DaleKelly wrote:
   how can I configure/maintain an address book?
  
  But if you have a high volume of email and many addresses, you may need to
  utilize a database package to manage the address book.
 
 Do you mean something like abook or lbdb?
 I would be interested to know what else there is.

I interpreted that as: if you have to many addresses to keep track of by
hand. Mail indexers, such as mu provide functionality to automatically
search addresses in the mail archive and to extract them:

mu cfind --format=mutt-ab

Of course, one could refine the query to restrict the contacts to people
that e-mailed you directly, during a certain timeframe, etc. You can
then use this as an address book server in mutt:

set query_command = mu cfind --format=mutt-ab '%s'

Of course, notmuch can be wrapped to provide similar functionality.

Kind regards,
Daniël




Re: address book?

2014-11-11 Thread Russell Harris
On Tue, November 11, 2014 7:03 am, Chris Bannister wrote:
 On Mon, Nov 10, 2014 at 08:23:57AM -0600, Russell Harris wrote:

 On Mon, November 10, 2014 7:34 am, DaleKelly wrote:

 how can I configure/maintain an address book?

 But if you have a high volume of email and many addresses, you may need
 to utilize a database package to manage the address book.

 Do you mean something like abook or lbdb?
 I would be interested to know what else there is.

I had in mind The Little Brother's Database (lbdb), but it has been
several years since I considered using a database, so I do not know what
is available today.

A search on mutt address book reveals at least three data bases which
interface directly with Mutt.  And with the aid of a script, it may be
possible to use a stand-alone database such as Postgress.

RLH




address book?

2014-11-10 Thread DaleKelly

how can I configure/maintain an address book?

--
(my whereabouts below)
http://www.dalekelly.org/


Re: address book?

2014-11-10 Thread Joshua Smith
On Mon, Nov 10, 2014 at 08:34:58AM -0500, DaleKelly wrote:
 how can I configure/maintain an address book?
 
 -- 
 (my whereabouts below)
 http://www.dalekelly.org/

Look in the man page for aliases.  They're pretty basic but work pretty
well.  If you're looking for something a bit more robust check out the
little brothers database (https://www.spinnaker.de/lbdb/).  It supports
querying multiple sources with in mutt for address book type
functionality.

Regards,
-- 
Joshua Smith
Lead Systems Administrator WVNET

Montani Semper Liberi


Re: address book?

2014-11-10 Thread John Niendorf
Check out abook in the repository. 

John
 

 On 10 Nov 2014, at 14:34, DaleKelly d...@dalekelly.org wrote:
 
 how can I configure/maintain an address book?
 
 -- 
 (my whereabouts below)
 http://www.dalekelly.org/


Re: address book?

2014-11-10 Thread DaleKelly

On 11/10/2014 08:55 AM, John Niendorf wrote:

Check out abook in the repository.

John



On 10 Nov 2014, at 14:34, DaleKelly d...@dalekelly.org wrote:

how can I configure/maintain an address book?

--
(my whereabouts below)
http://www.dalekelly.org/





already installed, how do I interface it with mutt?

--
(my whereabouts below)
http://www.dalekelly.org/


Re: address book?

2014-11-10 Thread DaleKelly

On 11/10/2014 09:23 AM, Russell Harris wrote:

Unless you have a high volume of incoming mail and you need to add the
addresses to you address book, the alias capability of Mutt may be
perfectly adequate.


I'll look at the alias compatibility

--
(my whereabouts below)
http://www.dalekelly.org/


Re: address book?

2014-11-10 Thread Patrick Shanahan
* DaleKelly d...@dalekelly.org [11-10-14 09:22]:
 On 11/10/2014 08:55 AM, John Niendorf wrote:
 Check out abook in the repository.
 
 John
 
 
 On 10 Nov 2014, at 14:34, DaleKelly d...@dalekelly.org wrote:
 
 how can I configure/maintain an address book?
 
 --
 (my whereabouts below)
 http://www.dalekelly.org/
 
 
 
 already installed, how do I interface it with mutt?

Honestly, from a *long* time linux user...

man abook
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://linuxcounter.net


Re: address book?

2014-11-10 Thread Russell Harris
On Mon, November 10, 2014 7:34 am, DaleKelly wrote:
 how can I configure/maintain an address book?

The first thing to do whenever you have a question such as that is to
submit to Google (or whatever search engine you prefer) the query
mutt address book.  Then look over the list of links which the
search engine returns and click and click on the links which appear
most promising.  My own search with Google just now shows several
approaches, including the aliases capability of mutt and a package
called abook.

The second thing to do is look at the Mutt documentation.  A search for
mutt manual address book turns up several links.

Once you have gained a bit of perspective from your own searching,
then you are ready to ask the list for advice concerning a particular
approach, or for advice as to which approach to take.

Much depends upon how many addresses you need to manage and how the
addresses are obtained.  When you ask the mutt-users list for help,
you need to mention such details.

Unless you have a high volume of incoming mail and you need to add the
addresses to you address book, the alias capability of Mutt may be
perfectly adequate.

But if you have a high volume of email and many addresses, you may need to
utilize a database package to manage the address book.

RLH




Re: address book?

2014-11-10 Thread Gerard ROBIN
On Mon, Nov 10, 2014 at 09:08:03AM -0500, DaleKelly wrote:
 Date: Mon, 10 Nov 2014 09:08:03 -0500
 From: DaleKelly d...@dalekelly.org
 To: John Niendorf j...@jfniendorf.org
 CC: mutt-users@mutt.org mutt-users@mutt.org
 Subject: Re: address book?
 
 already installed, how do I interface it with mutt?

in .muttrc:

macro index I !abook\n
macro pager I !abook\n

-- 
Gerard
___
***
*  Created with mutt 1.5.21-6.2+deb7u2  *
*  under Debian Linux WHEEZY version 7.6  *
*  Registered Linux User #388243  *
*  https://Linuxcounter.net   *
***



Re: address book?

2014-11-10 Thread DaleKelly

On 11/10/2014 09:23 AM, Russell Harris wrote:

The first thing to do whenever you have a question such as that is to
submit to Google (or whatever search engine you prefer) the query
mutt address book.  Then look over the list of links which the
search engine returns and click and click on the links which appear
most promising.  My own search with Google just now shows several
approaches, including the aliases capability of mutt and a package
called abook.

The second thing to do is look at the Mutt documentation.  A search for
mutt manual address book turns up several links.

Once you have gained a bit of perspective from your own searching,
then you are ready to ask the list for advice concerning a particular
approach, or for advice as to which approach to take.


I try to do this, but I am kind of a hack, short attention span, I'm 
over 50, sometimes its just as easy to search and ask at the same time


I remember about 20 years ago on Unix there were some HOWTO formatted 
documentations coming around, whatever happened to this format in 
documentation?, man pages aren't that easy for me


I'll try harder, thanks, it might extend my attention span

--
(my whereabouts below)
http://www.dalekelly.org/


Re: address book?

2014-11-10 Thread DaleKelly

On 11/10/2014 09:24 AM, Patrick Shanahan wrote:

Honestly, from a*long*  time linux user...

man abook


I'll try, about 20 years ago on Unix they were doing some HOWTO format 
documentation on things you wanted to do, not much around any more


--
(my whereabouts below)
http://www.dalekelly.org/


Re: address book?

2014-11-10 Thread DaleKelly

On 11/10/2014 10:18 AM, Gerard ROBIN wrote:

On Mon, Nov 10, 2014 at 09:08:03AM -0500, DaleKelly wrote:

Date: Mon, 10 Nov 2014 09:08:03 -0500
From: DaleKelly d...@dalekelly.org
To: John Niendorf j...@jfniendorf.org
CC: mutt-users@mutt.org mutt-users@mutt.org
Subject: Re: address book?



already installed, how do I interface it with mutt?


in .muttrc:

macro index I !abook\n
macro pager I !abook\n



THANKS honorable guru

--
(my whereabouts below)
http://www.dalekelly.org/


Re: address book?

2014-11-10 Thread Patrick Shanahan
* DaleKelly d...@dalekelly.org [11-10-14 14:53]:
 On 11/10/2014 09:24 AM, Patrick Shanahan wrote:
 Honestly, from a*long*  time linux user...
 
 man abook
 
 I'll try, about 20 years ago on Unix they were doing some HOWTO
 format documentation on things you wanted to do, not much around any
 more

Then stop complaining about age, we all endeavour to age and you are quite
young.  There are still howto's and much information on google.  You are
only making excuses or just taking the LAZY way utilizing others time
w/o regard for them.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://linuxcounter.net


Re: address book?

2014-11-10 Thread DaleKelly

On 11/10/2014 10:18 AM, Gerard ROBIN wrote:

On Mon, Nov 10, 2014 at 09:08:03AM -0500, DaleKelly wrote:

Date: Mon, 10 Nov 2014 09:08:03 -0500
From: DaleKelly d...@dalekelly.org
To: John Niendorf j...@jfniendorf.org
CC: mutt-users@mutt.org mutt-users@mutt.org
Subject: Re: address book?



already installed, how do I interface it with mutt?


in .muttrc:

macro index I !abook\n
macro pager I !abook\n



when I press I in mutt, I get an empty abook, a put my addresses in abook

what can I do to get the populated one instead?

how do you select and send?

--
(my whereabouts below)
http://www.dalekelly.org/


Re: address book?

2014-11-10 Thread DaleKelly

On 11/10/2014 03:31 PM, DaleKelly wrote:


when I press I in mutt, I get an empty abook, a put my addresses in abook

what can I do to get the populated one instead?


got it, in mutt abook, I choose l to import the addressbook after I 
exported it using w from just abook, the commands are in ? in abook


thanks everyone

--
(my whereabouts below)
http://www.dalekelly.org/


nbook: a notmuch based address book for mutt

2012-09-24 Thread Suvayu Ali
Hi,

I wrote a small address book program for use with mutt based on the
notmuch email indexer.  I thought notmuch users on the list might be
interested to try this out.

  https://github.com/suvayu/nbook

This uses the python bindings for notmuch, so the appropriate python
packages should be installed.  e.g. on Fedora you can simply do:

  # yum install python-notmuch

Hope you like it, and of course all kinds of feedback welcome.

Cheers,

PS: This is my first serious python program.

-- 
Suvayu

Open source is the future. It sets us free.


Re: nbook: a notmuch based address book for mutt

2012-09-24 Thread Jamie Paul Griffin
[ Suvayu Ali wrote on Mon 24.Sep'12 at 11:31:54 +0200 ]

 Hi,
 
 I wrote a small address book program for use with mutt based on the
 notmuch email indexer.  I thought notmuch users on the list might be
 interested to try this out.
 
   https://github.com/suvayu/nbook
 
 This uses the python bindings for notmuch, so the appropriate python
 packages should be installed.  e.g. on Fedora you can simply do:
 
   # yum install python-notmuch
 
 Hope you like it, and of course all kinds of feedback welcome.
 
 Cheers,
 
 PS: This is my first serious python program.
 
Thanks for sharing Suvayu


Re: nbook: a notmuch based address book for mutt

2012-09-24 Thread Niels den Otter
Hello Suvayu,

On Monday, 24 September 2012, Suvayu Ali wrote:
 I wrote a small address book program for use with mutt based on
 the notmuch email indexer.  I thought notmuch users on the list
 might be interested to try this out.
 
   https://github.com/suvayu/nbook

Interesting idea. It would be nice if the e-mail address would be
sorted on last-seen, to ensure you have the last address of the
person you are looking for.

However; at this moment it's not working for me at all. Is there a limit to the
number of e-mails that are searched?

  otter@sambal:~/bin$ ./nbook niels den otter
  Error opening 
/home/otter/OfflineMail/SURFnet/INBOX/cur/1338539898_0.4620.sambal,U=986381,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S:
 Too many open files
  Traceback (most recent call last):
File ./nbook, line 167, in module
File ./nbook, line 72, in __init__
File /usr/lib/python2.7/dist-packages/notmuch/message.py, line 233, in 
get_header
  notmuch.errors.NullPointerError
  Error in sys.excepthook:
  Traceback (most recent call last):
File /usr/lib/python2.7/dist-packages/apport_python_hook.py, line 64, in 
apport_excepthook
  ImportError: No module named fileutils

  Original exception was:
  Traceback (most recent call last):
File ./nbook, line 167, in module
File ./nbook, line 72, in __init__
File /usr/lib/python2.7/dist-packages/notmuch/message.py, line 233, in 
get_header
  notmuch.errors.NullPointerError


Kind regards,

Niels den Otter


smime.p7s
Description: S/MIME cryptographic signature


Re: nbook: a notmuch based address book for mutt

2012-09-24 Thread Suvayu Ali
Hi Niels,

First a thank you for testing it out.

On Mon, Sep 24, 2012 at 02:18:24PM +0200, Niels den Otter wrote:
 Hello Suvayu,
 
 On Monday, 24 September 2012, Suvayu Ali wrote:
  I wrote a small address book program for use with mutt based on
  the notmuch email indexer.  I thought notmuch users on the list
  might be interested to try this out.
  
https://github.com/suvayu/nbook
 
 Interesting idea. It would be nice if the e-mail address would be
 sorted on last-seen, to ensure you have the last address of the
 person you are looking for.
 

That is a nice idea.  I'll see if I can retrieve that information from
notmuch.  However I'm not sure if the maildir format keeps the
information when an email was last read.

 However; at this moment it's not working for me at all. Is there a limit to 
 the
 number of e-mails that are searched?
 
   otter@sambal:~/bin$ ./nbook niels den otter
   Error opening 
 /home/otter/OfflineMail/SURFnet/INBOX/cur/1338539898_0.4620.sambal,U=986381,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S:
  Too many open files
   Traceback (most recent call last):
 File ./nbook, line 167, in module
 File ./nbook, line 72, in __init__
 File /usr/lib/python2.7/dist-packages/notmuch/message.py, line 233, in 
 get_header
   notmuch.errors.NullPointerError

I can replicate this error when I search for my name.  But it works with
any other name where I expect to have lots of results.  I'll look into
it, however you have to be a bit patient since I'm a Python newbie.  :-p

Thanks a lot for reporting the issue.  :)


 Kind regards,
 
 Niels den Otter

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.


Re: nbook: a notmuch based address book for mutt

2012-09-24 Thread Niels den Otter
Hello Suvayu,

On Monday, 24 September 2012, Suvayu Ali wrote:
  Interesting idea. It would be nice if the e-mail address would
  be sorted on last-seen, to ensure you have the last address of
  the person you are looking for.
  
 That is a nice idea.  I'll see if I can retrieve that information
 from notmuch.  However I'm not sure if the maildir format keeps
 the information when an email was last read.

Well the 'date' of the e-mail (read or not) should be good.

 I can replicate this error when I search for my name.  But it
 works with any other name where I expect to have lots of results.
 I'll look into it, however you have to be a bit patient since I'm
 a Python newbie.  :-p

This problem occurs on other searches for me as well. Some do work.
Looks like it's related to the amount of e-mails that match the
pattern.


-- Niels


smime.p7s
Description: S/MIME cryptographic signature


Re: nbook: a notmuch based address book for mutt

2012-09-24 Thread Suvayu Ali
On Mon, Sep 24, 2012 at 03:23:31PM +0200, Niels den Otter wrote:
 Hello Suvayu,
 
 On Monday, 24 September 2012, Suvayu Ali wrote:
   Interesting idea. It would be nice if the e-mail address would
   be sorted on last-seen, to ensure you have the last address of
   the person you are looking for.
   
  That is a nice idea.  I'll see if I can retrieve that information
  from notmuch.  However I'm not sure if the maildir format keeps
  the information when an email was last read.
 
 Well the 'date' of the e-mail (read or not) should be good.
 

That is a good suggestion.  I'll try this out.

  I can replicate this error when I search for my name.  But it
  works with any other name where I expect to have lots of results.
  I'll look into it, however you have to be a bit patient since I'm
  a Python newbie.  :-p
 
 This problem occurs on other searches for me as well. Some do work.
 Looks like it's related to the amount of e-mails that match the
 pattern.
 

Yes, I think you are correct.  So far it seems to me the problem is in
notmuch's python bindings and how it reads messages.  I'll look more
into this.

 
 -- Niels

Thanks again,

-- 
Suvayu

Open source is the future. It sets us free.


Re: Address Book/Contacts utilities that work (well) with mutt - what's out there?

2011-12-14 Thread Chris Green
On Wed, Dec 14, 2011 at 02:22:39AM -0500, Patrice Levesque wrote:
 
  So, does everyone here use abook, or nothing, or just have all their
  E-Mail addresses in mutt aliases, or what?  Any suggestions would be
  very welcome.
  If I found something that could synchronize my (any) phone as well
  then I'd be *very* happy!  :-)
 
 My current setup does just that.
 
   - OpenLDAP acts as the addressbook container;
   - Horde's Turba acts as a web-based data entry frontend;
   - Horde's Turba can also deal with phone two-way synchronization
 mechanism (via ActiveSync), if you use Horde ≥ 4 and Turba ≥ 3.
 
I've often toyed with Horde but have never actually really got into it,
maybe I should revisit it.


 The phone sync setup can easily accomodate calendars as well if you add
 Horde's Kronolith.  You may also handle mail via Horde's Imp as a
 web-based plan B (I like a shell environment on my cellphone but I
 understand it's not everyone's taste, especially for those without a
 physical keyboard; native smartphone mail apps often suck) and you could
 even deal with mail filters (think procmail or sieve) using Horde's
 Ingo.  My mail is stored in IMAP, don't know about your setup, so YMMV.
 
 Turba works well enough (though clumsily) in a text-based browser like
 ELinks if you want to add contacts without leaving the comfort of your
 shell.
 
 (No, this is not a Horde selling pitch! I'm getting back to the subject
 at hand, now!)
 
 Mutt accesses OpenLDAP via a thin shell script; my OpenLDAP server is
 located thousands of miles away and the Ctrl-T completion seldom takes
 more than 2 seconds.
 
 Of course, all that may seem like overhead just to get e-mail address
 completion, but I like to think of it the other way around; mutt fits in
 *nicely* in that ecosystem ;)
 
Yes, that's the way round I am really.  I want a good/comfortable
contacts manager for lots of reasons other than using it with mutt,
being able to extract E-Mail addresses to mutt is just a bonus.

-- 
Chris Green


Re: Address Book/Contacts utilities that work (well) with mutt - what's out there?

2011-12-14 Thread Patrice Levesque


 Yes, that's the way round I am really.  I want a good/comfortable
 contacts manager for lots of reasons other than using it with mutt,
 being able to extract E-Mail addresses to mutt is just a bonus.

I can't stress enough then that you *want* to build around a LDAP
server; maybe Horde won't float your boat but any respectable
addressbook application will be able to hook into LDAP.  Even Evolution
if you ever miss it someday ;)



-- 
 --|--
|
Patrice Levesque
 http://ptaff.ca/
mutt.wa...@ptaff.ca
|
 --|--
--


signature.asc
Description: Digital signature


Re: Address Book/Contacts utilities that work (well) with mutt - what's out there?

2011-12-13 Thread Patrice Levesque

 So, does everyone here use abook, or nothing, or just have all their
 E-Mail addresses in mutt aliases, or what?  Any suggestions would be
 very welcome.
 If I found something that could synchronize my (any) phone as well
 then I'd be *very* happy!  :-)

My current setup does just that.

- OpenLDAP acts as the addressbook container;
- Horde's Turba acts as a web-based data entry frontend;
- Horde's Turba can also deal with phone two-way synchronization
  mechanism (via ActiveSync), if you use Horde ≥ 4 and Turba ≥ 3.

The phone sync setup can easily accomodate calendars as well if you add
Horde's Kronolith.  You may also handle mail via Horde's Imp as a
web-based plan B (I like a shell environment on my cellphone but I
understand it's not everyone's taste, especially for those without a
physical keyboard; native smartphone mail apps often suck) and you could
even deal with mail filters (think procmail or sieve) using Horde's
Ingo.  My mail is stored in IMAP, don't know about your setup, so YMMV.

Turba works well enough (though clumsily) in a text-based browser like
ELinks if you want to add contacts without leaving the comfort of your
shell.

(No, this is not a Horde selling pitch! I'm getting back to the subject
at hand, now!)

Mutt accesses OpenLDAP via a thin shell script; my OpenLDAP server is
located thousands of miles away and the Ctrl-T completion seldom takes
more than 2 seconds.

Of course, all that may seem like overhead just to get e-mail address
completion, but I like to think of it the other way around; mutt fits in
*nicely* in that ecosystem ;)



-- 
 --|--
|
Patrice Levesque
 http://ptaff.ca/
mutt.wa...@ptaff.ca
|
 --|--
--


signature.asc
Description: Digital signature


Address Book/Contacts utilities that work (well) with mutt - what's out there?

2011-12-10 Thread Chris Green
I currently use the Evolution Contacts list for contacts, with a Python
script that I have written to extract E-Mail addresses to mutt (via
Ctrl-T etc.).

I'm getting fed up with Evolution's slowness, crap user interface and
non-standard storage format so I'm looking for alternatives, so far I've
had very little luck even though I have cast my net pretty far looking
at everything from abook to full-blown web groupware.

My requirements are:-
Storage of full contact information, i.e. postal address and
telephone numbers as well as E-Mail address.

Standard storage format (e.g. vCard or LDAP) so that it's easy to
access, convert and move around.  This isn't *absolutely* necessary,
a program that provides all I want and stores data in some strange
format might be acceptable.

Fast and lightweight, I don't want to have to wait a long time while
the program loads and I want the UI to be fast.  This is where
Evolution falls down, on my fairly modern and fast (quad processor,
SATA disks) system it takes 5 seconds or so to simply start up. 

Simple, straightforward data entry, search, etc., again Evolution is
bad (IMHO) here, I find the user interface to Contacts confusing and
clumsy. 

I've played with abook but it doesn't really quite do it for me, I've
nothing against it being text mode (I'm a mutt user after all) but
entering full contact data really isn't its forté and I do want to keep
all user contact data in one place.  I think a small desktop GUI would
be my ideal solution but a web based program (if fast and light) might
be a possibility too.

So, does everyone here use abook, or nothing, or just have all their
E-Mail addresses in mutt aliases, or what?  Any suggestions would be
very welcome.

-- 
Chris Green


Re: Address Book/Contacts utilities that work (well) with mutt - what's out there?

2011-12-10 Thread Tim Gray

On Dec 10, 2011 at 02:55 PM +, Chris Green wrote:

So, does everyone here use abook, or nothing, or just have all their
E-Mail addresses in mutt aliases, or what?  Any suggestions would be
very welcome.


This isn't going to be very useful to you since you are using Linux and 
I'm on OS X, but it might give you some ideas.  I use the OS X built in 
Address Book app.  It's got a goofy GUI, but now that Apple has released 
iCloud (for free!), my contacts sync wirelessly automatically between my 
phone, my computer, and Apple's iCloud web mail (not that I use that).  
The syncing between my phone and computer are the big features for me.  
It is also nice that it keeps track of physical addresses, phone 
numbers, IM names, etc - all of which my phone can utilize I might add.  
Lastly, lot's of apps on OS X tap into the Address Book database, so 
having my contacts in there makes using OS X generally a nicer 
experience.


I also use lbdb in mutt.  There's a helper that queries the OS X address 
book, so I can run a query by hitting ^T and search the address book.  I 
have lbdb setup to also scrape addresses from outgoing messages and 
store them.  So when I run the ^T query, not only does it search the OS 
X address book, but it also checks the outgoing address list.  One could 
also run searches against LDAP if you desired.


I also use a simple mutt alias file for my most commonly used addresses 
where I want to define a nickname to use.  Like 'mom' or 'mike'.  I have 
many Mike's I correspond with, including both my brother and my boss.  You can 
imagine I send completely different types of correspondences to those 
two, so I want to make sure I have no mix ups.  I've defined 'mike' as 
my brother and 'boss' as my boss.


The last bit of glue I use is a python script that dumps the OS X 
address book into mutt alias format.  This happens nightly via a cron 
job.  I do this so I can quickly use tab completion when typing in 
addresses and also to access the groups I have defined in the OS X 
address book.  This way I can define hooks in mutt based on those 
groups.


It all sounds much more complicated than it actually is in use.  When 
getting a new contact, I enter it in my phone if on the road, or add it 
to the Address Book app.  When composing emails, I start typing who I 
want to address an email to and hit tab.  If that alias doesn't come up 
either from my commonly used alias file or from the Address Book dump 
alias file, I hit ^T and query lbdb.


Re: Address Book/Contacts utilities that work (well) with mutt - what's out there?

2011-12-10 Thread Chris Green
On Sat, Dec 10, 2011 at 11:25:28AM -0500, Tim Gray wrote:
 On Dec 10, 2011 at 02:55 PM +, Chris Green wrote:
 So, does everyone here use abook, or nothing, or just have all their
 E-Mail addresses in mutt aliases, or what?  Any suggestions would be
 very welcome.
 
 This isn't going to be very useful to you since you are using Linux
 and I'm on OS X, but it might give you some ideas.  I use the OS X
 built in Address Book app.  It's got a goofy GUI, but now that Apple
 has released iCloud (for free!), my contacts sync wirelessly
 automatically between my phone, my computer, and Apple's iCloud web
 mail (not that I use that).  The syncing between my phone and
 computer are the big features for me.  It is also nice that it keeps
 track of physical addresses, phone numbers, IM names, etc - all of
 which my phone can utilize I might add.  Lastly, lot's of apps on OS
 X tap into the Address Book database, so having my contacts in there
 makes using OS X generally a nicer experience.
 
If I found something that could synchronize my (any) phone as well then
I'd be *very* happy!  :-)


 I also use lbdb in mutt.  There's a helper that queries the OS X
 address book, so I can run a query by hitting ^T and search the
 address book.  I have lbdb setup to also scrape addresses from
 outgoing messages and store them.  So when I run the ^T query, not
 only does it search the OS X address book, but it also checks the
 outgoing address list.  One could also run searches against LDAP if
 you desired.
 
lbdb is good to know about, thank you.  It means that I can choose
almost any program for my address book and can link it to mutt.


 I also use a simple mutt alias file for my most commonly used
 addresses where I want to define a nickname to use.  Like 'mom' or
 'mike'.  I have many Mike's I correspond with, including both my
 brother and my boss.  You can imagine I send completely different
 types of correspondences to those two, so I want to make sure I have
 no mix ups.  I've defined 'mike' as my brother and 'boss' as my
 boss.
 
 The last bit of glue I use is a python script that dumps the OS X
 address book into mutt alias format.  This happens nightly via a
 cron job.  I do this so I can quickly use tab completion when typing
 in addresses and also to access the groups I have defined in the OS
 X address book.  This way I can define hooks in mutt based on those
 groups.
 
 It all sounds much more complicated than it actually is in use.
 When getting a new contact, I enter it in my phone if on the road,
 or add it to the Address Book app.  When composing emails, I start
 typing who I want to address an email to and hit tab.  If that alias
 doesn't come up either from my commonly used alias file or from the
 Address Book dump alias file, I hit ^T and query lbdb.

No, doesn't sound very complex, what I need is the equivalent of that
Address Book program you're using.

-- 
Chris Green


Re: Address Book/Contacts utilities that work (well) with mutt - what's out there?

2011-12-10 Thread Brendan Cully
On Saturday, 10 December 2011 at 17:38, Chris Green wrote:
 No, doesn't sound very complex, what I need is the equivalent of that
 Address Book program you're using.

There's also goobook (which could easily be wired into lbdb) for
synchronizing everything with google contacts. It'll let you sync with
your android phone too.


Re: Address Book/Contacts utilities that work (well) with mutt - what's out there?

2011-12-10 Thread Tim Gray

On Dec 10, 2011 at 05:38 PM +, Chris Green wrote:

lbdb is good to know about, thank you.  It means that I can choose
almost any program for my address book and can link it to mutt.


lbdb is the glue which makes it all happen really.  It's a great 
program.


External Address Book

2010-05-12 Thread Chuck Smith
Just curious. Has anyone tried Goobook? 

http://pypi.python.org/pypi/goobook/1.3a1

It uses Gmail Contacts for your external addressbook. I have been using
just a few minutes and so far it is really cool. I have been looking for
a way to sync Gmail Contacts with an addressbook database for Mutt but
so far this is way better.

Just wanted to share

--
Chuck Smith


signature.asc
Description: Digital signature


Re: External Address Book

2010-05-12 Thread rogerx
On Wed, May 12, 2010 at 12:56:18PM -0400, Chuck Smith wrote:
Just curious. Has anyone tried Goobook? 

http://pypi.python.org/pypi/goobook/1.3a1

It uses Gmail Contacts for your external addressbook. I have been using
just a few minutes and so far it is really cool. I have been looking for
a way to sync Gmail Contacts with an addressbook database for Mutt but
so far this is way better.

ABook
http://abook.sourceforge.net/
Abook is a text-based addressbook program designed to use with mutt mail
client.

Written in C. ...python is a hog on system resources. ;-)

-- 
Roger
http://rogerx.freeshell.org/


Re: External Address Book

2010-05-12 Thread Derek Martin
On Wed, May 12, 2010 at 11:52:09AM -0800, rog...@sdf.org wrote:
 ABook
 http://abook.sourceforge.net/
 Abook is a text-based addressbook program designed to use with mutt mail
 client.
 
 Written in C. ...python is a hog on system resources. ;-)

Which matters a lot... if you're running on a i386 shared by a dozen
users or something.  =8^)

-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.



pgpOehAcf4Bat.pgp
Description: PGP signature


Re: External Address Book

2010-05-12 Thread Grant Edwards
On 2010-05-12, rog...@sdf.org rog...@sdf.org wrote:
 On Wed, May 12, 2010 at 12:56:18PM -0400, Chuck Smith wrote:
Just curious. Has anyone tried Goobook? 

http://pypi.python.org/pypi/goobook/1.3a1

It uses Gmail Contacts for your external addressbook. I have been
using just a few minutes and so far it is really cool. I have been
looking for a way to sync Gmail Contacts with an addressbook database
for Mutt but so far this is way better.

 ABook
 http://abook.sourceforge.net/
 Abook is a text-based addressbook program designed to use with mutt mail
 client.

 Written in C. ...python is a hog on system resources. ;-)

On a console-only Unix machine that ran nothing but mutt, that would
be a valid point.  But, I use enough python apps, that the incremental
cost of running one more is trivial.

-- 
Grant Edwards   grant.b.edwardsYow! My face is new, my
  at   license is expired, and I'm
  gmail.comunder a doctor's care



address book

2009-09-21 Thread Buzzer
When I select recipient and then starting compose message from abook
interface, unsuitable for current folder e-mail address appears in the
From: field.

Part of my .muttrc have look:

folder-hook 01-4625khz \
'set postponed=+01-4625khz/queue; \
fcc-hook . =01-4625khz/`date +%Y`_sent; \
set signature=~/01-4625khz/.sig; \
set realname=Buzzer; \
my_hdr From: Buzzer 4625...@...'

-- 
/Buzzer




Re: How to match an email by the sender is in the address book?

2009-06-25 Thread Markus Mueller
On Thu, Jun 25, 2009 at 01:24:15PM +0800, wei ribao wrote:
 I use mutt/gmail to subscribe and read a lot of mail-lists.By using mutt it 
 is really efficient to read and process large amount of emails. However, some 
 personal emails can be burried in these group emails. 
 
 I wish to hight light those emails that their senders have been save in my 
 address book(mutt.alias). How can I match these emails?Is it possible in 
 mutt? What pattern should I use? 
 
 I cann't find related stuff in the manul.Any clue is welcome!

excerpts from 'man muttrc':

###
   color object foreground background [  regexp ]
   color index foreground background [  pattern ]
   uncolor index pattern [ pattern ... ]

  If  your  terminal supports color, these commands can be used to
  assign foreground/background combinations  to  certain  objects.
  Valid  objects  are: attachment, body, bold, header, hdrdefault,
  index, indicator, markers,  message,  normal,  quoted,  quotedN,
  search, signature, status, tilde, tree, underline.  The body and
  header objects allow you to restrict the colorization to a regu‐
  lar  expression.  The index object permits you to select colored
  messages by pattern.

  Valid colors include: white, black, green, magenta, blue,  cyan,
  yellow, red, default, colorN.
###

then proceed to read what 'man muttrc' has to say about patterns:

###
  Constructing Patterns
   A simple pattern consists of an operator of the form “~character”, pos‐
   sibly  followed  by 
(...)
  Simple Patterns
   Mutt understands the following simple patterns:

   ~A  all messages
   ~b EXPR messages which contain EXPR in the message body.
   =b STRING   messages which contain STRING in the message body. If  IMAP
(...)
   ~p  messages addressed to you (as defined by alternates)
   ~P  messages from you (as defined by alternates)
###

and an example from my muttrc:

###
color index brightgreen default ~p | ~P 
###

Cheers,
  Markus


Re: How to match an email by the sender is in the address book?

2009-06-25 Thread Rocco Rutte
[ please limit your line length to something around 72 chars ]

Hi,

* wei ribao wrote:

 I wish to hight light those emails that their senders have been save 
 in my address book(mutt.alias). How can I match these emails?Is it 
 possible in mutt? What pattern should I use? 

You can't do that right now because there's no pattern for it. But as 
written in another message, you can mark mails sent to you. That works 
unless you're listed as a Bcc recipient.

Rocco


How to match an email by the sender is in the address book?

2009-06-24 Thread wei ribao
I use mutt/gmail to subscribe and read a lot of mail-lists.By using mutt it is 
really efficient to read and process large amount of emails. However, some 
personal emails can be burried in these group emails. 

I wish to hight light those emails that their senders have been save in my 
address book(mutt.alias). How can I match these emails?Is it possible in mutt? 
What pattern should I use? 

I cann't find related stuff in the manul.Any clue is welcome!




Re: Online Address book

2008-02-14 Thread Matt Richards
On Tue, Feb 12, 2008 at 01:43:25AM +0100, Nathan Huesken wrote:
 Hi,
 
 I am using mutt from different computers (like my laptop and the desktop PC 
 at home) and I am wondering if there is some way to always keep my address 
 book synchronized between the two computers.
 The coolest solution would be, if I could install some sort of database on my 
 vServer and make mutt query it everytime I need the address book (and also 
 add new addresses to it).
 
 Is there some sort if solution for this kind of think?
 
 Thanks!
 Nathan


Hello, I currently use ldap for an address book with mutt, 

I thought I would send you the scripts I use todo with what you will.

I have added the following lines to my .muttrc ...

## ldap search
set query_command=~/mutt-ldap-search.pl '%s'

## adding addresses to ldap
macro index,pager a 'shell-escape/home/matt/bin/add2ldapenter'

Allowing me to search and also add addresses by pressing a

The mutt search perl script I found online somewhere, I did make a change to it 
allowing me to have entries without surnames, I just put surnames as '.' in 
this case.

and the add2ldap is a bash script I just chucked together, there prob a better 
way of writing it but it works :)

hth,

Matt.

-- 
Matt Richards
#!/bin/bash

echo Adding a new address to the LDAP database ...

if [ -z $1 ]; then
 echo I need an email address:
 read email
else
 email=$1
fi

if [ -z $email ]; then
 echo I really do need an email address!
 exit
fi

if [ -z $2 ]; then
 echo I need a First Name:
 read fname
else
 fname=$2
fi

if [ -z $3 ]; then
 echo I need a Second Name:
 read sname

 if [ -z $sname ]; then
  echo Using . for second name
  sname=.
 fi

else
 sname=$3
fi


echo dn: mail=$email,ou=Contacts,o=mattstone
cn: $fname $sname
sn: $sname
givenName: $fname
mail: $email
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson | ldapadd -h 192.168.4.6 -D 
uid=matt,ou=People,o=mattstone -x -w --PASSWD--

#!/usr/bin/perl

# use strict;
use Net::LDAP;

use constant HOST = '192.168.4.6';
use constant BASE = 'ou=Contacts, o=mattstone';
use constant VERSION = 3;
use constant SCOPE = 'sub';

my $name;
my @attributes = qw( dn givenName sn mail );
{
print Searching directory... ;
$name = shift || die;
my $filter = (|(sn=$name*)(givenName=$name*));
my $ldap = Net::LDAP-new( HOST, onerror = 'die' )
|| die Cannot connect: $@;

#$ldap-bind(version = VERSION) or die Cannot bind: $@;
 $ldap-bind( uid=matt,ou=People,o=mattstone, password = --PASSWD-- ) 
or die Cannot bind: $@;

my $result = $ldap-search( base = BASE,
scope = SCOPE,
attrs = [EMAIL PROTECTED],
filter = $filter
);

my @entries = $result-entries;

$ldap-unbind();

print scalar @entries,  entries found.\n;

foreach my $entry ( @entries ) {
my @emailAddr = $entry-get_value('mail');
foreach my $addr (@emailAddr) {
print $addr , \t;

if ($entry-get_value('sn') eq '.') {
 print $entry-get_value('givenName'), \n;
} else {
 print $entry-get_value('givenName'),  ;
 print $entry-get_value('sn'), \n;
}

}
}
}



signature.asc
Description: Digital signature


Re: Online Address book

2008-02-12 Thread Joseph
On 02/12/08, [EMAIL PROTECTED] wrote:
 Hi,
 
 Thanks for your reply. ldap is running on my vServer. But I am not sure how 
 to setup lbdb to use ldap and mutt to use lbdb.
 Any advise where to look?
 
 Thanks!
 Nathan
 
 On Mon, Feb 11, 2008 at 09:04:00PM -0500, Raffi Khatchadourian wrote:
  On Tue 12.Feb'08 at  1:43:25 +0100, Nathan Huesken wrote:
  I am using mutt from different computers (like my laptop and the desktop 
  PC at home) and I am wondering if there is some way to always keep my 
  address book synchronized between the two computers.
  The coolest solution would be, if I could install some sort of database on 
  my vServer and make mutt query it everytime I need the address book (and 
  also add new addresses to it).
 
  Is there some sort if solution for this kind of think?
 
  Using LDAP and lbdb kinda solves this problem.


Another solution is to setup svn on a server somewhere and then use that
to keep your addresses, muttrc files, and other home data you want to be
shared everywhere. I also keep my icewm files, alias setups and so on
there.

Make an alias that does svn ci of your files before starting mutt.


-- 
 
|respectfull, Joseph |
 


signature.asc
Description: Digital signature


Re: Online Address book

2008-02-12 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday, February 12 at 03:03 PM, quoth [EMAIL PROTECTED]:
Hi,

Thanks for your reply. ldap is running on my vServer. But I am not sure how to 
setup lbdb to use ldap and mutt to use lbdb.
Any advise where to look?

http://www.spinnaker.de/lbdb/
and
http://www.spinnaker.de/lbdb/mutt_ldap_query.html

~Kyle
- -- 
This is my simple religion. There is no need for temples; no need for 
complicated philosophy. Our own brain, our own heart is our temple; 
the philosophy is kindness.
  -- Dalai Lama
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFHscYeBkIOoMqOI14RAvyGAKCyvSqirqlnrX2HmTBkqRiB29jIjQCg1T6j
V7dVRNi8vxtEXMoWFC8kQEQ=
=KCqx
-END PGP SIGNATURE-


Re: Online Address book

2008-02-12 Thread mutt
Hi,

Thanks for your reply. ldap is running on my vServer. But I am not sure how to 
setup lbdb to use ldap and mutt to use lbdb.
Any advise where to look?

Thanks!
Nathan

On Mon, Feb 11, 2008 at 09:04:00PM -0500, Raffi Khatchadourian wrote:
 On Tue 12.Feb'08 at  1:43:25 +0100, Nathan Huesken wrote:
 I am using mutt from different computers (like my laptop and the desktop 
 PC at home) and I am wondering if there is some way to always keep my 
 address book synchronized between the two computers.
 The coolest solution would be, if I could install some sort of database on 
 my vServer and make mutt query it everytime I need the address book (and 
 also add new addresses to it).

 Is there some sort if solution for this kind of think?

 Using LDAP and lbdb kinda solves this problem.


Re: Online Address book

2008-02-11 Thread Raffi Khatchadourian

On Tue 12.Feb'08 at  1:43:25 +0100, Nathan Huesken wrote:

I am using mutt from different computers (like my laptop and the desktop PC at 
home) and I am wondering if there is some way to always keep my address book 
synchronized between the two computers.
The coolest solution would be, if I could install some sort of database on my 
vServer and make mutt query it everytime I need the address book (and also add 
new addresses to it).

Is there some sort if solution for this kind of think?


Using LDAP and lbdb kinda solves this problem.


Online Address book

2008-02-11 Thread Nathan Huesken
Hi,

I am using mutt from different computers (like my laptop and the desktop PC at 
home) and I am wondering if there is some way to always keep my address book 
synchronized between the two computers.
The coolest solution would be, if I could install some sort of database on my 
vServer and make mutt query it everytime I need the address book (and also add 
new addresses to it).

Is there some sort if solution for this kind of think?

Thanks!
Nathan


Re: recommend good address book

2002-06-08 Thread Jussi Ekholm

David T-G [EMAIL PROTECTED] wrote:

 ...and then Kevin Coyner said...
 I'm enjoying using Mutt, although mangling the messages, but
 am wondering whether there is a good console type address
 book to use with it?
 
 1) I don't use it, but I hear that abook is pretty good.

I use it, and it's pretty good, IMHO. There's just one thing I'd like to
know; is it in *any way* possible to use abook's addresses in case of
forwarding of bouncing mails? I've read the help screen that pops up
when you press '?' in abook, but for no avail. This is actually the only
thing why I'm still keeping both, aliases and abook.addressbook...

-- 
Jussi Ekholm   --  [EMAIL PROTECTED]  --  http://erppimaa.cjb.net/



msg28754/pgp0.pgp
Description: PGP signature


Re: [OT] scriting abook, was: recommend good address book

2002-06-08 Thread Andre Berger

* Mike Arrison [EMAIL PROTECTED], 2002-06-06 16:39 -0400:
 Kevin,
 
  I'm enjoying using Mutt, although mangling the messages, but
  am wondering whether there is a good console type address
  book to use with it?
 
 I agree that abook is good.  In fact, it is the first project
 that to which I've felt obliged and able to contribute.  Its source is
 simple, so if you don't like the way it does something, or you want to
 add a feature, it's easy.  Yeah Open Source!
 
   -Mike Arrison

Talking about abook, is there a way to extract the snailmail address
of certain user for use in shell srcipts and the like?

-Andre



Re: [OT] scriting abook, was: recommend good address book

2002-06-08 Thread Mike Arrison

Andre,

On Sat, Jun 08, 2002 at 09:55:04AM -0400, Andre Berger wrote:
 Talking about abook, is there a way to extract the snailmail address
 of certain user for use in shell srcipts and the like?
 -Andre

Its funny, but I don't think there is a way currently.  That's a good
feature request.  If you know any C, you can add another export function
in the filter.c file.  I think even a custom exporter would be easy to
write at somepoint.  Whereby you could specifiy your output format with
a series of printf like commands %Name %Street %City %State %Zip
Wouldn't that be nifty?  Maybe I'll work on that, of if someone smarter
wants to jump in here.

-Mike Arrison



recommend good address book

2002-06-06 Thread Kevin Coyner

As the newest Mutt user on the block (and definitely still
trying to figure things out), one of the things I'm leaving
behind with KMail is the KAddressbook.  The two integrated
pretty well.

I'm enjoying using Mutt, although mangling the messages, but
am wondering whether there is a good console type address
book to use with it?

Thanks
Kevin



Re: recommend good address book

2002-06-06 Thread David T-G

Kevin --

...and then Kevin Coyner said...
% 
% As the newest Mutt user on the block (and definitely still

*grin*


...
% 
% I'm enjoying using Mutt, although mangling the messages, but
% am wondering whether there is a good console type address
% book to use with it?

1) I don't use it, but I hear that abook is pretty good.

2) Check the archives for things like this.  Lots of past discussion of
alias management and address books right there for your reference.  [The
archives are linked from the mutt.org site, BTW.]


% 
% Thanks
% Kevin


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28682/pgp0.pgp
Description: PGP signature


Re: recommend good address book

2002-06-06 Thread Mike Arrison

Kevin,

 I'm enjoying using Mutt, although mangling the messages, but
 am wondering whether there is a good console type address
 book to use with it?

I agree that abook is good.  In fact, it is the first project
that to which I've felt obliged and able to contribute.  Its source is
simple, so if you don't like the way it does something, or you want to
add a feature, it's easy.  Yeah Open Source!

  -Mike Arrison



aliases and address book

2002-05-30 Thread Mike Arrison

Hi Mutters,
I'm curious if anyone has a good solution for using Mutt's
aliasing feature as a good address book (email addr only).  The problem
I'm running into is that I couldn't possibly come up with a one word
nickname for all 100 or so people I know.  So instead of saying:

  alias Adam Smith, Adam [EMAIL PROTECTED]
  alias Bob Jones, Bob [EMAIL PROTECTED]
  alias Chuck Jackson, Chuck [EMAIL PROTECTED]
  ...

I would like to to have to specify a nickname, such as:

  alias Smith, Adam [EMAIL PROTECTED]
  alias Jones, Bob [EMAIL PROTECTED]
  alias Jackson, Chuck [EMAIL PROTECTED]
  ...

I'm willing to type in their full names, but I don't want to have to
remember full email addresses.  Is that legal?

  -Mike Arrison



Re: aliases and address book

2002-05-30 Thread Dave Smith

On Thu, May 30, 2002 at 08:50:28AM -0400, [EMAIL PROTECTED] wrote:
 I would like to to have to specify a nickname, such as:
 
   alias Smith, Adam [EMAIL PROTECTED]
   alias Jones, Bob [EMAIL PROTECTED]
   alias Jackson, Chuck [EMAIL PROTECTED]
   ...
 
 I'm willing to type in their full names, but I don't want to have to
 remember full email addresses.  Is that legal?

You might run into problems with spaces, since the list of email addresses
is separated by spaces.  You could always do

  alias Adam_Smith [EMAIL PROTECTED]

or something similar.

HTH...

-- 
David SmithWork Email: [EMAIL PROTECTED]
STMicroelectronics Home Email: [EMAIL PROTECTED]
Bristol, England



Re: aliases and address book

2002-05-30 Thread Dave Pearson

* Mike Arrison [EMAIL PROTECTED] [2002-05-30 08:50:28 -0400]:

 I'm curious if anyone has a good solution for using Mutt's
 aliasing feature as a good address book (email addr only). The problem I'm
 running into is that I couldn't possibly come up with a one word nickname
 for all 100 or so people I know. [SNIP]

How about, instead of using aliases, you use mutt's address query facility
(see section 4.5 of the manual)? Then, all you need do is type in the part
of their name that you can remember and hit the query key.

-- 
Dave Pearson:  | mutt.octet.filter - autoview octet-streams
http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
Mutt:  | muttrc2html   - muttrc - HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode



Re: aliases and address book

2002-05-30 Thread David T-G

Mike --

...and then Mike Arrison said...
% 
% Hi Mutters,
% I'm curious if anyone has a good solution for using Mutt's
% aliasing feature as a good address book (email addr only).  The problem

So you're specifically not interested in abook or another add-on?  No
problem, but there are some that are highly recommended (see the
archives).


% I'm running into is that I couldn't possibly come up with a one word
% nickname for all 100 or so people I know.  So instead of saying:

Ahhh...  Yes, that's a problem, especially when Adam has both a home and
a work address.


% 
%   alias Adam Smith, Adam [EMAIL PROTECTED]
...
% 
% I would like to to have to specify a nickname, such as:
% 
%   alias Smith, Adam [EMAIL PROTECTED]
...
% 
% I'm willing to type in their full names, but I don't want to have to
% remember full email addresses.  Is that legal?

No, you have to have some alias name.  In addition to the complete-query
suggestion already posted (which will work well with lbdb even if you
don't need a separate address book, since it can be rigged to capture
every email address that ever comes in), you might find it helpful to
name your aliases like fullnames, as

  alias adam.smith [EMAIL PROTECTED] (Adam Smith)
  alias adam.smith-work [EMAIL PROTECTED] (Adam at work)

and so on.  This, including the -* designation for various work, home,
hotmail vs msn vs other mails and then an actual fname.lname alias which
simply points the the alias of the account that the person wants to use
this week, works quite well for me and my 1228 single aliases (as well as
32 group aliases, some nested).


% 
%   -Mike Arrison


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28396/pgp0.pgp
Description: PGP signature


Address book how-to?

2001-12-09 Thread Slava Pechenin

Hello Mutt Users,

Could you give me directions how to organize address book
working with Mutt? How do you handle this task?

Thanks.



Re: Address book how-to?

2001-12-09 Thread Michael P. Soulier

On Sun, Dec 09, 2001 at 08:13:22PM +0200, Slava Pechenin wrote:
 Hello Mutt Users,
 
 Could you give me directions how to organize address book
 working with Mutt? How do you handle this task?

Use a text editor. :)

This is the first line of my .muttrc file:

source ~/.mutt_aliases

Then I have my aliases defined in ~/.mutt_aliases. 

See here http://www.mutt.org/doc/manual/manual-3.html#ss3.2

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED], GnuPG pub key: 5BC8BE08
...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort.  -Harley Hahn, A Student's Guide to Unix



msg21366/pgp0.pgp
Description: PGP signature


Re: Address book how-to?

2001-12-09 Thread David T-G

Slava --

...and then Slava Pechenin said...
% 
% Hello Mutt Users,

Hi!


% 
% Could you give me directions how to organize address book
% working with Mutt? How do you handle this task?

The address book in mutt is simply a file containing aliases; it could
even be your muttrc file.  What many folks do is to maintain an aliases
file somewhere and have a line like

  source $HOME/.mutt/aliases

to have mutt know about them (because they're defined every time you start
mutt and go away when you quit).  See the manual for more information,
including lexical structure.

I've heard that abook is an excellent address book program; there are
some others out there as well.  You might check the contrib area at
ftp.mutt.org or the mailing list archives for other discussions.


% 
% Thanks.

HTH  HAND


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg21372/pgp0.pgp
Description: PGP signature


Re: Address Book for Vim?

2001-09-22 Thread Christian Ordig

On Mon, Sep 17, 2001 at 08:13:39AM -0700, Ryan Allen wrote:
 I'm just curious what people are using for an address book application
 if anything at all?? 
http://freshmeat.net/projects/muttaddressbook/

-- 
Christian Ordig
Germany



Re: Address Book for Vim?

2001-09-20 Thread Cliff Sarginson

On Wed, Sep 19, 2001 at 10:20:14PM -0700, Ryan Allen wrote:
 the application abook (thanks Andre), was exactly what I was looking
 for.  It works seamlessly with mutt and vim, and I had it working in a
 matter of minutes.  I also produced a script in under an hour that
 queried my contacts database and created a .abook.addressbook file.
 
 This is an awesome program, simple and powerful querying capabilites.  It
 can be found at:
 
 abook.sourceforge.net
 
 Thanks!  
 
 -- Ryan

Yes it is a cute program (can a program be cute ?)
But I wish it had a facility to edit an entry (if you
make a spilling mistake)..rather than have to type it in
again...

-- 
Regards
Cliff





Re: Address Book for Vim?

2001-09-20 Thread Will Yardley

Cliff Sarginson wrote:
 Yes it is a cute program (can a program be cute ?) But I wish it had
 a facility to edit an entry (if you make a spilling mistake)..rather
 than have to type it in again...

yes!!! that is one of my main annoyances with it as well. it would be
nice if it supported standard emacs line editor bindings as well (or
better yet, allowed programmable ones).

i assume you mean 'spelling mistake' not 'spilling mistake' or was
that on purpose? :

w
 
-- 
Sintax error in config file! (line 378)
aborted!

GPG Public Key:
http://infinitejazz.net/will/pgp/



Re: Address Book for Vim?

2001-09-20 Thread René Clerc

On Wed, Sep 19, 2001 at 10:20:14PM -0700, Ryan Allen wrote:

| This is an awesome program, simple and powerful querying capabilites.  It
| can be found at:
| 
| abook.sourceforge.net

Are there some things I don't see? I've just installed it, imported my
aliases, but don't see the added value of this program. It has some
extra features that mutt doesn't have, but the fact that I can't add
an address from within mutt is a bummer.

So, I don't see the added value. Please convince me with some
arguments, so I can tell if I'm overlooking something...

-- 
René Clerc  - ([EMAIL PROTECTED])

It's illegal in Wilbur, Washington, to ride an ugly horse.



Re: Address Book for Vim?

2001-09-20 Thread Cliff Sarginson

On Thu, Sep 20, 2001 at 11:31:59AM +0200, René Clerc wrote:
 On Wed, Sep 19, 2001 at 10:20:14PM -0700, Ryan Allen wrote:
 
 | This is an awesome program, simple and powerful querying capabilites.  It
 | can be found at:
 | 
 | abook.sourceforge.net
 
 Are there some things I don't see? I've just installed it, imported my
 aliases, but don't see the added value of this program. It has some
 extra features that mutt doesn't have, but the fact that I can't add
 an address from within mutt is a bummer.

From my mutt startup files...
 
macro pager A |~/Procmail/mail2abook.py\n

mail2abook should be in the abook directory somewhere..

It doesn't win a prize for speed though...

-- 
Regards
Cliff





Re: Address Book for Vim?

2001-09-19 Thread Ryan Allen

the application abook (thanks Andre), was exactly what I was looking
for.  It works seamlessly with mutt and vim, and I had it working in a
matter of minutes.  I also produced a script in under an hour that
queried my contacts database and created a .abook.addressbook file.

This is an awesome program, simple and powerful querying capabilites.  It
can be found at:

abook.sourceforge.net

Thanks!  

-- Ryan




* Rino Mardo [EMAIL PROTECTED] wrote on [09-18-01y 04:30]:
 On Mon, Sep 17, 2001 at 08:13:39AM -0700 or thereabouts, Ryan Allen wrote:
  Hi,
  
  I'm just curious what people are using for an address book application
  if anything at all??  I use vim as my editor for mutt, and would like to
  know if there are any applications avaliable that work well with mutt
  and vim.  Curses based would be great, much like pine uses.
  
  What are people using out there, and how are they set up?  
  Cut and Paste is only efficient for so long
  
 there's no separate address book application or an application itself.
 mutt uses can use any text file you've set as your alias.  I have mine
 set as source ~/.mutt/alias in my ~/.muttrc and the format of the
 alias file is:
 
 alias mutt Mutt Users [EMAIL PROTECTED]
 
 so whenever i type mutt in the To: field it gets expanded to the
 real email address.  just like an address book application! :-)
 
 you can also add entries to it using your favorite text editor and
 just following the same format or while viewing an email just hit the
 a key to add an alias.
 
 hth and my 2cents.
 
 -- 
 In is out and out is in.  But out is out and in is in.
   -- Pumbaa





Re: Address Book for Vim?

2001-09-17 Thread Andre Bonhote

On Mon, Sep 17, 2001 at 08:13:39AM -0700, Ryan Allen wrote:

 What are people using out there, and how are they set up?  
 Cut and Paste is only efficient for so long

abook

http://abook.sourceforge.net/

HTH
Andre





Re: Address Book for Vim?

2001-09-17 Thread Rino Mardo

On Mon, Sep 17, 2001 at 08:13:39AM -0700 or thereabouts, Ryan Allen wrote:
 Hi,
 
 I'm just curious what people are using for an address book application
 if anything at all??  I use vim as my editor for mutt, and would like to
 know if there are any applications avaliable that work well with mutt
 and vim.  Curses based would be great, much like pine uses.
 
 What are people using out there, and how are they set up?  
 Cut and Paste is only efficient for so long
 
there's no separate address book application or an application itself.
mutt uses can use any text file you've set as your alias.  I have mine
set as source ~/.mutt/alias in my ~/.muttrc and the format of the
alias file is:

alias mutt Mutt Users [EMAIL PROTECTED]

so whenever i type mutt in the To: field it gets expanded to the
real email address.  just like an address book application! :-)

you can also add entries to it using your favorite text editor and
just following the same format or while viewing an email just hit the
a key to add an alias.

hth and my 2cents.

-- 
In is out and out is in.  But out is out and in is in.
-- Pumbaa

 PGP signature


Re: Address Book

2001-09-02 Thread Christian Ordig

On Wed, Aug 22, 2001 at 03:25:39PM -0400, steve wrote:
 Could someone please point me in the right direction for information.
you could use mutt-aliases but they're not really flexible (no flame
ware please!)
I also didn't like the mentioned abook, because it didn't integrate with
mutt as I wished and doesn't have the feature to search for a comment
I add to an address. (at least it hadn't when I checked)
So I decided to write a little address book for mutt which has this
ability. Furthermore it supports simply adding addresses to the
address book from the browser/index in mutt.

URL: http://thor.prohosting.com/~chrordig/
and there in the Linux section.

any feedback is welcome.

-- 
Christian Ordig
Germany



Re: Address Book

2001-08-23 Thread Dan Boger

On Wed, Aug 22, 2001 at 06:11:38PM -0700, dannyman wrote:
 
 So, what is the point of abook?  To query non-mutt address books from
 mutt?  It looks like if I was silly enough to want to manage my .aliases
 file with it, I would have to convert .aliases to abook format, then run
 abook, then convert back to mutt .aliases.
 
 Or am I missing something?

you don't need to convert the abook back to aliases - you can just use
it as an external query command, and get email addresses directly from
abook.  basicly, stop using .aliases.

HTH

-- 
Dan Boger
Linux MVP
brainbench.com


 PGP signature


Address Book

2001-08-22 Thread steve

Hello,

I'm a recent convert from pine. One thing I can't find any documentation
on so far,[I've read the man page for mutt and the web FAQ so far] is
how to use an address book with mutt. Otherwise everything is fine in
respect to this great mua.

Could someone please point me in the right direction for information.

Thank-you. In the meantime I'll keep looking.

-- 
Steve - Toronto ICQ 35454764
  
  /~\
'If you're not a rebel when you're 20 you've got no heart; if \ /
 you're not establishment when you're 30 you've got no brain.  X
 Join the ASCII ribbon campaign against HTML email/ \




Re: Address Book

2001-08-22 Thread Suresh Ramasubramanian

steve mutt [22/08/01 15:25 -0400]:
 I'm a recent convert from pine. One thing I can't find any documentation
 on so far,[I've read the man page for mutt and the web FAQ so far] is
 how to use an address book with mutt. Otherwise everything is fine in
 respect to this great mua.
 
 http://abook.sourceforge.net

-suresh



Re: Address Book

2001-08-22 Thread Michael Sanders

On Thu, Aug 23, 2001 at 01:05:15AM +0530, Suresh Ramasubramanian wrote:
 steve mutt [22/08/01 15:25 -0400]:
  I'm a recent convert from pine. One thing I can't find any documentation
  on so far,[I've read the man page for mutt and the web FAQ so far] is
  how to use an address book with mutt.
  
  http://abook.sourceforge.net
 
If you just want to convert a pine addressbook to a mutt alias file,
look in ftp://ftp.mutt.org/pub/mutt/contrib/ for addressbook-to-alias.pl.gz

-- 
(T.) Michael Sanders internet: [EMAIL PROTECTED]
Physics Department   URL: http://www-personal.umich.edu/~sanders
University of Michigan   phone: 734/936-0799
Ann Arbor, MI 48109-1120 FAX: 734/764-6843



Re: Address Book

2001-08-22 Thread steve

On Thu, Aug 23, 2001 at 01:05:15AM +0530, Suresh Ramasubramanian wrote:
 steve mutt [22/08/01 15:25 -0400]:
  I'm a recent convert from pine. One thing I can't find any documentation
  on so far,[I've read the man page for mutt and the web FAQ so far] is
  how to use an address book with mutt. Otherwise everything is fine in
  respect to this great mua.
  
  http://abook.sourceforge.net
 
   -suresh

Thanks to all 3 of you for the concise and rapid responses.

I'm looking @ abook.

-- 
Steve - Toronto ICQ 35454764
  
  /~\
'If you're not a rebel when you're 20 you've got no heart; if \ /
 you're not establishment when you're 30 you've got no brain.  X
 Join the ASCII ribbon campaign against HTML email/ \




Re: Address Book

2001-08-22 Thread dannyman

On Wed, Aug 22, 2001 at 05:43:14PM -0400, steve wrote:
 On Thu, Aug 23, 2001 at 01:05:15AM +0530, Suresh Ramasubramanian wrote:
   
   http://abook.sourceforge.net
  
  -suresh
 
 Thanks to all 3 of you for the concise and rapid responses.
 
 I'm looking @ abook.

So, what is the point of abook?  To query non-mutt address books from
mutt?  It looks like if I was silly enough to want to manage my .aliases
file with it, I would have to convert .aliases to abook format, then run
abook, then convert back to mutt .aliases.

Or am I missing something?

-d

-- 
http://dannyman.toldme.com/



selecting multiple addresses from the address book

2001-05-19 Thread Antoine Sirinelli

Le samedi 19 mai 2001 à 05:50:24 +0200, Jeroen Valcke écrivait :
 How can I select multiple mailaddresses (aliases) from the addressbook.
 When you I'm prompted for an address I usually press tab and have all the
 aliases there, but how can I select more than one.

When you have all your aliases display after having pressed tab, you can tag
all the persons you want with the 't' key. Then you press 'Enter' to write the
message.

Antoine Sirinelli



Re: selecting multiple addresses from the address book

2001-05-19 Thread Roel Vanhout

Use 't' to tag the ones you want, then press enter.

cheers,

roel

On Sat, May 19, 2001 at 05:50:24PM +0200, Jeroen Valcke wrote:
 How can I select multiple mailaddresses (aliases) from the addressbook.
 When you I'm prompted for an address I usually press tab and have all the
 aliases there, but how can I select more than one.

--
You know you're a geek when...
 * ...the garbage collectors come you go out and give them
  pointers.



Re: selecting multiple addresses from the address book

2001-05-19 Thread David Ellement

On 010519, at 17:50:24, Jeroen Valcke wrote
 How can I select multiple mailaddresses (aliases) from the addressbook.
 When you I'm prompted for an address I usually press tab and have all the
 aliases there, but how can I select more than one.

Tag those you wish to select (tag-entry is bound to 't' by
default).

-- 
David Ellement



Re: address book

2001-04-16 Thread Christian Ordig

On Fri, Apr 13, 2001 at 03:06:19PM +0200, Christian Ordig wrote:
  It's some months ago. If there's some interest I could repost it or put 
  it onto my website.
it's finally done.
My Mutt Address Book can be found in the Linux section of my website.

For further information read the hints on the page and the INSTALL file 
coming with the scripts or drop me a mail.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: address book

2001-04-13 Thread Christian Ordig

On Thu, Apr 12, 2001 at 08:00:36PM +0200, Christian Ordig wrote:
 I've posted a complete addressbook for use with the Query function
 and some mutt macros to add addresses to it the way you intend to do 
 it.
 It's some months ago. If there's some interest I could repost it or put 
 it onto my website.
I've checked it. I sent this script on Dec 21st 2000. 

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: address book

2001-04-12 Thread Michael Tatge

Frederick V. Heitkamp muttered:
 Is there a way to pull specific addresses out
 of message headers and add them to the address
 book?

You mean to your $alias_file?
Try pressing "a" in the pager, that's for the From: header at least.
For other headers you may either copy / past them to $alias_file
diretly. Or write a small script that parses a header then add's its
output to $alias_file.

HTH,

Michael
-- 
"...and scantily clad females, of course.  Who cares if it's below zero
outside"
(By Linus Torvalds)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: address book

2001-04-12 Thread Christian Ordig

On Wed, Apr 11, 2001 at 07:02:47AM -0400, Frederick V. Heitkamp wrote:
 Is there a way to pull specific addresses out
 of message headers and add them to the address
 book?
I've posted a complete addressbook for use with the Query function
and some mutt macros to add addresses to it the way you intend to do 
it.
It's some months ago. If there's some interest I could repost it or put 
it onto my website.

Features:
Full name of person
eMail address
comment

every field is searched when using ^T or Q. so you can also search for 
comments easyly.
Adding new addresses and comments is done using a macro from the index 
or browser directly in mutt.

ok ... that's it.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: address book

2001-04-12 Thread TeLeNiEkO

LBDB (Little Brother DB) ships with an util that, called from your MDA,
procmail (i.e.) adds the From adresses to its DB.


Hope this helps,
 MuPPy

 
|   TeLeNiEkO|
| e-Mail: [EMAIL PROTECTED]|
 






Re: address book

2001-04-12 Thread Suresh Ramasubramanian

TeLeNiEkO proclaimed on mutt-users that: 
 LBDB (Little Brother DB) ships with an util that, called from your MDA,
 procmail (i.e.) adds the From adresses to its DB.
 
 Yep.  Right.  Now, about your headers, 

  User-Agent: Mutt/1.3.17i
  X-Mailer: Mutt 1.3.12i
 
 you might want to use the regexps on mutt -v that were posted here
 recently instead of hardcoding the stuff in your muttrc (though why
 an X-Mailer when there's a perfectly good User-Agent header, I dont
 know) :)
 
-s

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin  



address book

2001-04-11 Thread Frederick V. Heitkamp

Is there a way to pull specific addresses out
of message headers and add them to the address
book?

-- 
Fred




  1   2   >