RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Miscellaneous > Roundcube Discussion

For more information about the ads and why they're here, please see the FAQ
Reply
  #11  
Old 11-25-2007, 06:45 PM
Registered User
 
Join Date: May 2007
Posts: 5
Downloads: 0
Uploads: 0
Default Re: Gmail goes imap!

Quote:
Originally Posted by dparry
OK, in my case it was because my ISP was blocking the ports needed for GMail's ssl to IMAP.
yes, you are right. after your post, I contacted to my server support. they opened 993 port in firewall and RC connected to Gmail within few seconds.

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 11-27-2007, 01:56 AM
Registered User
 
Join Date: Nov 2007
Posts: 1
Downloads: 0
Uploads: 0
Default Re: Gmail goes imap!

Hi all,

I've some trouble to send mail from RC (Imap access works fine).

Here's a part of my config file:
Code:
// 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';

The message given by errors log file is:
Quote:
[27-Nov-2007 02:12:20 +0100] SMTP Error: SMTP error: Failed to set sender 'mymail@gmail.com' in /usr/share/roundcube/program/steps/mail/sendmail.inc on line 340
I've checked my server and router firewalls, all necessary ports are opened on the both devices (I can open a socket with a telnet on smtp and imap server on port 465 and 993)

I've tried to replace $rcmail_config['smtp_user'] and $rcmail_config['smtp_pass'] by my mail and my password rather than %u and %p, no more lucky...

I've no more idea...

Thks for your help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 03-02-2008, 12:06 AM
Registered User
 
Join Date: Aug 2006
Posts: 64
Downloads: 0
Uploads: 0
Default Re: Gmail goes imap!

How long does it take to show the results when you perform a search if you have a large mailbox with many email messages in your inbox?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 03-27-2008, 05:28 AM
Registered User
 
Join Date: Oct 2007
Location: Hudson, Ohio, USA
Posts: 39
Downloads: 0
Uploads: 0
Default Re: Gmail goes imap!

I've got the 0.1 stable working flawlessly with GMail.
From main.inc.php:
Code:
$rcmail_config['default_host'] = 'ssl://imap.gmail.com';

// TCP port used for IMAP connections
$rcmail_config['default_port'] = 993;

$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'] = '';
Works flawlessly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 11:19 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community