|
|
|
|
|
|
|
|
const std::string SNFMilterConfig::DefaultConfigFile("C:\\SNF\\SNFMilter.xml");
|
|
|
const std::string SNFMilterConfig::DefaultConfigFile("C:\\SNF\\SNFMilter.xml");
|
|
|
const std::string SNFMilterConfig::SampleConfigFile("C:\\SNF\\SNFMilter.xml.sample");
|
|
|
const std::string SNFMilterConfig::SampleConfigFile("C:\\SNF\\SNFMilter.xml.sample");
|
|
|
const std::string SNFMilterConfig::SampleIdentityFile("C:\\SNF\\identity.xml.sample");
|
|
|
const std::string SNFMilterConfig::SampleIdentityFile("C:\\SNF\\identity.xml.sample");
|
|
|
|
|
|
const std::string InstallFile("");
|
|
|
|
|
|
|
|
|
#else
|
|
|
#else
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const std::string SNFMilterConfig::DefaultConfigFile(DEFAULT_CONFIG_DIR "/snf-milter/SNFMilter.xml");
|
|
|
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::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 SNFMilterConfig::SampleIdentityFile(DEFAULT_CONFIG_DIR "/snf-milter/identity.xml.sample");
|
|
|
|
|
|
const std::string InstallFile(DOC_DIR "/INSTALL");
|
|
|
#else
|
|
|
#else
|
|
|
// Not Windows, and DEFAULT_CONFIG_DIR is not specified on the compile
|
|
|
// 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
|
|
|
// command line. In this case, we don't know the default path for the
|
|
|
|
|
|
|
|
|
const std::string SNFMilterConfig::DefaultConfigFile("");
|
|
|
const std::string SNFMilterConfig::DefaultConfigFile("");
|
|
|
const std::string SNFMilterConfig::SampleConfigFile("");
|
|
|
const std::string SNFMilterConfig::SampleConfigFile("");
|
|
|
const std::string SNFMilterConfig::SampleIdentityFile("");
|
|
|
const std::string SNFMilterConfig::SampleIdentityFile("");
|
|
|
|
|
|
const std::string InstallFile("INSTALL");
|
|
|
#endif
|
|
|
#endif
|
|
|
|
|
|
|
|
|
#endif
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Temp = "Integration with sendmail is not supported on " + OsType;
|
|
|
Temp = "Integration with sendmail is not supported on " + OsType;
|
|
|
Temp += ".\n";
|
|
|
Temp += ".\n";
|
|
|
|
|
|
Temp += "Please see " + InstallFile;
|
|
|
|
|
|
Temp += " for information on integration with sendmail.\n";
|
|
|
|
|
|
|
|
|
throw std::runtime_error(Temp);
|
|
|
throw std::runtime_error(Temp);
|
|
|
|
|
|
|