On 15 Oct 13:20, Patrick Shanahan wrote:
> You fail to mention what you are using for smtp?  Which is where you would
> normally designate the "account" for transmission.

Right. I use mutt as the sender.
In my  ~/.mutt/account/gmailrc I've this configuration:

set folder = ~/Mail/gmail
set spoolfile = +GMAIL_inbox
set mbox = +GMAIL_inbox
set postponed = +GMAIL_postponed
set record = +GMAIL_sent
set my_pass="my password"
set my_user=a...@alanleoni.ch
set smtp_url=smtps://$my_user:$my_p...@smtp.gmail.com
set realname="Alan Leoni"
set from=a...@alanleoni.ch

Now I want to create another account like this:

set folder = ~/Mail/gmail
set spoolfile = +GMAIL_inbox
set mbox = +GMAIL_inbox
set move=no
set postponed = +GMAIL_postponed
set record = +GMAIL_sent
## Send options.
set my_pass="my password2"
set my_user=alanle...@gmail.com
set smtp_url=smtps://$my_user:$my_p...@smtp.gmail.com
set realname="Alan Leoni"
set from=alanle...@gmail.com

I want that the folders where I save the messages (inbox, postponed and sent
) remain the same (I use POP to get email), but they are sent from different
addresses.
The question is: How do I choose the correct e-mail address? Is there a
macro to do that?

Thanks a lot,
Alan

-- 
Alan Leoni

Reply via email to