IMAP authentication in one domain (my institution) and redirect to Gmail

Hokan hokan.hokan at gmail.com
Tue Aug 11 13:14:43 UTC 2020


I use Mutt with Gmail and it works well, but was fiddly to set up.

Somebody wrote a blog post on how to do it:

https://luxing.im/mutt-integration-with-gmail-using-oauth/


On Tue, Aug 11, 2020 at 10:01:43AM -0300, Marcelo Laia wrote:
> Hi,
> 
> My Institution migrate the e-mail server to G-Suite Gmail.
> 
> So, the IMAP connection to institutional e-mail server go away.
> 
> Now, we access Gmail at https://mail.google.com and enter our full
> login, like this:
> 
> myloginname at myinstitutiondomain.edu.br
> 
> and click next. So, it's redirected to a login domain, like this:
> 
> https://xxxxx.myinstitutiondomain.edu.br/YYYYYYYY.php/xxxxxxxx/99999999999pass.php?AuthState=bb523%3Ahttps%3A%2F%2Fxxxxx.myinstitutiondomain.edu.br%2Fsaml2%2Fidp%2FSSOSkkkkkkkk.php%3FsUUUUUUUUid%3Dgoogle.com%252Fa%252Fmyinstitutiondomain.edu.br%26cookieTime%3XXXXXXXXXX%26RelayState%3Dhttps%253A%252F%252Faccounts.google.com%252FCheckCookie%253Fcontinue%253Dhttps%25253A%25252F%25252Fmail.google.com%25252Fmail%25252F%2526service%253Dmail%2526ss%253D1%2526scc%253D1%2526rm%253Dfalse%2526osid%253D1%2526ltmpl%253Ddefaultzzzzzzzzzzzzzzz
> 
> We need to enter our login name again and our password, in a form, like
> this:
> 
> myloginname (field 1)
> mypassword  (field 2)
> 
> and click next.
> 
> There are some way to connect offlineimap and msmtp, and so on mutt, in
> this authentication way?
 
-- 
Hokan
Bicyclist
Sysadmin


More information about the Mutt-users mailing list