Skip to content

How to add domains via API? #1414

Description

@sharrc

Hello, I have a basic setup with postal on Ubuntu 18.04.

And I have to allow users to be able to add a domain using an API and get a DKIM public key back in response which they can they add into their DNS records.

Is there a way this is possible right now? Or do I have to use alternatives like a mix of Postfix + Amavis + Dovecot, or something on those lines...?

My requirements include:

  1. Allowing multiple domains to be added anytime
  2. Only sending emails from any user on that domain (No receiving)
  3. Being able to customize the DNS records like the DKIM's selector, which looks something like: postal_Nkj24._domainkey.example.com
    Would like to replace the "postal" bit here...

There is a commit actually that comes close to what I want: 2dd44e8

But this is not merged into the latest master version, and also there's no documentation for it.

Please help! Thanks!

Tagging: @willpower232 @adamcooke

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions