]>
gitweb.michael.orlitzky.com - mailshears.git/blob - lib/mailshears.rb
1 # Load the rest of the code we'll use.
3 # And the necessary classes.
4 require 'mailshears/errors.rb'
5 require 'mailshears/exit_codes.rb'
6 require 'mailshears/postfixadmin_db'
8 # Load the default config file first, and let the user override it.
9 require 'default_configuration'
12 # Try to load the user's configuration file.
13 userconf_path
= ENV['HOME'] +
'/.mailshears.conf'
16 puts
'No user configuration file (~/.mailshears.conf) found.'
20 Configuration
::PLUGINS.each
do |plugin_file
|
21 require "mailshears/plugins/#{plugin_file}"