+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: Gmail goes imap!

  1. #1
    skaero's Avatar
    skaero is online now Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,092
    Downloads
    5
    Uploads
    0

    Default Gmail goes imap!

    Thats right Google has gone to imap, So you can now access your Google account from roundcube! You first need to enable in in your Gmail account (Note, This has not been installed on all gmail accounts yet, don't worry it will be there in the next couple of days). Here is were the data is: http://mail.google.com/support/bin/a...y?answer=78799

  2. #2
    zabulus is offline Registered User
    Join Date
    Dec 2006
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default Re: Gmail goes imap!

    Hi,

    I got it up and running - but I not able to send emails using googles imaps server....

    it tells me:
    Code:
     [[02-Nov-2007 10:17:40 +0100] SMTP Error: SMTP error: Authentication failure: SMTP server does no support authentication in /var/www/roundcubemail_svn/trunk/roundcubemail/program/steps/mail/sendmail.inc on line 334
    my conf looks like:
    Code:
    // use this host for sending mails.
    // to use SSL connection, set ssl://smtp.host.com
    // if left blank, the PHP mail() function is used
    $rcmail_config['smtp_server'] = 'smtp.gmail.com';
    
    // SMTP port (default is 25; 465 for SSL)
    $rcmail_config['smtp_port'] = 465
    
    // SMTP username (if required) if you use %u as the username RoundCube
    // will use the current username for login
    $rcmail_config['smtp_user'] = 'xxxx@gmail.com';
    
    // SMTP password (if required) if you use %p as the password RoundCube
    // will use the current user's password for login
    $rcmail_config['smtp_pass'] = 'xxxx';
    
    // SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
    // best server supported one)
    $rcmail_config['smtp_auth_type'] = 'LOGIN';
    
    // SMTP HELO host
    // Hostname to give to the remote server for SMTP 'HELO' or 'EHLO' messages IN
    // Leave this blank and you will get the server variable 'server_name' or
    // localhost if that isn't defined.
    $rcmail_config['smtp_helo_host'] = '';
    
    // Log sent messages
    $rcmail_config['smtp_log'] = TRUE;
    Has anyone set it up with googles imap server ?

    Thx

    Zabi

  3. #3
    skaero's Avatar
    skaero is online now Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,092
    Downloads
    5
    Uploads
    0

    Default Re: Gmail goes imap!

    Try using this as your smtp server:
    Code:
    $rcmail_config['smtp_server'] = 'ssl://smtp.gmail.com';

  4. #4
    zabulus is offline Registered User
    Join Date
    Dec 2006
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default Re: Gmail goes imap!

    Thx - that works !!!

    Code:
    // use this host for sending mails.
    // to use SSL connection, set ssl://smtp.host.com
    // if left blank, the PHP mail() function is used
    $rcmail_config['smtp_server'] = 'ssl://smtp.gmail.com';
    
    // SMTP port (default is 25; 465 for SSL)
    $rcmail_config['smtp_port'] = 465;
    
    // SMTP username (if required) if you use %u as the username RoundCube
    // will use the current username for login
    $rcmail_config['smtp_user'] = '%u';
    
    // SMTP password (if required) if you use %p as the password RoundCube
    // will use the current user's password for login
    $rcmail_config['smtp_pass'] = '%p';
    
    // SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
    // best server supported one)
    $rcmail_config['smtp_auth_type'] = 'LOGIN';

  5. #5
    hungrycoder is offline Registered User
    Join Date
    May 2007
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Re: Gmail goes imap!

    dear,
    i can't connect to gmail using the following configuration. I get the error message:
    "Connection to IMAP server failed"

    someone plz help me

    Code:
    // automatically create a new RoundCube user when log-in the first time.
    // a new user will be created once the IMAP login succeeds.
    // set to false if only registered users can use this service
    $rcmail_config['auto_create_user'] = TRUE;
    
    // the mail host chosen to perform the log-in
    // leave blank to show a textbox at login, give a list of hosts
    // to display a pulldown menu or set one host as string.
    // To use SSL connection, enter ssl://hostname:993
    $rcmail_config['default_host'] = 'ssl://imap.gmail.com';
    
    // TCP port used for IMAP connections
    $rcmail_config['default_port'] = 993;
    
    // Automatically add this domain to user names for login
    // Only for IMAP servers that require full e-mail addresses for login
    // Specify an array with 'host' => 'domain' values to support multiple hosts
    $rcmail_config['username_domain'] = '';
    
    // This domain will be used to form e-mail addresses of new users
    // Specify an array with 'host' => 'domain' values to support multiple hosts
    $rcmail_config['mail_domain'] = '';
    
    // Path to a virtuser table file to resolve user names and e-mail addresses
    $rcmail_config['virtuser_file'] = '';
    
    // Query to resolve user names and e-mail addresses from the database
    // %u will be replaced with the current username for login.
    // The query should select the user's e-mail address as first col
    $rcmail_config['virtuser_query'] = '';
    
    // use this host for sending mails.
    // to use SSL connection, set ssl://smtp.host.com
    // if left blank, the PHP mail() function is used
    $rcmail_config['smtp_server'] = 'ssl://smtp.gmail.com';
    
    // SMTP port (default is 25; 465 for SSL)
    $rcmail_config['smtp_port'] = 465;
    
    // SMTP username (if required) if you use %u as the username RoundCube
    // will use the current username for login
    $rcmail_config['smtp_user'] = '%u';
    
    // SMTP password (if required) if you use %p as the password RoundCube
    // will use the current user's password for login
    $rcmail_config['smtp_pass'] = '%p';
    
    // SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
    // best server supported one)
    $rcmail_config['smtp_auth_type'] = 'LOGIN';
    
    // SMTP HELO host
    // Hostname to give to the remote server for SMTP 'HELO' or 'EHLO' messages
    // Leave this blank and you will get the server variable 'server_name' or
    // localhost if that isn't defined.
    $rcmail_config['smtp_helo_host'] = '';
    
    // Log sent messages
    $rcmail_config['smtp_log'] = TRUE;

  6. #6
    tekone is offline Registered User
    Join Date
    Aug 2007
    Posts
    27
    Downloads
    0
    Uploads
    0

    Default Re: Gmail goes imap!

    did you turn on IMAP in your gmail account?

  7. #7
    hungrycoder is offline Registered User
    Join Date
    May 2007
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Re: Gmail goes imap!

    yep, i did it.

  8. #8
    bntix is offline Registered User
    Join Date
    Nov 2007
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default Re: Gmail goes imap!

    Quote Originally Posted by hungrycoder
    dear,
    i can't connect to gmail using the following configuration. I get the error message:
    "Connection to IMAP server failed"

    someone plz help me
    I got the same problem here!

    Enable debug, and see the error message:

    Code:
    IMAP Error: Could not connect to ssl://imap.gmail.com at port 993: Connection timed out

  9. #9
    dparry is offline Registered User
    Join Date
    Nov 2007
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: Gmail goes imap!

    I've also got the same problem with RC2. I've got IMAP enabled on gmail and can access it with thunderbird, I've got the same config settings hungrycoder,

    If anyone out there has it working, please post your conf
    Thanks
    David

  10. #10
    dparry is offline Registered User
    Join Date
    Nov 2007
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: Gmail goes imap!

    OK, in my case it was because my ISP was blocking the ports needed for GMail's ssl to IMAP.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts