|
|
|
|
|
|
|
|
if ("OpenBSD" == OperatingSystemType) {
|
|
|
if ("OpenBSD" == OperatingSystemType) {
|
|
|
|
|
|
|
|
|
PostfixDefaultIsChrooted = true;
|
|
|
PostfixDefaultIsChrooted = true;
|
|
|
SnfSnifferDirName = "/var/spool/postfix/snf-server";
|
|
|
|
|
|
|
|
|
SnfSnifferDirName = "/usr/local/sbin";
|
|
|
SnfSnifferFileName = SnfSnifferDirName + "/snfSniffer";
|
|
|
SnfSnifferFileName = SnfSnifferDirName + "/snfSniffer";
|
|
|
SnfSnifferSampleFileName = "/usr/local/sbin/snfSniffer.sample";
|
|
|
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";
|
|
|
PostfixMainCfPath = "/etc/postfix/main.cf";
|
|
|
PostfixMasterCfPath = "/etc/postfix/master.cf";
|
|
|
PostfixMasterCfPath = "/etc/postfix/master.cf";
|
|
|
|
|
|
|
|
|
} else if ("Ubuntu" == OperatingSystemType) {
|
|
|
} else if ("Ubuntu" == OperatingSystemType) {
|
|
|
|
|
|
|
|
|
PostfixDefaultIsChrooted = true;
|
|
|
PostfixDefaultIsChrooted = true;
|
|
|
SnfSnifferDirName = "/var/spool/postfix/snf-server";
|
|
|
|
|
|
SnfSnifferFileName = SnfSnifferDirName + "/snfSniffer";
|
|
|
SnfSnifferFileName = SnfSnifferDirName + "/snfSniffer";
|
|
|
SnfSnifferSampleFileName = "/usr/sbin/snfSniffer.sample";
|
|
|
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";
|
|
|
PostfixMainCfPath = "/etc/postfix/main.cf";
|
|
|
PostfixMasterCfPath = "/etc/postfix/master.cf";
|
|
|
PostfixMasterCfPath = "/etc/postfix/master.cf";
|