Saving Mails into different folders (IMAP)

2008-03-03 Thread Marcus Franke

Hello,

I am used to tag and save messages into different folders in my 
imap account. No problem.

Just one question, per default mutt uses the senders email address as
suggested folder to save the message into. Some example, I receive a
message from [EMAIL PROTECTED] and the suggestes folder would be 'foo'.

Is there a way to use something like an alias that messages from foo
should be safed into a folder 'xyz'? Would save me some keystrokes when
sorting the mails :)



regards,
Marcus


Re: Saving Mails into different folders (IMAP)

2008-03-03 Thread Matt Okeson-Harlow
On Mon, Mar 03, 2008 at 11:32:38AM +0100, Marcus Franke wrote:
> 
> Hello,
> 
> I am used to tag and save messages into different folders in my 
> imap account. No problem.
> 
> Just one question, per default mutt uses the senders email address as
> suggested folder to save the message into. Some example, I receive a
> message from [EMAIL PROTECTED] and the suggestes folder would be 'foo'.
> 
> Is there a way to use something like an alias that messages from foo
> should be safed into a folder 'xyz'? Would save me some keystrokes when
> sorting the mails :)

Take a look at 'save-hooks'

Section 3.14 of the manual:

http://www.mutt.org/doc/manual/manual-3.html
> 
> 
> 
> regards,
> Marcus

-- 
Matt Okeson-Harlow
My latest hobby/obsession:  http://technomage.net/camera
"kernel panic in the shared library with the named pipe..."
  -- allbery_b, #lopsa  2007-09-19


signature.asc
Description: Digital signature


Re: Saving Mails into different folders (IMAP)

2008-03-03 Thread sunway
save-hook [EMAIL PROTECTED] =foo

On Mon, Mar 03, 2008 at 11:32:38AM +0100, Marcus Franke wrote:
>
>Hello,
>
>I am used to tag and save messages into different folders in my 
>imap account. No problem.
>
>Just one question, per default mutt uses the senders email address as
>suggested folder to save the message into. Some example, I receive a
>message from [EMAIL PROTECTED] and the suggestes folder would be 'foo'.
>
>Is there a way to use something like an alias that messages from foo
>should be safed into a folder 'xyz'? Would save me some keystrokes when
>sorting the mails :)
>
>
>
>regards,
>Marcus

-- 
sunway

"It is impossible to defeat an ignorant man in argument. "


Re: Mailing lists and subscribe

2008-03-03 Thread Rado S
=- Jorge Luis Gonzalez wrote on Sat  1.Mar'08 at 14:21:43 -0500 -=

> I'm using the following to list and subscribe to my mailing lists:
> 
> unlists *
> lists `for file in ~/Mail/lists/*; do echo -n "=lists/$(basename \
>   $file) "; done`
> 
> unsubscribe *
> subscribe `for file in ~/Mail/lists/*; do echo -n "=lists/$(basename \
> $file) "; done`

You don't need both, re-rtfm.

> When I try to follow up to a mailing list using L, I get "mailing
> lists not found." What's wrong with the lists and subscribe lines?

Inspect the output of your constructs in a shell before you let mutt
eat it.
Does it match ML-identification in To: ?

See also http://WIKI.mutt.org/?DebugConfig

-- 
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL you do: you get what you give.


Re: Replying to Email / Removing previous signature

2008-03-03 Thread Chris Bannister
On Sun, Mar 02, 2008 at 02:51:32PM +0100, Eyolf Østrem wrote:
> 
> 
> On 27.02.2008 (17:37), Breen Mullins wrote:
> > Since my suggested mapping 
> > map ,ds :.,/^-- $/-1dO
> >
> > only makes sense if I'm editing a mail, I pulled it from my .vimrc
> > and dropped it into ~/.vim/after/syntax/mail.vim .
> 
> For what it's worth, I have the following in my mutt-vimrc file:
> 
> imap ff :/^-- $/+1,$d:r !fortune -e
> nmap ff :/^-- $/+1,$d:r !fortune -e
> 
> imap dd :,/^-- $/-2di
> nmap dd :,/^-- $/-2di
> 
> The first changes the fortune cookie if I'm not happy with it and leaves
> the cursor in place, the second removes everything from the cursor to the
> signature (old top-posters leftovers, etc.), and leaves the editor in
> insert mode (optional, but that's the way I like it).

So in your .muttrc do you have something like:

set editor ="vim -u mutt-vimrc"

or ...?

The -u option skips all other initialisation, which would mean
options like 'textwidth= ' would be lost.

-- 
Chris.
==


Re: Replying to Email / Removing previous signature

2008-03-03 Thread Eyolf Østrem
On 04.03.2008 (15:34), Chris Bannister wrote:
> So in your .muttrc do you have something like:
> 
>   set editor ="vim -u mutt-vimrc"
> 
> or ...?
> 
> The -u option skips all other initialisation, which would mean
> options like 'textwidth= ' would be lost.

Yes, something like that. I've been playing around with various options; I
figured I don't need to load all the plugins for latex or html when I just
want to write a mail, so I have a mutt-vimrc file as you say, with only the
essential settings, such as textwidth. 

However, I've often found myself needing the plugins even when editing
mail, so I'm changing my mind on this, going for settings in
~/.vim/after/mail instead. 

Eyolf

-- 
The only really good place to buy lumber is at a store where the lumber has
already been cut and attached together in the form of furniture, finished,
and put inside boxes.
-- Dave Barry, "The Taming of the Screw"