|
|
@@ -40,6 +40,7 @@ using namespace std; |
|
|
|
const std::string SNFMilterConfig::DefaultConfigFile("C:\\SNF\\SNFMilter.xml");
|
|
|
|
const std::string SNFMilterConfig::SampleConfigFile("C:\\SNF\\SNFMilter.xml.sample");
|
|
|
|
const std::string SNFMilterConfig::SampleIdentityFile("C:\\SNF\\identity.xml.sample");
|
|
|
|
const std::string InstallFile("");
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
@@ -48,6 +49,7 @@ const std::string SNFMilterConfig::SampleIdentityFile("C:\\SNF\\identity.xml.sam |
|
|
|
const std::string SNFMilterConfig::DefaultConfigFile(DEFAULT_CONFIG_DIR "/snf-milter/SNFMilter.xml");
|
|
|
|
const std::string SNFMilterConfig::SampleConfigFile(DEFAULT_CONFIG_DIR "/snf-milter/SNFMilter.xml.sample");
|
|
|
|
const std::string SNFMilterConfig::SampleIdentityFile(DEFAULT_CONFIG_DIR "/snf-milter/identity.xml.sample");
|
|
|
|
const std::string InstallFile(DOC_DIR "/INSTALL");
|
|
|
|
#else
|
|
|
|
// Not Windows, and DEFAULT_CONFIG_DIR is not specified on the compile
|
|
|
|
// command line. In this case, we don't know the default path for the
|
|
|
@@ -55,6 +57,7 @@ const std::string SNFMilterConfig::SampleIdentityFile(DEFAULT_CONFIG_DIR "/snf-m |
|
|
|
const std::string SNFMilterConfig::DefaultConfigFile("");
|
|
|
|
const std::string SNFMilterConfig::SampleConfigFile("");
|
|
|
|
const std::string SNFMilterConfig::SampleIdentityFile("");
|
|
|
|
const std::string InstallFile("INSTALL");
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
@@ -133,6 +136,8 @@ SNFMilterConfig::GetCommandLineInput(int argc, char* argv[]) { |
|
|
|
|
|
|
|
Temp = "Integration with sendmail is not supported on " + OsType;
|
|
|
|
Temp += ".\n";
|
|
|
|
Temp += "Please see " + InstallFile;
|
|
|
|
Temp += " for information on integration with sendmail.\n";
|
|
|
|
|
|
|
|
throw std::runtime_error(Temp);
|
|
|
|
|