comparison src/dnsbl.cpp @ 211:4db1457cd11a stable-6-0-18

Extend auto-whitelisting when receiving mail even if the auto whitelist is specified in a parent context. Fixes for Solaris from sm-archive.
author Carl Byington <carl@five-ten-sg.com>
date Sat, 22 Mar 2008 11:19:36 -0700
parents 92a5c866bdfa
children 82886d4dd71f
comparison
equal deleted inserted replaced
210:cf2ecf5bacc9 211:4db1457cd11a
58 #include <sys/wait.h> /* header for waitpid() and various macros */ 58 #include <sys/wait.h> /* header for waitpid() and various macros */
59 #include <signal.h> /* header for signal functions */ 59 #include <signal.h> /* header for signal functions */
60 60
61 #include "includes.h" 61 #include "includes.h"
62 62
63 static char* dnsbl_version="$Id$"; 63 #ifndef HAVE_DAEMON
64 #include "daemon.h"
65 #include "daemon.c"
66 #endif
64 67
65 extern "C" { 68 extern "C" {
66 sfsistat mlfi_connect(SMFICTX *ctx, char *hostname, _SOCK_ADDR *hostaddr); 69 sfsistat mlfi_connect(SMFICTX *ctx, char *hostname, _SOCK_ADDR *hostaddr);
67 sfsistat mlfi_helo(SMFICTX * ctx, char *helohost); 70 sfsistat mlfi_helo(SMFICTX * ctx, char *helohost);
68 sfsistat mlfi_envfrom(SMFICTX *ctx, char **argv); 71 sfsistat mlfi_envfrom(SMFICTX *ctx, char **argv);