Skip to content

fix: use noreply@ as From address for forum and group notifications - #467

Closed
Neophytis wants to merge 270 commits into
masterfrom
blackfalconx/noreply-from-addresses
Closed

fix: use noreply@ as From address for forum and group notifications#467
Neophytis wants to merge 270 commits into
masterfrom
blackfalconx/noreply-from-addresses

Conversation

@Neophytis

Copy link
Copy Markdown
Contributor

Summary

  • forum@bewelcome.org and group@bewelcome.org were hardcoded in SendAndPushNotificationsCommand::determineSender(), causing member replies to land in the OTRS raw queue
  • Inject both addresses via constructor DI so they resolve from env vars (defaulting to noreply@bewelcome.org)
  • Add MAILER_FORUM_ADDRESS env var; update .env defaults for MAILER_MESSAGE_ADDRESS and MAILER_GROUP_ADDRESS to noreply@bewelcome.org
  • noreply@bewelcome.org has a Mailcow Sieve vacation script configured that auto-replies: "This mailbox is not monitored."

Changes

File Change
src/Command/SendAndPushNotificationsCommand.php Inject $forumEmailAddress and $groupEmailAddress via DI; remove hardcoded strings
.env Set MAILER_MESSAGE_ADDRESS, MAILER_GROUP_ADDRESS, MAILER_FORUM_ADDRESS to noreply@bewelcome.org
config/services.yaml Add $forumEmailAddress binding

Test plan

  • Send a forum post notification and confirm From header is noreply@bewelcome.org
  • Send a group post notification and confirm From header is noreply@bewelcome.org
  • Reply to a notification email and confirm auto-reply is received: "This mailbox is not monitored."

thisismeonmounteverest and others added 30 commits May 7, 2024 20:32
…f applicable. Sort translations correctly. Show/hide password.
* Add check for phone number in CommentModel

* Add check for phone number in CommentController

* Add anti-spam check in RelationsController

Added functions to check for email address and phone number, and only add the comment if none are detected
…nd make forum work with strict mode for DB.
buyolitsez and others added 28 commits July 28, 2026 21:26
* Add browser push infrastructure

* Add browser push subscription preference

* Wire browser push notification delivery

* Add browser push data cleanup and export

* Test browser push notifications

* Add browser notification modes

* Harden browser notification polling

* Harden browser push notifications

Validate endpoint ownership and VAPID configuration, make migrations
and queue leases safe, and reconcile subscriptions across preference
and logout transitions.

Align retention, member exports, privacy copy, and regression coverage
with the stored push data.

Refs #168

* Remove minishlink prefix

* Address browser push review feedback
…n prod (#459)

Stale compiled Symfony DI containers (from a persistent var/ volume) can
reference renamed or removed classes — causing doctrine:migrations:migrate
to crash with 'class not found' before cache:clear ever runs.

Moving cache:clear to before migrations ensures the DI container is always
freshly compiled from the current image's config before migrations execute.
The duplicate cache:clear in the prod else-branch is removed accordingly.
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.12.3 to 7.15.2.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.15.2/CHANGELOG.md)
- [Commits](guzzle/guzzle@7.12.3...7.15.2)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-version: 7.15.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix admin rights member lists

* fix AdminRightControllerTest

* preserve rights history and locations

* Migrate admin rights and flags to Symfony
forum@ and group@ were hardcoded in SendAndPushNotificationsCommand,
causing member replies to land in the OTRS raw queue. Inject both
addresses via DI so they pick up the env var and default to noreply@.

Update .env defaults and add MAILER_FORUM_ADDRESS so all three
notification From addresses (message, forum, group) resolve to
noreply@bewelcome.org, which has a Mailcow Sieve auto-reply configured.
@Neophytis

Copy link
Copy Markdown
Contributor Author

Closing — incorrectly branched from develop. Reopening from master.

@Neophytis Neophytis closed this Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants