NAME mailer.conf -- configuration file for mailwrapper(1M) DESCRIPTION The file /etc/mail/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(1m). (For example, on a typical system /usr/sbin/sendmail would be a symbolic link to mailwrapper(1m), as would newaliases(1m) 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 exe- cute when the first name is invoked. The further arguments, if any, are passed to the program, followed by the arguments mailwrapper(1m) was called with. The file may also contain comment lines, denoted by a `#' mark in the first column of any line. FILES /etc/mail/mailer.conf EXAMPLES This example shows how to set up mailer.conf to invoke the traditional sendmail(1m) program: # Execute the "real" sendmail program located in # /usr/lib/sendmail-mta/sendmail sendmail /usr/lib/sendmail-mta/sendmail mail /usr/lib/sendmail-mta/sendmail mailq /usr/lib/sendmail-mta/sendmail newaliases /usr/lib/sendmail-mta/sendmail This example shows how to invoke a sendmail-workalike like Postfix in place of sendmail(1m): # Emulate sendmail using postfix sendmail /opt/postfix/sbin/sendmail mail /opt/postfix/sbin/sendmail mailq /opt/postfix/sbin/sendmail newaliases /opt/postfix/sbin/sendmail This example shows the use of the mini_sendmail software package in place of sendmail(1m). Note the use of additional arguments. # Send outgoing mail to a smart relay using mini_sendmail sendmail /opt/ms/bin/mini_sendmail -srelayhost SEE ALSO mail(1), mailq(1), newaliases(1m), mailwrapper(1m), sendmail(1m) HISTORY mailer.conf appeared in NetBSD 1.4. AUTHORS Perry E. Metzger 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 differ- ently if invoked with a different name" behavior of things like mailq(1) should go away.