Skip to main content

Export BBDB contacts to gmail filter import XML

Project description

Introduction

This package installs a command-line python script and an emacs command for exporting a GMail filters Atom feed from the gnus-public and gnus-private fields in BBDB.

Installing

The package can be installed using the standard python package installation procedure. Extract the tarball, then run the following command inside the extracted directory:

$ python setup.py install

This will install the command-line utility and the bbdb-gmail-filter.el emacs library. Then add the following to your ~/.emacs:

(require 'bbdb-gmail-filter)

Usage

Once installed, the filters can be exported to a file simply by calling M-x bbdb-export-gmail-filters. You will be prompted for a file to export the filters to.

For every BBDB record that has a value in the gnus-private field, a filter will be included that matches the “To” GMail filter field on any BBDB net addresses for that record and applies the label specified in the gnus-private field value. The same is done for BBDB records with values in the gnus-public BBDB field but filters on the “From” GMail filter field instead.

Changelog

0.5 - 2009-07-22

  • Split filters up such that each filter has no more than 50 search terms to address apparent limits in gmail filter imports.

0.4 - 2009-07-22

  • Rename lisp library

  • Don’t export sexp splits

  • Fallback to fullnames if email isn’t available

  • Fix excess quoting in author name and email

  • Combine all addresses for the same label under one filter to make for smaller and faster import files.

0.3 - 2009-05-07

  • Translate Gnus folder separator to Gmail imap folder separator

  • Add missing files to egg

0.2 - 2009-05-06

  • Fix duplicate feed item IDs

0.1 - 2009-05-06

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bbdb.gmailfilter-0.5.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file bbdb.gmailfilter-0.5.tar.gz.

File metadata

File hashes

Hashes for bbdb.gmailfilter-0.5.tar.gz
Algorithm Hash digest
SHA256 1e4073a76c79f895075d1a49d86950f74b2fc219c15e0139af2ddc07e276d29c
MD5 7dc4407a0a6de2da98732afffec4dc2d
BLAKE2b-256 ffc33a60806bfb425833800fbfc9babeda5d056f01ae66cd97c5bbe645d31c1e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page