Michael --

...and then Michael Donaghy said...
% On Mon, Apr 24, 2000 at 07:40:38PM -0400, David T-G wrote:
% > ...and then Michael Donaghy said...
% > % 
% > % Eg. Fetchmail pulls mail from pop server & I want to be able to save
% > % these messages locally.  I also have e-mail on an imap server & when I
% > % save a message from the imap server I want to save it to an imap folder.
% > 
% > In short, read up on folder-hooks, which do things (like change settings)
% > based on the folder you're reading (versus a send-hook, which keys from
% > your recipients, for example).  They are documented in the manual.txt
% > file that comes with mutt.
% 
% Here is part of my .muttrc file:
% ----------
% folder-hook "{uni00map.unity.ncsu.edu/ssl}INBOX" set 
folder={uni00map.unity.ncsu.edu/ssl}INBOX
% folder-hook . set folder=~/mail
...
% ----------
% When starting, it gives this error:
% Error in /home/mdonaghy/.muttrc, line 25: Invalid content of \{\}

My brother ran into this recently as he was playing with IMAP and two
personalities.  Since the {} would usually imply a regexp and he couldn't
find a way to escape them, he had to just leave them out.

Perhaps your folder-hook could be something like

  folder-hook "uni00.*ncsu.edu.ssl.INBOX" set ...

as worked for him (I left in the . at .edu since it matches anyway, and I
just used . instead of / to keep things simple).


...
% If anyone has more ideas of how let me look at & save to folders at
% different locations, your response will be greatly appreciated.

HTH & HAND


% 
% -- 
% Michael Donaghy              Treasurer, NCSU ACM/AITP, 1999-2001
% [EMAIL PROTECTED]        Webmaster, Linux User's Group @ NCSU
% (919) 512-1144               COE Computer Committee U-Grad. Rep.
% N.C. State University        CSC Student


:-D
-- 
David T-G                       * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]      * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/        Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*

PGP signature

Reply via email to