瀏覽代碼

Corrected location of postfix configuration files for OpenBSD.


git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@33 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
master
adeniz 12 年之前
父節點
當前提交
4590136826
共有 2 個文件被更改,包括 9 次插入9 次删除
  1. 4
    4
      SNFMilterConfig/PostfixIntegrate.cpp
  2. 5
    5
      SNFMilterConfig/SNFMilterConfigTests.txt

+ 4
- 4
SNFMilterConfig/PostfixIntegrate.cpp 查看文件

@@ -40,14 +40,14 @@ PostfixIntegrate::SetOperatingSystem(std::string OperatingSystemType) {
if ("OpenBSD" == OperatingSystemType) {
PostfixMainCfPath = "/usr/local/etc/postfix/main.cf";
PostfixMasterCfPath = "/usr/local/etc/postfix/master.cf";
PostfixMainCfPath = "/etc/postfix/main.cf";
PostfixMasterCfPath = "/etc/postfix/master.cf";
ReloadMtaCommand = "/usr/local/sbin/postfix reload";
} else if ("FreeBSD" == OperatingSystemType) {
PostfixMainCfPath = "/etc/postfix/main.cf";
PostfixMasterCfPath = "/etc/postfix/master.cf";
PostfixMainCfPath = "/usr/local/etc/postfix/main.cf";
PostfixMasterCfPath = "/usr/local/etc/postfix/master.cf";
ReloadMtaCommand = "/usr/local/sbin/postfix reload";
} else if ("Ubuntu" == OperatingSystemType) {

+ 5
- 5
SNFMilterConfig/SNFMilterConfigTests.txt 查看文件

@@ -498,17 +498,17 @@ POSTFIX-07: Repeat POSTFIX-01 and POSTFIX-04 on Fedora.

POSTFIX-08: Repeat POSTFIX-01 and POSTFIX-04 on OpenSuse.

Result: Pass for: 01
Result: Pass.

POSTFIX-09: Repeat POSTFIX-01 POSTFIX-04, thru POSTFIX-07 on CentOS.
POSTFIX-09: Repeat POSTFIX-01 and POSTFIX-04 on CentOS.

Result:
Result: Pass.

POSTFIX-10: Repeat POSTFIX-01 thru POSTFIX-07 on OpenBSD.
POSTFIX-10: Repeat POSTFIX-01 and POSTFIX-04 on OpenBSD.

Result:

POSTFIX-11: Repeat POSTFIX-01 thru POSTFIX-07 on FreeBSD.
POSTFIX-11: Repeat POSTFIX-01 and POSTFIX-04 on FreeBSD.

Result:


Loading…
取消
儲存