Harald

Ah, thanks for the heads up on the imap extension, I was so convinced I had
that it was installed (because I had it on an earlier version of php) I
didn't check till I saw your e-mail.

I had actually given up on that script after finding another one (which as
it happens turned out be buggy but I've fixed it).

So I will give it ago with ssl connections and see if it works/helps before
moving over the standard 143 connections as well.

Of course I've remembered this now means that dbmail is logging localhost
connections in dbmail_authlog instead of the actual originating IP which it
does when connections are direct.

Daniel


Harald Leithner Thu, 19 Dec 2013 06:52:24 -0800 
You should have a php error log.

nginx sets the username and password.

if you are using the example script paul made
(http://git.dbmail.eu/paul/dbmail/tree/contrib/nginx/auth.php?id=2b635f90ba6
d505f85bfe65804f7b7a65bcac0dc) 

you have to install the imap extension for php.

btw.

the shortest version of the auth.php could be this:

<?php
header("Auth-Status: OK");
header("Auth-Server: 127.0.0.1");
if ($_SERVER["HTTP_AUTH_PROTOCOL"]=="imap") {
header("Auth-Port: 10143");
} else {
header("Auth-Port: 10110");
}
?>


------------------------
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

Reply via email to