Hello,

I am trying to transition from pine to mutt. The problem I am running into
is that I want to use IMAP to two accounts. I'm running Debian/woody with
mutt-1.1.3-1.

Two things I would like to know is how to set up IMAP folders so I can
access them automagically (I can get into it manually by invoking mutt -f
{host1.org} or whatever or using going to the folder from the menu). The
other issue is that I can only get to {host2.com} when I am at work. If
there is a way to set this up so that there is a selective way to access
that particular inbox, I would love to hear that too.

The other thing is that I would like is to have mutt change the From:
address based on these two folders. If I am in the {host1.org}INBOX, I
would like to have From: [EMAIL PROTECTED], and so forth. I tried setting

folder-hook \{host2.com\}INBOX "my_hdr From: Bradley M Alexander
<[EMAIL PROTECTED]>"
folder-hook \{host1.org\}INBOX "my_hdr From: Bradley M Alexander
<[EMAIL PROTECTED]>"

in my .muttrc, and got

Error in /home/balexander/.muttrc, line 133: Invalid content of \{\}
Error in /home/balexander/.muttrc, line 134: Invalid content of \{\}

when I try to start mutt. I have tried quoting it, escaping (\) it, and
not doing anything at all, and got the errors listed above. I have a
mailbox defined as

mailboxes {host1.org} {host2.com}

etc, but I'm still getting this error.

Can someone help me out?

Thanks,
--Brad
============================================================================
Bradley M. Alexander                     |   Co-Chairman,
Beowulf System Admin/Security Specialist |    NoVALUG/DCLUG Security SIG
Winstar Telecom                          |   [EMAIL PROTECTED]
(703) 889-6788                           |   [EMAIL PROTECTED]
============================================================================
Never draw fire, it irritates everyone around you.
                                                --Murphy's Laws of Combat

Reply via email to