More error fixes.
This commit is contained in:
parent
570ad87f21
commit
82f7a22667
@ -297,10 +297,10 @@ configure_generic()
|
||||
local smtpUser
|
||||
local smtpPort
|
||||
local extraSettings
|
||||
read -p "Enter imap host: " -e -i imap://imap.$hostName imapHost
|
||||
read -p "Enter imap host: " -e -i imap.$hostName imapHost
|
||||
read -p "Enter imap user: " -e -i $1 imapUser
|
||||
read -p "Enter imap port: " -e -i 993 imapPort
|
||||
read -p "Enter smtp host: " -e -i smtp://smtp.$hostName smtpHost
|
||||
read -p "Enter smtp host: " -e -i smtp.$hostName smtpHost
|
||||
read -p "Enter smtp user: " -e -i $userName smtpUser
|
||||
read -p "Enter smtp port: " -e -i 587 smtpPort
|
||||
read -p "Enter extra settings, one line at a time, just press enter when done: " extraSettings
|
||||
@ -311,9 +311,9 @@ configure_generic()
|
||||
echo "unset imap_passive" >> "$muttHome/$1"
|
||||
echo "unset record" >> "$muttHome/$1"
|
||||
echo "set from=$1" >> "$muttHome/$1"
|
||||
echo "set smtp_url=\"$smtp://$smtpUser@$smtpHost:$smtpPort/" >> "$muttHome/$1"
|
||||
echo "set smtp_url=\"smtp://$smtpUser@$smtpHost:$smtpPort/" >> "$muttHome/$1"
|
||||
echo "set folder=imaps://$imapHost/" >> "$muttHome/$1"
|
||||
echo "set mailboxes = +INBOX" >> "$muttHome/$1"
|
||||
echo "mailboxes = +INBOX" >> "$muttHome/$1"
|
||||
echo "set postponed = +Drafts" >> "$muttHome/$1"
|
||||
echo "set imap_keepalive=300" >> "$muttHome/$1"
|
||||
echo "set mail_check=300" >> "$muttHome/$1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user