|
|
@@ -60,7 +60,7 @@ SendmailIntegrate::SetOperatingSystem(std::string OperatingSystemType) { |
|
|
|
|
|
|
|
SendmailSendmailMcPath = "/etc/mail/sendmail.mc";
|
|
|
|
SendmailSendmailCfPath = "/etc/mail/sendmail.cf";
|
|
|
|
BuildInstallSendmailCfFile = "(cd /etc/mail; make)";
|
|
|
|
BuildInstallSendmailCfFile = "(cd /etc/mail && make)";
|
|
|
|
ReloadMtaCommand = "/usr/sbin/service sendmail reload";
|
|
|
|
|
|
|
|
FileToBackup.push_back(SendmailSendmailMcPath);
|
|
|
@@ -70,7 +70,7 @@ SendmailIntegrate::SetOperatingSystem(std::string OperatingSystemType) { |
|
|
|
|
|
|
|
SendmailSendmailMcPath = "/etc/mail/sendmail.mc";
|
|
|
|
SendmailSendmailCfPath = "/etc/mail/sendmail.cf";
|
|
|
|
BuildInstallSendmailCfFile = "(cd /etc/mail; make)";
|
|
|
|
BuildInstallSendmailCfFile = "(cd /etc/mail && make)";
|
|
|
|
ReloadMtaCommand = "/sbin/service sendmail reload";
|
|
|
|
|
|
|
|
FileToBackup.push_back(SendmailSendmailMcPath);
|
|
|
@@ -80,8 +80,8 @@ SendmailIntegrate::SetOperatingSystem(std::string OperatingSystemType) { |
|
|
|
|
|
|
|
SendmailSendmailMcPath = "/etc/mail/linux.mc";
|
|
|
|
SendmailSendmailCfPath = "/etc/mail/sendmail.cf";
|
|
|
|
BuildInstallSendmailCfFile = "(cd /etc/mail; rm sendmail.cf; m4 /etc/mail/linux.mc > sendmail.cf)";
|
|
|
|
ReloadMtaCommand = "/usr/sbin/postfix reload";
|
|
|
|
BuildInstallSendmailCfFile = "(cd /etc/mail && rm -f sendmail.cf && m4 /etc/mail/linux.mc > sendmail.cf)";
|
|
|
|
ReloadMtaCommand = "/sbin/service sendmail reload";
|
|
|
|
|
|
|
|
FileToBackup.push_back(SendmailSendmailMcPath);
|
|
|
|
FileToBackup.push_back(SendmailSendmailCfPath);
|
|
|
@@ -195,7 +195,7 @@ SendmailIntegrate::Unintegrate(FileBackup *SaveFile) { |
|
|
|
|
|
|
|
std::cout << "Remove integration in sendmail file " << SendmailSendmailMcPath
|
|
|
|
<< " and generate new " << SendmailSendmailCfPath << " file with the command '"
|
|
|
|
<< BuildInstallSendmailCfFile << "'...";
|
|
|
|
<< BuildInstallSendmailCfFile << "'--\n";
|
|
|
|
|
|
|
|
}
|
|
|
|
|