Partial update to readme. modified: README.md
Brian Barto bartobrian@gmail.com
Sat, 16 Apr 2022 14:10:45 -0400
1 files changed,
124 insertions(+),
4 deletions(-)
jump to
M
README.md
→
README.md
@@ -1,5 +1,125 @@
-# listfix -Email list creation and management for the postfix email server. + -## Under Development -If you are reading this, do not install. This is under development. +Listfix +======= + +Listfix is a simple email list manager built with python for the postfix email +server. It is intended to be simple to set up and administer. Listfix simply +receives email from postfix that is addressesed to a configured email list and +replicates that email to all list recipients in it's database. + +Most of the origninal email headers are stripped and replaced such that the +replicated email is properly addressed as having been generated and sent by your +email server, with the "From" field having the same user@domain as the email +list itself. This is necessary to avoid the email being flagged as spam. + +Listfix allows you to create multiple email lists, add and remove recipients, +and review the contents of lists through a simple command line interface (CLI). +As an alternative to the CLI, the Listfix database is stored in json format +allowing for simple viewing and manipulating of the list data via your preferred +text editor. This json format also allows for easy plugin capaibility via +custom written scripts or other software. + +Table of Contents +----------------- + +1. [Download](#download) +2. [Usage](#usage) +3. [Postfix Integration](#postfix-integration) +4. [License](#license) +5. [Tips](#tips) + +Download +-------- + +#### Requirements: + +This project was built using python version 3.7. It has not been tested with +lower versions. I suggest using at least python 3.7 to avoid any potential +issues. + +#### Download from git: +``` +$ git clone git@github.com:bartobri/listfix.git +``` + +Usage +----- + +Basic Usage: `listfix.py <command> [<arg_1>,<arg_2>,...]` + +After downloading the listfix git repo, cd to the listfix directory. Next use +the following commands to create and manage your email list database. + +We'll be using the example everyone@smith-family.com for our email list address. + +#### Create a new email list: + +Usage: `listfix.py create <email_list_address> <email_list_name>` + +``` +$ ./listfix.py create everyone@smith-family.com "Smith Family" +New list (everyone@smith-family.com) added. +$ +``` + +#### List all email lists: + +Usage: `listfix.py lists` + +``` +$ ./listfix.py lists +everyone@smith-family.com (Smith Family) +$ +``` + +#### Add a recipient to an email list: + +Usage: `listfix.py add <email_list_address> <recipient_address> <recipient_name>` + +``` +$ ./listfix.py add everyone@smith-family.com mom@example.com "Sue Smith" +New recipient (mom@example.com) added to list (everyone@smith-family.com) +$ ./listfix.py add everyone@smith-family.com dad@example.com "Bob Smith" +New recipient (dad@example.com) added to list (everyone@smith-family.com) +$ ./listfix.py add everyone@smith-family.com me@example.com "Joe Smith" +New recipient (me@example.com) added to list (everyone@smith-family.com) +``` + +#### List all recipients in an email list: + +Usage: `listfix.py dump <email_list_address>` + +``` +$ ./listfix.py dump everyone@smith-family.com +mom@example.com (Sue Smith) +dad@example.com (Bob Smith) +me@example.com (Joe Smith) +$ +``` + +#### Remove a recipient in an email list: + +Usage: `listfix.py remove <email_list_address> <recipient_address>` + +``` +$ ./listfix.py remove everyone@smith-family.com mom@example.com +Recipient (mom@example.com) removed from list (everyone@smith-family.com) +$ +``` + +#### Destroy an email list: + +Usage: `listfix.py destroy <email_list_address>` + +``` +$ ./listfix.py destroy everyone@smith-family.com +Email list (everyone@smith-family.com) destroyed +$ +``` + +Postfix Integration +------------------- + +These instructions assume you have the postfix email server set up on a unix or +linux system and you have virtual domain settings enabled.