adeniz
0f5b91a89a
Implemented updating of SNFMilter.xml, tested -with functionality on Ubuntu.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@57 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
adeniz
b2b113168a
Removed diagnostic.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@56 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
adeniz
fffa19cbb6
Implemented PostfixIntegrate::MtaConfigurationIsChrooted().
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@55 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
adeniz
06cc2e3f80
PostfixMilterConf constructor accepts the milter spec rather than always using unix:/var/snf-milter/socket.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@54 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
adeniz
7eea9f0cd3
Upgraded Utility::ReplaceXmlAttribute to ignore elements in comments.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@53 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
adeniz
b1c86f53f7
Add newline if necessary when removing postfix integration.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@52 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
adeniz
d6b0d2ee33
Completed unit tests.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@51 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
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 години
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 години
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 години
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 години
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 години
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 години
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 години
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 години
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 години
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 години
adeniz
45b9580624
Completed SENDMAIL-08 (on OpenSuse).
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@40 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
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 години
adeniz
b3775e59f8
Completed SENDMAIL-07 (on Fedora).
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@38 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
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 години
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 години
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 години
adeniz
0e3c5d47c5
Completed SNFMilterConfig tests.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@34 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
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 години
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 години
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 години
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 години
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 години
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 години
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 години
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 години
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 години
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 години
adeniz
6cd36b7865
Configuration files for testing.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@23 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
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 години
adeniz
069c987b16
Implemented adding datestamp to log file when Append is specified in
the configuration.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@21 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
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 години
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 години
adeniz
796a1c243c
Tested SetupRepair() functionality.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@18 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
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 години
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 години
adeniz
e40a2be6ec
Implemented .failed functionality, and upgraded unit tests.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@15 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
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 години
adeniz
8710dabed4
Removed as instructed.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@13 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
adeniz
4e7ee39b87
Implement UtilityConfig::StartSniffer().
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@12 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
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 години
adeniz
7eef0153be
Check the getRulebase.status file for successful rulebase download.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@10 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
преди 12 години
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 години
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 години