Re: Current mailbox as $record

2012-02-08 Thread Nathan Stratton Treadway
 On Thu, Feb 09, 2012 at 02:15:19 +0100, E. Prom wrote:
> On Saturday, 04 February 2012, 22:58:12 -0500,
> "David J. Weller-Fahy"  wrote:
[...]
> > Check Table 4.7 in the manual.
> 
> New also. At least for Debian ;)

I had the section going back to mutt 1.5.9 (Debian Sarge)... though the
section number changes from version to version.  Search the manual for
"Mailbox Shortcuts".

Nathan


Re: Current mailbox as $record

2012-02-08 Thread E. Prom
On Saturday, 04 February 2012, 22:58:12 -0500,
"David J. Weller-Fahy"  wrote:
> * E. Prom  [2012-02-04 19:23 -0500]:
> > How can I make mutt to save outgoing mail to the currently opened
> > mailbox?
> 
> Try the following (from my muttrc):
> 
> #v+
> folder-hook . "set record=^"  # sent mail gets saved in current mailbox
> #v-

Thanks. Does not work with the version in Debian stable (1.5.20-9), but
should be OK after upgrade.


> > I tried several hooks, but none accepted the sequence "%b" (while
> > others, like "%a", worked fine).
> > 
> > Any idea?
> 
> Check Table 4.7 in the manual.

New also. At least for Debian ;)

Regards,

-- 
E. Prom


Re: How to change profile on the fly?

2012-02-08 Thread Marcelo Laia
On Mon, Feb 06, 2012 at 03:52:08PM +0100, nb wrote:

> That's right
> But it's better in conjunction with "folder-hook".
> Thus, when you change folder, you also change the profile. It's
> automatic. That's what I do because I use 3 different accounts with 3
> associated smtp servers.


Is it possible to share your specific configuration files sections?


> !DSPAM:4f2fe9bb2251855819418!

Your message was tagged. I don't why.

Thank you very much!

-- 
  O__   --- Marcelo


Re: How to change profile on the fly?

2012-02-08 Thread Marcelo Laia
2012/2/6 Patrick Shanahan :
> * Marcelo Luiz de Laia  [02-06-12 07:26]:
>
>> When I was in my Yahoo mbox,  I need that all replaies is sent by yahoo
>> smtp. So, I need to set, on the fly, yahoo profile and sig.
>
> :source yahoo.profile

If I do that, I got the same settings than gmail.profiles. It is tha
same and not solve my mistakes!


-- 
  O__   --- Marcelo


Re: How to change profile on the fly?

2012-02-08 Thread Marcelo Luiz de Laia
On Wed, 08 Feb 2012, Jamie Paul Griffin wrote:
> 
> so what happens if you are in your yahoo folder,


When I am in yahoo folder and hit M, my gmail address appear on From:
field and in Replay to: field. I would like to overrride this. I would
like to see in my From: and Replay to: fields, when in yahoo folder, my
yahoo settings.

-- 
Marcelo
Brasil (Brazil, for English Speakers)
Linux user number 487797


Re: How to change profile on the fly?

2012-02-08 Thread Jamie Paul Griffin
On Mon, Feb 06, 2012 at 03:52:08PM +0100, nb wrote:
> Le 2012-02-06 08:50, Patrick Shanahan a ?crit :
> > * Marcelo Luiz de Laia  [02-06-12 07:26]:
> > > 
> > > When I was in my Gmail mbox, I need that all replaies is sent by gmail
> > > smtp. So, I need to set, on the fly, gmail profile and sig.
> > 
> > :source gmail.profile
> >  
> > > When I was in my Yahoo mbox,  I need that all replaies is sent by yahoo
> > > smtp. So, I need to set, on the fly, yahoo profile and sig.
> > 
> > :source yahoo.profile
> >  
> > > When I was in my Work mbox,  I need that all replaies is sent by work
> > > smtp. So, I need to set, on the fly, work profile and sig.
> > 
> > :source work.profile
> 
> That's right
> But it's better in conjunction with "folder-hook".
> Thus, when you change folder, you also change the profile. It's
> automatic. That's what I do because I use 3 different accounts with 3
> associated smtp servers.
> In the profile file you can put : set hostname, from, use_envelope_from,
> envelope_from_address, postponed, record, trash, and of course smtp_url
> 
> account-hook is also usefull for changing imap_user...
> 
> !DSPAM:4f2fe9bb2251855819418!
> 
> 
so what happens if you are in your yahoo folder, for example, but then need to 
write and send an email using your gmail account settings? You would have to 
change into that folder just so the necessary settings become usable. I found 
that to be a PITA. send-hook can be used to overcome that. You may not find 
having to change folders for that purpose a problem so it wouldn't matter but 
it's something else to think about. 

Jamie