adding an account

Francesco Ariis fa-ml at ariis.it
Sat Jun 4 18:00:03 UTC 2022


Hello Albert,

Il 04 giugno 2022 alle 13:50 Albert R. Pyott ha scritto:
> Hello, I have gmail working on one computer and yahoo on another.  Thus, two muttrc files.  What is the best way to set these up on one system?  I've read that this involves "hooks" and things that I don't understand too well.  Is there an easy model to follow?  Many thanks.  Rob 

This is what I do (maildir)

    # scaffold
    set mbox_type=Maildir
    set folder="~/mail"
    set mask="!^\\.[^.]"

    # mailboxes
    mailboxes "+gmail"
    mailboxes "+yahoo"

    # hooks
    set realname="Some N. Ame"
    folder-hook gmail "set from=example at gmail.com"
    folder-hook yahoo "set from=example at yahoo.com"

This should get you started!
—F


More information about the Mutt-users mailing list