Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.
/ google-apps-trollusk Public archive

Library for Google Apps user-level email routing

License

Notifications You must be signed in to change notification settings

meet/google-apps-trollusk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Apps User-Level Email Routing Trollusk
=============================================

A library for making programmatic changes to user-level email routing settings on Google Apps.
Uses HtmlUnit to retrieve and interact with pages in the Google Apps admin console.

Is this a horrible idea? Unequivocally yes.

However, no official API for these settings exists as of this writing:
http://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=2293

Necessity is thus the mother of abomination.

Setup
-----

After `bundle install`ing, go to the root of the gem and build the self-contained executable jar with:

  mvn package

Java command line
-----------------

  java -jar target/google-apps-trollusk-1.0-SNAPSHOT-jar-with-dependencies.jar <domain> <username>

Supply a password, then commands.

Ruby
----

Add a line to your Gemfile:

  gem 'google-apps-provision', '0.0.1', :git => 'git://github.com/meet/google-apps-provision.git'

Then (e.g. in a Rails initializer) specify:

  GoogleApps::Trollusk.connect_with :domain => 'example.com',
                                    :username => '...',
                                    :password => '...',
                                    :obfuscation => '...'


Development
===========

Generate Eclipse IDE files with `mvn eclipse:eclipse -DdownloadJavadocs=true`

About

Library for Google Apps user-level email routing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published