adeniz
d6b0d2ee33
Completed unit tests.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@51 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
9f1dd8f368
Unit tested PostfixMilterConf::IsIntegrated, IsMilterLine, and
AddIntegration.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@50 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
0b7f4e41b2
Implemented PostfixMilterConf, class to updated the smtpd_milters line
in postfix main.cf.
Modified PostfixIntegrate to use PostfixMilterConf.
Need to implement unit test for PostfixMilterConf.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@49 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
aa23e5d0bf
Removed "# Added by ..." when integrating with postfix.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@48 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
09751b5120
Do not include $smtpd_milters in the definition of smtpd_milters. This is a temporary
fix, since assigning a value to smtpd_milters would overwrite any previous value.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@47 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
8e2441f549
Refer user to INSTALL file when integrating with sendmail on OpenBSD or
FreeBSD.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@46 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
8090dab554
Moved all processing in main.cpp into the try-block. Reason:
SNFMilterConfig.GetCommandLineInput() can now throw an exception.
Completed SENDMAIL-11 (test that integration with sendmail is not
supported on OpenBSD).
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@45 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
30a4c5094d
Tested SENDMAIL-10 (test that sendmail integration is not
supported on FreeBSD).
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@44 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
c32bbfd01a
Completed SENDMAIL-09 (sendmail integration on CentOS).
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@43 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
5895eb8e5d
Removed support for integration with sendmail for OpenBSD and FreeBSD.
Changed sendmail reload to "/etc/init.d/sendmail reload" because the service command is in different
locations in different Ubuntu OS versions.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@42 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
13610d48df
Added prospective commands for integration with sendmail on OpenBSD and FreeBSD (not tested).
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@41 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
45b9580624
Completed SENDMAIL-08 (on OpenSuse).
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@40 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
0b085158b5
When unintegrating sendmail, output message indicating the command
to build the new sendmail.cf file.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@39 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
b3775e59f8
Completed SENDMAIL-07 (on Fedora).
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@38 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
ea97477b20
Completed SENDMAIL-02 thru SENDMAIL-06 tests on Ubuntu.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@37 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
f17399da6e
Return -1 on error (needed by package managers).
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@36 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
4efc49b531
Implemented SNFMilter integration with sendmail, completed test
SENDMAIL-01 (on ubuntu).
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@35 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
0e3c5d47c5
Completed SNFMilterConfig tests.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@34 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
4590136826
Corrected location of postfix configuration files for OpenBSD.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@33 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
908600334e
Correct detection of whether postfix is integrated with SNFMilter.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@32 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
87b6ecf10a
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
12 år sedan
adeniz
197ecedb1c
Tested on Fedora 7 (32-bit).
Corrected -v and -explain output when reloading MTA.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@30 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
b025efa67d
Tested integration/unintegration with postfix on Ubuntu.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@29 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
391b879527
Updated integration/unintegration to restart postfix if it is running.
Added test procedures to test the integration/unintegration with
postfix.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@28 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
9694cfa00f
Test start/stop functionality with different configuration of log file
rotation, and local/GMT time.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@27 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
a71d368b6f
Removed -config processing. Added checks for specification of -auth
or -id (but not both) with another command.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@26 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
28dbce670f
Verified start/stop functionality with status.second logging in append
mode.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@25 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
287b6e24bb
Begin testing correct generation of log files with date stamps.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@24 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
6cd36b7865
Configuration files for testing.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@23 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
4d8afb2508
Load credentials when starting or stopping SNFMilter.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@22 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
f12f035337
Tested functionality: Help, Conflict detection, Setup/repair,
Credential, Start/stop with XCI.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@20 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
15ec1d8c69
Implemented checking via XCI, status.second, and status.minute the
Sniffer running state.
Updated StartSniffer to check the running state.
Implemented StopSniffer.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@19 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
796a1c243c
Tested SetupRepair() functionality.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@18 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
b15b3d2aa9
Implemented updating of identity file.
Implement unit test of Utility::ReplaceXmlAttribute() in
TestUtility.cpp.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@17 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
39f6cbf224
Defined commands for repair/setup, startSniffer, etc.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@16 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
11612685f0
Requirements as of May 13, 2012.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@14 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
4e7ee39b87
Implement UtilityConfig::StartSniffer().
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@12 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
20e06cee84
Initial revision of lists of SNFMilterConfig tests.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@11 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
fa2341d366
Save rulebase only if credentials were specified on the command line.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@9 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
06b2ca5907
Moved SNFIdentity functionality to SNFMilterConfig.
Create any config files that don't exist from the sample files.
SNFMilterConfig is responsible for saving and restoring all config
files.
SNFIdentity is deprecated.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@8 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
2a003af8c8
Moved functionality from UtilityConfig to Config. MtaIntegrate is a
subclass of Utility.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@7 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan
adeniz
9fb8373620
Initial revision. SNFIdentity and SNFMilterConfig are functional (for
integrating/unintegrating with postfix), but backup/restore of
configuration files is not implemented. Also, SNFIdentity does not
download a new rulebase.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@2 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
12 år sedan