{"id":628,"date":"2014-02-19T11:47:00","date_gmt":"2014-02-19T09:47:00","guid":{"rendered":"https:\/\/lisas.de\/~adrian\/posts\/2014-Feb-19-using-the-owncloud-address-book-in-mutt.html"},"modified":"2026-03-30T22:41:24","modified_gmt":"2026-03-30T20:41:24","slug":"using-the-owncloud-address-book-in-mutt","status":"publish","type":"post","link":"https:\/\/lisas.de\/luges\/index.php\/2014\/02\/19\/using-the-owncloud-address-book-in-mutt\/","title":{"rendered":"Using the ownCloud address book in mutt"},"content":{"rendered":"<p>Now that I have been syncing my ownCloud address book to my mobile devices and my laptop I was missing this address book in mutt. But using <a href=\"http:\/\/lostpackets.de\/pycarddav\/\">pyCardDAV<\/a> and the instructions at <a href=\"http:\/\/got-tty.org\/archives\/mutt-kontakte-aus-owncloud-nutzen.html%20\">http:\/\/got-tty.org\/archives\/mutt-kontakte-aus-owncloud-nutzen.html<\/a> it was easy to integrate the ownCloud address book in mutt. As <a href=\"http:\/\/lostpackets.de\/pycarddav\/\">pyCardDAV<\/a> was already packaged for Fedora it was not much more work than <code>yum install python-carddav<\/code>, edit <code>~\/.config\/pycard\/pycard.conf<\/code> to get the address book synced.<\/p>\n<p>I was already using a LDAP address book in mutt so that I had to extent the existing configuration to:<br \/> <code>set query_command = \"~\/bin\/mutt_ldap.pl '%s'; \/usr\/bin\/pc_query -m '%s'\"<\/code><\/p>\n<p>Now, whenever I press CTRL+T during address input, first the LDAP server is queried and than my local copy of the ownCloud address book.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that I have been syncing my ownCloud address book to my mobile devices and my laptop I was missing this address book in mutt. But using pyCardDAV and the instructions at http:\/\/got-tty.org\/archives\/mutt-kontakte-aus-owncloud-nutzen.html it was easy to integrate the ownCloud address book in mutt. As pyCardDAV was already packaged for Fedora it was not much [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-628","post","type-post","status-publish","format-standard","hentry","category-luges"],"_links":{"self":[{"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/posts\/628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/comments?post=628"}],"version-history":[{"count":4,"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/posts\/628\/revisions"}],"predecessor-version":[{"id":1315,"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/posts\/628\/revisions\/1315"}],"wp:attachment":[{"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/media?parent=628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/categories?post=628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/tags?post=628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}