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  [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  [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  [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