mailgun-sendmail

command
v0.0.0-...-e08a379 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2019 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Mailgun-sendmail, a drop-in replacement for the standard Unix sendmail program, sends mail using Mailgun.

Usage:

mailgun-sendmail [-itv] [-B type] [-b m] [-d val] [-F name] [-f addr] [-r addr] [addr ...]

Mailgun-sendmail sends mail to the given addresses.

The options are a subset of the standard sendmail options:

-i  ignore single dot lines on incoming message (default unless stdin is TTY)
-t  use To:, Cc:, Bcc: lines from input
-v  verbose mode

-B type
    set body type
-b code
    set mode code (must be "m", the default, meaning deliver a message from standard input)
-d val
    set debugging value
-F name
    set full name of sender
-f addr
    set address of sender
-r addr
    archaic equivalent of -f

Configuration

Mailgun-mail expects to find an mailgun API domain and authorization key of the form "<domain> api:key-<hexstring>" in the environment variable $MAILGUNKEY, or else in the file $HOME/.mailgun.key, or else in the file /etc/mailgun.key.

Diagnostics

If the file /var/log/mailgun.log can be opened for writing, mailgun logs its actions, successes, and failures there.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL