dialog --title "Luke's mutt/offlineIMAP password wizard" --inputbox "Insert the email address with which you originally created your key pair. This is NOT necessarily the email you want to configure."1060\
3>&1 1>&2 2>&3 3>&- \
)
# Get email address
fulladdr=$(\
dialog --title "Luke's mutt/offlineIMAP autoconfig" --inputbox "Insert your full email address."1060\
if[ -z "$serverinfo"];thenecho No suitable match. && exit;fi
# Read in server data as variables
IFS=, read service imap iport smtp sport spoolfile postponed record <<EOF
$serverinfo
EOF
clear
realname=$(\
dialog --title "Luke's mutt/offlineIMAP autoconfig" --inputbox "Enter the full name you'd like to be identified by on this email account."1060\
3>&1 1>&2 2>&3 3>&- \
)
title=$(\
dialog --title "Luke's mutt/offlineIMAP autoconfig" --inputbox "Give a short, one-word name for this email account that will differentiate it from other email accounts."1060\
3>&1 1>&2 2>&3 3>&- \
)
# Sets the repo type and other variables for the sed regex.