From 7f68ee22f072dd796d981cdb04d15fc435f62f00 Mon Sep 17 00:00:00 2001 From: tremor021 Date: Mon, 15 Dec 2025 20:01:13 +0100 Subject: [PATCH 1/3] Update Mail-Archiver --- ct/mail-archiver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/mail-archiver.sh b/ct/mail-archiver.sh index b56a4fcee..f016d17b7 100644 --- a/ct/mail-archiver.sh +++ b/ct/mail-archiver.sh @@ -60,4 +60,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5380${CL}" +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5000${CL}" From ee2117a1b31f84e8dc935f14ccf786bf65894870 Mon Sep 17 00:00:00 2001 From: tremor021 Date: Mon, 15 Dec 2025 20:03:44 +0100 Subject: [PATCH 2/3] Mail-Archiver update fixes --- ct/mail-archiver.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ct/mail-archiver.sh b/ct/mail-archiver.sh index f016d17b7..2205f301f 100644 --- a/ct/mail-archiver.sh +++ b/ct/mail-archiver.sh @@ -29,6 +29,10 @@ function update_script() { fi if check_for_gh_release "mail-archiver" "s1t5/mail-archiver"; then + msg_info "Stopping Mail-Archiver" + systemctl stop mail-archiver + msg_ok "Stopped Mail-Archiver" + msg_info "Creating Backup" cp /opt/mail-archiver/appsettings.json /opt/mail-archiver/.env /opt/ [[ -d /opt/mail-archiver/DataProtection-Keys ]] && cp -r /opt/mail-archiver/DataProtection-Keys /opt @@ -48,6 +52,10 @@ function update_script() { cp /opt/appsettings.json /opt/.env /opt/mail-archiver [[ -d /opt/DataProtection-Keys ]] && cp -r /opt/DataProtection-Keys /opt/mail-archiver/ msg_ok "Restored Backup" + + msg_info "Starting Mail-Archiver" + systemctl start mail-archiver + msg_ok "Started Mail-Archiver" msg_ok "Updated successfully!" fi exit From 7268657048688a5bd9ac815c558f1ab7f32821b7 Mon Sep 17 00:00:00 2001 From: tremor021 Date: Mon, 15 Dec 2025 20:09:36 +0100 Subject: [PATCH 3/3] Mail-Archiver: add json --- frontend/public/json/mail-archiver.json | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 frontend/public/json/mail-archiver.json diff --git a/frontend/public/json/mail-archiver.json b/frontend/public/json/mail-archiver.json new file mode 100644 index 000000000..006cae8ca --- /dev/null +++ b/frontend/public/json/mail-archiver.json @@ -0,0 +1,35 @@ +{ + "name": "Mail-Archiver", + "slug": "mail-archiver", + "categories": [ + 7 + ], + "date_created": "2025-12-12", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": 5000, + "documentation": "https://github.com/s1t5/mail-archiver/blob/main/doc/Index.md", + "config_path": "/opt/mail-archiver/.env, /opt/mail-archiver/appsettings.json", + "website": "https://github.com/s1t5/mail-archiver", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/mail-archiver.webp", + "description": "Mail-Archiver is a web application for archiving, searching, and exporting emails from multiple accounts. Featuring folder sync, attachment support, mailbox migration and a dashboard.", + "install_methods": [ + { + "type": "default", + "script": "ct/mail-archiver.sh", + "resources": { + "cpu": 1, + "ram": 2048, + "hdd": 8, + "os": "Debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": "admin", + "password": "secure123!" + }, + "notes": [] +}