Author Topic: Postfix and Roundcube Shows time out  (Read 12498 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Postfix and Roundcube Shows time out
« on: March 07, 2018, 12:59:18 PM »
Hello,

After new install of centos panel on centos 7.x, emails is not working. i created email id login into roundcube but it just keep try sent email and after few secs it shows "Time out"message on screen.

Postfix + dovecot is shows running fine. i once again rebuild it but same problem.,

Webmail
===============
Log Files (roundcube)
/usr/local/cwpsrv/var/services/roundcube/logs/

Quote
[07-Mar-2018 12:24:13 UTC] PHP Fatal error:  Uncaught Error: Class 'Mail_mime' not found in /usr/local/cwpsrv/var/services/roundcube/program/steps/mail/sendmail.inc:364
Stack trace:
#0 /usr/local/cwpsrv/var/services/roundcube/index.php(291): include_once()
#1 {main}
  thrown in /usr/local/cwpsrv/var/services/roundcube/program/steps/mail/sendmail.inc on line 364
[07-Mar-2018 12:30:06 UTC] PHP Fatal error:  Uncaught Error: Class 'Mail_mime' not found in /usr/local/cwpsrv/var/services/roundcube/program/steps/mail/sendmail.inc:364
Stack trace:
#0 /usr/local/cwpsrv/var/services/roundcube/index.php(291): include_once()
#1 {main}
  thrown in /usr/local/cwpsrv/var/services/roundcube/program/steps/mail/sendmail.inc on line 364



/var/log/dovecot.log


Quote
Mar 07 20:23:58 imap(bookings@domain.com): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Mar 07 20:23:58 imap(bookings@domain.com): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Mar 07 20:23:58 dict: Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-dict-quota.conf: Permission denied
Mar 07 20:23:58 imap(bookings@domain.com): Error: read(/var/run/dovecot/dict) failed: Remote disconnected
Mar 07 20:23:59 imap(bookings@domain.com): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Mar 07 20:23:59 dict: Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-dict-quota.conf: Permission denied
Mar 07 20:23:59 imap(bookings@domain.com): Error: read(/var/run/dovecot/dict) failed: Remote disconnected
Mar 07 20:23:59 imap(bookings@domain.com): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Mar 07 20:24:03 imap(bookings@domain.com): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Mar 07 20:24:03 imap(bookings@domain.com): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Mar 07 20:30:25 master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Mar 07 20:30:25 log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)


/var/log/dovecot-info.log



Quote
Mar 07 20:23:58 imap(bookings@domain.com): Info: Disconnected: Logged out in=70 out=582
Mar 07 20:23:59 imap-login: Info: Login: user=<bookings@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15855, secured, session=<UtM5otFmqAB/AAAB>
Mar 07 20:23:59 imap(bookings@domain.com): Info: Disconnected: Logged out in=76 out=495
Mar 07 20:23:59 imap-login: Info: Login: user=<bookings@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15859, secured, session=<T+I+otFmrgB/AAAB>
Mar 07 20:23:59 imap(bookings@domain.com): Info: Disconnected: Logged out in=233 out=891
Mar 07 20:24:03 imap-login: Info: Login: user=<bookings@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15870, secured, session=<cFBwotFmsAB/AAAB>
Mar 07 20:24:03 imap(bookings@domain.com): Info: Disconnected: Logged out in=32 out=455
Mar 07 20:24:03 imap-login: Info: Login: user=<bookings@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15873, secured, session=<Npt2otFmsgB/AAAB>
Mar 07 20:24:03 imap(bookings@domain.com): Info: Disconnected: Logged out in=44 out=562
Mar 07 20:30:25 master: Info: Dovecot v2.2.10 starting up for imap, pop3, lmtp, sieve (core dumps disabled)



Log Files Postifx (smtp server):
/var/log/maillog


Quote
Mar  7 20:50:18 server1 postfix/local[18305]: 21F3041EBB: to=<root@server1.domain.com>, orig_to=<root>, relay=local, delay=0.17, delays=0.13/0/0/0.04, dsn=2.0.0, status=sent (forwarded as 3876740038)
Mar  7 20:50:18 server1 postfix/qmgr[17319]: 3876740038: to=<info@newdomain.com>, orig_to=<root>, relay=none, delay=0.07, delays=0.04/0.03/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mail.matlidigital.com[94.102.48.82]:25: Connection timed out)
Mar  7 20:50:18 server1 postfix/qmgr[17319]: 21F3041EBB: removed
Mar  7 20:50:35 server1 postfix/qmgr[17319]: CF2CF41EB3: from=<root@server1.domain.com>, size=656, nrcpt=1 (queue active)
Mar  7 20:50:35 server1 postfix/qmgr[17319]: CF2CF41EB3: to=<info@newdomain.com>, orig_to=<root>, relay=none, delay=1488, delays=1488/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mail.newdomain.com[96.125.48.84]:25: Connection timed out)



at rDNS page panelurl /admin/index.php?module=rdns_checker

it shows me no records even the ips dns record is properly point to the server hostname.

check image attached

please help me because its server from aliyun china and they are not user friendly, so tell me how i fix rDNS record ?

image link : https://ibb.co/dG2R57
« Last Edit: March 07, 2018, 01:01:56 PM by feronso »

Offline
*
Re: Postfix and Roundcube Shows time out
« Reply #1 on: April 14, 2018, 08:10:50 PM »
Having same problem  :(
But still cloud not find any fix.
If you find please share with me.

Thanks

Offline
*
Re: Postfix and Roundcube Shows time out
« Reply #2 on: April 16, 2018, 08:55:20 AM »
error say's that permissions are wrong for this file:  /etc/dovecot/dovecot-dict-quota.conf try to check it

Code: [Select]
stat /etc/dovecot/dovecot-dict-quota.conf
It should looks like this
Code: [Select]
# ls -la /etc/dovecot/dovecot-dict-quota.conf
-rw-r--r-- 1 root root 274 Oct 28 12:32 /etc/dovecot/dovecot-dict-quota.conf

Code: [Select]
chown root.root /etc/dovecot/dovecot-dict-quota.conf
chmod 644 /etc/dovecot/dovecot-dict-quota.conf
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.