Menu

Checkgmail isn't working with hosted domains.

Help
2008-05-23
2013-04-29
  • EarloftheWest

    EarloftheWest - 2008-05-23

    I still can't get this to work with hosted domains.

    Here is what is in my pref.xml file:

    Code:

    <opt archive_as_read="0"
         atomfeed_address="mail.google.com/a/hosteddomain.com/feed/atom"
         delay="120000"
         gmail_command="firefox %u"
         hosted="hosteddomain.com"
         language="English"
         nomail_command=""
         notify_command=""
         passwd="password"
         popup_delay="6000"
         save_passwd="1"
         show_popup_delay="250"
         time_24="0"
         user="username">
      <label_delay></label_delay>
    </opt>

    Can anyone suggest any tweaks to get this working?

    Additional information
    I logged out of my hosted Gmail account (in FireFox), closed and reopened my browser, went to my atom feed site: (example)
    http://mail.google.com/a/hosteddomain.com/feed/atom
    It then asked me for my username and password which I provided. It then returned:
    Unauthorized
    Error 401

    I logged back into my hosted Gmail account (in FireFox) and was then able to access the atom feed correctly (via FireFox) without being prompted for a username or password.

    This makes me think that there is something wrong with authorization with Gmails atom feeds.

     
    • Owen Marshall

      Owen Marshall - 2008-05-23

      Please try revision 30 from svn and let me know if this works ... (just run "checkgmail -update" from the commandline to update to the latest svn)

      Cheers,
      Owen

       
    • EarloftheWest

      EarloftheWest - 2008-05-23

      Owen,

      I ran:
      sudo checkgmail -update

      as you suggested. It appears that it did update. My code now says 1.13svn

      It didn't work however. I still received the same error.

      However, I changed line 730 as suggested by lembregtse and that solved my problem.

      If you want to have another look at the svn, I'll give it a try again.

      Thanks for your great work on this nifty program. This is just what I needed. :)

       
    • EarloftheWest

      EarloftheWest - 2008-05-27

      It works.
      I updated, then deleted my prefs.xml file and then ran checkgmail:
      checkgmail -hosted=[domain.com]
      and it worked fine.

       
    • Gabriel Toth

      Gabriel Toth - 2008-06-14

      Recently i did a svn checkout,
      and I still get 401 Unathorized
      with hosted domain.

      checkgmail -v says:

      CheckGmail v1.13svn
      Copyright é 2005-7 Owen Marshall

      Initialisation complete
      Logging in to Gmail ...

      Any suggestion?

      Thanks

       
      • Owen Marshall

        Owen Marshall - 2008-06-14

        Hi,

        Not really sure why the latest SVN shouldn't be working, but ...

        Make sure you're definitely using the latest version; make sure you're using the -hosted=[domain] commandline flag; try removing ~/.checkgmail and starting again.

        If none of these work, please email me and I'll see what I can do,

        Cheers,
        Owen

         
    • Brian Parma

      Brian Parma - 2009-01-20

      I am getting this error with the latest CheckGmail (I used checkgmail -update and deleted the .checkgmail directory).  I am also having the problem EarloftheWest had with the feed link.  The gmail account is through a college (ASU), which uses it's own authentication, so I was wondering if this might be the problem?

       
    • Huckle Berry

      Huckle Berry - 2009-08-24

      So, it seems my college has taken the hosted domain route, but their authentication method seems more complex then the standard hosted method, which despite having 1.13svn still doesn't work for me. I seem to need at least four cookies (two college cookies and the HID and GMAIL_AT) to login.

      After some alteration of the code I feel I am very close, but I need some help. I can provide source code if necessary -- Huck.Berry[at]gmail[dot]com

      ~Huckle

       
  • Huckle Berry

    Huckle Berry - 2009-09-21

    I have worked the problem down to the fact that Google returns a javascript redirected page from their ACS server. Maybe the simplest fix is to parse out the SAML value and post it manually back to the hosted domain?

     

Log in to post a comment.