1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02: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:
epriestley 2014-11-05 12:29:51 -08:00
parent 800e3812bc
commit 84dcf9045c

View file

@ -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/