Command line tool to create google groups as mail aliases for google apps
sudo pip install -U gdata
Usage: galias.py [options] COMMAND
Possible COMMANDS are:
listall - List all aliases
list - list the specified alias
list_memberships [addresses] - list alias memberships for an optional list of addresses
add - add the to the
delete - delete the from the
Options: -h, --help show this help message and exit -u USERNAME, --username=USERNAME -p PASSWORD, --password=PASSWORD -d DOMAIN, --domain=DOMAIN
Three pieces of informaiton are required, username, password and domain. If they are not given the program will prompt them. For faster use you can pass them on the command line with the above options or copy example_galias.ini to galias.ini and edit it with your information.
./galias.py listall
./galias.py list name@domain.com
Add new alias to forward name@domain.com to other@email.com
./galias.py add name@domain.com other@gmail.com
Delete other@email.com from the name@domain.com alias
./galias.py delete name@domain.com other@gmail.com