1# $NetBSD: master.cf,v 1.10 2022/10/08 16:12:43 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# Choose one: enable submission for loopback clients only, or for any client. 20#127.0.0.1:submission inet n - n - - smtpd 21#submission inet n - n - - smtpd 22# -o syslog_name=postfix/submission 23# -o smtpd_tls_security_level=encrypt 24# -o smtpd_sasl_auth_enable=yes 25# -o smtpd_tls_auth_only=yes 26# -o smtpd_reject_unlisted_recipient=no 27# Instead of specifying complex smtpd_<xxx>_restrictions here, 28# specify "smtpd_<xxx>_restrictions=$mua_<xxx>_restrictions" 29# here, and specify mua_<xxx>_restrictions in main.cf (where 30# "<xxx>" is "client", "helo", "sender", "relay", or "recipient"). 31# -o smtpd_client_restrictions= 32# -o smtpd_helo_restrictions= 33# -o smtpd_sender_restrictions= 34# -o smtpd_relay_restrictions= 35# -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject 36# -o milter_macro_daemon_name=ORIGINATING 37# Choose one: enable submissions for loopback clients only, or for any client. 38#127.0.0.1:submissions inet n - n - - smtpd 39#submissions inet n - n - - smtpd 40# -o syslog_name=postfix/submissions 41# -o smtpd_tls_wrappermode=yes 42# -o smtpd_sasl_auth_enable=yes 43# -o smtpd_reject_unlisted_recipient=no 44# Instead of specifying complex smtpd_<xxx>_restrictions here, 45# specify "smtpd_<xxx>_restrictions=$mua_<xxx>_restrictions" 46# here, and specify mua_<xxx>_restrictions in main.cf (where 47# "<xxx>" is "client", "helo", "sender", "relay", or "recipient"). 48# -o smtpd_client_restrictions= 49# -o smtpd_helo_restrictions= 50# -o smtpd_sender_restrictions= 51# -o smtpd_relay_restrictions= 52# -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject 53# -o milter_macro_daemon_name=ORIGINATING 54#628 inet n - n - - qmqpd 55pickup unix n - n 60 1 pickup 56cleanup unix n - n - 0 cleanup 57qmgr unix n - n 300 1 qmgr 58#qmgr unix n - n 300 1 oqmgr 59tlsmgr unix - - n 1000? 1 tlsmgr 60rewrite unix - - n - - trivial-rewrite 61bounce unix - - n - 0 bounce 62defer unix - - n - 0 bounce 63trace unix - - n - 0 bounce 64verify unix - - n - 1 verify 65flush unix n - n 1000? 0 flush 66proxymap unix - - n - - proxymap 67proxywrite unix - - n - 1 proxymap 68smtp unix - - n - - smtp 69relay unix - - n - - smtp 70 -o syslog_name=postfix/$service_name 71# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 72showq unix n - n - - showq 73error unix - - n - - error 74retry unix - - n - - error 75discard unix - - n - - discard 76local unix - n n - - local 77virtual unix - n n - - virtual 78lmtp unix - - n - - lmtp 79anvil unix - - n - 1 anvil 80scache unix - - n - 1 scache 81postlog unix-dgram n - n - 1 postlogd 82# 83# ==================================================================== 84# Interfaces to non-Postfix software. Be sure to examine the manual 85# pages of the non-Postfix software to find out what options it wants. 86# 87# Many of the following services use the Postfix pipe(8) delivery 88# agent. See the pipe(8) man page for information about ${recipient} 89# and other message envelope options. 90# ==================================================================== 91# 92# maildrop. See the Postfix MAILDROP_README file for details. 93# Also specify in main.cf: maildrop_destination_recipient_limit=1 94# 95#maildrop unix - n n - - pipe 96# flags=DRXhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} 97# 98# ==================================================================== 99# 100# Recent Cyrus versions can use the existing "lmtp" master.cf entry. 101# 102# Specify in cyrus.conf: 103# lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4 104# 105# Specify in main.cf one or more of the following: 106# mailbox_transport = lmtp:inet:localhost 107# virtual_transport = lmtp:inet:localhost 108# 109# ==================================================================== 110# 111# Cyrus 2.1.5 (Amos Gouaux) 112# Also specify in main.cf: cyrus_destination_recipient_limit=1 113# 114#cyrus unix - n n - - pipe 115# flags=DRX user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} 116# 117# ==================================================================== 118# 119# Old example of delivery via Cyrus. 120# 121#old-cyrus unix - n n - - pipe 122# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} 123# 124# ==================================================================== 125# 126# See the Postfix UUCP_README file for configuration details. 127# 128#uucp unix - n n - - pipe 129# flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) 130# 131# ==================================================================== 132# 133# Other external delivery methods. 134# 135#ifmail unix - n n - - pipe 136# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) 137# 138#bsmtp unix - n n - - pipe 139# flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient 140# 141#scalemail-backend unix - n n - 2 pipe 142# flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store 143# ${nexthop} ${user} ${extension} 144# 145#mailman unix - n n - - pipe 146# flags=FRX user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py 147# ${nexthop} ${user} 148