DragonFly On-Line Manual Pages

Search: Section:  


MAILER.CONF(5)           DragonFly File Formats Manual          MAILER.CONF(5)

NAME

mailer.conf -- configuration file for mailwrapper(8)

DESCRIPTION

The file /etc/mail/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(1) and mailq(1) 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 # mark in the first column of any line.

FILES

/etc/mail/mailer.conf

EXAMPLES

The following is an example of how to set up an mailer.conf for traditional sendmail invocation behavior (installed from DPorts) # Use sendmail as Mail Transfer Agent sendmail /usr/local/sbin/sendmail mailq /usr/local/bin/mailq newaliases /usr/local/bin/newaliases hoststat /usr/local/bin/hoststat purgestat /usr/local/bin/purgestat This example shows how to invoke a sendmail-workalike like Postfix installed from DPorts to replace dma(8) # Use postfix as Mail Transfer Agent sendmail /usr/local/sbin/sendmail mailq /usr/local/bin/mailq newaliases /usr/local/bin/newaliases hoststat /usr/bin/true purgestat /usr/bin/true This example shows how to invoke a sendmail-workalike like OpenSMTPd installed from DPorts to replace dma(8) # Use opensmtpd as Mail Transfer Agent sendmail /usr/local/sbin/smtpctl mailq /usr/local/sbin/smtpctl newaliases /usr/local/sbin/smtpctl hoststat /usr/bin/true purgestat /usr/bin/true These are the default contents of the file # Use dma as Mail Transfer Agent sendmail /usr/libexec/dma mailq /usr/libexec/dma newaliases /usr/libexec/dma hoststat /usr/libexec/dma purgestat /usr/libexec/dma

SEE ALSO

mail(1), mailwrapper(8)

HISTORY

mailer.conf appeared in NetBSD 1.4.

AUTHORS

Perry E. Metzger <perry@piermont.com> should go away. DragonFly 4.1 March 29, 2015 DragonFly 4.1

Search: Section: