|
|
@@ -46,11 +46,11 @@ PostfixIntegrate::SetOperatingSystem(std::string OperatingSystemType) { |
|
|
|
if ("OpenBSD" == OperatingSystemType) {
|
|
|
|
|
|
|
|
PostfixDefaultIsChrooted = true;
|
|
|
|
SnfSnifferDirName = "/var/spool/postfix/snf-server";
|
|
|
|
SnfSnifferDirName = "/usr/local/sbin";
|
|
|
|
SnfSnifferFileName = SnfSnifferDirName + "/snfSniffer";
|
|
|
|
SnfSnifferSampleFileName = "/usr/local/sbin/snfSniffer.sample";
|
|
|
|
|
|
|
|
ContentFilterSpec += " flags=Rq user=snfuser argv=/snf-server/snfSniffer\n";
|
|
|
|
ContentFilterSpec += " flags=Rq user=snfuser argv=/usr/local/sbin/snfSniffer\n";
|
|
|
|
|
|
|
|
PostfixMainCfPath = "/etc/postfix/main.cf";
|
|
|
|
PostfixMasterCfPath = "/etc/postfix/master.cf";
|
|
|
@@ -67,11 +67,10 @@ PostfixIntegrate::SetOperatingSystem(std::string OperatingSystemType) { |
|
|
|
} else if ("Ubuntu" == OperatingSystemType) {
|
|
|
|
|
|
|
|
PostfixDefaultIsChrooted = true;
|
|
|
|
SnfSnifferDirName = "/var/spool/postfix/snf-server";
|
|
|
|
SnfSnifferFileName = SnfSnifferDirName + "/snfSniffer";
|
|
|
|
SnfSnifferSampleFileName = "/usr/sbin/snfSniffer.sample";
|
|
|
|
|
|
|
|
ContentFilterSpec += " flags=Rq user=snfuser argv=/snf-server/snfSniffer\n";
|
|
|
|
ContentFilterSpec += " flags=Rq user=snfuser argv=/usr/sbin/snfSniffer\n";
|
|
|
|
|
|
|
|
PostfixMainCfPath = "/etc/postfix/main.cf";
|
|
|
|
PostfixMasterCfPath = "/etc/postfix/master.cf";
|