Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F19598346
D10783.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D10783.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Feb 3 2026, 11:02 PM (4 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8790412
Default Alt Text
D10783.diff (1 KB)
Attached To
Mode
D10783: Clarify mail_handler.php setup instructions
Attached
Detach File
Event Timeline
Log In to Comment