chore: rename JMAP Webmail to Bulwark Webmail and update all URLs

This commit is contained in:
Linus Rath
2026-03-13 13:14:08 +01:00
parent 02344d169c
commit e85d0b946e
14 changed files with 74 additions and 74 deletions
+16 -16
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# =============================================================================
# JMAP Webmail - Interactive Setup Script
# Bulwark Webmail - Interactive Setup Script
# =============================================================================
set -euo pipefail
@@ -51,7 +51,7 @@ set -u
ENV_FILE="${SCRIPT_DIR}/.env.local"
# Config values (defaults)
CFG_APP_NAME="JMAP Webmail"
CFG_APP_NAME="Bulwark Webmail"
CFG_JMAP_SERVER_URL=""
CFG_STALWART_FEATURES="true"
CFG_OAUTH_ENABLED="false"
@@ -396,9 +396,9 @@ draw_header() {
echo ""
if [[ "$DRY_RUN" == true ]]; then
box "JMAP WEBMAIL SETUP -- DRY RUN" "$MAGENTA"
box "BULWARK WEBMAIL SETUP -- DRY RUN" "$MAGENTA"
else
box "JMAP WEBMAIL SETUP" "$CYAN"
box "BULWARK WEBMAIL SETUP" "$CYAN"
fi
echo ""
@@ -444,7 +444,7 @@ screen_welcome() {
local version
version=$(cat "${SCRIPT_DIR}/VERSION" 2>/dev/null || echo "dev")
print_center "${BOLD}Welcome to JMAP Webmail${RESET}"
print_center "${BOLD}Welcome to Bulwark Webmail${RESET}"
print_center "${DIM}v${version}${RESET}"
echo ""
echo ""
@@ -542,7 +542,7 @@ screen_server_config() {
draw_header
section_header 1 "Server Configuration" \
"Point JMAP Webmail at your mail server."
"Point Bulwark Webmail at your mail server."
echo -e " ${BOLD}General${RESET}"
echo -e " ${DIM}This name appears in the browser tab and on the login page.${RESET}"
@@ -719,7 +719,7 @@ screen_logging_config() {
draw_header
section_header 4 "Logging" \
"Control how JMAP Webmail writes logs."
"Control how Bulwark Webmail writes logs."
echo -e " ${BOLD}Log Format${RESET}"
echo ""
@@ -788,7 +788,7 @@ screen_deployment() {
draw_header
section_header 6 "Deployment Method" \
"Choose how you want to run JMAP Webmail."
"Choose how you want to run Bulwark Webmail."
local docker_available=false
command -v docker &>/dev/null && docker_available=true
@@ -940,7 +940,7 @@ write_env_file() {
cat > "$ENV_FILE" << ENVEOF
# =============================================================================
# JMAP Webmail -- Configuration
# Bulwark Webmail -- Configuration
# Generated by setup.sh on $(date '+%Y-%m-%d %H:%M:%S')
# =============================================================================
@@ -1026,7 +1026,7 @@ run_deployment() {
echo -e " ${DIM}[dry-run] Would start: npm start (port ${CFG_PORT})${RESET}"
;;
"docker")
echo -e " ${DIM}[dry-run] Would run: docker pull ghcr.io/rathlinus/jmap-webmail:latest${RESET}"
echo -e " ${DIM}[dry-run] Would run: docker pull ghcr.io/bulwarkmail/webmail:latest${RESET}"
echo -e " ${DIM}[dry-run] Would start: container on port ${CFG_PORT}${RESET}"
;;
"compose")
@@ -1063,8 +1063,8 @@ run_deployment() {
"docker")
echo -e " ${BOLD}Pulling Docker image...${RESET}"
echo ""
(docker pull ghcr.io/rathlinus/jmap-webmail:latest 2>&1) &
spinner $! "Pulling ghcr.io/rathlinus/jmap-webmail:latest"
(docker pull ghcr.io/bulwarkmail/webmail:latest 2>&1) &
spinner $! "Pulling ghcr.io/bulwarkmail/webmail:latest"
echo ""
echo -e " ${OK} Image pulled!"
@@ -1072,11 +1072,11 @@ run_deployment() {
echo -e " ${BOLD}To run the container:${RESET}"
echo ""
echo -e " ${CYAN}docker run -d \\${RESET}"
echo -e " ${CYAN} --name jmap-webmail \\${RESET}"
echo -e " ${CYAN} --name bulwark-webmail \\${RESET}"
echo -e " ${CYAN} -p ${CFG_PORT}:3000 \\${RESET}"
echo -e " ${CYAN} --env-file .env.local \\${RESET}"
echo -e " ${CYAN} --restart unless-stopped \\${RESET}"
echo -e " ${CYAN} ghcr.io/rathlinus/jmap-webmail:latest${RESET}"
echo -e " ${CYAN} ghcr.io/bulwarkmail/webmail:latest${RESET}"
;;
"compose")
@@ -1136,7 +1136,7 @@ screen_complete() {
echo ""
hr
echo ""
print_center "${DIM}Thank you for using JMAP Webmail!${RESET}"
print_center "${DIM}Thank you for using Bulwark Webmail!${RESET}"
echo ""
}
@@ -1217,7 +1217,7 @@ elif [[ -r /dev/tty ]] 2>/dev/null && (echo < /dev/tty) 2>/dev/null; then
else
echo "Error: No interactive terminal available."
echo "Download and run the script directly instead:"
echo " curl -fsSL https://raw.githubusercontent.com/rathlinus/jmap-webmail/main/setup.sh -o setup.sh"
echo " curl -fsSL https://raw.githubusercontent.com/bulwarkmail/webmail/main/setup.sh -o setup.sh"
echo " bash setup.sh --dry-run"
exit 1
fi