setup-email.sh aktualisiert
This commit is contained in:
@@ -14,13 +14,13 @@ case "$choice" in
|
|||||||
TYPE="PVE"
|
TYPE="PVE"
|
||||||
NOTIF_CFG="/etc/pve/notifications.cfg"
|
NOTIF_CFG="/etc/pve/notifications.cfg"
|
||||||
PRIV_NOTIF_CFG="/etc/pve/priv/notifications.cfg"
|
PRIV_NOTIF_CFG="/etc/pve/priv/notifications.cfg"
|
||||||
USER_DEFAULT="MH-PVE02@vmd55888.de"
|
USER_DEFAULT="mailout"
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
TYPE="PBS"
|
TYPE="PBS"
|
||||||
NOTIF_CFG="/etc/proxmox-backup/notifications.cfg"
|
NOTIF_CFG="/etc/proxmox-backup/notifications.cfg"
|
||||||
PRIV_NOTIF_CFG="/etc/proxmox-backup/notifications-priv.cfg"
|
PRIV_NOTIF_CFG="/etc/proxmox-backup/notifications-priv.cfg"
|
||||||
USER_DEFAULT="MH-PBS01@vmd55888.de"
|
USER_DEFAULT="mailout"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Ungültige Auswahl. Abbruch."
|
echo "Ungültige Auswahl. Abbruch."
|
||||||
@@ -83,13 +83,13 @@ echo
|
|||||||
# -----------------------------
|
# -----------------------------
|
||||||
# Eingaben mit Vorlagen
|
# Eingaben mit Vorlagen
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
read_required "Author (z.B. MH-PVE02 | MAIERHOME H33)" AUTHOR
|
read_required "Author (MH-PVE02 | MAIERHOME H33)" AUTHOR
|
||||||
read_required "From-Address (z.B. MH-PVE02@vmd55888.de)" FROMADDR
|
read_required "From-Address (MH-PVE02@vmd55888.de)" FROMADDR
|
||||||
read_required "Empfänger-Mailadresse (mailto, z.B. admin@vmd55888.de)" MAILTO "admin@vmd55888.de"
|
read_required "Empfänger-Mailadresse (pbs-dashboard@vmd55888.de)" MAILTO "pbs-dashboard@vmd55888.de"
|
||||||
read_required "SMTP Server (z.B. mail.vmd55888.de)" SERVER "mail.vmd55888.de"
|
read_required "SMTP Server (mail.vmd55888.de)" SERVER "mail.vmd55888.de"
|
||||||
read_required "SMTP Port (z.B. 587)" PORT "587"
|
read_required "SMTP Port (587)" PORT "587"
|
||||||
read_required "Modus (starttls/ssl/none)" MODE "starttls"
|
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)
|
# Passwort (Pflichtfeld, versteckt)
|
||||||
while true; do
|
while true; do
|
||||||
|
|||||||
Reference in New Issue
Block a user