|
|
@@ -70,14 +70,7 @@ SendmailIntegrate::SetOperatingSystem(std::string OperatingSystemType) { |
|
|
|
|
|
|
|
} else if ("Suse" == OperatingSystemType) {
|
|
|
|
|
|
|
|
IntegrationIsSupported = true;
|
|
|
|
SendmailSendmailMcPath = "/etc/mail/linux.mc";
|
|
|
|
SendmailSendmailCfPath = "/etc/mail/sendmail.cf";
|
|
|
|
BuildInstallSendmailCfFile = "(cd /etc/mail && rm -f sendmail.cf && m4 /etc/mail/linux.mc > sendmail.cf)";
|
|
|
|
ReloadMtaCommand = "/etc/init.d/sendmail reload";
|
|
|
|
|
|
|
|
FileToBackup.push_back(SendmailSendmailMcPath);
|
|
|
|
FileToBackup.push_back(SendmailSendmailCfPath);
|
|
|
|
IntegrationIsSupported = false;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
@@ -97,7 +90,13 @@ SendmailIntegrate::Integrate(FileBackup *SaveFile) { |
|
|
|
|
|
|
|
if (!IntegrationIsSupported) {
|
|
|
|
|
|
|
|
return;
|
|
|
|
std::ostringstream Temp;
|
|
|
|
|
|
|
|
Temp << "Integration with sendmail is not supported on this platform. "
|
|
|
|
<< "Please see " << DOC_DIR << "/INSTALL file for instructions for manual "
|
|
|
|
<< "integration with sendmail.";
|
|
|
|
|
|
|
|
throw std::runtime_error(Temp.str());
|
|
|
|
|
|
|
|
}
|
|
|
|
|