1# $NetBSD: master.cf,v 1.9 2020/03/18 19:05:13 christos Exp $ 2# 3# 4# Postfix master process configuration file. For details on the format 5# of the file, see the master(5) manual page (command: "man 5 master" or 6# on-line: http://www.postfix.org/master.5.html). 7# 8# Do not forget to execute "postfix reload" after editing this file. 9# 10# ========================================================================== 11# service type private unpriv chroot wakeup maxproc command + args 12# (yes) (yes) (no) (never) (100) 13# ========================================================================== 14#smtp inet n - n - - smtpd 15#smtp inet n - n - 1 postscreen 16#smtpd pass - - n - - smtpd 17#dnsblog unix - - n - 0 dnsblog 18#tlsproxy unix - - n - 0 tlsproxy 19#submission inet n - n - - smtpd 20# -o syslog_name=postfix/submission 21# -o smtpd_tls_security_level=encrypt 22# -o smtpd_sasl_auth_enable=yes 23# -o smtpd_tls_auth_only=yes 24# -o smtpd_reject_unlisted_recipient=no 25# -o smtpd_client_restrictions=$mua_client_restrictions 26# -o smtpd_helo_restrictions=$mua_helo_restrictions 27# -o smtpd_sender_restrictions=$mua_sender_restrictions 28# -o smtpd_recipient_restrictions= 29# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject 30# -o milter_macro_daemon_name=ORIGINATING 31#smtps inet n - n - - smtpd 32# -o syslog_name=postfix/smtps 33# -o smtpd_tls_wrappermode=yes 34# -o smtpd_sasl_auth_enable=yes 35# -o smtpd_reject_unlisted_recipient=no 36# -o smtpd_client_restrictions=$mua_client_restrictions 37# -o smtpd_helo_restrictions=$mua_helo_restrictions 38# -o smtpd_sender_restrictions=$mua_sender_restrictions 39# -o smtpd_recipient_restrictions= 40# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject 41# -o milter_macro_daemon_name=ORIGINATING 42#628 inet n - n - - qmqpd 43pickup unix n - n 60 1 pickup 44cleanup unix n - n - 0 cleanup 45qmgr unix n - n 300 1 qmgr 46#qmgr unix n - n 300 1 oqmgr 47tlsmgr unix - - n 1000? 1 tlsmgr 48rewrite unix - - n - - trivial-rewrite 49bounce unix - - n - 0 bounce 50defer unix - - n - 0 bounce 51trace unix - - n - 0 bounce 52verify unix - - n - 1 verify 53flush unix n - n 1000? 0 flush 54proxymap unix - - n - - proxymap 55proxywrite unix - - n - 1 proxymap 56smtp unix - - n - - smtp 57relay unix - - n - - smtp 58 -o syslog_name=postfix/$service_name 59# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 60showq unix n - n - - showq 61error unix - - n - - error 62retry unix - - n - - error 63discard unix - - n - - discard 64local unix - n n - - local 65virtual unix - n n - - virtual 66lmtp unix - - n - - lmtp 67anvil unix - - n - 1 anvil 68scache unix - - n - 1 scache 69postlog unix-dgram n - n - 1 postlogd 70# 71# ==================================================================== 72# Interfaces to non-Postfix software. Be sure to examine the manual 73# pages of the non-Postfix software to find out what options it wants. 74# 75# Many of the following services use the Postfix pipe(8) delivery 76# agent. See the pipe(8) man page for information about ${recipient} 77# and other message envelope options. 78# ==================================================================== 79# 80# maildrop. See the Postfix MAILDROP_README file for details. 81# Also specify in main.cf: maildrop_destination_recipient_limit=1 82# 83#maildrop unix - n n - - pipe 84# flags=DRXhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} 85# 86# ==================================================================== 87# 88# Recent Cyrus versions can use the existing "lmtp" master.cf entry. 89# 90# Specify in cyrus.conf: 91# lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4 92# 93# Specify in main.cf one or more of the following: 94# mailbox_transport = lmtp:inet:localhost 95# virtual_transport = lmtp:inet:localhost 96# 97# ==================================================================== 98# 99# Cyrus 2.1.5 (Amos Gouaux) 100# Also specify in main.cf: cyrus_destination_recipient_limit=1 101# 102#cyrus unix - n n - - pipe 103# flags=DRX user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} 104# 105# ==================================================================== 106# 107# Old example of delivery via Cyrus. 108# 109#old-cyrus unix - n n - - pipe 110# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} 111# 112# ==================================================================== 113# 114# See the Postfix UUCP_README file for configuration details. 115# 116#uucp unix - n n - - pipe 117# flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) 118# 119# ==================================================================== 120# 121# Other external delivery methods. 122# 123#ifmail unix - n n - - pipe 124# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) 125# 126#bsmtp unix - n n - - pipe 127# flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient 128# 129#scalemail-backend unix - n n - 2 pipe 130# flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store 131# ${nexthop} ${user} ${extension} 132# 133#mailman unix - n n - - pipe 134# flags=FRX user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py 135# ${nexthop} ${user} 136