Browse Source

Removed integration for OpenSuse. Reason: sendmail configuration file for OpenSuse

is controlled by SuSEconfig, and SuSEconfig does not support configuration with milters.

Checking with the opensuse-programming list yielded one response:  Configuration needs to be
done manually, and most people use postfix anyway.


git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@61 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
master
adeniz 11 years ago
parent
commit
4a4b08051f
1 changed files with 8 additions and 9 deletions
  1. 8
    9
      SNFMilterConfig/SendmailIntegrate.cpp

+ 8
- 9
SNFMilterConfig/SendmailIntegrate.cpp View File

@@ -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());
}

Loading…
Cancel
Save