You are not logged in.

#1 2007-03-12 01:45:32

LordRaiden
Member
Registered: 2007-03-12
Posts: 16

How do mutt account hooks work?

I've been trying to get mutt account-hooks work for the better part of Sunday. I want to use account-hooks since i have several email addresses that I want mutt to manage.

I tried something like this in my .muttrc

account-hook imap://host1/ 'set imap_user=me1 imap_pass=foo'

But it did not seem to work. If anyone could show me something that's working for them, it would be greatly appreciated.

By the way, currently, I'm using macros as a workaround 

macro index S "<change-folder>$my_email<enter>" 'Switch mailbox'

where $my_email = imap://host1

Thanks in advance

Offline

#2 2007-03-12 10:55:31

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: How do mutt account hooks work?

How about you just let offlineimap handle the connection to your IMAP-Accounts and just use mutt to access the Maildir? Saves you a lot of trouble. You can find it in community.


Todays mistakes are tomorrows catastrophes.

Offline

#3 2007-03-14 03:19:27

LordRaiden
Member
Registered: 2007-03-12
Posts: 16

Re: How do mutt account hooks work?

Thanks for the tip. For now, I am happy using the macro but I'll definitely keep offlineimap in mind. I'd like to understand why offlineimap doesn't work though.

Offline

Board footer

Powered by FluxBB