I sometimes read mails on a terminal using mutt. The only thing i missed where the contacts from my egroupware installation, but here’s a script which reads contacts from the mysql database of a egroupware installation and generates a abook addressbook file from it.
Example:
egroupware2abook --user joe --password_file ~/.abook/egw_password --database egroupware > ~/.abook/addressbook
It’s written in perl and requires Moose, MooseX::Getopt and DBI + Driver eg. DBD::mysql.
Download: egroupware2abook