Le 2012-02-06 08:50, Patrick Shanahan a écrit :
> * Marcelo Luiz de Laia <[email protected]> [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...

Reply via email to