On Sun, Nov 03, 2002 at 11:51:37PM -0600, KizerSoze wrote: > Once the system is booted up how can I tell what .cf file sendmail has > loaded?? I think that the .cf file I think is loaded is in fact not, and I > need to find a way to verify this.
Look at /var/run/sendmail.pid --- unusually for most daemons it records not just the PID but also the command line used to start the process: # cat /var/run/sendmail.pid 243 /usr/sbin/sendmail -L sm-mta -bd -q30m Now, if there is a '-C /some/file.cf' flag there, then that's the .cf file you're using. Otherwise you're going to be using the compiled in default, which for the MTA process is /etc/mail/sendmail.cf The same thing holds for the MSP (mail submission process) sendmail instance, but using different files. The PID file is in /var/spool/clientmqueue/sm-client.pid: # cat /var/spool/clientmqueue/sm-client.pid 124 /usr/sbin/sendmail -L sm-msp-queue -Ac -q30m and in this case, the corresponding default config file is /etc/mail/submit.cf Default locations of .cf and similar files are documented in sendmail(8) and /usr/share/sendmail/cf/README, although you have to hunt about in the file to find all the details of the MSP stuff. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message