Lines Matching refs:mx
2878 struct mx_srv_record *mx; in read_opts() local
2883 for (mx = daemon->mxnames; mx; mx = mx->next) in read_opts()
2884 if (!mx->issrv && hostname_isequal(mx->name, buff)) in read_opts()
2887 if ((daemon->mxtarget || (daemon->options & OPT_LOCALMX)) && !mx) in read_opts()
2889 mx = opt_malloc(sizeof(struct mx_srv_record)); in read_opts()
2890 mx->next = daemon->mxnames; in read_opts()
2891 mx->issrv = 0; in read_opts()
2892 mx->target = NULL; in read_opts()
2893 mx->name = opt_string_alloc(buff); in read_opts()
2894 daemon->mxnames = mx; in read_opts()
2900 for (mx = daemon->mxnames; mx; mx = mx->next) in read_opts()
2901 if (!mx->issrv && !mx->target) in read_opts()
2902 mx->target = daemon->mxtarget; in read_opts()