#!/usr/bin/env bash
# SPDX-License-Identifier: LicenseRef-CMSD-1.0
# Copyright (c) 2026 CyberMind — Gérald Kerma <devel@cybermind.fr>
#
# DEPRECATED in secubox-mail 2.2 — Roundcube now lives inside the single
# 'mail' LXC. This shim forwards to mailctl. Will be removed in 3.0.

set -euo pipefail
echo "[roundcubectl] DEPRECATED — forwarding to mailctl (will be removed in 3.0)" >&2
exec /usr/sbin/mailctl "$@"
