MAILER.CONF(5) | File Formats and Configurations | MAILER.CONF(5) |
mailer.conf
—
configuration file for
mailwrapper(8)
The file /etc/mailer.conf contains a series of lines of the form
name program [arguments ...]
The first word of each line is the name of a
program invoking mailwrapper(8).
(For example, on a typical system /usr/lib/sendmail
would be a symbolic link to
mailwrapper(8), as would
newaliases(8) and
mailq(1). Thus,
name might be
“sendmail
” or
“newaliases
” etc.)
The second word of each line is the name of the program to actually execute when the first name is invoked.
The further arguments, if any, are passed to the program, followed by the arguments mailwrapper(8) was called with.
The file may also contain comment lines, denoted by a
‘#
’ mark in the first column of any
line.
/etc/mailer.conf
This example shows how to set up
mailer.conf
to invoke the traditional
sendmail(8) program:
# Execute the "real" sendmail program located in # /usr/lib/smtp/sendmail/sendmail sendmail /usr/lib/smtp/sendmail/sendmail mailq /usr/lib/smtp/sendmail/sendmail newaliases /usr/lib/smtp/sendmail/sendmail
mail(1), mailq(1), mailwrapper(8), newaliases(8), sendmail(8)
Perry E. Metzger ⟨perry@piermont.com⟩
November 11, 2017 | OmniOS |