fix adding new account in macos
Fix mailsync ping command
Fix mutt-wizard
Fix muttrc for mac
Add files for offlineimap_profile and offlineimap_header
Update README with MacOS install instructions
under Qubes OS the use of qubes-gpg-client (instead of gpg) will not work with the -q option, but with the --quiet option.
As such using the full parameter names will not harm to all "normal" users, but make the script more stable for other users.
Additionaly it makes the scripts more readable for beginners to understand what the script is doing.
configuring offlinemap to get emails from Microsoft Exchange via Davmail I run into a problem, which could be fixed by changing "port" to "remoteport" in the remote-part of the config.
See also here:
https://github.com/OfflineIMAP/offlineimap/blob/master/offlineimap.conf
# This option stands in the [Repository RemoteExample] section.
# Specify the port. If not specified, use a default port.
#remoteport = 993
If running offlineimap it will show the following warning message (tested when using GMAIL)...
XOAUTH2 authentication failed: AUTHENTICATE command error: BAD ['Client aborted AUTHENTICATE command.
<randomstring>']. Data: DIEF2 AUTHENTICATE XOAUTH
... and then continue with the download/sync of emails.
You can get rid of the warning message, when adding auth_mechanisms = LOGIN .offlineimaprc in the <...>-remote section.
When managing multiple accounts it's hard to determine which one you're
currently viewing. This patch makes sidebar look like this:
+++++++++++++++++++++++++
luke@lukesmith +
----------------------- +
INBOX 99+
Sent Mail +
Drafts +
Trash +
Spam +
+++++++++++++++++++++++++
The only problem with it is the necessity of changing sidebar_format, as with
its current value these 2 excess mailboxes are being appended with 0. That
leads to situation when size of an empty mailbox is being displayed as empty
string instead of 0. I consider it's not a big deal.
On account change new account's mailboxes are being appended to the old
one's. This commit forces mailboxes list to be cleared before adding new
items to it.
This commit untracks personal.muttrc and moves the import of
personal.muttrc to the last line of muttrc. I did this for several
reasons:
1. I moved the personal.muttrc import to have the possibility to
overwrite settings made in muttrc. This makes personalizing mutt
easier.
2. Since personal.muttrc is currently empty, but gets automatically
filled with the macros to switch between mail accounts, this will
always appear as a modified file in `git status`. Also when all mail
accounts get deleted via mutt-wizzard.sh, personal.muttrc gets
deleted and therefore might cause inconveniences this way.
3. This makes it virtually impossible to accidentally commit personal
mutt configurations, which would be pretty easy if personal.muttrc
stays part of this repo as a tracked file.
4. It makes the repo look and feel nicer.
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.