Hi,
I am looking for the terminal-based MUA which would be able to
work with my email needs. However, for various reasons I really
need all my emails stay on multiple IMAP accounts (no local
emails if possible). I have started with mutt as it is the
client I know best, but I am not married to it, if you know
about anything better (Alpine?, notmuch?, anything else) which
could help me, then I am all ears.
account-hook .*localhost 'set imap_user=matej imap_pass=secret1 \
from="Matěj Cepl "
folder=imap://localhost.localdomain \
trash=+Trash postponed=+Drafts'
# account-hook mcepl 'set imap_user=mc...@cepl.eu imap_pass="secret2" \
# from="Matěj Cepl " \
# folder=imaps://redcrew.org trash=+Trash postponed=+Drafts'
account-hook .*redcrew.org 'set imap_user="ma...@ceplovi.cz" \
imap_pass= "secret3" \
from="Matěj Cepl " \
folder=imaps://redcrew.org trash=+Trash postponed=+Drafts'
account-hook .*suse.de 'set imap_user=mcepl@Thunderbird \
imap_pass= "secret4" \
postponed=+INBOX/Drafts from="Matěj Cepl " \
trash=+INBOX/Trash'
The problem is obviously mc...@cepl.eu account.
* Is it possible to have two account hooks directed against one
IMAP server?
* What EXACTLY are possible values of the first parameter of
account-hook. Does it have to be domain name of the server, or
could it be some random string (as shown here in the commented
out account-hook)?
* Is there some patch somewhere, which would support some more
grown-up version of the accounts settings? I would like to have
something like
account work { \
imap_server = imap.suse.de \
imap_user = mcepl@Thunderbird \
imap_pass = secret4 \
... { any other mutt settings }
}
account floss { \
imap_server = redcrew.org \
imap_user = mc...@cepl.eu \
imap_pass = secret2 \
... { any other mutt settings }
}
and then I would run
$ mutt -C work
(C as aCcount)
and when inside of mutt I could refer to the other account with
something like
#floss/INBOX/somewhere
Anybody heard about something like this?
Best,
Matěj
--
https://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
The state is the great fictitious entity by which everyone seeks
to live at the expense of everyone else.
-- Frederick Bastiat
OpenPGP_0x79205802880BC9D8.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature