archiving mail from one imap account to another

2011-02-02 Thread Hein Zelle
Dear Mutt users,

I have a local hierarchy of folders (either on an IMAP account or in ~/Maildir).
Work has set up a new IMAP account to store shared project mails in.  
I would like to have a quick shortcut to save something on the project folders 
on this new 
account, WITHOUT resetting my folder variable.  I need to access both ~/Maildir 
and the 
other imap account for browsing and copying of emails.

So, what I would like is something like a second "=" variable or another 
shortcut:

1) change to source folder

c=projects/testproject

2) tag mails to copy

3) copy them, by browsing to the relevant target folder on the projects IMAP 
account, 
   something like this:

;C$proj/


Step 3 is where I'm lost.  I can't use =projects/ to get a folder list, as 
= points 
to my ~/Maildir directory.  If I reset = to point to the projects account, I 
can't access 
my source folders anymore.

Is there a way to set up a secondary shortcut to refer to something like

imap://my.username@some.remote.server/INBOX

so I can use it in a copy command just like the = folder?

I suppose I can try to write a macro that temporarily overrides the = folder 
and sets it 
back afterward.  Any tips appreciated!


Kind regards,

Hein Zelle



Re: archiving mail from one imap account to another

2011-02-02 Thread Michelle Konzack
Hello Hein Zelle,

> Is there a way to set up a secondary shortcut to refer to something like
> 
> imap://my.username@some.remote.server/INBOX

This was working many years ago when I used Debian/Woody but since Sarge
it does not more work.

"mutt" ignore the USERNAME@ part and you can  not  more  copy  from  one
account to another, except it is another machine where you have the same
login name AND password.  I have alread reported this bug to the  Debian
BTS since it is VERY annoying.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature