knowledge-database (beta)

Current group: comp.mail.mutt

How to move message from one mailbox to another ?

How to move message from one mailbox to another ?  
Jing Cheng
 Re: How to move message from one mailbox to another ?  
Alan Connor
 Re: How to move message from one mailbox to another ?  
Jing Cheng
 Re: How to move message from one mailbox to another ?  
Francesco Ciattaglia
 Re: How to move message from one mailbox to another ?  
Karl Billeter
 Re: How to move message from one mailbox to another ?  
Alan Connor
 Re: How to move message from one mailbox to another ?  
Jing Cheng
From:Jing Cheng
Subject:How to move message from one mailbox to another ?
Date:Wed, 29 Dec 2004 04:47:56 GMT
Hi,

I know 'C' is copy, and I have tried '?' for the help,
but didn't find how to move a message.
Can anyone help me with this ?

Thank you!

Jing
From:Alan Connor
Subject:Re: How to move message from one mailbox to another ?
Date:Wed, 29 Dec 2004 05:13:24 GMT
On Wed, 29 Dec 2004 04:47:56 GMT, Jing Cheng wrote:
>
>
> Hi,
>
> I know 'C' is copy, and I have tried '?' for the help,
> but didn't find how to move a message.
> Can anyone help me with this ?
>
> Thank you!
>
> Jing

Okay. You copy the message to another mailbox. Then you
delete it in the present mailbox. 2 keystrokes and the
mailbox's name.

There's also this (hit F1 for the manual):


3.10. Using Multiple spool mailboxes

Usage: mbox-hook [!]pattern mailbox

This command is used to move read messages from a specified
mailbox to a different mailbox automatically when you quit or
change folders. pattern is a regular expression specifying the
mailbox to treat as a ``spool'' mailbox and mailbox specifies
where mail should be saved when read.

Unlike some of the other hook commands, only the first matching
pattern is used (it is not possible to save read mail in more
than a single mailbox).


AC
From:Jing Cheng
Subject:Re: How to move message from one mailbox to another ?
Date:Wed, 29 Dec 2004 05:48:43 GMT
Alan Connor wrote:
> On Wed, 29 Dec 2004 04:47:56 GMT, Jing Cheng wrote:
>
>>
>>Hi,
>>
>> I know 'C' is copy, and I have tried '?' for the help,
>>but didn't find how to move a message.
>>Can anyone help me with this ?
>>
>>Thank you!
>>
>>Jing
>
>
> Okay. You copy the message to another mailbox. Then you
> delete it in the present mailbox. 2 keystrokes and the
> mailbox's name.
>
> There's also this (hit F1 for the manual):
>
>
> 3.10. Using Multiple spool mailboxes
>
> Usage: mbox-hook [!]pattern mailbox
>
> This command is used to move read messages from a specified
> mailbox to a different mailbox automatically when you quit or
> change folders. pattern is a regular expression specifying the
> mailbox to treat as a ``spool'' mailbox and mailbox specifies
> where mail should be saved when read.
>
> Unlike some of the other hook commands, only the first matching
> pattern is used (it is not possible to save read mail in more
> than a single mailbox).
>
>
> AC
>

I use procmail to deliver my email into different "mbox-file",
unmatched emails are put in a "default" mailbox.
when I have read them i want to move them into a mailbox
manuually -- seems like I'm a procmail.

I thought there is a command to do this, instead of
'C'(Copy) copy them, then 'd'(delete).
may be like 'M'(move) or 'm'.

Jing
From:Francesco Ciattaglia
Subject:Re: How to move message from one mailbox to another ?
Date:Thu, 30 Dec 2004 19:11:02 +0100
* Jing Cheng [29-12-2004 05:48 comp.mail.mutt]:
> Alan Connor wrote:
>> On Wed, 29 Dec 2004 04:47:56 GMT, Jing Cheng wrote:
>>
>>>
>>>Hi,
>>>
>>> I know 'C' is copy, and I have tried '?' for the help,
>>>but didn't find how to move a message.
>>>Can anyone help me with this ?
>>>
>>>Thank you!
>>>
>>>Jing
>>
>>
>> Okay. You copy the message to another mailbox. Then you
>> delete it in the present mailbox. 2 keystrokes and the
>> mailbox's name.
>>
>> There's also this (hit F1 for the manual):
>>
>>
>> 3.10. Using Multiple spool mailboxes
>>
>> Usage: mbox-hook [!]pattern mailbox
>>
>> This command is used to move read messages from a specified
>> mailbox to a different mailbox automatically when you quit or
>> change folders. pattern is a regular expression specifying the
>> mailbox to treat as a ``spool'' mailbox and mailbox specifies
>> where mail should be saved when read.
>>
>> Unlike some of the other hook commands, only the first matching
>> pattern is used (it is not possible to save read mail in more
>> than a single mailbox).
>>
>>
>> AC
>>
>
> I use procmail to deliver my email into different "mbox-file",
> unmatched emails are put in a "default" mailbox.
> when I have read them i want to move them into a mailbox
> manuually -- seems like I'm a procmail.
>
> I thought there is a command to do this, instead of
> 'C'(Copy) copy them, then 'd'(delete).
> may be like 'M'(move) or 'm'.
>
> Jing
Hi!

I think you should read about mbox-hook in the manual.

mbox-hook move in a mailbox of your choice messages read and not
deleted that match a pattern

look also at fcc-hook for move messages sent....

ciao,
:-) Ataualpa
--
Il cinismo è l'arte di vedere le cose come sono, non come dovrebbero
essere. [Oscar Wilde]
*-| Linux is Better: Open & Free! |*| http://ataualpa.altervista.org |-*
From:Karl Billeter
Subject:Re: How to move message from one mailbox to another ?
Date:29 Dec 2004 05:35:49 GMT
On 2004-12-29, Alan Connor wrote:
> On Wed, 29 Dec 2004 04:47:56 GMT, Jing Cheng wrote:
>>
>>
>> Hi,
>>
>> I know 'C' is copy, and I have tried '?' for the help,
>> but didn't find how to move a message.
>> Can anyone help me with this ?
>>
>> Thank you!
>>
>> Jing
>
> Okay. You copy the message to another mailbox. Then you
> delete it in the present mailbox. 2 keystrokes and the
> mailbox's name.

Or 's' for save?

Karl
From:Alan Connor
Subject:Re: How to move message from one mailbox to another ?
Date:Wed, 29 Dec 2004 06:06:16 GMT
On 29 Dec 2004 05:35:49 GMT, Karl Billeter wrote:
>
>
> On 2004-12-29, Alan Connor wrote:
>> On Wed, 29 Dec 2004 04:47:56 GMT, Jing Cheng wrote:
>>>
>>>
>>> Hi,
>>>
>>> I know 'C' is copy, and I have tried '?' for the help,
>>> but didn't find how to move a message.
>>> Can anyone help me with this ?
>>>
>>> Thank you!
>>>
>>> Jing
>>
>> Okay. You copy the message to another mailbox. Then you
>> delete it in the present mailbox. 2 keystrokes and the
>> mailbox's name.
>
> Or 's' for save?
>
> Karl

:-)

It does work that way, doesn't it! Been doing it so long I don't
even notice the details anymore.

There you go, Jing.

(hit s then = then enter the mailbox name or ? for list of
mailboxes or just use the default mailbox name that Mutt offers)

At least _someone_ is paying attention around here.

It *would* make sense to have the word "move" in the Save command
description in the manual.

I searched \<[Mm]ove\> and didn't find it there.


AC
From:Jing Cheng
Subject:Re: How to move message from one mailbox to another ?
Date:Wed, 29 Dec 2004 06:22:05 GMT
Alan Connor wrote:
> On 29 Dec 2004 05:35:49 GMT, Karl Billeter wrote:
>
>>
>>On 2004-12-29, Alan Connor wrote:
>>
>>>On Wed, 29 Dec 2004 04:47:56 GMT, Jing Cheng wrote:
>>>
>>>>
>>>>Hi,
>>>>
>>>> I know 'C' is copy, and I have tried '?' for the help,
>>>>but didn't find how to move a message.
>>>>Can anyone help me with this ?
>>>>
>>>>Thank you!
>>>>
>>>>Jing
>>>
>>>Okay. You copy the message to another mailbox. Then you
>>>delete it in the present mailbox. 2 keystrokes and the
>>>mailbox's name.
>>
>>Or 's' for save?
>>
>>Karl
>
>
> :-)
>
> It does work that way, doesn't it! Been doing it so long I don't
> even notice the details anymore.
>
> There you go, Jing.
>
> (hit s then = then enter the mailbox name or ? for list of
> mailboxes or just use the default mailbox name that Mutt offers)
>
> At least _someone_ is paying attention around here.
>
> It *would* make sense to have the word "move" in the Save command
> description in the manual.
>
> I searched \<[Mm]ove\> and didn't find it there.
>
>
> AC
>
>

Yeah !
's' works,

I thought 's' is for save an message into one file , but not append.
I was wrong.

's' would append the message to a file, if you already have some
messages in a file.

Thank you, guys!

Jing
   

Copyright © 2006 knowledge-database   -   All rights reserved