2017-02-01 15:35:35 -08:00
|
|
|
# Ruby-Ezmlm
|
|
|
|
|
|
|
|
|
|
code
|
|
|
|
|
: https://bitbucket.org/mahlon/Ruby-Ezmlm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Authors
|
|
|
|
|
|
2017-02-06 11:54:16 -08:00
|
|
|
* Mahlon E. Smith <mahlon@martini.nu>
|
2017-02-01 15:35:35 -08:00
|
|
|
* Michael Granger <ged@faeriemud.org>
|
2017-05-12 11:09:36 -07:00
|
|
|
* Jeremiah Jordan <jeremiah.m.jordan@gmail.com>
|
2017-02-01 15:35:35 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
|
|
This is a ruby interface for interacting with ezmlm-idx, an email list
|
2017-02-06 11:54:16 -08:00
|
|
|
manager for use with the Qmail MTA, and the messages contained therein.
|
|
|
|
|
(The -idx provides an extended feature set over the original ezmlm
|
|
|
|
|
environment.)
|
2017-02-01 15:35:35 -08:00
|
|
|
|
|
|
|
|
http://untroubled.org/ezmlm/
|
|
|
|
|
|
2017-02-06 11:54:16 -08:00
|
|
|
This was tested against ezmlm-idx 7.2.2.
|
|
|
|
|
|
2017-05-12 11:09:36 -07:00
|
|
|
*Strong recommendation*: Create your lists with archiving (-a) and
|
|
|
|
|
indexing (-i)! This library is suitable for modifying behavior of
|
|
|
|
|
existing lists as a default, but with these flags enabled, can also
|
2017-05-12 16:17:41 -07:00
|
|
|
be a generic interface for parsing and browsing list content.
|
2017-05-12 11:09:36 -07:00
|
|
|
|
2017-02-01 15:35:35 -08:00
|
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
|
2017-02-06 11:54:16 -08:00
|
|
|
* Ruby 2.1 or better
|
2017-02-01 15:35:35 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
|
|
$ gem install ezmlm
|
|
|
|
|
|
|
|
|
|
|
2017-02-06 11:54:16 -08:00
|
|
|
## TODO
|
|
|
|
|
|
|
|
|
|
- Text file editing (trailers, etc.)
|
|
|
|
|
- Header / mime list accessors
|
|
|
|
|
|
|
|
|
|
|
2017-02-03 10:52:46 -08:00
|
|
|
## Limitations
|
|
|
|
|
|
2017-02-06 11:54:16 -08:00
|
|
|
This library doesn't create new lists from scratch. Use ezmlm-make.
|
|
|
|
|
|
2017-02-03 10:52:46 -08:00
|
|
|
This library is designed to only work with lists stored on disk (the
|
|
|
|
|
default), not the SQL backends.
|
|
|
|
|
|
|
|
|
|
Address space (32 bit vs 64 bit) matters when ezmlm calculates hashes.
|
|
|
|
|
If things aren't adding up, make sure this library is running on a
|
|
|
|
|
machine with a matching address space as the list itself. (Running this
|
|
|
|
|
on a 64bit machine to talk to 32bit listserv isn't going to play well.)
|
|
|
|
|
|
2017-02-06 11:54:16 -08:00
|
|
|
A lot of the fine tuning niceties of ezmlm come as flag options to
|
2017-05-12 11:09:36 -07:00
|
|
|
the various ezmlm binaries. This library largely just deals with
|
2017-02-06 11:54:16 -08:00
|
|
|
ezmlm-make flags for global list behaviors. (For example, see the man
|
|
|
|
|
page for ezmlm-reject.) Patches are welcome if you'd like these sorts
|
2017-05-12 11:09:36 -07:00
|
|
|
of miscellaneous things included.
|
2017-02-03 10:52:46 -08:00
|
|
|
|
|
|
|
|
|
2017-05-12 16:17:41 -07:00
|
|
|
## Acknowledgments
|
|
|
|
|
|
|
|
|
|
Portions of this library are copied from ezmlm-idx source, authored by
|
|
|
|
|
the following:
|
|
|
|
|
|
|
|
|
|
* D. J. Bernstein <djb@cr.yp.to>
|
|
|
|
|
* Bruce Guenter <bruce@untroubled.org>
|
|
|
|
|
|
|
|
|
|
Many thanks for Dan and Bruce for their commitment for fine software, and
|
|
|
|
|
contributions to the internet communities over the years.
|
|
|
|
|
|
|
|
|
|
|
2017-02-01 15:35:35 -08:00
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2017, Mahlon E. Smith <mahlon@martini.nu>
|
|
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
|
|
modification, are permitted provided that the following conditions are met:
|
|
|
|
|
|
|
|
|
|
* Redistributions of source code must retain the above copyright notice,
|
|
|
|
|
this list of conditions and the following disclaimer.
|
|
|
|
|
|
|
|
|
|
* Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
|
this list of conditions and the following disclaimer in the documentation
|
|
|
|
|
and/or other materials provided with the distribution.
|
|
|
|
|
|
|
|
|
|
* Neither the name of the author/s, nor the names of the project's
|
|
|
|
|
contributors may be used to endorse or promote products derived from this
|
|
|
|
|
software without specific prior written permission.
|
|
|
|
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 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.
|