Dovetail v0.0.3 Dovetail.Process

The Dovetail.Dovecot module provides functions for calling dovecot binaries.

See dovecot/2 and dove_adm/2.

Summary

Functions

Call the doveadm executable with args

Call the dovecot executable with options

Call pgrep with args, and parse result

Types

doveadm_opts :: [{:doveadm, String.t}]

Functions

doveadm(args, opts \\ [])

Specs

doveadm([String.t], doveadm_opts) ::
  {:ok, String.t} |
  {:error, any}

Call the doveadm executable with args.

Options

  • path the doveadm name or path. Defaults to “/Users/jtmoulia/repos/dovetail/_build/dev/lib/dovetail/priv/dovecot/bin/doveadm”.
dovecot(args \\ [], opts \\ [])

Call the dovecot executable with options.

  • path the dovecot name or path. Defaults to “/Users/jtmoulia/repos/dovetail/_build/dev/lib/dovetail/priv/dovecot/sbin/dovecot”.
pgrep(args)

Specs

pgrep([String.t]) :: {:ok} | {:error, any}

Call pgrep with args, and parse result.