wimp 0.1.25
|
$list-root-dir/$list-name/ | ||
articles/last-article | Last article number assigned. | |
articles/$yyyy-$mm/$number | Posted messages, where $yyyy is a year number, $mm the numerical month, and $number is an article number. | |
articles/$number | Message waiting approval, where $number is an article number. | |
config | Configuration generated by -help or +help. | |
reviewers | List of reviewer addresses, sorted, one per line. | |
reviewers-removed | List of reviewer addresses removed, sorted, one per line. | |
users | List of subscribed addresses, sorted, one per line. | |
users-removed | List of unsubscribed addresses, sorted, one per line. |
Download:
wimp-0.1 md5sum Change Log LibSnert md5sum Change Log
The build process for libsnert
and wimp
is pretty straight forward:
$ cd (path to)/com/snert/src/lib
$ ./configure
$ make build
$ cd ../wimp
$ ./configure --enable-list-root=/var/wimp
$ make build
$ sudo make install
The --enable-list-root is optional and only
need be specified if you want the list-root-dir
to use something different from /var/wimp
. It is possible to
override the configured default by specifying the list-root-dir
option in the liast aliases, as defined below.
The configure option --enable-run-user and
--enable-run-group might be worth changing to
match how your MTA invokes external programs. The default is daemon:daemon
,
though other MTAs or systems may use root:daemon
, mail:mail
, or
root:mail
when piping a message through a program.
Both configuration scripts have options that allow you to override defaults. Those options are listed with:
$ ./configure --help
After installing wimp, the list-root-dir, defined by the configure script, will have been created along with an initial test list.
To create a new mailing list use the +create command option to make the list directory, populate the directory, and ensure that initial files have the correct ownership and permissions. For example the initial test list was created with:
# wimp +create \ list-name='test' \ list-subject-tag='[Test]' \ list-summary='Test Mailing List' \ list-cookie-secret=`date +%s`
The list's config
file will probably require further editing.
wimp
will create additional files and directories as commands
and posted articles are issued later. (The use of a date stamp, as
illustrated above, is probably not most secure means of generating a secret.)
To configure Sendmail to use Private Wimp
simply add an alias to /etc/mail/aliases
. For example:
# cd /etc/mail # cat <<'EOT' >>aliases test: "|/usr/local/sbin/wimp list-name=test" EOT # newaliases
Optionally, configure Sendmail virtusertable to attribute a specific address to the alias. For example:
# cd /etc/mail # cat <<'EOT' >>virtusertable test@example.com test EOT # makemap hash virtusertable <virtusertable
Postfix apparently supports a similar mechanism to direct messages to an alias that pipes messages through a program. This is an exercise left to the reader.
It is now possible to send commands and posts to the test mailing list, eg.
$ mail -s 'help' test@example.com . $
SNERTSOFT & CO. ARE WILLING TO LICENSE THE SOFTWARE IDENTIFIED ABOVE TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS LICENSE AGREEMENT. PLEASE READ THE AGREEMENT CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU ACCEPT THE TERMS OF THE AGREEMENT.
``Package'' means the identified above in source and/or binary form, any other machine readable materials provided (including, but not limited to documentation, sample files, data files), any updates or error corrections, and its derivative works.
``Organisation'' means a legal entity or an individual.
``You'' (or ``Your'') means an Organisation exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, ``You'' includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition,``control'' means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
``SnertSoft'' means Anthony C. Howe situated in Cannes, France (SIRET #489 259 937 00014).
``SnertSoft & Co.'' means SnertSoft and all authorised & licensed partners, such as value-added resellers or appliance manufacturers.
The Package is an original work written by SnertSoft, with exception of following third party code:
MD5 routines written by L. Peter Deutsch, based on RFC 1321;
SQLite3 package is written by D. Richard Hipp of Hwaci and is in the public domain.
strnatcmp.c is written by Martin Pool of sourcefrog.net and has a BSD style license.
You may install and use this Package, without modifications, exclusively on machines for which You have purchased a license, provided You retain this notice, SnertSoft's copyright notice, any and all license control methods (see below), and any links within the Package back to the most current online versions of this License and Disclaimer.
You may copy, share, distribute, modify, and create derivative works from the user manuals and any related documentation solely for Your internal business purposes, such as in-house documentation, training manuals, or reference material.
Redistribution, including but not limited to books, CDROMS, download mirrors, floppy diskettes, hard disks, hardcopy print outs, online archives, solid state disks, streaming tapes, or other current or future forms of storage or communication media of the Package, with or without modifications, including any and all derivative works such as source patches, binaries, binary patches, or similar is expressly forbidden without prior written permission in hardcopy (ie. letter or fax) signed and dated by SnertSoft.
It is expressly forbidden for You to use the Package, in whole or in part, in any other software or appliance without prior written permission in hardcopy (ie. letter or fax) signed and dated by SnertSoft.
It is expressly forbidden for You to use the Package to develop any software or other technology having the same primary function as the Package, including but not limited to using the Package in any development or test procedure that seeks to develop like software or other technology, or determine if such software or other technology performs in a similar manner as the Package.
You may not sell, rent, lease, or transfer the Package to third parties without prior written permission in hardcopy (ie. letter or fax) signed and dated by SnertSoft.
This Agreement is effective until terminated. You may terminate this Agreement at any time by destroying all copies of the Package.
This Agreement will terminate immediately without notice from SnertSoft if You fail to comply with any provision of this Agreement.
Either party may terminate this Agreement immediately should any portion of the Package become, or in either party's opinion be likely to become, the subject of a claim of infringement of any intellectual property right. Upon Termination, You must destroy all copies of the Package.
New Versions. SnertSoft may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number.
Effect of New Versions. Once a version of the Package has been published under a particular version of the License, You may always continue to use it under the terms of that License version. You may also choose to use such Package under the terms of the most current version of the License published by SnertSoft.
No one other than SnertSoft has the right to modify the terms applicable to the Package created under this License.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO WAY SHALL SNERTSOFT OR LICENSEE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The Package may use one or more license control methods including, but not limited to, license key activation, periodic reporting of Package details and IP address of installation to SnertSoft & Co., or remote license verification by SnertSoft & Co.. Any information reported to or gathered by SnertSoft & Co. shall remain strictly confidential and the private property of SnertSoft & Co.. Under no circumstances will SnertSoft & Co. resell or release this information to third parties, unless demanded by court order.
Support is provided for one year from date of purchase and only for SnertSoft's original Package that was purchased directly from SnertSoft. Additional support beyond the first year can be obtained from SnertSoft on time & materials basis or from one of SnertSoft's authorised partners.
Support for the Package obtained from authorised partners, such as value-added resllers or appliance manufacturers, will be supplied by those partners. SnertSoft will not support the Package without proof of purchase from SnertSoft, such as an Order N° or Invoice N°.
Package enhancements requests and product suggestions are always welcome. A community mailing list is available; please refer to SnertSoft web site Support area for details.
Gifts from the author's Amazon US or Amazon UK wishlist (search by mail address <achowe at snert dot com>) are welcomed for the continued encouragement, moral support, and ego pumping needed to work in foreign non-english speaking lands.
since January 2010