On Fri, Feb 12, 2010 at 12:00 PM, Michael A. Puls II
> On Fri, 12 Feb 2010 12:20:23 -0500, Paul Lesniewski
> <paul@...> 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
> 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
> status "mailbox" (UIDNEXT UIDVALIDITY)
> NO System Error (Failure)
> Some IMAP clients choke on that. Not sure if SM would.