Well I have been running nginx infront of dbmail since 20 December 2013 and
I am also still running my script which connects to dbmail directly (i.e.
not nginx), sends “a logout” and restarts dbmail if the response does not
include “a ok”.  The same scripts checks for 100% cpu usage and restarts
dbmail if that is the case.

 

I have to admit I have not noticed any real difference in the number of
times that dbmail is being restarted by this script since using nginx.
Yesterday it was 3 times around 1900, today is has been 6 times around 00:00
and then 06:00.  What I can say is that it is extremely rare for the 100%
cpu test to be the reason for the restart, it is almost exclusively the
failed response to “a logout”

 

The perception of users seems to be an improved service though and nginx may
well be “looking after” their connections better, but then again there are a
lot of people only just awaking from slumber after the Christmas/New Year
period.


Daniel Schütze

 

 

 

 

On 20-12-13 17:35, Daniel Schütze wrote:

> Paul

> 

> I may still not have it configured perfectly but it is working right now
and

> the log entries are still showing 0.0.0.0

> 

> 2013/12/20 16:23:01 [info] 177#0: *4224 client logged in, client: IP,

> server: 0.0.0.0:993, login: USER, upstream: 192.168.0.1:10143

> 2013/12/20 16:23:02 [info] 177#0: *4224 proxied session done, client: IP,

> server: 0.0.0.0:993, login: USER, upstream: 192.168.0.1:10143

> 

> When I “sniff” the script response I get the following headers which look

> fine.

> 

> Auth-Status: OK  

> Auth-Server: 192.168.0.1  

> Auth-Port: 10143

> 

> I also found I had to adjust the imap_capabilities to imap_capabilities

> IMAP4rev1 UIDPLUS IDLE LITERAL+ QUOTA; as per the documentation to prevent

> my outlook client timing out every 30-60 seconds.

 

That would be the IDLE response. LITERAL+ and UIDPLUS is only available

in dbmail's master branch.

 

 

------------------------

CWA International

Balmoral House

9 John Street

London
WC1N 2ES

 

(t) + 44 (0)20 7242 8444

(e) d...@cwa.uk.com

(w) http://www.cwa.uk.com/

 

_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to