shuber@sthu.orgStefanHuber2013-12-29smailq1smailq 1.0q
smailqA simple mail queue.smailqrecipientMSA optionssmailqsmailqsmailqIDsmailqIDsmailqsmailqDESCRIPTIONsmailq is a mail queue for lightweight SMTP
clients (MSAs) like msmtp that do not provide a queue. It basically
provides the functionality of sendmail and mailq.
When smailq sends a mail it first inserts the
mail into the message queue and then attempts to deliver all mails
in the queue using an external MSA such as msmtp.
COMMANDSRemove the mails with given IDs from the queue.Attempt to deliver the mails with given IDs only.Attempt to deliver all mails in the queue.Print usage text.List all mails in the queue. This is the default.Read a mail from stdin, insert it into the queue, and
attempt to deliver all mails in the queue. Options after
"--" are passed forward to the MSA for this particular
mail.Show version info.OPTIONSUse the given configuration file instead of
"$HOME/.smailq.conf".Do not print info messages.Increase output verbosity.CONFIGURATION FILES
By default, smailq looks at $HOME/.smailq.conf
and /etc/smailq.conf (in that order) for a configuration file,
unless the configuration file is explicitly specified by an option.
The syntax follows RFC 822. A sample configuration file contains
the following lines:
[general]
# Optional: The directory where the log file is written to. The special
# value 'syslog' causes smailq to log to syslog.
logdir = ~/.smailq/log/
# Optional: The directory where smailq saves the mail queue data
datadir = ~/.smailq/data/
# Settings for the network (TCP) connectivity test
[nwtest]
# Optional: The host to connect to
host = www.google.com
# Optional: The port to connect to
port = 80
# Optional: The timeout
timeout = 8
# Settings concerning the mail submission agent
[msa]
# This command is called when smailq attempts to deliver a mail. The
# MSA-options passed to smailq are appended to this line.
cmd = /usr/bin/msmtp
BUGS
Bug reports to Stefan Huber shuber@sthu.org.
AUTHORStefanHuberOriginal authorshuber@sthu.org