Activating Email BCC (on premise)

On-premise & Hybrid

To activate BCC email archiving when Adobe Campaign is installed on premise, follow the steps below.

Local folder

To enable transferring sent emails to a BCC email address, exact raw copies of sent emails must first be saved as .eml files to a local folder.

The path for the local folder must be specified in the config-<instance>.xml file, from the configuration. For example:

<mta dataLogPath="C:\emails">
NOTE
It is the responsibility of the team implementing the project to ensure that the security settings allow access to the folder defined through the dataLogPath parameters.

The full path is as follows: <datalogpath> YYYY-MM-DDHHh. The date and time are set according to the MTA server’s clock (UTC). For example:

C:\emails\2018-12-02\13h

The archive file name is <deliveryid>-<broadlogid>.eml when the status of the emails is not Sent. Once the status has changed to Sent, the file name becomes <deliveryid>-<broadlogid>-sent.eml. For example:

C:\emails\2018-12-02\13h\4012-8040-sent.eml
NOTE
In a mid-sourcing instance, the directory for the BCC emails is located on the mid-sourcing server.
The deliveryID and the broadlogID come from the mid-sourcing server when the status of the emails is not sent. Once the status has changed to Sent, these IDs come from the marketing server.

Parameters

Once the local folder path is defined, add and edit the following elements as desired in the config-<instance name>.xml file. Below are the default values:

<archiving autoStart="false" compressionFormat="0" compressBatchSize="10000"
           archivingType="1" expirationDelay="2" purgeArchivesDelay="7"
           pollDelay="600" acquireLimit="5000" smtpNbConnection="2"/>
  • compressionFormat: format used when compressing the .eml files. The possible values are:

    0: no compression (default value)

    1: compression (.zip format)

  • compressBatchSize: number of .eml files added to an archive (.zip file).

  • archivingType: archiving strategy to be used. The only possible value is 1. Raw copies of sent emails are saved in .eml format to the dataLogPath folder and they are sent to the BCC email address over SMTP. Once the email copies are sent to the BCC address, the archive file name becomes <deliveryid>-<broadlogid>-sent-archived.eml and the file is moved to the dataLogPath/archives folder. The sent and BCC archived email file path is then <datalogpath>archivesYYYY-MM-DDHHh<deliveryid>- <broadlogid>-sent-archived.eml.

  • expirationDelay: number of days .eml files are kept for archiving. After that delay, they are automatically moved to the dataLogPath/archives folder for compression. By default, .eml files expire after two days.

  • purgeArchivesDelay: number of days archives are kept in the dataLogPath/<archives> folder. After that period, they are permanently deleted. The purge begins when the MTA is started. By default, it is carried out every seven days.

  • pollDelay: checking frequency (in seconds) for new incoming sent emails to the dataLogPath folder. For example, if this parameter is set to 60, it means that every minute, the archiving process goes through the .eml files inside the dataLogPath/ <date and time> folders, apply a purge if needed and sends email copies to the BCC address and/or compress the archived files whenever needed.

  • acquireLimit: number of .eml files processed at once before the archiving process is applied again according to the pollDelay parameter. For example, if you set the acquireLimit parameter to 100 while the pollDelay parameter is set to 60, 100 .eml files per minute will be processed.

  • smtpNbConnection: number of SMTP connections to the BCC email address.

Make sure you adjust these parameters according to the email sending throughput. For example, in a configuration where the MTA is sending 30,000 emails per hour, you can set the pollDelay parameter to 600, the acquireLimit parameter to 5000 and the smtpNbConnection parameter to 2. It means that using 2 SMTP connections, 5,000 emails will be sent to the BCC address every 10 minutes.