Address Rewriting

Using this endpoint you can create a BCC map to forward all mails via a bcc for a given domain.

post/api/v1/add/bcc

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

activenumber

1 for a active user account 0 for a disabled user account

bcc_deststring

the email address where all mails should be send to

local_deststring

the domain which emails should be forwarded

type'sender' | 'rcpt'

the type of bcc map can be sender or rcpt

Example request

{
  "active": "1",
  "bcc_dest": "bcc@awesomecow.tld",
  "local_dest": "mailcow.tld",
  "type": "sender"
}

Response

OK

type'success' | 'danger' | 'error'

Changes

    • breaking

      request property was restricted to a list of enum values

    • info

      added the new rcpt enum value to the request property

    • info

      added the new sender enum value to the request property

    • breaking

      removed the enum value rcpt of the request property

    • breaking

      removed the enum value sender of the request property