MAILER.CONF(5) OpenBSD Programmer's Manual MAILER.CONF(5)NAMEmailer.conf - configuration file for mailwrapper(8)DESCRIPTION
The file /etc/mailer.conf contains a series of pairs. The first member
of each pair is the name of a program invoking mailwrapper(8) which is
typically a symbolic link to /usr/sbin/sendmail. (On a typical system,
newaliases(8) and mailq(8) would be set up this way.) The second member
of each pair is the name of the program to actually execute when the
first name is invoked. The file may also contain comments, denoted by a
`#' character in the first column of any line.
FILES
/etc/mailer.conf
EXAMPLES
The following is an example of how to set up mailer.conf for traditional
sendmail(8) invocation behavior.
# Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
sendmail /usr/libexec/sendmail/sendmail
send-mail /usr/libexec/sendmail/sendmail
mailq /usr/libexec/sendmail/sendmail
makemap /usr/libexec/sendmail/makemap
newaliases /usr/libexec/sendmail/sendmail
hoststat /usr/libexec/sendmail/sendmail
purgestat /usr/libexec/sendmail/sendmail
This example shows how to invoke the smtpd(8) MTA suite in place of
sendmail(8).
# Emulate sendmail using smtpd
sendmail /usr/sbin/smtpctl
send-mail /usr/sbin/smtpctl
mailq /usr/sbin/smtpctl
makemap /usr/libexec/smtpd/makemap
newaliases /usr/libexec/smtpd/makemap
SEE ALSOmail(1), mailq(8), mailwrapper(8), newaliases(8), sendmail(8)AUTHORS
Perry E. Metzger <perry@piermont.com>
BUGS
The entire reason this program exists is a crock. Instead, a command for
how to submit mail should be standardized, and all the "behave
differently if invoked with a different name" behavior of things like
mailq(8) should go away.
OpenBSD 4.9 August 8, 2009 OpenBSD 4.9