Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 01:02:10

Author Topic: IMAP stops working every day  (Read 3823 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
IMAP stops working every day
« on: 2016-01-02, 11:56:40 »
I have to manually restart, because I'm unable to login. At the same time POP3 and SMTP works fine.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: IMAP stops working every day
« Reply #1 on: 2016-01-02, 13:13:04 »
IMAP use courier portion of qmail-toaster. Investigate config files inside /etc/courier.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: IMAP stops working every day
« Reply #2 on: 2016-01-04, 11:16:14 »
The reason is Scavenge !

It stops on:

10:27 Jan/04/2016: Scavenge: Start
10:27 Jan/04/2016: Scavenge: Collect Traffic
10:27 Jan/04/2016: Scavenge: Collect Quota
10:27 Jan/04/2016: Scavenge: Schedule backups
10:27 Jan/04/2016: Scavenge: Clear Session

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: IMAP stops working every day
« Reply #3 on: 2016-01-04, 11:24:34 »
See the logs:

Jan  4 11:31:35 online imap4-ssl: DEBUG: Connection, ip=[94.254.145.92]
Jan  4 11:31:36 online imap4-ssl: INFO: LOGIN FAILED, user=admin@xxx.pl, ip=[94.254.145.92]
Jan  4 11:31:40 online imap4: INFO: LOGOUT, ip=[94.254.145.92], rcvd=49, sent=302
Jan  4 11:31:40 online imap4: tcpserver: end 12298 status 0
Jan  4 11:31:40 online imap4: tcpserver: status: 0/40
Jan  4 11:31:41 online imap4-ssl: DEBUG: Unexpected SSL connection shutdown.
Jan  4 11:31:41 online imap4-ssl: INFO: LOGOUT, ip=[94.254.145.92], rcvd=45, sent=219
Jan  4 11:31:41 online imap4-ssl: tcpserver: end 12299 status 0
Jan  4 11:31:41 online imap4-ssl: tcpserver: status: 0/40

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: IMAP stops working every day
« Reply #4 on: 2016-01-04, 11:32:49 »
Try reinstall qmail with 'yum reinstall *-toaster -y' and then run fixmail-all.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: IMAP stops working every day
« Reply #5 on: 2016-01-04, 11:58:43 »
Seems to be working for now, but the scavenge process is still staying idle after clearing sessions.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: IMAP stops working every day
« Reply #6 on: 2016-01-04, 12:16:49 »
It finished after about 15 minutes.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: IMAP stops working every day
« Reply #7 on: 2016-01-05, 12:35:52 »
It happened again - I'm unable to logon via IMAP, the rest works fine. I had to restart qmailctl manually.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: IMAP stops working every day
« Reply #8 on: 2016-01-09, 13:08:01 »
The fix is simple !

Change in /etc/courier/imapd-ssl

IMAP_TLS_REQUIRED=1
TLS_PROTOCOL=TLS1

We still got SSLv3 out there !

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: IMAP stops working every day
« Reply #9 on: 2016-01-09, 13:22:09 »
The fix is simple !

Change in /etc/courier/imapd-ssl

IMAP_TLS_REQUIRED=1
TLS_PROTOCOL=TLS1

We still got SSLv3 out there !
Try explore files inside '/var/qmail/supervise/imap4-ssl/env' and '/var/qmail/supervise/pop3-ssl/env'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: IMAP stops working every day
« Reply #10 on: 2016-01-10, 20:29:43 »
It seems when I don't use SSL the it works perfectly. When I use it after about 24h it says LOGIN FAILED. How to restore default SSL for qmail ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: IMAP stops working every day
« Reply #11 on: 2016-01-10, 20:57:56 »
Reinstall qmail with 'yum reinstall qmail-toaster -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: IMAP stops working every day
« Reply #12 on: 2016-01-10, 22:52:07 »
Reinstall qmail with 'yum reinstall qmail-toaster -y'.

Did it already - does not help...

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.061 seconds with 22 queries.

web stats analysis