Do not follow this link

~timharek/migadu

CLI and Go package for Migadu
feat: Add autocomplete for domain flag
feat: Add config init

clone

read-only
https://git.sr.ht/~timharek/migadu
read/write
git@git.sr.ht:~timharek/migadu

You can also use your local clone with git send-email.

builds.sr.ht status

#Migadu

CLI for Migadu and Go-package for interacting with Migadu.

This project is not endorsed or affiliated by Migadu-Mail GmbH.

#Install CLI

Using go:

go install git.sr.ht/~timharek/migadu@latest

#Using pre-compiled binary

Select the version you want to install available releases and download it and add it to your bin or something similar.

Example:

wget https://git.sr.ht/~timharek/migadu/refs/download/<release>/migadu-<version>-linux-amd64.tar.gz
tar xf migadu-<version>-linux-amd64.tar.gz
cd migadu-<version>
cp migadu /usr/local/bin

#Usage

# Get help
migadu --help

# Listing all mailboxes for a domain
migadu mailbox list --domain example.org

#As a package

import (
  "git.sr.ht/~timharek/migadu/migadu"
  "git.sr.ht/~timharek/migadu/migadu/mailbox"
)

func whatever() {
	m, err := migadu.New(migadu.Config{Domain: "example.org"})

  mailboxLocalPart := "example"
	list, err := mailbox.List(mailboxLocalPart)

  // Use the data
}

#Contributing

Anyone can contribute to Migadu. Please refer to the contribution guidelines.

Send patches to the mailing list, report bugs on the issue tracker.

Do not follow this link