Address queries with Mutt
Prev | Chapter 7. Additional moregroupware components | Next

## Address queries with Mutt

This script queries the (remote) moregroupware database server for names and email addresses and returns data which Mutt (the email client) can use to display a selection menu.

This is supposed to be called by mutt. Insert set query_command = "mgwquery.sh '%s'" into your `.muttrc` to make this work (The script needs to be in your PATH. It it is not, provide the full path to the script).

You have to change the variables at the beginning of this file to be able to connect to the database.

To test the connection, you may afterwards call this script directly and give a single argument to it: mgwquery.sh 'a'

If this works you may use Q to query for contacts in the moregroupware database or Ctrl-t to auto-complete an address.

Prev | Up | Next
Chapter 7. Additional moregroupware components | Home | Moving data from TWIG to moregroupware