Cc and Bcc mails not rerouted when the "to" address is allowlisted

Created on 23 June 2016, about 8 years ago
Updated 24 May 2023, about 1 year ago

Problem/Motivation

BCC and CC emails are not rerouted if the "to" address is whitelisted.

Proposed resolution

The CC and BCC headers should also be checked against the whitelist. If any of the intended recipients, (to, cc, or bcc) are not whitelisted, then either:

Option A: the email should be rerouted (perhaps with a message explaining why?)
or
Option B the unwhitelisted cc/bcc should be unset ?

This preferred behaviour could even be selected on the configuration form.

Steps to reproduce

Set an email with:
to: a whitelisted email address
cc/bcc: a non-whitelisted email address

When the email is triggered, the to email is sent to the whitelisted recipient, but the cc and bcc on the email also receive the email even though they may not be whitelisted.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India shivachevva

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024