GithubHelp home page GithubHelp logo

mdaemon-utilities's Introduction


WARNING: this is not ready for production.

MDaemon Utilities

Simple admin utilities to be run by Deno.

  • mdgrp - Convert a MDaemon mailing list file to CSV.
  • mdsend - Queue a new message in MDaemon's raw queue.

mdgrp - Convert a MDaemon mailing list file to CSV.

WIP

Mdaemon mailing lists are stored in *.grp files.

Installation

Run the Deno install command:

C:\Users\Administrator>deno install --allow-env --allow-read --allow-write https://raw.githubusercontent.com/ealib/mdaemon-utilities/master/src/mdgrp.ts

Remember to (permanently) add the path where Deno install scripts to to PATH:

C:\Users\Administrator>set PATH=%PATH%;C:\Users\Administrator\.deno\bin

Example

Assume MDaemon is installed in C:\MDaemon.

Run the installed command mdgrp passing the *.grp file as argument:

C:\>mdgrp convert --from C:\MDaemon\App\[email protected] --to [email protected]

to generate .\[email protected]:

ADDRESS DESCRIPTION NORMAL RECEIVE ONLY SEND ONLY
[email protected] John B. Smith x
[email protected] Amelia J. Jones x
[email protected] George T. Williams x
[email protected] Olivia A. Taylor x
[email protected] Emily J. Wright x

Synopsys

Process MDaemon mailing list files (*.grp).
Version 1.1.1

Usage:
  mdgrp convert --from=<source_grp> --to=<target_file> [--debug]
  mdgrp backup --app-dir=<app_dir> --backup-dir=<backup_dir> [--overwrite] [--debug]
  mdgrp restore --backup-dir=<backup_dir> --app-dir=<app_dir> [--overwrite] [--debug]
  mdgrp -h | --help
  mdgrp --version

Options:
  -h --help                  Show this screen.
  --version                  Show version.
  -f --from=<source_grp>     Source *.grp file.
  -t --to=<target_file>      Target file (*.txt, or *.csv).
  --app-dir=<app_dir>        MDaemon "App" directory.
  --backup-dir=<backup_dir>  Backup directory.
  --overwrite                Overwrite output files.
  --debug                    Run in debug mode.```

mdsend - Queue a new message in MDaemon's raw queue.

WIP

Mdaemon raw messages are a job specification for the queue system. Queue system will take the job, process it and, if correct, queue a real e-mail message in one or more message queue(s) for delivery.

Installation

Run the Deno install command:

C:\Users\Administrator>deno install --allow-env --allow-write https://raw.githubusercontent.com/ealib/mdaemon-utilities/master/src/mdsend.ts

Remember to (permanently) add the path where Deno install scripts to to PATH:

C:\Users\Administrator>set PATH=%PATH%;C:\Users\Administrator\.deno\bin

Synopsys

Queue a new message in MDaemon's raw queue.
Version 1.0.0

Usage:
  mdsend --subject <text> --from=<address> --to=<address> [--cc=<address>] [--bcc=<address>] [--debug]
  mdsend -h | --help
  mdsend --version

Options:
  -h --help            Show this screen.
  --version            Show version.
  -s --subject=<text>  Subject of the message.
  -f --from=<address>  Sender of the message.
  -t --to=<address>    Recipient(s).
  --cc=<address>       Cc(s).
  --bcc=<address>      Bcc(s)
  --debug              Run in debug mode.

License

Copyright © 2021 Emanuele Aliberti

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

mdaemon-utilities's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.