Author Topic: Send mail request timed out.  (Read 3750 times)

Offline johnlowsg

  • Newbie
  • *
  • Posts: 3
Send mail request timed out.
« on: July 16, 2018, 12:48:25 PM »
Hi,

I'm struggling to resolve this issue, and the weird thing is I couldn't find any error message in /var/log/maillog, /var/log/httpd and /var/log/plesk-roundcube/errors.

I'm using roundcube 1.3.6 that comes with Plesk Onyx Version 17.8.11 & ‪CentOS 6.10.

I've tried these settings in /usr/share/psa-roundcube/config/main.inc.php.

$rcmail_config['debug_level'] = 4; // tried 1, 4 and 8
$rcmail_config['smtp_log'] = true;
$rcmail_config['log_logins'] = true;
$rcmail_config['log_session'] = true;
$rcmail_config['sql_debug'] = true;
$rcmail_config['imap_debug'] = true;
$rcmail_config['ldap_debug'] = true;
$rcmail_config['smtp_debug'] = true;

$rcmail_config['enable_spellcheck'] = false;

$rcmail_config['smtp_port'] = 587; // tried 587 and 25 (default)

But couldn't find any error message...

Greatly appreciate if you can point me to the right direction.

Much thanks again.
John Low

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: Send mail request timed out.
« Reply #1 on: July 16, 2018, 01:34:09 PM »
Are you sure you are editing the correct config file? main.inc.php has was depreciated since version 1.0. In 1.0 main.inc.php and db.inc.php were replaced by config.inc.php and the Plesk docs here https://support.plesk.com/hc/en-us/articles/213403509-Plesk-for-Linux-services-logs-and-configuration-files-#roundcube  suggest the config files are in /etc/psa-webmail/roundcube/.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline johnlowsg

  • Newbie
  • *
  • Posts: 3
Re: Send mail request timed out.
« Reply #2 on: July 17, 2018, 07:00:26 AM »
Thanks for your input John!

I just realised I'm able to send small html and non-html messages.

It'll hang and timed out when the html message gets "too big" and I'm still trying to figure out what, why... is it due to file size, server security settings, not properly formatted html... cos the none of the log files provide any clue.

Will keep trying and share once I managed to find out what happened.

Greatly appreciate any input too.

Cheers
John

Offline johnlowsg

  • Newbie
  • *
  • Posts: 3
Re: Send mail request timed out.
« Reply #3 on: July 17, 2018, 11:29:36 AM »
I've finally managed to solve the mystery, and it has nothing to do with roundcube.

My bad.

It's due to Cloudflare firewall.

Everything works fine after I unrouted webmail from CF DNS.

Thanks everyone who has spent time giving it a thought, and sorry for the trouble.

John