<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi all,<br>
<br>
Because I need it, I add the unix socket support to Mail Auth Module.<br>
Now if nginx mail auth module receives Auth-Server containing a sock
path e.g :<br>
<br>
HTTP/1.0 200 OK<br>
Auth-Status: OK<br>
Auth-Server: /tmp/cyrus.sock<br>
Auth-Port: [SomethingOrNot]<br>
Auth-User: <a class="moz-txt-link-abbreviated" href="mailto:user@domain.tld">user@domain.tld</a><br>
Auth-Pass: password<br>
<br>
Nginx will be able to connect to the socket (e.g /tmp/cyrus.sock)<br>
<br>
I'm writting the tests set for prove.<br>
<br>
Patch in this mail (nginx-0.8.35)<br>
<br>
For people who wonder why :<br>
Unix sockets allow me to restrict rights and permissions on cyrus.<br>
By chrooting a lot of services, bad local users could contact cyrus
from localhost with tcp connections.<br>
With unix sockets, the problem is now solved.<br>
<br>
Best regards,<br>
Simon LECAILLE.<br>
<br>
<div class="moz-signature">-- <br>
<title></title>
<img alt="(Logo EmisFr)" src="cid:part1.08080600.03030809@emisfr.com"
 moz-do-not-send="false"
 style="float: left; margin-right: 0.5em; padding-bottom: 1.5em;">
<div style="font-size: smaller;"><strong>Simon LECAILLE</strong><br>
EmisFR<br>
<i>Infog&eacute;rance totale ou partag&eacute;e, sur site ou distante, D&eacute;veloppements
sur mesure web 2.0</i><br>
10 rue Mazagran, 54000 NANCY, France<br>
<a href="http://www.emisfr.com">http://www.emisfr.com</a><br>
Tel/Fax.: +33.3 83 32 25 75<br>
</div>
</div>
</body>
</html>