Home | History | Annotate | Line # | Download | only in etc
mailer.conf revision 1.12
      1  1.12   perry #	$NetBSD: mailer.conf,v 1.12 2005/02/19 17:25:16 perry Exp $
      2   1.1   perry #
      3  1.12   perry # This file configures /usr/sbin/mailwrapper, which selects the MTA
      4  1.12   perry # (Mail Transport Agent) that is is invoked when programs like
      5  1.12   perry # /usr/sbin/sendmail are executed.
      6  1.12   perry # 
      7  1.12   perry # See mailwrapper(8) and mailer.conf(5) for an explanation of how this works.
      8  1.12   perry # See also rc.conf(5) and afterboot(8) for more details on setting up an MTA.
      9   1.1   perry #
     10  1.10  atatat #
     11  1.12   perry # The following configuration is correct for Sendmail
     12  1.12   perry # If you want to use another mailer (postfix, exim, qmail, etc),
     13  1.12   perry # replace these lines with appropriate substitutes.
     14  1.12   perry 
     15   1.7     mrg sendmail	/usr/libexec/sendmail/sendmail
     16   1.7     mrg send-mail	/usr/libexec/sendmail/sendmail
     17   1.7     mrg mailq		/usr/libexec/sendmail/sendmail
     18   1.7     mrg newaliases	/usr/libexec/sendmail/sendmail
     19   1.7     mrg hoststat	/usr/libexec/sendmail/sendmail
     20   1.7     mrg purgestat	/usr/libexec/sendmail/sendmail
     21   1.4   soren 
     22  1.12   perry # The following (commented out) configuration is correct for Postfix.
     23   1.4   soren #
     24   1.9     dan # Notes for running postfix:
     25   1.8     dan #  - postfix configuration requires either 
     26   1.8     dan #    hostname to be a FQDN, or for $mydomain 
     27   1.8     dan #    to be set in /etc/postfix/main.cf
     28   1.9     dan #  - postfix does not listen on the network
     29   1.9     dan #    by default; to enable inbound mail reception,
     30   1.9     dan #    configure /etc/postfix/main.cf and then uncomment
     31   1.9     dan #    the smtp service in /etc/postfix/master.cf
     32   1.8     dan #
     33   1.4   soren #sendmail	/usr/libexec/postfix/sendmail
     34   1.6     rtr #send-mail	/usr/libexec/postfix/sendmail
     35   1.4   soren #mailq		/usr/libexec/postfix/sendmail
     36   1.4   soren #newaliases	/usr/libexec/postfix/sendmail
     37