[Zope-CMF] Extracting data from ZODB

Chris Withers chrisw@nipltd.com
Mon, 31 Mar 2003 09:39:00 +0100


Tim Terlegård wrote:
> I have a site using Zope. When someone registers a new user they
> get an email alias pointing to some other email address. Every night
> I'd like to update the system with the current email aliases. So what
> I'd like is to extract username, email and build an /etc/aliases file and
> use /bin/newaliases on that. I guess this is someting for cron. How
> do I access and extract data from the ZODB without using the ZMI?

I would look at using something like LocalFS or ExtFile to access your aliases 
file and not bothering with the import at all...

cheers,

Chris