curl -X POST "https://mail.example.com/api/v1/add/bcc" -H "X-API-Key: $MAILCOW_API_KEY" -H "Content-Type: application/json" -d '{"local_dest":"jane@example.com","bcc_dest":"archive@example.com","type":"sender"}'

Category: Mail Servers & Postfix

curl -X POST "https://mail.example.com/api/v1/add/bcc" -H "X-API-Key: $MAILCOW_API_KEY" -H "Content-Type: application/json" -d '{"local_dest":"jane@example.com","bcc_dest":"archive@example.com","type":"sender"}'

Add a BCC copy rule for a mailbox

This adds a blind-copy rule where every message sent by jane@example.com is also delivered to archive@example.com. BCC rules are the standard way Mailcow archives sent and received mail. The type field selects sender or recipient direction.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.