Add separate login to account creation queries

This is first working version of an added login query to the account
creation process. It fixes the first part of #6, but there still needs
to be more testing for the second part of that issue, which concerns
creating accounts with domains not listed in domain.csv.
This commit is contained in:
Björn Guth
2018-02-18 15:37:51 +01:00
parent 48fe8f5dd8
commit 458ae95c95
3 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# muttrc file for account $title
set realname = "$realname"
set from = "$fulladdr"
set smtp_url = "smtp://$fulladdr@$smtp:$sport/"
set smtp_url = "smtp://$login@$smtp:$sport/"
set sendmail = "/usr/bin/msmtp -a $title"
set folder = "~/.mail/$title"
set header_cache = ~/.config/mutt/accounts/$title/cache/headers

View File

@ -5,7 +5,7 @@ remoterepository = $title-remote
[Repository $title-remote]
type = $type
remoteuser = $fulladdr
remoteuser = $login
sslcacerfile = /etc/ssl/cets/ca-certificates.crt
remotepasseval = mailpasswd("$title")
remotehost = $imap