Alban Deniz
7f15bbe0a5
Updated to use HEAD revision of submodules.
Added codedweller namespace, std namespace.
před 9 měsíci
adeniz
283d0e520d
Remove non-source files from source directories.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@64 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 11 roky
adeniz
cf29b5eb3a
Improved grammer.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@62 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 11 roky
adeniz
4a4b08051f
Removed integration for OpenSuse. Reason: sendmail configuration file for OpenSuse
is controlled by SuSEconfig, and SuSEconfig does not support configuration with milters.
Checking with the opensuse-programming list yielded one response: Configuration needs to be
done manually, and most people use postfix anyway.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@61 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 11 roky
adeniz
8199d3ad78
Make postfix a member of the snfuser group upon integration with postfix.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@59 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 12 roky
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
před 12 roky
adeniz
b2b113168a
Removed diagnostic.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@56 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 12 roky
adeniz
fffa19cbb6
Implemented PostfixIntegrate::MtaConfigurationIsChrooted().
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@55 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 12 roky
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
před 12 roky
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
před 12 roky
adeniz
d6b0d2ee33
Completed unit tests.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@51 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
adeniz
45b9580624
Completed SENDMAIL-08 (on OpenSuse).
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@40 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 12 roky
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
před 12 roky
adeniz
b3775e59f8
Completed SENDMAIL-07 (on Fedora).
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@38 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
adeniz
0e3c5d47c5
Completed SNFMilterConfig tests.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@34 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
adeniz
6cd36b7865
Configuration files for testing.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@23 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky
adeniz
796a1c243c
Tested SetupRepair() functionality.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@18 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 12 roky
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
před 12 roky
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
před 12 roky
adeniz
11612685f0
Requirements as of May 13, 2012.
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@14 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 12 roky
adeniz
4e7ee39b87
Implement UtilityConfig::StartSniffer().
git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@12 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
před 12 roky
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
před 12 roky
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
před 12 roky
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
před 12 roky