v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01960201.2 KB
Address Rewriting

Create BCC Map

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 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'