Author Topic: Need help newbie  (Read 4509 times)

Offline hebertovich

  • Newbie
  • *
  • Posts: 5
Need help newbie
« on: May 07, 2008, 03:21:18 PM »
If my mail host is mail.maritimeprosperity.com   what is my imap server everything I try is giving me CONNECTION TO IMAP SERVER FAILED. how can I figure out my imap or login in? I can get on to the mail server if I use my webmail login ?

Offline ozbeklar

  • Newbie
  • *
  • Posts: 4
Your IMAP Server is...
« Reply #1 on: May 07, 2008, 04:41:21 PM »
Ok, first open your main.inc.php file.
It is located in config/main.inc.php

After you open that file, find these lines:

// 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'] = '';

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

// 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'] = '';

// 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'] = '';

// 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'] = '';


After you find them, replace them with these lines:

// 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'] = 'localhost';

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

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

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

// 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'] = '%u';

// 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'] = 'mail.maritimeprosperity.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';


I HOPE THAT WILL HELP YOU. :)

Offline hebertovich

  • Newbie
  • *
  • Posts: 5
Need help newbie
« Reply #2 on: May 08, 2008, 11:54:15 AM »
Works Thanks A million!!!

Offline hebertovich

  • Newbie
  • *
  • Posts: 5
fails to send
« Reply #3 on: May 08, 2008, 12:03:59 PM »
Seems to fail when sending a message could it be SMTP requires no authentication?

Offline hebertovich

  • Newbie
  • *
  • Posts: 5
Need help newbie
« Reply #4 on: May 08, 2008, 12:15:58 PM »
I fixed it my smtp was not default 25 it was 26 all works thanks a lot Ozbecklar! Guys like rock!

Offline Neejay

  • Newbie
  • *
  • Posts: 3
Need help newbie
« Reply #5 on: May 20, 2008, 08:35:52 AM »
ozbeklar: Thanks, that solved my problem too.