diff --git a/setup-email.sh b/setup-email.sh index 0c528d5..8ebe0a7 100644 --- a/setup-email.sh +++ b/setup-email.sh @@ -14,13 +14,13 @@ case "$choice" in TYPE="PVE" NOTIF_CFG="/etc/pve/notifications.cfg" PRIV_NOTIF_CFG="/etc/pve/priv/notifications.cfg" - USER_DEFAULT="MH-PVE02@vmd55888.de" + USER_DEFAULT="mailout" ;; 2) TYPE="PBS" NOTIF_CFG="/etc/proxmox-backup/notifications.cfg" PRIV_NOTIF_CFG="/etc/proxmox-backup/notifications-priv.cfg" - USER_DEFAULT="MH-PBS01@vmd55888.de" + USER_DEFAULT="mailout" ;; *) echo "Ungültige Auswahl. Abbruch." @@ -83,13 +83,13 @@ echo # ----------------------------- # Eingaben mit Vorlagen # ----------------------------- -read_required "Author (z.B. MH-PVE02 | MAIERHOME H33)" AUTHOR -read_required "From-Address (z.B. MH-PVE02@vmd55888.de)" FROMADDR -read_required "Empfänger-Mailadresse (mailto, z.B. admin@vmd55888.de)" MAILTO "admin@vmd55888.de" -read_required "SMTP Server (z.B. mail.vmd55888.de)" SERVER "mail.vmd55888.de" -read_required "SMTP Port (z.B. 587)" PORT "587" +read_required "Author (MH-PVE02 | MAIERHOME H33)" AUTHOR +read_required "From-Address (MH-PVE02@vmd55888.de)" FROMADDR +read_required "Empfänger-Mailadresse (pbs-dashboard@vmd55888.de)" MAILTO "pbs-dashboard@vmd55888.de" +read_required "SMTP Server (mail.vmd55888.de)" SERVER "mail.vmd55888.de" +read_required "SMTP Port (587)" PORT "587" read_required "Modus (starttls/ssl/none)" MODE "starttls" -read_required "SMTP Benutzername (z.B. $USER_DEFAULT)" USERNAME "$USER_DEFAULT" +read_required "SMTP Benutzername ($USER_DEFAULT)" USERNAME "$USER_DEFAULT" # Passwort (Pflichtfeld, versteckt) while true; do