---
title: Using the Auto BCC Feature to Create One-to-Many Recipient Aliases
description: Applies to HMS Version: 2.1+ The Auto BCC feature of the Hurricane MTA Server is not only useful for sending copies of specific messages to other addresses [http://support.socketlabs.com/kb/119], but
---

[Skip to content](https://help.socketlabs.com/docs/using-the-auto-bcc-feature-to-create-one-to-many-recipient-aliases#main-content)

English

Show submenu for translations

[Contact us](https://help.socketlabs.com/docs/kb-tickets/new?hsLang=en)

[![SocketLabs logo](https://help.socketlabs.com/hs-fs/hubfs/Logos/SocketLabs%20logo.png?width=243&height=70&name=SocketLabs%20logo.png)](https://www.socketlabs.com/)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Contact us](https://help.socketlabs.com/docs/kb-tickets/new)

 SocketLabs is here to help!

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.socketlabs.com/docs?hsLang=en)
2. [Hurricane MTA](https://help.socketlabs.com/docs/hurricane-mta?hsLang=en)
3. [Advanced Hurricane Usage](https://help.socketlabs.com/docs/hurricane-mta?hsLang=en#advanced-hurricane-usage)

# Using the Auto BCC Feature to Create One-to-Many Recipient Aliases

*Applies to HMS Version: 2.1+*

The Auto BCC feature of the Hurricane MTA Server is not only useful for sending copies of specific messages to other addresses \[http://support.socketlabs.com/kb/119\], but also for replacing specific recipient addresses or addresses matching a pattern with a predefined list of addresses, effectively creating a recipient alias.  Currently this feature can only be configured through flat files.

CONSIDERATIONS

The following should be considered before using this feature:

*If a message is addressed to multiple recipients, only the aliased recipient addresses will be removed and replaced with the BCC list. Other addresses will not be modified.*

If multiple recipients in a message match the same regular expression, the BCC'd addresses will not be added more than once.   
\* The BCC operation is not recursive, so recipients added to BCC by this feature that would also match an address replacement entry would not cause a second or infinite round of replacement.

CONFIGURATION

This feature is enabled and configured by adding a single line to the \[OTHER\] section of the GENERAL.CONFIG file found in an individual account's config directory. Please remember to reload the target account's configuration after making these changes in order for those changes to take effect.

FIELD: BccReplace

DESCRIPTION: A ~\*~ delimited list containing a regular expression, a pipe symbol, and a comma delimited list of addresses to add when the regular expression matches an existing recipient address. The original address will be removed.

EXAMPLE: The following example contains two rules in order to show how to configure multiple Auto BCC rules.

BccReplace=.*@example.com|a@example.com~*~list@example.org|c@example.com,d@example.com

Using the above example, any messages sent to @example.com directly will actually be BCC'd to a@example.com. The original recipient will not receive the message, so this rule acts like a message forwarder. 

Also using the above example, messages sent to list@example.org will actually be BCC'd to c@example.com and d@example.com, so this rule acts like a mailing list alias. The replacements will not trigger further matches against the .\*@example.com entry.

RELATED ARTICLES

For more information about writing regular expressions, we recommend third-party resources such as the following:

*[http://www.regular-expressions.info/quickstart.html](http://www.regular-expressions.info/quickstart.html)  
\[http://www.regular-expressions.info/quickstart.html\] - An introduction to regular expressions*  
[http://www.regular-expressions.info/reference.html](http://www.regular-expressions.info/reference.html)  
\[http://www.regular-expressions.info/reference.html\] - A quick reference to core regular expression syntax  
\* [http://regexpal.com/](http://regexpal.com/) \[http://regexpal.com/\] - An online regular expression tester. Highlights test data that matches a regular expression

The following Knowledge Base articles may also be of interest:

\* Using the Auto BCC Feature to Copy All or Part of a Mail Stream \[http://support.socketlabs.com/kb/119\]

 

- [Fundamentals](https://help.socketlabs.com/docs/fundamentals?hsLang=en#main-content)

    - [StreamScore](https://help.socketlabs.com/docs/fundamentals?hsLang=en#streamscore)
    - [Reports](https://help.socketlabs.com/docs/fundamentals?hsLang=en#reports)
    - [Frequently Asked Questions](https://help.socketlabs.com/docs/fundamentals?hsLang=en#frequently-asked-questions)
- [Advanced](https://help.socketlabs.com/docs/advanced?hsLang=en#main-content)

    - [Security](https://help.socketlabs.com/docs/advanced?hsLang=en#security)
- [DNS Authentication](https://help.socketlabs.com/docs/dns-authentication?hsLang=en#main-content)

    - [DKIM](https://help.socketlabs.com/docs/dns-authentication?hsLang=en#dkim)
    - [SPF and Custom Bounce Domain](https://help.socketlabs.com/docs/dns-authentication?hsLang=en#spf-and-custom-bounce-domain)
- [Deliverability](https://help.socketlabs.com/docs/deliverability?hsLang=en)
- [For Developers](https://help.socketlabs.com/docs/for-developers?hsLang=en#main-content)

    - [Event Webhooks](https://help.socketlabs.com/docs/for-developers?hsLang=en#event-webhooks)
- [Integrations](https://help.socketlabs.com/docs/integrations?hsLang=en#main-content)

    - [Languages and Frameworks](https://help.socketlabs.com/docs/integrations?hsLang=en#languages-and-frameworks)
    - [Mail Servers](https://help.socketlabs.com/docs/integrations?hsLang=en#mail-servers)
    - [Web Clients and Plug-ins](https://help.socketlabs.com/docs/integrations?hsLang=en#web-clients-and-plug-ins)
    - [Mail Clients](https://help.socketlabs.com/docs/integrations?hsLang=en#mail-clients)
- [Marketing Tools](https://help.socketlabs.com/docs/marketing-tools?hsLang=en#main-content)

    - [Tips and Tricks](https://help.socketlabs.com/docs/marketing-tools?hsLang=en#tips-and-tricks)
- [Troubleshooting](https://help.socketlabs.com/docs/troubleshooting?hsLang=en#main-content)

    - [SocketLabs Inbound SMTP Gateway Errors](https://help.socketlabs.com/docs/troubleshooting?hsLang=en#socketlabs-inbound-smtp-gateway-errors)
    - [SocketLabs Outbound SMTP Errors](https://help.socketlabs.com/docs/troubleshooting?hsLang=en#socketlabs-outbound-smtp-errors)
- [Spotlight Email Analytics](https://help.socketlabs.com/docs/spotlight-email-analytics?hsLang=en)
- [Hurricane MTA](https://help.socketlabs.com/docs/hurricane-mta?hsLang=en#main-content)

    - [Advanced Hurricane Usage](https://help.socketlabs.com/docs/hurricane-mta?hsLang=en#advanced-hurricane-usage)
    - [Upgrading Hurricane](https://help.socketlabs.com/docs/hurricane-mta?hsLang=en#upgrading-hurricane)
    - [Troubleshooting](https://help.socketlabs.com/docs/hurricane-mta?hsLang=en#troubleshooting)
    - [Hurricane Maintenance](https://help.socketlabs.com/docs/hurricane-mta?hsLang=en#hurricane-maintenance)
    - [Getting Started with Hurricane](https://help.socketlabs.com/docs/hurricane-mta?hsLang=en#getting-started-with-hurricane)
    - [Basic Hurricane Usage](https://help.socketlabs.com/docs/hurricane-mta?hsLang=en#basic-hurricane-usage)
- [Complex Sender](https://help.socketlabs.com/docs/complex-sender?hsLang=en)

[![Chill listening crop-3](https://help.socketlabs.com/hs-fs/hubfs/Logos/Logo_Favicon%20-%20large%20-%20cropped.png?width=24&height=24&name=Logo_Favicon%20-%20large%20-%20cropped.png "Chill listening crop-3")](https://www.socketlabs.com)

<https://www.facebook.com/socketlabs/> <https://twitter.com/socketlabs> <https://www.linkedin.com/company/socketlabs-inc./>

Copyright © 2026, SocketLabs LLC