Explorar el Código

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 hace 11 años
padre
commit
4a4b08051f
Se han modificado 1 ficheros con 8 adiciones y 9 borrados
  1. 8
    9
      SNFMilterConfig/SendmailIntegrate.cpp

+ 8
- 9
SNFMilterConfig/SendmailIntegrate.cpp Ver fichero

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

Cargando…
Cancelar
Guardar