Author Topic: Can't login IMAP via roundcube (Timeouts)  (Read 188 times)

Offline the_extremist

  • Newbie
  • *
  • Posts: 6
Can't login IMAP via roundcube (Timeouts)
« on: November 01, 2020, 08:32:37 AM »
Hello, I can't login by roundcube.  On Thunderbird/Outlook everything works fine.

Code: [Select]
IMAP Error: Login failed for sadsad@newlife.net.pl against mail.newlife.net.pl from 192.168.3.2. Could not connect to ssl://mail.newlife.net.pl:993: Przekroczony czas oczekiwania na połączenie in /var/www/mail.newlife.net.pl/program/lib/Roundcube/rcube_imap.php on line 200 (POST /?_task=login&_action=login)

Code: [Select]
<ng08ara4> [2994] Connecting to ssl://mail.newlife.net.pl:993...

Code: [Select]
// ----------------------------------
// IMAP
// ----------------------------------
// The IMAP 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.
// Enter hostname with prefix ssl:// to use Implicit TLS, or use
// prefix tls:// to use STARTTLS.
// Supported replacement variables:
// %n - hostname ($_SERVER['SERVER_NAME'])
// %t - hostname without the first part
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %s - domain name after the '@' from e-mail address provided at login screen
// For example %n = mail.domain.tld, %t = domain.tld
// WARNING: After hostname change update of mail_host column in users table is
//          required to match old user data records with the new host.
$config['default_host'] = 'ssl://mail.newlife.net.pl';

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

Code: [Select]
// ----------------------------------
// SMTP
// ----------------------------------
// SMTP server host (for sending mails).
// Enter hostname with prefix ssl:// to use Implicit TLS, or use
// prefix tls:// to use STARTTLS.
// Supported replacement variables:
// %h - user's IMAP hostname
// %n - hostname ($_SERVER['SERVER_NAME'])
// %t - hostname without the first part
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %z - IMAP domain (IMAP hostname without the first part)
// For example %n = mail.domain.tld, %t = domain.tld
$config['smtp_server'] = 'ssl://mail.newlife.net.pl';

// SMTP port. Use 25 for cleartext, 465 for Implicit TLS, or 587 for STARTTLS (default)
$config['smtp_port'] = 465;

Code: [Select]
// 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
// Supported replacement variables:
// %h - user's IMAP hostname
// %n - hostname ($_SERVER['SERVER_NAME'])
// %t - hostname without the first part
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %z - IMAP domain (IMAP hostname without the first part)
// For example %n = mail.domain.tld, %t = domain.tld
$config['username_domain'] = 'newlife.net.pl';

// ----------------------------------
// PLUGINS
// ----------------------------------
// List of active plugins (in plugins/ directory)
$config['plugins'] = array('acl', 'additional_message_headers', 'archive', 'attachment_reminder', 'autologon', 'database_attachments', 'debug_logger', 'emoticons', 'enigma', 'example_addres

// the default locale setting (leave empty for auto-detection)
// RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR
$config['language'] = 'pl_PL';
$config['debug_level'] = 13;

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,524
Re: Can't login IMAP via roundcube (Timeouts)
« Reply #1 on: November 02, 2020, 01:20:15 PM »
A connection timeout error is more likely to be a server issue like a firewall than a roundcube issue. Can you connect to the imap server via telnet from the webserver?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…