Browse Source

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 years ago
parent
commit
4590136826
2 changed files with 9 additions and 9 deletions
  1. 4
    4
      SNFMilterConfig/PostfixIntegrate.cpp
  2. 5
    5
      SNFMilterConfig/SNFMilterConfigTests.txt

+ 4
- 4
SNFMilterConfig/PostfixIntegrate.cpp View File

@@ -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 View File

@@ -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…
Cancel
Save