|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else if ("Suse" == 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 {
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!IntegrationIsSupported) {
|
|
|
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());
|
|
|
|
|
|
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|