You can specify an alternative configuration file by using the C flag; for example, the command
# /usr/lib/sendmail -Ctest.cf |
uses the configuration file test.cf instead of the default /etc/mail/sendmail.cf. If you do not define a value for the C flag, it uses the sendmail.cf file in the current directory.