aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshukuru <shukuru@boitalett.re>2024-02-17 19:55:29 +0100
committershukuru <shukuru@boitalett.re>2024-02-17 19:55:29 +0100
commit10ba5df45df0f5041babba42a283c5bc02e0d602 (patch)
treee8f4bfd9b4e13cbda7fcbb93643fa363a7765cb7
Initial commit
-rw-r--r--.gitignore1
-rw-r--r--Cargo.toml17
-rw-r--r--LICENSE11
-rw-r--r--README.md15
-rw-r--r--src/main.rs3
5 files changed, 47 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ea8c4bf
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/target
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..4638ea1
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,17 @@
+[package]
+name = "cramd"
+version = "0.1.0"
+edition = "2021"
+
+repository="https://mail.boitalett.re/openwork/cramd.git"
+homepage="https://mail.boitalett.re"
+
+description="DMARC reports reader daemon"
+authors=["shukuru <shukuru@boitalett.re>"]
+readme="README.md"
+license="BSD-3-Clause"
+license-file="LICENSE"
+
+keywords=["dmarc", "mail", "network", "daemon"]
+
+[dependencies]
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..e1c790c
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,11 @@
+cramd - DMARC reports reader daemon
+
+Copyright (c) 2024 mail.boitalett.re.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+ 2. 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.
+ 3. Neither the name of the copyright holder nor the names of its 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 HOLDER 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.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a2dd155
--- /dev/null
+++ b/README.md
@@ -0,0 +1,15 @@
+# cramd
+
+cramd is a DMARC reports reader daemon.
+
+It is pretty versatile, reading XML formatted DMARC reports from an UNIX socket
+then parse and generate the data to a web page in a specific directory served by
+any HTTP server.
+
+## Configuration
+
+_to draft_
+
+## Usage
+
+_to draft_
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..e7a11a9
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,3 @@
+fn main() {
+ println!("Hello, world!");
+}