Advertisement
Guest User

postfix config (main.cf)

a guest
Jul 8th, 2015
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. soft_bounce = no
  2.  
  3. queue_directory = /var/spool/postfix
  4.  
  5. command_directory = /usr/sbin
  6.  
  7. daemon_directory = /usr/libexec/postfix
  8.  
  9. data_directory = /var/lib/postfix
  10.  
  11. mail_owner = postfix
  12.  
  13. myhostname = filter.local
  14.  
  15. mydomain = local
  16.  
  17. inet_interfaces = $myhostname, localhost
  18.  
  19. inet_protocols = all
  20.  
  21. unknown_local_recipient_reject_code = 550
  22.  
  23. mynetworks_style = subnet
  24.  
  25. mynetworks = 192.168.241.220/30, 127.0.0.0/8
  26.  
  27. relayhost = [store.local]:25
  28.  
  29. alias_maps = hash:/etc/aliases
  30. alias_database = hash:/etc/aliases
  31.  
  32. recipient_delimiter = +
  33.  
  34. smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
  35.  
  36. debug_peer_level = 2
  37.  
  38. debugger_command =
  39. PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
  40. ddd $daemon_directory/$process_name $process_id & sleep 5
  41.  
  42. sendmail_path = /usr/sbin/sendmail.postfix
  43.  
  44. newaliases_path = /usr/bin/newaliases.postfix
  45.  
  46. mailq_path = /usr/bin/mailq.postfix
  47.  
  48. setgid_group = postdrop
  49.  
  50. html_directory = no
  51.  
  52. manpage_directory = /usr/share/man
  53.  
  54. sample_directory = /usr/share/doc/postfix-2.6.6/samples
  55. readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
  56.  
  57.  
  58.  
  59. smtpd_delay_reject = no
  60.  
  61. smtpd_helo_required = yes
  62.  
  63. smtpd_helo_restrictions = permit_mynetworks, reject_unknown_hostname, reject_non_fqdn_helo_hostname
  64.  
  65. smtpd_client_restrictions = permit_mynetworks, reject
  66. smtpd_etrn_restrictions = permit_mynetworks, reject
  67.  
  68. smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unverified_sender
  69. smtpd_recipient_restrictions = permit_mynetworks, reject_non_fqdn_recipient, reject_unauth_destination, reject_unknown_recipient_domain, reject
  70.  
  71. smtpd_relay_restrictions =
  72.  
  73. smtpd_discard_ehlo_keywords = silent-discard, dsn
  74.  
  75. smtpd_reject_unlisted_sender = yes
  76. smtpd_reject_unlisted_recipient = yes
  77.  
  78. smtp_bind_address = 192.168.1.1
  79.  
  80. smtp_helo_name = lxwaldivm-005.local
  81. smtp_helo_timeout = 45
  82.  
  83. smtp_host_lookup = native, dns
  84.  
  85. message_size_limit = 20972032
  86.  
  87. plaintext_reject_code = 550
  88. unknown_address_reject_code = 550
  89. unknown_client_reject_code = 550
  90. unknown_hostname_reject_code = 550
  91. unverified_recipient_reject_code = 550
  92. unverified_sender_reject_code = 550
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement