Automatically fill TO: based on folder

2008-08-27 Thread steve
Hi all, When creating a new message I would like mutt to fill the TO: field based on the directory in which I am curretly in. Say I'm in Familly/joe (maildir format) and I press m, mutt should put joe's address in the TO: field. Is this possible? If yes how can I achieve this? Thanks in

Re: Automatically fill TO: based on folder

2008-08-27 Thread Stefan Wimmer
* steve [EMAIL PROTECTED] [2008-08-27 14:37]: Hi all, When creating a new message I would like mutt to fill the TO: field based on the directory in which I am curretly in. Say I'm in Familly/joe (maildir format) and I press m, mutt should put joe's address in the TO: field.

Re: extract header from current message (to pass to shell)?

2008-08-27 Thread Marianne Promberger
Thanks guys, I wasn't quite sure how to integrate details of Patrick's procmailrc suggestions, as I'm using mutt locally (combined with offlineimap) and have procmail filter remotely on the server. However, I now do use a mutt macro procmail combo, like this: in ~/.muttrc: macro index I

Re: extract header from current message (to pass to shell)?

2008-08-27 Thread Jussi Peltola
On Wed, Aug 27, 2008 at 02:44:41PM +0100, Marianne Promberger wrote: Non-mutt related question in case someone with server experience would like to comment: I'm not directly rsyncing up, but am calling a shell script that first does one ping to see whether I can reach the server. Would it

Re: how to interrupt

2008-08-27 Thread bill lam
On Tue, 26 Aug 2008, Rocco Rutte wrote: Is there progress in the mean time? How long does it take? Can you exclude networking problems of any kind? Currently there's no way to interrupt, though IIRC there's a enhancement request to support it for mutt 2.0. Rocco Thank Rocco and Kyle

Re: how to interrupt

2008-08-27 Thread Rocco Rutte
Hi, * bill lam wrote: Some email contains attachment of size around 3 to 6 MB. Actually I had downloaded them but apparently the local cache doesn't work. So the hang is actually expected? What did you try to make the local cache work? It should be just setting $message_cachedir should do.

Re: Automatically fill TO: based on folder

2008-08-27 Thread Gary Johnson
On 2008-08-27, steve [EMAIL PROTECTED] wrote: Hi all, When creating a new message I would like mutt to fill the TO: field based on the directory in which I am curretly in. Say I'm in Familly/joe (maildir format) and I press m, mutt should put joe's address in the TO: field.

Re: Automatically fill TO: based on folder

2008-08-27 Thread felix
On Wed, Aug 27, 2008 at 09:11:43AM -0700, Gary Johnson wrote: Yes. Here's an example of what I do so that I can address messages to the mailing list corresponding to the folder I'm in by typing 'M': folder-hook +Incoming/mutt-users \ 'macro index,pager M mailmutt-users^M^M

Re: Automatically fill TO: based on folder

2008-08-27 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, August 27 at 10:36 AM, quoth [EMAIL PROTECTED]: Speaking of similar things, I see a lot of macros on this list, and I have not used them yet. I wanted to set Fcc: to the folder I am mailing from, and tried doing this for each

mutt configuration for windows

2008-08-27 Thread Christopher Lemire
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello mutt users, I have Mutt pretty well configured in Linux using my gmail with imap/remote folders and learned a lot about that almost eliminating the need to ever log into the gmail web interface. I found mutt for windows and downloaded that since

Re: Automatically fill TO: based on folder

2008-08-27 Thread felix
On Wed, Aug 27, 2008 at 12:58:11PM -0500, Kyle Wheeler wrote: An easy way to set the FCC to whatever the current folder is would be: folder-hook . 'set record=^' It works ... Interesting ... I had a version of that, but with ^ instead of the plain ^, and it was commented out for not

Keeping two copies of sent messages

2008-08-27 Thread mimosinnet
Hi! Is it possible to save two copies of sent messages? The idea is to have a copy of sent messages depending on the recipient, and another copy depending on the account sent. This is what I have so far: 1.- A macro sources different identities, and the sourced file sets the mailbox depending

Re: Replying to a specific message

2008-08-27 Thread Shreevatsa R
On Wed, Aug 27, 2008 at 12:54 AM, Kyle Wheeler [EMAIL PROTECTED] wrote: On Tuesday, August 26 at 11:46 PM, quoth Shreevatsa R: Skip the escaping, and just use quotes: mutt -e push 'limit~i $MIDEntergroup-reply' $@ AFAIK quote characters aren't allowed in Message-IDs. That's probably

Re: Replying to a specific message

2008-08-27 Thread Shreevatsa R
On Wed, Aug 27, 2008 at 6:59 PM, Kyle Wheeler [EMAIL PROTECTED] wrote: On Wednesday, August 27 at 06:10 PM, quoth Shreevatsa R: The only parsing that the pattern parser needs to do is break up the user-input string into logical parts of the form (~i EXPR), (~s EXPR), etc., and then each