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.
Click to show internal directories.
Click to hide internal directories.