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