DEV: Improve mbox import script

* Better documentation of settings
* Add option to exclude trimmed parts of emails (enabled by default) to not revail email addresses
This commit is contained in:
Gerhard Schlager
2020-03-13 23:59:14 +01:00
parent 36062f43c8
commit 0a88232e87
4 changed files with 40 additions and 22 deletions

View File

@ -8,11 +8,7 @@ end
module ImportScripts
module Mbox
require_relative 'mbox/support/settings'
@settings = Settings.load(ARGV[0])
require_relative 'mbox/importer'
Importer.new(@settings).perform
Importer.new(ARGV[0]).perform
end
end