Re: Auto message save

2010-02-07 Thread E. Prom
On Thursday, 04 February 2010, 17:18:27 -0500,
Paul Greenberg  wrote:
> Hi,
> 
> I have the following configuration. The goal is for me to be able to
> press Ctrl+q, and then e-mails based on pattern will be saved to
> different files without me confirming to create these files, and them
> delete transfered e-mail from initial mbox.
> 
> Problem: when I pres Ctrl+q, it first opens edit e-mail screen, when I
> exit it goes follows some weird pattern...for example some of mutt.org
> list ends up in personal.junk.
> 
> Please assist! :)
> 
> push "~f 
> @ussa.org=personal.junk"
> [...]

I see one problem in this line, this may not be yours but you could
first correct it and see if it's ok then.

Imagine no messages match your pattern : none is tagged, so the
save-message applies to the selected message who will go in
personal.junk. Same things for the following lines and e-mails.

My advice would be to replace tag-prefix with tag-prefix-cond.

>From the manual : « In macros or push commands, you can use the
 operator. If there are no tagged messages, Mutt will “eat”
the rest of the macro to abort it's execution. Mutt will stop “eating” the
macro when it encounters the  operator; after this operator the rest
of the macro will be executed as normal. »


Re: forward email as attachment

2010-02-07 Thread Scott Brim
michele allegedly wrote on 02/05/2010 14:52 EST:
> I'm replying to this thread even if is a little bit OT.
> I've discovered today a mutt behaviour and I want to share with you.
> 
> If you want to forward a message with an attachment, in mutt you can:
> - set the variable mime_forward and have the forwared message (plus
>   attachment) sent attacched to the new message. But I don't like having
>   the forwarded message sent as attachment. Or

I like: set mime_forward=ask-yes