Browse Source

Changed comment in main.cf to indicate that the line was added by

SNFMilterConfig.


git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@31 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
master
adeniz 12 years ago
parent
commit
87b6ecf10a
2 changed files with 10 additions and 10 deletions
  1. 1
    1
      SNFMilterConfig/PostfixIntegrate.cpp
  2. 9
    9
      SNFMilterConfig/SNFMilterConfigTests.txt

+ 1
- 1
SNFMilterConfig/PostfixIntegrate.cpp View File

// Configuration. //////////////////////////////////////////////////////////////////////////////////////// // Configuration. ////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////
const std::string SnfMilterMainCfSearchString("Added by PostfixIntegrate");
const std::string SnfMilterMainCfSearchString("Added by SNFMilterConfig");
const std::string SnfMilterMainCfIntegrationString("smtpd_milters = unix:/var/snf-milter/socket $smtpd_milters # Added by PostfixIntegrate"); const std::string SnfMilterMainCfIntegrationString("smtpd_milters = unix:/var/snf-milter/socket $smtpd_milters # Added by PostfixIntegrate");

+ 9
- 9
SNFMilterConfig/SNFMilterConfigTests.txt View File

SNFMilterConfig Tests SNFMilterConfig Tests


$Id$

SNFUtility revision 9 SNFUtility revision 9


Help functionality Help functionality
1) Delete all files in the SNFMilter log directory. 1) Delete all files in the SNFMilter log directory.


2) Set the time to 23:59:30 and immediately run "SNFMilterConfig 2) Set the time to 23:59:30 and immediately run "SNFMilterConfig
-start -v".
-start -v". For example:

date 0825235912.30; ./SNFMilterConfig -start -v


3) Verify that: 3) Verify that:


starting SNFMilter. starting SNFMilter.




Result:
Result: Pass.


START_STOP_MIN-03: Configure as for START_STOP_MIN-01, and do the START_STOP_MIN-03: Configure as for START_STOP_MIN-01, and do the
following when the local date is different from the date from following when the local date is different from the date from
5) Run SNFMilterConfig with "-stop -explain". Verify correct 5) Run SNFMilterConfig with "-stop -explain". Verify correct
output, and that SNFMilterConfig doesn't stop SNFMilter. output, and that SNFMilterConfig doesn't stop SNFMilter.


Result:
Result: Pass.


Integration with postfix Integration with postfix
------------------------ ------------------------


Result: Pass. Result: Pass.


POSTFIX-07: Repeat POSTFIX-01 thru POSTFIX-06 on Fedora.
POSTFIX-07: Repeat POSTFIX-01 and POSTFIX-06 on Fedora.


Result: Pass. Result: Pass.


POSTFIX-08: Repeat POSTFIX-01 thru POSTFIX-07 on OpenSuse.
POSTFIX-08: Repeat POSTFIX-01 and POSTFIX-07 on OpenSuse.


Result:
Result: Pass for: 01


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


Result: Result:



Loading…
Cancel
Save