|
|
|
|
|
|
|
|
if ("OpenBSD" == OperatingSystemType) {
|
|
|
if ("OpenBSD" == OperatingSystemType) {
|
|
|
|
|
|
|
|
|
SendmailSendmailMcPath = "/etc/mail/sendmail.mc";
|
|
|
SendmailSendmailMcPath = "/etc/mail/sendmail.mc";
|
|
|
SendmailSendmailCfPath = "/etc/mail/sendmail.cf";
|
|
|
|
|
|
ReloadMtaCommand = "/usr/local/sbin/postfix reload";
|
|
|
|
|
|
|
|
|
SendmailSendmailCfPath = "/etc/mail/localhost.cf";
|
|
|
|
|
|
ReloadMtaCommand = "kill -HUP `head -1 /var/run/sendmail.pid`";
|
|
|
|
|
|
ReloadMtaCommand = "pkill -HUP sendmail";
|
|
|
|
|
|
|
|
|
FileToBackup.push_back(SendmailSendmailMcPath);
|
|
|
FileToBackup.push_back(SendmailSendmailMcPath);
|
|
|
FileToBackup.push_back(SendmailSendmailCfPath);
|
|
|
FileToBackup.push_back(SendmailSendmailCfPath);
|
|
|
|
|
|
|
|
|
} else if ("FreeBSD" == OperatingSystemType) {
|
|
|
} else if ("FreeBSD" == OperatingSystemType) {
|
|
|
|
|
|
|
|
|
SendmailSendmailMcPath = "/etc/mail/sendmail.mc";
|
|
|
|
|
|
|
|
|
SendmailSendmailMcPath = "/etc/mail/freebsd.mc";
|
|
|
SendmailSendmailCfPath = "/etc/mail/sendmail.cf";
|
|
|
SendmailSendmailCfPath = "/etc/mail/sendmail.cf";
|
|
|
ReloadMtaCommand = "/usr/local/sbin/postfix reload";
|
|
|
|
|
|
|
|
|
BuildInstallSendmailCfFile = "(cd /etc/mail && make cf && make install)";
|
|
|
|
|
|
ReloadMtaCommand = "/etc/rc.d/sendmail restart";
|
|
|
|
|
|
|
|
|
FileToBackup.push_back(SendmailSendmailMcPath);
|
|
|
FileToBackup.push_back(SendmailSendmailMcPath);
|
|
|
FileToBackup.push_back(SendmailSendmailCfPath);
|
|
|
FileToBackup.push_back(SendmailSendmailCfPath);
|