summaryrefslogtreecommitdiff
path: root/manual.sh
blob: 0f7315aad7a6c4c28a1b683d657f657610c3acb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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>&- \
	)