mutt-wizard/manual.sh

18 lines
604 B
Bash
Raw Normal View History

2018-02-10 07:47:29 +01:00
# The stuff for manually putting in server settings.
# Will be added to main script as option eventually.
remotehost=$(\
dialog --inputbox "Insert the IMAP server for your email provider (excluding the port number)" 10 60 \
3>&1 1>&2 2>&3 3>&- \
)
dialog --inputbox "What is your server's IMAP port number? (Usually 993)" 10 60
smtpserver=$(\
dialog --inputbox "Insert the SMTP server for your email provider (excluding the port number)" 10 60 \
3>&1 1>&2 2>&3 3>&- \
)
smtpport=$(\
dialog --inputbox "What is your server's SMTP port number? (Usually 587 or 465)" 10 60
3>&1 1>&2 2>&3 3>&- \
)