table_match
switch (table_match(table, K_AUTH, offloadkey)) {
if (table_match(filter->config->rdns_table, kind, key) > 0)
if (table_match(filter->config->rdns_regex, K_REGEX, key) > 0)
if (table_match(filter->config->src_table, kind, key) > 0)
if (table_match(filter->config->src_regex, K_REGEX, key) > 0)
if (table_match(filter->config->helo_table, kind, key) > 0)
if (table_match(filter->config->helo_regex, K_REGEX, key) > 0)
if (key && table_match(filter->config->auth_table, kind, key) > 0)
if (key && table_match(filter->config->auth_regex, K_REGEX, key) > 0)
if (table_match(filter->config->mail_from_table, kind, key) > 0)
if (table_match(filter->config->mail_from_regex, K_REGEX, key) > 0)
if (table_match(filter->config->rcpt_to_table, kind, key) > 0)
if (table_match(filter->config->rcpt_to_regex, K_REGEX, key) > 0)
ret = table_match(table, service, evp->dest.domain);
ret = table_match(table, service, evp->helo);
ret = table_match(table, service, evp->username);
ret = table_match(table, service, key);
ret = table_match(table, service, key);
ret = table_match(table, service, evp->tag);
ret = table_match(table, service, key);
int table_match(struct table *, enum table_service, const char *);