Re: change profile on the fly

2012-08-19 Thread Marcelo Luiz de Laia
Arghs! I did a misspelling! On 18/08/12 at 08:41pm, Marcelo Laia wrote: > 2012/8/15 Marcelo Laia : > # Send hooks to make replies get the appropriate From field > unhook send-hook > #send-hook . "source ~/.mutt/profile.gmail\n" > send-hook > ^(offlineimap-proj...@lists.alioth.debian.org|debian-u

Re: change profile on the fly

2012-08-18 Thread Marcelo Laia
2012/8/15 Marcelo Laia : > Hi, > > How I would change the current profile on the fly? > I solved the problem! I use folder-hook ~/.mutt/folder-hooks folder-hook . source ~/.mutt/defaults folder-hook GMail/* source ~/.mutt/gmail.muttrc folder-hook Yahoo/* source ~/.mutt/yahoo.mu

Re: change profile on the fly

2012-08-16 Thread Marco Giusti
On Wed, Aug 15, 2012 at 09:50:15AM -0300, Marcelo Laia wrote: > Hi, > > How I would change the current profile on the fly? > > I have 3 account and I would like to send mails with my username > according to current account. maybe this approach is a bit rude, but: macro compose H 'set se

Re: change profile on the fly

2012-08-15 Thread Marcelo Laia
I have this code in my: .mutt/muttrc # Send hooks to make replies get the appropriate From field unhook send-hook send-hook . "source ~/.mutt/profile.gmail\n"# attribution='Hi %v!\n\nOn %{%a, %d %b %Y}, %n wrote:\n'" send-hook ^(offlineimap-proj...@lists.alioth.debian.org|mutt-users@mutt.org) 'se

Re: change profile on the fly

2012-08-15 Thread Andreas Kneib
* Marcelo Laia schrieb am 15.08.2012 um 9:50 Uhr: > How I would change the current profile on the fly? for example (without macros) type IN mutt :set sendmail="/usr/local/bin/msmtp-enqueue.sh -a account1" :my_hdr From: "Tux Penguin" Andreas

Re: change profile on the fly

2012-08-15 Thread Rado Q
=- Marcelo Laia wrote on Wed 15.Aug'12 at 9:50:15 -0300 -= > I have 3 account and I would like to send mails with my username > according to current account. By will: "macro"s. If you're forgetful, use specific folder per account, then use "folder-hook" to adjust if you operate in this folder.

change profile on the fly

2012-08-15 Thread Marcelo Laia
Hi, How I would change the current profile on the fly? I have 3 account and I would like to send mails with my username according to current account. Thank you very much. -- O__ --- Marcelo

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 possi

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. I

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

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. >

Re: How to change profile on the fly?

2012-02-06 Thread Gary Johnson
On 2012-02-06, Patrick Shanahan wrote: > * 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 t

Re: How to change profile on the fly?

2012-02-06 Thread nb
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,

Re: How to change profile on the fly?

2012-02-06 Thread Patrick Shanahan
* 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 t

How to change profile on the fly?

2012-02-06 Thread Marcelo Luiz de Laia
Hi, I have 3 profiles, like this: http://pastebin.com/kJWwPGYT and 3 muttrc, like this: http://pastebin.com/1k1cHShC This is my /home/user/bin/scripts/mymsmpt.gmail ### script start here ### #!/bin/bash tee >(lbdb-fetchaddr -a)|/usr/bin/msmtp -a gmail $@ ### script end here ### In my muttrc I