Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F9994398
D45.id99.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
697 B
Referenced Files
None
Subscribers
None
D45.id99.diff
View Options
diff --git a/files/usr/local/bin/setup-phabricator b/files/usr/local/bin/setup-phabricator
--- a/files/usr/local/bin/setup-phabricator
+++ b/files/usr/local/bin/setup-phabricator
@@ -16,8 +16,14 @@
fi
# Mail
-if [ -n "$PHABRICATOR_USE_MAILGUN" ] && [ -n "$PHABRICATOR_DOMAIN" ] ; then
- bin/config set mailgun.domain $PHABRICATOR_DOMAIN
+if [ -n "$PHABRICATOR_USE_MAILGUN" ]; then
+ bin/config set metamta.mail-adapter PhabricatorMailImplementationMailgunAdapter
+ if [ -n "$PHABRICATOR_DOMAIN" ]; then
+ bin/config set mailgun.domain $PHABRICATOR_DOMAIN
+ fi
+ if [ -n "$PHABRICATOR_MAILGUN_APIKEY" ]; then
+ bin/config set mailgun.api-key $PHABRICATOR_MAILGUN_APIKEY
+ fi
fi
# Rights
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 18, 09:54 (13 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2743539
Default Alt Text
D45.id99.diff (697 B)
Attached To
Mode
D45: Improve Mailgun integration
Attached
Detach File
Event Timeline
Log In to Comment