Re: Suggestions for mail client

From: Nikola Cakelic <ncakelic_at_chaky.eu>
Date: Fri, 20 Sep 2024 18:29:39 UTC
On Fri Sep 20, 2024 at 3:40 AM CEST, Hotaka Korenori wrote:
> I'm trying out mutt on my GhostBSD installation right at this moment.   I kind of like it.  It works, and is definitely faster than the Evolution on my set up.  Still trying to work out how to switch between multiple email accounts though... Anyway, my ten cent's worth (from a newbie).

Hi,

In my NeoMutt config e.g. ~/.neomuttrc I have this setup for multiple 
account switching:

# Default account
source "~/.neomutt/neomutt.account.acc1"

# Folder hooks
folder-hook 'neomutt.account.acc1' 'source ~/.neomutt/neomutt.account.acc1'
folder-hook 'neomutt.account.acc2' 'source ~/.neomutt/neomutt.account.acc2'

# Macros to switch accounts
macro index <f2> "<enter-command>unmailboxes *<enter><enter-command>source ~/.neomutt/neomutt.account.acc1<enter><sync-mailbox><change-folder>!<enter>"
macro index <f3> "<enter-command>unmailboxes *<enter><enter-command>source ~/.neomutt/neomutt.account.acc2<enter><sync-mailbox><change-folder>!<enter>"

And then, when NeoMutt is running, pressing F2 or F3 switches from one
account to another.
Please note that ~/.neomutt/neomutt.account.acc{1,2} has account
configuration for each account.

Hope this helps.

There is an entry in ArchLinux Wiki
(https://wiki.archlinux.org/title/Mutt#Multiple_accounts) on how to
setup multiple accounts in Mutt.

With regards,
Nikola

-- 
Nikola Cakelic :: ncakelic@chaky.eu :: https://photos.chaky.eu
PGP fingerprint: 0AAD 3BA1 27A2 78AE 6DDB  5F92 DEFD 4AB3 82F5 3CF8