16/09/2005 : V 1.6 - Removed the algorithm lightgreydomain as the new mxgrey does better and simpler - Removed the UPDATE option, now gld always update triplets. - Fixed a minor flaw in the MXGREY algorithm. - Now you can configure MXGREY to consider an ip as a safe MX after X succesful greylists instead of only 1 . (read gld.conf for details) - Now gld updates the counters only when mail is not greylisted - Added Training mode, read gld.conf for details - Now gld verify that if you supply a custom smtp code, it's a 4XX code otherwise gld discard it and use 450 . - If gld cannot connect to MySQL server on startup it will not refuse to run anymore, but will set keepdbopen to 0 and accept to run . - The sample config file provided now only listen to loopback only accept connection from localhost and runs as nobody/ nobody. WARNING: if you were using lightgreydomain algorithm, it has been discontinued use MXGREY in place, please read gld.conf for details.
19 lines
566 B
Text
19 lines
566 B
Text
$NetBSD: patch-af,v 1.2 2006/03/02 21:03:39 wiz Exp $
|
|
|
|
--- sockets.h.orig 2004-10-12 14:07:27.000000000 +0200
|
|
+++ sockets.h
|
|
@@ -118,10 +118,10 @@ int CloseSocket(int sock);
|
|
|
|
/* DNS functions */
|
|
|
|
-int DnsIp(char *host,char *ip);
|
|
-int DnsFQDN(char *host,char *fqdn);
|
|
-int DnsName(char *ip,char *fqdn);
|
|
-void GetPeerIp(int sock,char *ip,char *fqdn);
|
|
+int DnsIp(char *host,char *ip,size_t);
|
|
+int DnsFQDN(char *host,char *fqdn,size_t);
|
|
+int DnsName(char *ip,char *fqdn,size_t);
|
|
+void GetPeerIp(int sock,char *ip,size_t,char *fqdn,size_t);
|
|
|
|
/* Special Functions */
|
|
|