Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Postbox
  • Getting started
    • All guides
    • Creating an address
    • Domain ownership check
    • Setting up a DMARC policy
    • Sending an email
    • Templating an email
    • Creating a configuration
    • Linking a configuration to an address
    • Writing logs
  • Access management
  • Pricing policy
  • Audit Trails events
  • Public materials
  • Release notes
  1. Step-by-step guides
  2. Creating a configuration

Creating a configuration

Written by
Yandex Cloud
Updated at October 14, 2025

Create a configuration to receive email operation notifications.

Management console
AWS CLI
  1. In the management console, select the folder containing the address.

  2. Select Cloud Postbox.

  3. In the left-hand panel, select Configurations.

  4. Click Create configuration.

  5. Enter a name and (optionally) a description of the configuration.

  6. Under Subscriptions, click Add:

    1. Enter a name for the subscription.
    2. Select the Yandex Data Streams data stream to send email operation notifications to. If you do not have a data stream, create one.
    3. Select the types of notifications you want to receive.
    4. Select the Enabled option to activate the subscription.

    You can add multiple subscriptions.

  7. Under Delivery settings, enable Deliver emails only over a secure connection and specify the minimum TLS version to send TLS-only encrypted emails from Yandex Cloud Postbox to the recipient's servers.

    Warning

    If the recipient's server does not support the specified TLS version, the email will not be delivered.

  8. Under Statistics collection settings, enable the Engagement statistics option to collect statistics on email opens and clicks. All other statistics, other than email opens and clicks, are collected by default.

    Note

    Enabling Engagement statistics will modify the email body. For more information, see Tracking email openings and Click tracking.

  9. Click Create configuration.

If you do not have the AWS CLI yet, install and configure it.

To create a configuration, assign the postbox.editor role to the service account used for the AWS CLI.

  1. In the terminal, define these variables:

    ENDPOINT=https://postbox.cloud.yandex.net
    PROFILE=<profile_name>
    CONFIGSET_NAME=<configuration_name>
    IDENTITY=<domain>
    KINESIS_ENDPOINT=https://yds.serverless.yandexcloud.net/ru-central1/<folder_ID>/<YDB_database_ID>
    TOPIC=<data_stream_name>
    
  2. Create a configuration:

    aws sesv2 create-configuration-set \
       --endpoint-url=$ENDPOINT \
       --profile $PROFILE \
       --configuration-set-name $CONFIGSET_NAME
    
  3. Add a subscription to the configuration:

    aws sesv2 create-configuration-set-event-destination \
       --endpoint-url=$ENDPOINT \
       --profile $PROFILE \
       --configuration-set-name $CONFIGSET_NAME \
       --event-destination-name <subscription_name> \
       --event-destination "{\"Enabled\":true,\"KinesisFirehoseDestination\":{\"DeliveryStreamArn\":\"arn:aws:keenesis:::$KINESIS_ENDPOINT:$TOPIC\",\"IamRoleArn\":\"arn:\"}}"
    
    

    You can add multiple subscriptions.

To get notifications, link the configuration to an address.

Was the article helpful?

Previous
Templating an email
Next
Linking a configuration to an address
© 2025 Direct Cursus Technology L.L.C.