Check my Mail from 7.nov
Am 18.12.2013, 18:46 Uhr, schrieb Daniel Schütze <[email protected]>:
Paul
I’ve tried your suggestion but I’m hitting a brick wall which is a bit
irritating given how “simple” nginx config seems to be, my error in the
nginx log is
[error] 72078#0: *1 auth http server 192.168.0.1:80 did not send server
or
port while in http auth state, client: 192.168.0.99, server: 0.0.0.0:993,
login: USER
The error when I try and use openssl to test the connection is simply
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-SHA
Server public key is 1024 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : DHE-RSA-AES256-SHA
Session-ID:
51F874FE96763004ECB2C0DA6E821F0B2FE592D3EFEA8028CEC1EF09BB737FAC
Session-ID-ctx:
Master-Key:
1E146AB58E9B7DDB89DD75631F0874A7D9341D169948FBDC76CA7EE221D25192
884FCBB342952603C094F4D21B944BCE
Key-Arg : None
Start Time: 1387388276
Timeout : 300 (sec)
Verify return code: 18 (self signed certificate)
---
* OK IMAP4 ready
a login USER PASS
* BAD internal server error
closed
I’ve tried it just with the mail section for port 993 and the auth.php
script copy/pasted from yourself just changing the IP of the server.
Regards
Daniel
Paul J Stevens Wed, 18 Dec 2013 06:37:59 -0800
On 18-12-13 11:56, Daniel Schütze wrote:
Having run 3.1.8 overnight I’m afraid I’m still seeing spinning at 100%
cpu load and dbmail 3.1.8 not accepting connections.
I'm sorry to hear that. Fixing the network code is going to take some
time, study and careful coding.
Until it is fixed I would strongly recommend putting a proxy in front of
dbmail's IMAP and POP3 services.
The problems in DBMail all revolve around handling broken client
connections, as far as I can tell. This is very difficult to test - at
least I haven't found the correct way to test it yet. Simply dropping
FIN packets has helped solving some of the problems, but apparently not
all. Fixing it for good will take some careful refactoring and auditing
of the network code. A proxy like nginx has a proven track record in
this regard and will handle broken client connections gracefully without
disturbing dbmail.
You will find example configs and code at:
http://git.dbmail.eu/paul/dbmail/tree/contrib/nginx
------------------------
CWA International
Balmoral House
9 John Street
London
WC1N 2ES
(t) + 44 (0)20 7242 8444
(e) [email protected]
(w) http://www.cwa.uk.com/
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
--
Harald Leithner
ITronic
Wiedner Hauptstraße 120-124/5.1, 1050 Wien, Austria
Tel: +43-1-545 0 604
Fax: +43-1-786 23 88 26
Mobil: +43-699-123 78 4 78
Mail: [email protected] | itronic.at
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail