Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guide iconUser guide
Developer guide iconDeveloper guide
Admin guide iconAdmin guide
English
  • Русский
  • English
Login
    Getting StartedAdministrator documentationFunctional characteristics
      Technology descriptionarrow
    • Architecture OverviewComponent Description
        Deployment schemesarrow
      • Basic schemeFail-safe schemeTypical Placement in Infrastructure
    System requirements
      Admin Panelarrow
      • Account areaarrow
        • Accountsarrow
        • Account UsersAccount Virtual SendersAccount Database Indexes
        TariffsExternal data configurationLDAPTasksSchedule JobsGlobal Stop ListsWebversion Store PoliciesIn-App Storage Settings
        Settingsarrow
      • Databases
          Accessarrow
        • AdminsAPI tokens
        Notifiers
          MTAarrow
        • Default rulesRetry rulesLock rulesBounce patternsStrategiesKeysISPsPools
      Nodes
        Sendersarrow
      • EmailSMSEvent generatorIntegration with Altcraft Cloud SMTPAmazon SES integrationAKMTA interaction with SMTP relaysIntegration with Sendsay
        Reportsarrow
      • Audit JournalData Usage
        Toolsarrow
      • ARF decoderURL decoderSMID decoderLicense
      Platform installationarrow
    • Automatic installationManual installationRunning the platform in a Docker container
      Platform configurationarrow
    • Configuration fileDomain settingsLDAP access configurationSending Email via SMTP relayPixel and push domain configurationCluster and Replication SetupSystem notifications configurationProcesses UNIX sockets configurationHTTPS ConfigurationMigrating from MongoDB Community to Percona ServerAdding sender IP addressesData Encryption in Percona Server for MongoDBDeduplication request settingsBackup with Percona Backup for MongoDBPostgreSQL database for Market dataProxy server settingsKeycloak Integration with AltcraftGetting HTTP service statusesPlatform server load balancingConfiguring MongoDB log rotation
        Configuration of system constants and directoriesarrow
      • Filtering bot actionsDirectory of gender markers
      Custom Channelsarrow
    • Creating a Channel
        Pipelinesarrow
      • MessageScheduleListenerModerateStop
          Pipesarrow
        • HTTP RequestPackUnpackEventerSchedulerSelectorSQLStore SetStore GetLogResultErrorRMQ Publisher
      External Objects (Entities)Templating LanguageSending FilesPresets (Field Sets)DebuggingTechnical Limitations
      Platform maintenancearrow
    • Personnel requirementsPlatform maintenance processesPlatform updatingBackup and recoveryTransferring the platform to a new serverCreating, deleting, and populating tables for statistics in ClickHouseUsing the aktool utilityUsers and directories engaged by the platformEvent Processing Monitoring (procevent)Platform service monitoringProcess and mailing monitoring via Prometheus
      Extraarrow
    • System page customizationSend Message IDClickHouse History Migration GuideInstructions for migrating history to ClickHouseUtility for importing push subscriptions to Firebase projectUtility for importing push subscriptions to Firebase projectIP address warm-upENS: настройка интеграции
    Processing HTTP/HTTPS traffic
      Administrator APIarrow
      • Accounts admin apiarrow
        • Restricted accessarrow
        • Account Activation and DeactivationAccount Freeze and Unfreeze
        Get accounts listAdd a new accountDelete the account
        Account usersarrow
      • Update an Existing AccountAdd a new userDelete a userGet a list of usersSending a Welcome Email
        Nodesarrow
      • Synchronize node MTA configurationGet nodes listGet node MTA statusActivate node MTADeactivate node MTA
        Senders admin apiarrow
      • Create or update AKMTA senderGet AKMTA sender informationAssign account to senderGet senders listDelete senderRestore sender
          Sender queuearrow
        • Get sender queue informationHold sender queueRelease sender queueClear sender queue
        Virtual sendersarrow
      • Get virtual senders listGet virtual sender informationCreate virtual senderUpdate virtual senderClone virtual senderDelete virtual sender
    Documentation Archive
  • Admin Panel
  • Settings
  • MTA
  • Bounce patterns

Bounce patterns

Description​

Bounce patterns are templates of responses from email providers (ISPs) about delivery problems. The platform analyzes these responses and classifies them to determine the reasons for delivery failures and correctly handle unsuccessful sends. The templates are applied both to direct sending via AKMTA and to sending through Altcraft Cloud SMTP.

Types of negative ISP responses​

Negative response templates are divided into three main categories:

  • Hard bounce (HB) is a template for responses meaning that the recipient’s mailbox does not exist. Usually these are server-class errors (5xx), but the type is determined by a template match, not by the response code. Sending to such addresses is blocked to avoid damaging the domain and sender IP reputation. The customer’s email subscription is marked as Hard bounced, preventing further delivery attempts.

  • Soft bounce (SB) is usually client-class errors (4xx) indicating temporary unavailability of the mailbox. In such cases, retry or temporary blocking scenarios can be applied.

  • Bounce (B) — this type includes other delivery errors that are not Hard or Soft bounce. Typically, retrying delivery is not advisable, and the message is marked as Undelivered.

Applying the templates​

The templates are applied to direct sending via AKMTA and to bounces received from the Altcraft Cloud SMTP webhook: the relay passes the response text of the receiving server, and the platform classifies it with the same templates.

Matching order​

The response text of the receiving server is matched against the templates as follows:

  1. The ISP is determined by the recipient domain using the domain bindings from the ISPs section. If the domain is not bound to any ISP record, the domain itself is used as the ISP and only common templates apply.
  2. The templates of the selected ISP are checked first, then the common ones (All ISPs).
  3. Within each group, the types take priority in this order: Hard bounce, then Soft bounce, then Bounce.

The matched template determines the bounce type, and the response code (4xx or 5xx) does not affect the result:

Template typeDirect sending via AKMTAAltcraft Cloud SMTP
Hard bounceHard bounce and undelivery: the profile status changes to Hard bounced, the address is added to the global suppression listHard bounce and undelivery: the profile status changes to Hard bounced, the address is added to the global suppression list
Soft bounceSoft bounce and undeliveryUndelivery only
BounceUndeliveryUndelivery only
No matchUndelivery with the undefined typeUndelivery with the undefined type
warning

A template takes precedence over the response code. A 4xx response whose text matches a Hard bounce template produces a Hard bounce. A 5xx response that matches no template produces undelivery only — no Hard bounce is registered and the profile is not blocked. This way provider reputation rejections, such as 550 spam message rejected from Mail.ru, do not move the recipient to Hard bounced.

Updating the templates​

When sending through Altcraft Cloud SMTP, changes to templates and ISP domain bindings are applied without restarting services: the webhook handler reloads the settings within LISTENER_REFRESH_PERIOD (30 seconds by default). If the settings are temporarily unavailable, the last successfully loaded set of templates is used. If there are no templates at all or none has been loaded yet, the classification of webhook bounces degrades — such responses are registered as undeliveries with the undefined type.

Creating, Editing, and Deleting​

To manage ISP response templates, in the main menu select Settings — MTA — Bounce patterns.

Bounce patterns list in MTA settings

The opened list displays existing templates of negative ISP server responses. For most responses, entries already exist in the default AKMTA configuration. To edit an existing entry, click the quick action button on the right side of the list or the entry identifier on the left. To create a new entry, click + Create.

caution

Only custom ISP response templates can be deleted.

Bounce pattern creation form

Each response template is configured with:

  • Name — the template name.

  • Type — the type of server response (Hard bounce, Soft bounce, Bounce).

  • ISP — the email provider. You can select an ISP record or the All ISPs option to match responses from any provider.

  • Pattern — the pattern used to match the response.

  • Message — the delivery error message text.

Bounce pattern message field

Last updated on Nov 24, 2026
Previous
Lock rules
Next
Strategies
  • Description
  • Types of negative ISP responses
  • Applying the templates
    • Matching order
    • Updating the templates
  • Creating, Editing, and Deleting
© 2015 - 2026 Altcraft, LLC. All rights reserved.