MetaMTA: Owners, Pholio, Macro

Summary:
Port MetaMTA options for Owners, Pholio and Macro.

At some point I'd like to get rid of all these options (provide one "reply domain", and not allow overrides of reply handlers -- use events instead) but that's a battle we can fight later.

Test Plan: Looked at options, looked at setup issues, edited something.

Reviewers: codeblock, btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2255

Differential Revision: https://secure.phabricator.com/D4469
This commit is contained in:
epriestley
2013-01-16 10:52:30 -08:00
parent 3ded757e84
commit c2a70932e3
4 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
final class PhabricatorMacroConfigOptions
extends PhabricatorApplicationConfigOptions {
public function getName() {
return pht("Macro");
}
public function getDescription() {
return pht("Configure Macro.");
}
public function getOptions() {
return array(
$this->newOption('metamta.macro.reply-handler-domain', 'string', null)
->setDescription(pht(
'As {{metamta.maniphest.reply-handler-domain}}, but affects Macro.')),
$this->newOption('metamta.macro.subject-prefix', 'string', '[Macro]')
->setDescription(pht('Subject prefix for Macro email.'))
);
}
}