Re: Gmail

Paul Lesniewski <[email protected]>
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <[email protected]>
On Fri, Feb 12, 2010 at 12:00 PM, Michael A. Puls II
<[email protected]> wrote:
> On Fri, 12 Feb 2010 12:20:23 -0500, Paul Lesniewski
> <[email protected]> wrote:
>
>> It has come to my attention that we could add a list of required
>> configuration settings for using Gmail as the IMAP/SMTP server behind
>> SquirrelMail.
>
> That would be cool. However, there are a few things *in general* that come
> to mind:
>
> 1. Gmail IMAP is funky on how you do things. It's best for users to read
> through <http://operawiki.info/GmailImap> to understand how Gmail IMAP
> works. If you try to use it with SM in a traditional IMAP way, you'll have
> problems (unless you install the Gmail labs imap extension, but even then,
> it's kind of buggy).

What problems specifically?  I have tested it, and aside from the
names of the special folders, I don't see any big issues.  They seem
to be mostly RFC-compliant.  I skimmed the page link you sent, but
don't see any real "problems" per se, at least for SM being used by
someone familiar with how Gmail's labels system works.

> 2. In Europe I believe, the [Gmail] folder will be [GoogleMail] instead.
> And, some other folders might have different names depending on the
> locale. I think Gmail's IMAP server supports the XLIST command exactly for
> this. But, you might not have to worry about that unless you're doing
> something GMAIL-specific in the code.

I think it's [Google Mail], but anyhow, thanks for the note - I think
I saw XLIST mentioned before but I didn't pay much attention... but it
could be something we could implement easily as an alternative if
mentioned in the capabilities response.

> 3. The Gmail IMAP and SMTP servers require ssl/tls, so it's not going to
> work at all unless the SM server supports that, afaik.

Yes.  SquirrelMail's configtest script already warns the administrator
about this if it's an issue.  FWIW, you need at PHP 4.3.0 and the
openssl extension compiled in.

> 4. Once a month or so, the Gmail IMAP server will start sending system
> failure codes when you try to select a folder and do other things. For
> example:
>
> status "mailbox" (UIDNEXT UIDVALIDITY)
> NO System Error (Failure)
>
> Some IMAP clients choke on that. Not sure if SM would.

Can't do anything about Gmail's problems....  :-)

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.