mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 14:30:56 +01:00
Clarify mail_handler.php setup instructions
Summary: While not explicitly misleading, this document can do a better job of covering the common/modern case. Test Plan: Read document. Reviewers: rush898, btrahan Reviewed By: btrahan Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D10783
This commit is contained in:
parent
800e3812bc
commit
84dcf9045c
1 changed files with 11 additions and 4 deletions
|
@ -199,11 +199,18 @@ probably means something like this:
|
||||||
Now, you can actually configure sendmail to deliver to Phabricator. In
|
Now, you can actually configure sendmail to deliver to Phabricator. In
|
||||||
`/etc/aliases`, add an entry like this:
|
`/etc/aliases`, add an entry like this:
|
||||||
|
|
||||||
phabricator: "| /path/to/phabricator/scripts/mail/mail_handler.php <ENV>"
|
phabricator: "| /path/to/phabricator/scripts/mail/mail_handler.php"
|
||||||
|
|
||||||
...where <ENV> is the PHABRICATOR_ENV the script should run under. Run
|
If you use the `PHABRICATOR_ENV` environmental variable to select a
|
||||||
`sudo newaliases`. Now you likely need to symlink this script into
|
configuration, you can pass the value to the script as an argument:
|
||||||
`/etc/smrsh/`:
|
|
||||||
|
.../path/to/mail_handler.php <ENV>
|
||||||
|
|
||||||
|
This is an advanced feature which is rarely used. Most installs should run
|
||||||
|
without an argument.
|
||||||
|
|
||||||
|
After making this change, run `sudo newaliases`. Now you likely need to symlink
|
||||||
|
this script into `/etc/smrsh/`:
|
||||||
|
|
||||||
sudo ln -s /path/to/phabricator/scripts/mail/mail_handler.php /etc/smrsh/
|
sudo ln -s /path/to/phabricator/scripts/mail/mail_handler.php /etc/smrsh/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue