relation between folder-hook and push

2010-03-17 Thread peng shao
I recently found the following interesting phenomenon: I included the following lines in my muttrc mailboxes ~/.MuttMail/inbox set spoolfile=~/.MuttMail/inbox folder-hook . 'push :default' folder-hook inbox 'push :inbox' This is the only four lines in the muttrc because I want to do a clean test

Re: Need help on setting multiple accounts

2010-03-17 Thread peng shao
On Wed, Mar 17, 2010 at 12:01 PM, peng shao wrote: > Hi. I was trying to set up multiple accounts with pop3+imap combined > but with no success, so I have to seek help here. Maybe we can discuss > a simple case at first. Asssume  I have two IMAP accounts from gmail > and yahoo > Then I may write t

Re: mutt and gpg not in tune

2010-03-17 Thread Chuck Smith
On Wed, Mar 17, 2010 at 09:11:53PM +0100, Jan-Herbert Damm wrote: > Hello, > > Dale Raby wrote on 17.03.10: > > I'm not an expert, but shouldn't mutt call /home/jan/.gnupg? > Indeed! Unfortunately I have no idea how mutt generates the commands for > encryption. > > In muttrc i can't find any hi

Re: mutt and gpg not in tune

2010-03-17 Thread Niels den Otter
Dear Jan, On Wednesday, 17 March 2010, Jan-Herbert Damm wrote: > > gpg and mutt used to work fine. now mutt won't find any public > > keys anymore. I have run the following tests: > [...] > > now i have spent some additional hours on this problem which might > turn out to be some idiot fault of t

Re: mutt and gpg not in tune

2010-03-17 Thread Jan-Herbert Damm
Hello, Dale Raby wrote on 17.03.10: > I'm not an expert, but shouldn't mutt call /home/jan/.gnupg? Indeed! Unfortunately I have no idea how mutt generates the commands for encryption. In muttrc i can't find any hint to s/mime. The variable pgp_sign_command is set to a sensible gpg command. It i

Re: How to obtain the fullname of current mailbox or use nickname?

2010-03-17 Thread peng shao
On Wed, Mar 17, 2010 at 5:17 AM, peng shao wrote: > Hi, I read from the reference that in the status bar, the variable %f > indicating the full path of the current mailbox. > But this is not always the way it should be, if I set default mailbox > as ~/.mutt/inbox then if I enter mutt from the > te

Re: mutt and gpg not in tune

2010-03-17 Thread Dale Raby
I'm not an expert, but shouldn't mutt call /home/jan/.gnupg? -- "Nothing is ever so bad that it couldn't be worse, and if it could be worse than it is, then maybe its not so bad!"

Need help on setting multiple accounts

2010-03-17 Thread peng shao
Hi. I was trying to set up multiple accounts with pop3+imap combined but with no success, so I have to seek help here. Maybe we can discuss a simple case at first. Asssume I have two IMAP accounts from gmail and yahoo Then I may write the first few lines in my muttrc like: mailboxes imaps://imap.

Re: mutt and gpg not in tune

2010-03-17 Thread Jan-Herbert Damm
dear mutt-users, Probably my question was too imprecise. Jan-Herbert Damm wrote on 16.03.10: > hello all, > > gpg and mutt used to work fine. now mutt won't find any public keys anymore. I > have run the following tests: [...] now i have spent some additional hours on this problem which might tu

Re: set From: based on To:

2010-03-17 Thread steve
Le 17-03-2010, à 09:51:24 -0400, Patrick Shanahan (ptilopt...@gmail.com) a écrit : > * steve [03-17-10 09:14]: > > > > I receive an email with: > > > > > > > > From: a...@example.com > > > > To: m...@foo.bar > > > > > > > > (I don't have any special settings for a...@example.com) > > > > > >

Re: set From: based on To:

2010-03-17 Thread Rado S
=- steve wrote on Wed 17.Mar'10 at 14:31:58 +0100 -= > Le 17-03-2010, à 09:04:38 -0400, peng shao (shallp...@gmail.com) a écrit : > > > I am not sure if I am correct but if you just simply want > > From: m...@foo.bar > > To: a...@example.com > > > > Then simple > > > > set envelope_from ="yes"

Re: set From: based on To:

2010-03-17 Thread Patrick Shanahan
* steve [03-17-10 09:14]: > > > I receive an email with: > > > > > > From: a...@example.com > > > To: m...@foo.bar > > > > > > (I don't have any special settings for a...@example.com) > > > > > > I hit 'r' and I get: > > > > > > From: defa...@email.bar > > > To: a...@example.com > > > > > >

Re: Mark messages as replied

2010-03-17 Thread Simon Ruderich
On Wed, Mar 17, 2010 at 01:44:49PM +0100, Udo Hortian wrote: > [snip] > > But does anybody have an idea why mutt sometimes forgets to toggle the > r-flag (i.e. replied) when I reply to a message storing this message > first in drafts, then further edit it and finally send it? One situation > in whi

Re: set From: based on To:

2010-03-17 Thread steve
Le 17-03-2010, à 09:04:38 -0400, peng shao (shallp...@gmail.com) a écrit : > On Wed, Mar 17, 2010 at 4:52 AM, steve wrote: > > Hi mutt-users, > > > > I have several addresses and when someone I don't know sends me an email, > > this one goes in my inbox (procmail default). Now if I hit 'r', the F

Re: VIM Color Syntax

2010-03-17 Thread Simon Ruderich
On Tue, Mar 16, 2010 at 11:02:25AM -0400, Chuck Smith wrote: > I know this is a little off topic for this list, but my latest > update from Ubuntu resulted in color syntax in vim for reply > messages in Mutt to disappear. Now everything is the default > console green. Any ideas? Hi, Check that th

Re: set From: based on To:

2010-03-17 Thread steve
Hi Patrick, Thanks replying to me. Le 17-03-2010, à 08:29:40 -0400, Patrick Shanahan (ptilopt...@gmail.com) a écrit : > * steve [03-17-10 04:53]: > > I receive an email with: > > > > From: a...@example.com > > To: m...@foo.bar > > > > (I don't have any special settings for a...@example.com

Re: set From: based on To:

2010-03-17 Thread peng shao
On Wed, Mar 17, 2010 at 4:52 AM, steve wrote: > Hi mutt-users, > > I have several addresses and when someone I don't know sends me an email, > this one goes in my inbox (procmail default). Now if I hit 'r', the From > header will be automaticaly set to my default email, which is sometimes > not th

Re: Mark messages as replied

2010-03-17 Thread Udo Hortian
On Tue, Mar 16, 2010 at 05:53:10PM -0700, Gary Johnson wrote: > On 2010-03-17, Udo Hortian wrote: > > Dear mutt users, > > > > I am using mutt since years and love it. Still, sometimes it happens to > > me, that I am beginning to reply to a message, I save it as a draft, > > continue to edit it an

Re: set From: based on To:

2010-03-17 Thread Patrick Shanahan
* steve [03-17-10 04:53]: > I receive an email with: > > From: a...@example.com > To: m...@foo.bar > > (I don't have any special settings for a...@example.com) > > I hit 'r' and I get: > > From: defa...@email.bar > To: a...@example.com > > > but I would like to have: > > From: m...@foo.bar

How to obtain the fullname of current mailbox or use nickname?

2010-03-17 Thread peng shao
Hi, I read from the reference that in the status bar, the variable %f indicating the full path of the current mailbox. But this is not always the way it should be, if I set default mailbox as ~/.mutt/inbox then if I enter mutt from the terminal, the %f is always =inbox. For local mailboxes it is no

set From: based on To:

2010-03-17 Thread steve
Hi mutt-users, I have several addresses and when someone I don't know sends me an email, this one goes in my inbox (procmail default). Now if I hit 'r', the From header will be automaticaly set to my default email, which is sometimes not the preferred behaviour, I would like to use the email addre