diff --git a/bin/mw b/bin/mw index 822cecf..0e5017e 100755 --- a/bin/mw +++ b/bin/mw @@ -172,6 +172,7 @@ auth on tls on tls_trust_file $mwsslcert #logfile ${XDG_LOG_HOME:-$HOME}/msmtp.log + EOF else sed -i "/account $mwaddr/,/^\(\s*$\|account\)/d" "$mwmsmtprc" &>/dev/null @@ -184,6 +185,7 @@ from $mwaddr user $mwlogin passwordeval "pass $mwpass" $mwstarttlsoff + EOF case "$mwservice" in protonmail.ch|protonmail.com|pm.me) _mwprotonfinger || return 1 ;; @@ -222,6 +224,7 @@ Create Both SyncState * MaxMessages 0 # End $_MW_ profile + EOF } @@ -245,6 +248,7 @@ delete = true #message_log = ${XDG_LOG_HOME:-$HOME}/getmail.log # vim: ft=conf + EOF } @@ -323,6 +327,7 @@ exclude_tags=deleted;spam; synchronize_flags=true [crypto] gpg_path=$GPG" + EOF } @@ -484,6 +489,7 @@ _mwgenmwaccmuttrc() { # generated by $_MW_ set from = "$mwaddr" + EOF if [ "$mwtype" = "offline" ]; then cat >> "$mwaccmuttrc" <> "$mwaccmuttrc" <> "$mwaccmuttrc" < + EOF IFS=$'\n' for eqbox in $mwmailboxes; do