Author Topic: connect to IMAP running on a different server than the server running RoundCube  (Read 3042 times)

Offline mobilenewman

  • Newbie
  • *
  • Posts: 2
Is it even possible to use round cube running on my hosting companies server to check mail in an imap server running on my home machine?

I have set up roundcube on my hosting companies server at timmynewman.com/mail and my database checks out.  I can get to the login screen but it wont connect to my imap server running at newmanmail.doesntexist.com.

i can set up outlook to run with my home IMAP server just fine (from inside and outside my home network).


Is this possible or do i have to set up MySql, PHP, and apache on my home server?  Id rather not do that.  If its just a client like outlook why wont it connect?

any help or just an explanation would be appreciated,  thanks!
tim


my config

// 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'] = 'newmanmail.doesntexist.com';

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

// IMAP auth type. Can be "auth" (CRAM-MD5), "plain" (PLAIN) or "check" to auto detect.
// Optional, defaults to "check"
$rcmail_config['imap_auth_type'] = '';

// If you know your imap's root directory and its folder delimiter,
// you can specify them here. Otherwise they will be determined automatically.
$rcmail_config['imap_root'] = null;
$rcmail_config['imap_delimiter'] = null;

// 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'] = 'newmanmail.doesntexist.com';

// SMTP port (default is 25; 465 for SSL)
$rcmail_config['smtp_port'] = 25;

// 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;

Offline mobilenewman

  • Newbie
  • *
  • Posts: 2
seriously .. nothing?
« Reply #1 on: April 15, 2009, 10:51:39 AM »
Any help?  someone has to have an an answer .. its been a week ... thanks in advance

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Please PM'me or mail me login data for a test account:

User-Id, full email address, password, imap server, imap port, smtp server, smtp port
Regards,
Rosali
__________________
MyRoundcube Project (commercial)