Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2024 20:29:39 +0200
From:      "Nikola Cakelic" <ncakelic@chaky.eu>
To:        "Hotaka Korenori" <chaplintokyo@vivaldi.net>, <freebsd-questions@freebsd.org>
Subject:   Re: Suggestions for mail client
Message-ID:  <D4BBPKSN9GVP.1UZDGHFAP823J@chaky.eu>
In-Reply-To: <ZuzSd_chrGoXZu9z@chaplintokyo-ghostbsd>
References:  <a137a149-1aac-41c4-b288-97be07683df4@netfence.it> <Zurkp9G6NtzCEaWc@int21h> <ZuzSd_chrGoXZu9z@chaplintokyo-ghostbsd>

next in thread | previous in thread | raw e-mail | index | archive | help
--7cf07ad6e4f0571e26c0e23035681be59afcc9bdfb74b1248c03ff954a50
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8

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


--7cf07ad6e4f0571e26c0e23035681be59afcc9bdfb74b1248c03ff954a50
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEECq07oSeieK5t21+S3v1Ks4L1PPgFAmbtvxQACgkQ3v1Ks4L1
PPiAVg//XYLZfsa7QNfXAvFft2W+ACvH2VJctldlvcteLUeCELC1DxFRpdMlLw8g
mUG7b3x298THiXV/JFRRYFi04Vljq54IYqLxgW2r0/i93ZGSbMR7c6BIjYs9rto1
uiflbFUOjBwT589x5ru/v6P3oLJU+p8ELu8Sb9GD1LC8iZ2B7o6JXhBujiz1GD2g
fH5fJN8og6XCCyRCQQUcUk8WUcxPMnA3abxxm+dssJO1FksFcjCZPY90SJ4zbsDd
ohwhPnhQ0nZgT1l+H3iQLdAPl9YeoIAQ1okis6FWvKq8Kg3bYixud/nL4ygbZfej
Bu+lKOuMgtTXTdh9/QhZB/+V2+w9F1gZJDCNhaYkOCD5iLe6MLQhwxPKzcJT0A1W
hDYHh3SZOfrJQMq0z1krp/iKRJuIZ5z6JsRXcuQQxArTTevzZqio2Vz5itr37ywk
QriN/ZrEybF3/cDUHxrK7yTOtTTyw/DkLJuw3FEe9Tezb5OPEcJyo7JVKqk2vIT2
Zz4+xiyhi9aHJI88cB5IkcMyuzQKhf3/kSgSCuQVIOiaK1mqk3nxye+D21ZL59x+
d3vqFTPHmxEvMsW726HJ/Jo0FMNGY7mxAm/+cX6EEAPT0NXbHukLLmzy/QPBdktJ
s9BeKkejToy+/GwUIeOpWwye43U9BdDgLcqYlhjL/OLQWGpqfvo=
=cAGr
-----END PGP SIGNATURE-----

--7cf07ad6e4f0571e26c0e23035681be59afcc9bdfb74b1248c03ff954a50--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D4BBPKSN9GVP.1UZDGHFAP823J>