@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add a default-send behavior to MetaMTA.

+24
+6
conf/default.conf.php
··· 66 66 67 67 'user.default-profile-image-phid' => 'PHID-FILE-f57aaefce707fc4060ef', 68 68 69 + // When email is sent, try to hand it off to the MTA immediately. The only 70 + // reason to disable this is if your MTA infrastructure is completely 71 + // terrible. If you disable this option, you must run the 'metamta_mta.php' 72 + // daemon or mail won't be handed off to the MTA. 73 + 'metamta.send-immediately' => true, 74 + 69 75 70 76 71 77 );
+3
scripts/daemons/metamta/metamta_mta.php
··· 1 + <?php 2 + 3 + // Placeholder so I don't forget about this, hopefully.
+15
src/applications/metamta/storage/mail/PhabricatorMetaMTAMail.php
··· 114 114 $this->setParam('simulated-failures', $count); 115 115 return $this; 116 116 } 117 + 118 + public function save() { 119 + $try_send = (PhabricatorEnv::getEnvConfig('metamta.send-immediately')) && 120 + (!$this->getID()); 121 + 122 + $ret = parent::save(); 123 + 124 + if ($try_send) { 125 + $mailer = new PhabricatorMailImplementationPHPMailerLiteAdapter(); 126 + $this->sendNow($force_send = false, $mailer); 127 + } 128 + 129 + return $ret; 130 + } 131 + 117 132 118 133 public function sendNow( 119 134 $force_send = false,