Page MenuHomePhabricator

D10783.id25892.diff
No OneTemporary

D10783.id25892.diff

diff --git a/src/docs/user/configuration/configuring_inbound_email.diviner b/src/docs/user/configuration/configuring_inbound_email.diviner
--- a/src/docs/user/configuration/configuring_inbound_email.diviner
+++ b/src/docs/user/configuration/configuring_inbound_email.diviner
@@ -199,11 +199,18 @@
Now, you can actually configure sendmail to deliver to Phabricator. In
`/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
-`sudo newaliases`. Now you likely need to symlink this script into
-`/etc/smrsh/`:
+If you use the `PHABRICATOR_ENV` environmental variable to select a
+configuration, you can pass the value to the script as an argument:
+
+ .../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/

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 10, 4:00 AM (14 h, 30 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8790412
Default Alt Text
D10783.id25892.diff (1 KB)

Event Timeline