summaryrefslogtreecommitdiff
path: root/manual.sh
diff options
context:
space:
mode:
authorLuke <luke@lukesmith.xyz>2018-02-09 23:47:29 -0700
committerLuke <luke@lukesmith.xyz>2018-02-09 23:47:29 -0700
commit914a1bf4d895a986adaa240e857b95c7f49fed4c (patch)
tree0a600d747198fe6143b9986bb71969a0ea47b243 /manual.sh
initial commit
Diffstat (limited to 'manual.sh')
-rw-r--r--manual.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/manual.sh b/manual.sh
new file mode 100644
index 0000000..0f7315a
--- /dev/null
+++ b/manual.sh
@@ -0,0 +1,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>&- \
+ )