Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmandel/ccda-redirect
A simple service to: Listen for incoming messages on a Direct server, Identify C-CCDA attachments, and Forward them to a specified address.
https://github.com/jmandel/ccda-redirect
Last synced: 19 days ago
JSON representation
A simple service to: Listen for incoming messages on a Direct server, Identify C-CCDA attachments, and Forward them to a specified address.
- Host: GitHub
- URL: https://github.com/jmandel/ccda-redirect
- Owner: jmandel
- Created: 2013-06-17T22:39:20.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-03T20:35:59.000Z (almost 11 years ago)
- Last Synced: 2024-10-06T15:43:19.305Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 242 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SMART reDirect
## A simple service to:
1. Listen for incoming messages on a Direct server
2. Identify C-CCDA attachments, and
3. Forward them to a specified address.This is a quick hack and a useful bridge. Currently relies on the Direct Java
Reference Implemenation version 2.1, with the `IncomingMessageSaveFolder` debug
setting enabled. It works by monitoring a directory for new (e-mail) files.Run it with three variables (passed via the command line, or as environment variables):
* Source Directory (local dir where new e-mail files appear): `--source_dir` or `export SOURCE_DIR`
* Progress Directory (local dir where progress can be recorded): `--progress_dir` or `export PROGRESS_DIR`
* CCDA POST URL ( URL template to which files should be posted): `--ccda_post_url` or `export CCDA_POST_URL`Note: the CCDA POST URL can use the following template variables: `from`, `to`.
For example, if you want to process C-CDAs based on the recipient (`to`)
address, you can use a CCDA POST URL like
`http://my-server.com/incoming/ccda/for-user/{to}`.---
This is designed to run in the context of the Direct Java Reference
Implementation. You can install the whole shebang
automatically with [ansible](http://ansible.cc):https://github.com/jmandel/ansible-ccda