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=exam...@gmail.com"
    folder-hook yahoo "set from=exam...@yahoo.com"

This should get you started!
—F

Reply via email to