mailshears.git
9 years agoUpdate the RoundcubeDb plugin for v0.7.
Michael Orlitzky [Sat, 14 Jan 2012 20:43:24 +0000 (15:43 -0500)]
Update the RoundcubeDb plugin for v0.7.

10 years agoDelete accounts before domains.
Michael Orlitzky [Fri, 8 Jul 2011 17:01:46 +0000 (13:01 -0400)]
Delete accounts before domains.

10 years agoGet the domain/account descriptions before deleting them.
Michael Orlitzky [Thu, 3 Feb 2011 17:47:36 +0000 (12:47 -0500)]
Get the domain/account descriptions before deleting them.

10 years agoHandle the case where an account's domain has already been deleted (and thus the...
Michael Orlitzky [Thu, 3 Feb 2011 17:24:30 +0000 (12:24 -0500)]
Handle the case where an account's domain has already been deleted (and thus the account is gone when we try to delete it).

10 years agoMake describe_domain work (for DovecotMailstore) even after a domain is removed.
Michael Orlitzky [Thu, 6 Jan 2011 17:03:30 +0000 (12:03 -0500)]
Make describe_domain work (for DovecotMailstore) even after a domain is removed.

10 years agoMake describe_account work (for DovecotMailstore) even after an account is removed.
Michael Orlitzky [Tue, 4 Jan 2011 19:48:16 +0000 (14:48 -0500)]
Make describe_account work (for DovecotMailstore) even after an account is removed.

10 years agoAdd the roundcube_db plugin.
Michael Orlitzky [Sun, 26 Dec 2010 22:18:08 +0000 (17:18 -0500)]
Add the roundcube_db plugin.

10 years agoEnable the roundcube_db plugin (in the config file) and add its configuration paramet...
Michael Orlitzky [Sun, 26 Dec 2010 21:45:32 +0000 (16:45 -0500)]
Enable the roundcube_db plugin (in the config file) and add its configuration parameters to the config file.

10 years agoUpdate the PostfixadminDb class to use the newer 'pg' module.
Michael Orlitzky [Sun, 26 Dec 2010 21:34:34 +0000 (16:34 -0500)]
Update the PostfixadminDb class to use the newer 'pg' module.

10 years agoFix a bug in the header output.
Michael Orlitzky [Sun, 26 Dec 2010 21:33:57 +0000 (16:33 -0500)]
Fix a bug in the header output.

10 years agoGeneralize the plugin mechanism with a Plugin module that knows when it's included.
Michael Orlitzky [Sun, 26 Dec 2010 20:28:43 +0000 (15:28 -0500)]
Generalize the plugin mechanism with a Plugin module that knows when it's included.

10 years agoChange the way the plugins are included (by file name, not class name).
Michael Orlitzky [Sun, 26 Dec 2010 20:28:02 +0000 (15:28 -0500)]
Change the way the plugins are included (by file name, not class name).

10 years agoConvert DovecotMailstore to a plugin, and generalize the main mailshears script to...
Michael Orlitzky [Sun, 26 Dec 2010 20:08:24 +0000 (15:08 -0500)]
Convert DovecotMailstore to a plugin, and generalize the main mailshears script to execute a series of plugins in succession.

10 years agoAdd a PLUGINS configuration option.
Michael Orlitzky [Sun, 26 Dec 2010 20:07:24 +0000 (15:07 -0500)]
Add a PLUGINS configuration option.

10 years agoRemove the default initializer for the Mailstore class.
Michael Orlitzky [Sun, 26 Dec 2010 19:52:38 +0000 (14:52 -0500)]
Remove the default initializer for the Mailstore class.

10 years agoActually remove directories when I_MEAN_BUSINESS == true.
Michael Orlitzky [Sat, 25 Dec 2010 16:13:22 +0000 (11:13 -0500)]
Actually remove directories when I_MEAN_BUSINESS == true.

11 years agoAdded the I_MEAN_BUSINESS configuration parameter, and the code to delete domains...
Michael Orlitzky [Wed, 1 Sep 2010 16:16:41 +0000 (12:16 -0400)]
Added the I_MEAN_BUSINESS configuration parameter, and the code to delete domains/accounts.

11 years agoAdded error handling to the domain/account path methods.
Michael Orlitzky [Wed, 14 Jul 2010 00:44:08 +0000 (20:44 -0400)]
Added error handling to the domain/account path methods.

11 years agoAdded three new error classes: InvalidAccountError, NonexistentAccountError, and...
Michael Orlitzky [Tue, 13 Jul 2010 19:46:33 +0000 (15:46 -0400)]
Added three new error classes: InvalidAccountError, NonexistentAccountError, and NonexistentDomainError.

11 years agoAdded the domain/account path to the output.
Michael Orlitzky [Tue, 13 Jul 2010 19:42:41 +0000 (15:42 -0400)]
Added the domain/account path to the output.

11 years agoImplemented get_domain_path and get_account_path in DovecotMailstore.
Michael Orlitzky [Tue, 13 Jul 2010 19:42:14 +0000 (15:42 -0400)]
Implemented get_domain_path and get_account_path in DovecotMailstore.

11 years agoAdded some more virtual function definitions to the Mailstore class.
Michael Orlitzky [Tue, 13 Jul 2010 19:41:45 +0000 (15:41 -0400)]
Added some more virtual function definitions to the Mailstore class.

11 years agoMissing parenthesis in a comment!
Michael Orlitzky [Tue, 13 Jul 2010 15:25:44 +0000 (11:25 -0400)]
Missing parenthesis in a comment!

11 years agoOnly enumerate accounts in domains whose folders exist.
Michael Orlitzky [Sun, 13 Jun 2010 15:51:41 +0000 (11:51 -0400)]
Only enumerate accounts in domains whose folders exist.

11 years agoIgnore the 'ALL' domain.
Michael Orlitzky [Sun, 13 Jun 2010 15:45:59 +0000 (11:45 -0400)]
Ignore the 'ALL' domain.

11 years agoFirst attempt at making mailshears report deleted domains as such.
Michael Orlitzky [Sun, 13 Jun 2010 15:41:42 +0000 (11:41 -0400)]
First attempt at making mailshears report deleted domains as such.

11 years agoAdded the get_domains_from_filesystem function to the DovecotMailstore class.
Michael Orlitzky [Sun, 13 Jun 2010 15:40:23 +0000 (11:40 -0400)]
Added the get_domains_from_filesystem function to the DovecotMailstore class.
Make get_accounts_from_filesystem take its list of domains as a parameter.

11 years agoAdded the get_domains_from_db() function to the PostfixadminDb class.
Michael Orlitzky [Sun, 13 Jun 2010 15:39:19 +0000 (11:39 -0400)]
Added the get_domains_from_db() function to the PostfixadminDb class.

11 years agoUse the 'mailbox' table instead of 'alias'; the alias.goto field can contain a list...
Michael Orlitzky [Sat, 20 Mar 2010 18:13:44 +0000 (14:13 -0400)]
Use the 'mailbox' table instead of 'alias'; the alias.goto field can contain a list of comma-separated values which gets messy.

11 years agoFixed an array-nesting bug.
Michael Orlitzky [Sat, 13 Feb 2010 15:42:05 +0000 (10:42 -0500)]
Fixed an array-nesting bug.

11 years agoPrettied up the output with a header.
Michael Orlitzky [Thu, 11 Feb 2010 19:26:50 +0000 (14:26 -0500)]
Prettied up the output with a header.

11 years agoFlatten the SQL result set so that the array difference actually works.
Michael Orlitzky [Thu, 11 Feb 2010 00:49:50 +0000 (19:49 -0500)]
Flatten the SQL result set so that the array difference actually works.
Modified the SQL query to select only those accounts which are being delivered locally.

11 years agoInitial commit.
Michael Orlitzky [Thu, 11 Feb 2010 00:33:32 +0000 (19:33 -0500)]
Initial commit.