Lines Matching refs:cf
14 SM_RCSID("@(#)$Id: cf.c,v 8.18.2.1 2002/09/24 21:48:23 ca Exp $")
18 ** GETCFNAME -- return the name of the .cf file to use.
22 ** For others: returns submit.cf or sendmail.cf depending
28 ** cftype -- may request a certain cf file.
32 ** name of .cf file.
57 static char cf[MAXPATHLEN];
61 "submit.cf", '\0');
63 (void) sm_strlcpy(cf, cflocation, sizeof cf);
66 (void) sm_strlcpyn(cf, sizeof cf, 2, _DIR_SENDMAILCF,
67 "submit.cf");
68 if (cftype == SM_GET_SUBMIT_CF || stat(cf, &sbuf) == 0)
69 return cf;
73 "sendmail.cf", '\0');