Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ==========================================================================
- # service type private unpriv chroot wakeup maxproc command + args
- # (yes) (yes) (yes) (never) (100)
- # ==========================================================================
- smtp inet n - n - - smtpd
- submission inet n - n - - smtpd
- # -o smtpd_tls_security_level=encrypt
- # -o smtpd_sasl_auth_enable=yes
- # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
- # -o milter_macro_daemon_name=ORIGINATING
- smtps inet n - n - - smtpd
- # -o smtpd_tls_wrappermode=yes
- # -o smtpd_sasl_auth_enable=yes
- # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
- # -o milter_macro_daemon_name=ORIGINATING
- #628 inet n - n - - qmqpd
- pickup fifo n - n 60 1 pickup
- cleanup unix n - n - 0 cleanup
- qmgr fifo n - n 300 1 qmgr
- #qmgr fifo n - n 300 1 oqmgr
- tlsmgr unix - - n 1000? 1 tlsmgr
- rewrite unix - - n - - trivial-rewrite
- bounce unix - - n - 0 bounce
- defer unix - - n - 0 bounce
- trace unix - - n - 0 bounce
- verify unix - - n - 1 verify
- flush unix n - n 1000? 0 flush
- proxymap unix - - n - - proxymap
- proxywrite unix - - n - 1 proxymap
- smtp unix - - n - - smtp
- # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
- relay unix - - n - - smtp
- -o smtp_fallback_relay=
- # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
- showq unix n - n - - showq
- error unix - - n - - error
- retry unix - - n - - error
- discard unix - - n - - discard
- local unix - n n - - local
- virtual unix - n n - - virtual
- lmtp unix - - n - - lmtp
- anvil unix - - n - 1 anvil
- scache unix - - n - 1 scache
- #soft_bounce = no
- queue_directory = /var/spool/postfix
- command_directory = /usr/sbin
- daemon_directory = /usr/libexec/postfix
- data_directory = /var/lib/postfix
- mail_owner = postfix
- #default_privs = nobody
- # INTERNET HOST AND DOMAIN NAMES
- #myhostname = host.domain.tld
- #myhostname = virtual.domain.tld
- mydomain = [MYACTUALDOMAINNAME].com
- #myorigin = $myhostname
- myorigin = $mydomain
- inet_interfaces = all
- #inet_interfaces = $myhostname
- #inet_interfaces = $myhostname, localhost
- #inet_interfaces = localhost
- # Enable IPv4, and IPv6 if supported
- inet_protocols = all
- #proxy_interfaces =
- #proxy_interfaces = 1.2.3.4
- # See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
- #
- mydestination = localhost, localhost.$mydomain
- unknown_local_recipient_reject_code = 550
- # Specify "mynetworks_style = host" when Postfix should "trust"
- # only the local machine.
- #
- #mynetworks_style = class
- #mynetworks_style = subnet
- #mynetworks_style = host
- # INTERNET OR INTRANET
- #relayhost = $mydomain
- #relayhost = [gateway.my.domain]
- #relayhost = [mailserver.isp.tld]
- #relayhost = uucphost
- #relayhost = [an.ip.add.ress]
- # REJECTING UNKNOWN RELAY USERS
- #relay_recipient_maps = hash:/etc/postfix/relay_recipients
- # INPUT RATE CONTROL
- # Specify 0 to disable the feature. Valid delays are 0..10.
- #
- #in_flow_delay = 1s
- #alias_maps = dbm:/etc/aliases
- alias_maps = hash:/etc/aliases
- #alias_maps = hash:/etc/aliases, nis:mail.aliases
- #alias_maps = netinfo:/aliases
- # DELIVERY TO MAILBOX
- home_mailbox = Maildir/
- # The mail_spool_directory parameter specifies the directory where
- # UNIX-style mailboxes are kept. The default setting depends on the
- # system type.
- #
- #mail_spool_directory = /var/mail
- #mail_spool_directory = /var/spool/mail
- #mailbox_command = /some/where/procmail
- #mailbox_command = /some/where/procmail -a "$EXTENSION"
- #mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
- #mailbox_transport = cyrus
- #luser_relay = $user@other.host
- #luser_relay = $local@other.host
- #luser_relay = admin+$local
- #header_checks = regexp:/etc/postfix/header_checks
- # FAST ETRN SERVICE
- #fast_flush_domains = $relay_domains
- # SHOW SOFTWARE VERSION OR NOT
- #smtpd_banner = $myhostname ESMTP $mail_name
- #smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
- # PARALLEL DELIVERY TO THE SAME DESTINATION
- #local_destination_concurrency_limit = 2
- #default_destination_concurrency_limit = 20
- # INSTALL-TIME CONFIGURATION INFORMATION
- sendmail_path = /usr/sbin/sendmail.postfix
- newaliases_path = /usr/bin/newaliases.postfix
- mailq_path = /usr/bin/mailq.postfix
- setgid_group = postdrop
- # html_directory: The location of the Postfix HTML documentation.
- #
- html_directory = no
- # manpage_directory: The location of the Postfix on-line manual pages.
- #
- manpage_directory = /usr/share/man
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement