Advertisement
Guest User

Untitled

a guest
May 6th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.23 KB | None | 0 0
  1. # ==========================================================================
  2. # service type private unpriv chroot wakeup maxproc command + args
  3. # (yes) (yes) (yes) (never) (100)
  4. # ==========================================================================
  5. smtp inet n - n - - smtpd
  6. submission inet n - n - - smtpd
  7. # -o smtpd_tls_security_level=encrypt
  8. # -o smtpd_sasl_auth_enable=yes
  9. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  10. # -o milter_macro_daemon_name=ORIGINATING
  11. smtps inet n - n - - smtpd
  12. # -o smtpd_tls_wrappermode=yes
  13. # -o smtpd_sasl_auth_enable=yes
  14. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  15. # -o milter_macro_daemon_name=ORIGINATING
  16. #628 inet n - n - - qmqpd
  17. pickup fifo n - n 60 1 pickup
  18. cleanup unix n - n - 0 cleanup
  19. qmgr fifo n - n 300 1 qmgr
  20. #qmgr fifo n - n 300 1 oqmgr
  21. tlsmgr unix - - n 1000? 1 tlsmgr
  22. rewrite unix - - n - - trivial-rewrite
  23. bounce unix - - n - 0 bounce
  24. defer unix - - n - 0 bounce
  25. trace unix - - n - 0 bounce
  26. verify unix - - n - 1 verify
  27. flush unix n - n 1000? 0 flush
  28. proxymap unix - - n - - proxymap
  29. proxywrite unix - - n - 1 proxymap
  30. smtp unix - - n - - smtp
  31. # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  32. relay unix - - n - - smtp
  33. -o smtp_fallback_relay=
  34. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  35. showq unix n - n - - showq
  36. error unix - - n - - error
  37. retry unix - - n - - error
  38. discard unix - - n - - discard
  39. local unix - n n - - local
  40. virtual unix - n n - - virtual
  41. lmtp unix - - n - - lmtp
  42. anvil unix - - n - 1 anvil
  43. scache unix - - n - 1 scache
  44.  
  45. #soft_bounce = no
  46.  
  47. queue_directory = /var/spool/postfix
  48.  
  49. command_directory = /usr/sbin
  50.  
  51. daemon_directory = /usr/libexec/postfix
  52.  
  53. data_directory = /var/lib/postfix
  54.  
  55. mail_owner = postfix
  56.  
  57. #default_privs = nobody
  58.  
  59. # INTERNET HOST AND DOMAIN NAMES
  60. #myhostname = host.domain.tld
  61. #myhostname = virtual.domain.tld
  62. mydomain = [MYACTUALDOMAINNAME].com
  63. #myorigin = $myhostname
  64. myorigin = $mydomain
  65.  
  66. inet_interfaces = all
  67. #inet_interfaces = $myhostname
  68. #inet_interfaces = $myhostname, localhost
  69. #inet_interfaces = localhost
  70.  
  71. # Enable IPv4, and IPv6 if supported
  72. inet_protocols = all
  73.  
  74. #proxy_interfaces =
  75. #proxy_interfaces = 1.2.3.4
  76.  
  77. # See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
  78. #
  79. mydestination = localhost, localhost.$mydomain
  80.  
  81. unknown_local_recipient_reject_code = 550
  82.  
  83. # Specify "mynetworks_style = host" when Postfix should "trust"
  84. # only the local machine.
  85. #
  86. #mynetworks_style = class
  87. #mynetworks_style = subnet
  88. #mynetworks_style = host
  89.  
  90. # INTERNET OR INTRANET
  91.  
  92. #relayhost = $mydomain
  93. #relayhost = [gateway.my.domain]
  94. #relayhost = [mailserver.isp.tld]
  95. #relayhost = uucphost
  96. #relayhost = [an.ip.add.ress]
  97.  
  98. # REJECTING UNKNOWN RELAY USERS
  99. #relay_recipient_maps = hash:/etc/postfix/relay_recipients
  100.  
  101. # INPUT RATE CONTROL
  102. # Specify 0 to disable the feature. Valid delays are 0..10.
  103. #
  104. #in_flow_delay = 1s
  105.  
  106. #alias_maps = dbm:/etc/aliases
  107. alias_maps = hash:/etc/aliases
  108. #alias_maps = hash:/etc/aliases, nis:mail.aliases
  109. #alias_maps = netinfo:/aliases
  110.  
  111.  
  112. # DELIVERY TO MAILBOX
  113. home_mailbox = Maildir/
  114.  
  115. # The mail_spool_directory parameter specifies the directory where
  116. # UNIX-style mailboxes are kept. The default setting depends on the
  117. # system type.
  118. #
  119. #mail_spool_directory = /var/mail
  120. #mail_spool_directory = /var/spool/mail
  121.  
  122. #mailbox_command = /some/where/procmail
  123. #mailbox_command = /some/where/procmail -a "$EXTENSION"
  124.  
  125. #mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
  126.  
  127. #mailbox_transport = cyrus
  128.  
  129.  
  130. #luser_relay = $user@other.host
  131. #luser_relay = $local@other.host
  132. #luser_relay = admin+$local
  133.  
  134. #header_checks = regexp:/etc/postfix/header_checks
  135.  
  136. # FAST ETRN SERVICE
  137. #fast_flush_domains = $relay_domains
  138.  
  139. # SHOW SOFTWARE VERSION OR NOT
  140. #smtpd_banner = $myhostname ESMTP $mail_name
  141. #smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
  142.  
  143. # PARALLEL DELIVERY TO THE SAME DESTINATION
  144. #local_destination_concurrency_limit = 2
  145. #default_destination_concurrency_limit = 20
  146.  
  147. # INSTALL-TIME CONFIGURATION INFORMATION
  148. sendmail_path = /usr/sbin/sendmail.postfix
  149.  
  150. newaliases_path = /usr/bin/newaliases.postfix
  151.  
  152. mailq_path = /usr/bin/mailq.postfix
  153.  
  154. setgid_group = postdrop
  155.  
  156. # html_directory: The location of the Postfix HTML documentation.
  157. #
  158. html_directory = no
  159.  
  160. # manpage_directory: The location of the Postfix on-line manual pages.
  161. #
  162. manpage_directory = /usr/share/man
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement