void resolve_init(void) { query = vstring_alloc(100); channel = vstring_alloc(100); nexthop = vstring_alloc(100); nextrcpt = vstring_alloc(100); if (*var_virt_alias_doms) virt_alias_doms = string_list_init(MATCH_FLAG_NONE, var_virt_alias_doms); if (*var_virt_mailbox_doms) virt_mailbox_doms = string_list_init(MATCH_FLAG_NONE, var_virt_mailbox_doms); if (*var_relay_domains) relay_domains = domain_list_init(match_parent_style(VAR_RELAY_DOMAINS), var_relay_domains); if (*var_relocated_maps) relocated_maps = maps_create(VAR_RELOCATED_MAPS, var_relocated_maps, DICT_FLAG_LOCK); }
void server_acl_pre_jail_init(const char *mynetworks, const char *origin) { if (server_acl_mynetworks) addr_match_list_free(server_acl_mynetworks); server_acl_mynetworks = addr_match_list_init(MATCH_FLAG_RETURN | match_parent_style(origin), mynetworks); }
static void pre_jail_init(char *unused_name, char **unused_argv) { debug_peer_init(); qmqpd_clients = namadr_list_init(MATCH_FLAG_RETURN | match_parent_style(VAR_QMQPD_CLIENTS), var_qmqpd_clients); }
void debug_peer_init(void) { const char *myname = "debug_peer_init"; /* * Sanity check. */ if (debug_peer_list) msg_panic("%s: repeated call", myname); if (var_debug_peer_list == 0) msg_panic("%s: uninitialized %s", myname, VAR_DEBUG_PEER_LIST); if (var_debug_peer_level <= 0) msg_fatal("%s: %s <= 0", myname, VAR_DEBUG_PEER_LEVEL); /* * Finally. */ if (*var_debug_peer_list) debug_peer_list = namadr_list_init(match_parent_style(VAR_DEBUG_PEER_LIST), var_debug_peer_list); }
void flush_init(void) { flush_domains = domain_list_init(MATCH_FLAG_RETURN | match_parent_style(VAR_FFLUSH_DOMAINS), var_fflush_domains); }
static void pre_jail_init(char *unused_name, char **unused_argv) { flush_domains = domain_list_init(VAR_FFLUSH_DOMAINS, MATCH_FLAG_RETURN | match_parent_style(VAR_FFLUSH_DOMAINS), var_fflush_domains); }
void transport_post_init(TRANSPORT_INFO *tp) { transport_match_parent_style = match_parent_style(VAR_TRANSPORT_MAPS); transport_wildcard_init(tp); }