1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-03 03:11:01 +01:00

Modernize MetaMTA + daemon documentation

Summary: MetaMTA + daemons used to be pretty hard but @nh landed some patches a while ago that make it way eaiser. Back off the "ooh scary config" text in the documentation, since this option will just work for ~every install now.

Test Plan: Read it.

Reviewers: btrahan, vrana, nh

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1525

Differential Revision: https://secure.phabricator.com/D3037
This commit is contained in:
epriestley 2012-07-23 12:04:53 -07:00
parent bc29a3e8a2
commit 81fb6aade2
2 changed files with 10 additions and 14 deletions

View file

@ -303,13 +303,11 @@ return array(
'metamta.mail-adapter' => 'metamta.mail-adapter' =>
'PhabricatorMailImplementationPHPMailerLiteAdapter', 'PhabricatorMailImplementationPHPMailerLiteAdapter',
// When email is sent, try to hand it off to the MTA immediately. This may // When email is sent, try to hand it off to the MTA immediately instead of
// be worth disabling if your MTA infrastructure is slow or unreliable. If you // queueing it for delivery by the daemons. If you are running the Phabricator
// disable this option, you must run the 'metamta_mta.php' daemon or mail // daemons with "phd start", you should disable this to provide a (sometimes
// won't be handed off to the MTA. If you're using Amazon SES it can be a // substantial) performance boost. It's on by default to make setup and
// little slugish sometimes so it may be worth disabling this and moving to // configuration a little easier.
// the daemon after you've got your install up and running. If you have a
// properly configured local MTA it should not be necessary to disable this.
'metamta.send-immediately' => true, 'metamta.send-immediately' => true,
// If you're using Amazon SES to send email, provide your AWS access key // If you're using Amazon SES to send email, provide your AWS access key
@ -652,7 +650,7 @@ return array(
// A domain name to use when authenticating against Active Directory // A domain name to use when authenticating against Active Directory
// (e.g. 'example.com') // (e.g. 'example.com')
'ldap.activedirectory_domain' => '', 'ldap.activedirectory_domain' => '',
// The LDAP version // The LDAP version
'ldap.version' => 3, 'ldap.version' => 3,

View file

@ -23,12 +23,10 @@ Phabricator can also send outbound email in two ways:
- immediately, when messages are generated (default); or - immediately, when messages are generated (default); or
- in the background, via a daemon. - in the background, via a daemon.
Sending mail in the background requires more configuration, but will greatly Sending mail in the background requires that you be running the Phabricator
improve the performance of the application if your mail handler is slow. Note daemons, but can greatly improve the performance of the application if your mail
that Amazon SES commonly takes 1-2 seconds per email. If you use SES, handler is slow. For more information on using daemons, see
**strongly consider** configuring the daemon. You should also configure the @{article:Managing Daemons with phd}.
daemon if commenting on Revisions or Tasks feels slow, as it may significantly
improve performance.
= Basics = = Basics =