Lines Matching refs:var
127 set_spamtest(struct var* vp, const char* value)
412 if (to && !strcasecmp(ap, state.var.user))
504 if (addrmatch(t, state.var.user) || state.var.spamfromok && usermatch(t, state.var.spamfromok, 0))
506 if (addrmatch(t, to) || state.var.spamfrom && usermatch(t, state.var.spamfrom, 0))
511 d = state.var.spamdelay;
514 if (state.var.domain)
516 ours = strlen(state.var.domain);
517 if ((domain2 = strchr(state.var.domain, '.')) && strchr(domain2 + 1, '.'))
531 note(0, "spam: ours: %s %s", state.var.domain, domain2);
555 if ((t = strrchr(pp.data, ' ')) && streq(t + 1, "using") && !(*t = 0) && (t = strrchr(pp.data, ' ')) && insider(t + 1, NiL, 0, state.var.domain, ours, domain2, ours2))
570 if (addrmatch(state.var.user, t))
593 if (addrmatch(t, state.var.user) || state.var.spamfromok && usermatch(t, state.var.spamfromok, 0))
595 if (addrmatch(t, to) || state.var.spamfrom && usermatch(t, state.var.spamfrom, 0))
598 fromours = insider(t, NiL, fromours, state.var.domain, ours, domain2, ours2);
648 if (insider(s, e, 0, state.var.domain, ours, domain2, ours2))
707 if (!(test & SPAM_subject_spam) && state.var.spamsub)
709 if (wordmatch(strlower(pp.data), state.var.spamsub))
732 if (addrmatch(state.var.user, t))
734 else if (state.var.spamtook && usermatch(t, state.var.spamtook, state.var.local != 0))
740 else if (state.var.spamto && usermatch(t, state.var.spamto, state.var.local != 0))
776 if (test & state.var.spamtest)
779 if (state.var.local)
781 local = state.var.local;
782 state.var.local = 0;
787 state.var.local = local;
794 state.var.local = local;
801 state.var.local = local;
804 state.var.local = local;