Lines Matching refs:cf
12 SM_RCSID("@(#)$Id: cf.c,v 8.20 2013-11-22 20:51:50 ca Exp $")
16 ** GETCFNAME -- return the name of the .cf file to use.
20 ** For others: returns submit.cf or sendmail.cf depending
26 ** cftype -- may request a certain cf file.
30 ** name of .cf file.
55 static char cf[MAXPATHLEN];
59 "submit.cf", '\0');
61 (void) sm_strlcpy(cf, cflocation, sizeof cf);
64 (void) sm_strlcpyn(cf, sizeof cf, 2, _DIR_SENDMAILCF,
65 "submit.cf");
66 if (cftype == SM_GET_SUBMIT_CF || stat(cf, &sbuf) == 0)
67 return cf;
71 "sendmail.cf", '\0');