On Fri, Jun 26, 2009 at 12:43:32PM +0100, Stephen Garton wrote:
> 2009/6/26 Philip Taylor <scralion...@gmail.com>:
> > Hi
> >
> > ok,
> > how do i use gmail, ie imap, and google apps, which also uses 
> > imap.gmail.com, at the same time in mutt.
> >
> > what would be the correct syntax, in muttrc. and how do you switch 
> > correctly between both accounts in mutt.
> >
> > any help would be appreciated,
> >
> > thank you.
> >
> > philip aka brobostigon
> >
> > --
> > ubuntu-uk@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> > https://wiki.ubuntu.com/UKTeam/
> >
> 
> Philip,
> 
> No idea about mutt exactly, but I use both apps (on 2 different
> domains) and gmail through thunderbird, and the only difference there
> is in the credentials, where on apps I have to have the username set
> as [userna...@[domain], whereas gmail can be just [username] or
> [userna...@[gmail.com|googlemail.com]
> 
> Apologies if you knew this already, but I took the 'any help
> appreciated' literally ;-)
> 
> Steve Garton
> http://www.sheepeatingtaz.co.uk
> 
> -- 
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/

ok, i will post a copy of my .muttrc, personal info like my passwords removed.


account-hook imap://gmail/ "set

set imap_user = "scralion...@gmail.com"
set imap_pass = "####"

set smtp_url = "smtp://scralion...@smtp.gmail.com:587/"
set smtp_pass = "####"
set from = "scralion...@gmail.com"
set realname = "Philip Taylor"

set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed="+[Gmail]/Drafts"

set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates

#

#account-hook imap://ubuntu-cym.org/ "set

#set imap_user = "philip.tay...@ubuntu-cym.org"
#set imap_pass = "####"

#set smtp_url = "smtp://scralion...@smtp.gmail.com:587/"
#set smtp_pass = "####"
#set from = "scralion...@gmail.com"
#set realname = "Philip Taylor"

#set folder = "imaps://imap.gmail.com:993"
#set spoolfile = "+INBOX"
#set postponed="+[Gmail]/Drafts"

set move = no

#set mail_check = "60"

set quit=ask-yes

# Check mail every 30 seconds.
set timeout=15

# Beep when new mail arrives.
set beep_new

auto_view text/html

#macro index <esc>1 
'c?c<kill-line>imap://ubuntu-cym.org/<enter>/INBOX<enter><enter>'
#macro index <esc>2 'c?c<kill-line>imap://gmail/<enter>/INBOX<enter><enter>'

#account-hook . 'unset imap_user; unset imap_pass; unset tunnel'




-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to