W3C home > Mailing lists > Public > www-archive@w3.org > May 2007

[code] Converter AddressBook to SpamAssassin user_prefs (python)

From: Karl Dubost <karl@w3.org>
Date: Tue, 29 May 2007 11:23:08 +0900
To: www-archive@w3.org
Message-Id: <29B6EE21-5948-4128-963A-C10B79862335@w3.org>
This small script takes the content of Apple AddressBook
and create a whitelist format of spamassassin. If the
person has multilple addresses there will be one line by
address. For example

whitelist_from  karl@example.net     #Karl Dubost
whitelist_from  karl@example.org     #Karl Dubost
whitelist_from  cow@example.com      #Marguerite


Script for converting an Apple
AddressBook to a whitelist for
including in spam assassin user_prefs file

Requires pyObjc

Created by Karl Dubost on 2007-05-29.
Inspired from Neil Martinsen-Burrell's script ab2alias.py
see http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231

Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***

Received on Tuesday, 29 May 2007 02:23:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:43:11 UTC