firstdorsal / postkutsche-web

This is a mirror of https://git.y.gy/firstdorsal/postkutsche-web

Home Page:https://git.y.gy/firstdorsal/postkutsche-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a mirror of git.y.gy/firstdorsal/postkutsche-web

postkutsche-web

Postkutsche is a module that combines PowerDns and Mailcow to create a mail domain with all required entries on both services in a single command. This is the same module packed in a single html file ready to be executed directly in your browser without downloading anything else!

The TLSA record creation is NOT supported in the browser as it requires openssl to be executed.

Install

Download the index.html from this repository: here and open it in the browser.

Basic use

With the dev console

  1. Press F12 or ctrl/strg + shift + i to open the developer tools and navigate to the console.

1.1 If the console is not directly visible press 'ESC' to open it

  1. Create a Postkutsche client
let pk=new Postkutsche({mailcow:{url:"https://mail.example.com",apikey:"yourMailcowApiKey"},powerdns:{url:"https://example.com/api/v1/servers/localhost",apikey:"yourPdnsApiKey"}});

await pk.openpgpHash('your.local.email.name');

By adding to the file

Go to the bottom of the index.html and add your functions.

Use the powerdns-api or the mailcow-api without postkutsche

let mailcowClient=new MailcowApiClient('https://mail.example.com','yourMailcowApiKey');

OR

let powerdnsClient=new PowerdnsClient('https://example.com/api/v1/servers/localhost','yourPdnsApiKey');

Check out the documenations of the modules

postkutsche

NPM

Documentation

Code

powerdns-api

NPM

Documentation

Code

mailcow-api

NPM

Documentation

Code

Need help or missing a feature?

Feel free to contact me via xl9jthv_7bvgakv9o9wg0jabn2ylm91xxrzzgt0e@y.gy in english or german

About

This is a mirror of https://git.y.gy/firstdorsal/postkutsche-web

https://git.y.gy/firstdorsal/postkutsche-web

License:Mozilla Public License 2.0


Languages

Language:HTML 100.0%