Advertisement
Guest User

Untitled

a guest
Jan 20th, 2016
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. smtpd_banner = $myhostname
  2. biff = no
  3. inet_interfaces = all
  4.  
  5. queue_run_delay = 100
  6. maximal_queue_lifetime = 1
  7. minimal_backoff_time = 10
  8. maximal_backoff_time = 100
  9.  
  10. append_dot_mydomain = yes
  11.  
  12. delay_warning_time = 4h
  13.  
  14. myhostname = mail.(МойДомен).com
  15. alias_maps = hash:/etc/aliases
  16. alias_database = hash:/etc/aliases
  17.  
  18. masquerade_domains = (МойДомен).com, (МойДомен).by
  19.  
  20. myorigin = /etc/mailname
  21. mydestination = (МойДомен).com, mail.(МойДомен).com, localhost, localhost.localdomain, (МойДомен).by, mail.(МойДомен).by
  22. virtual_maps = hash:/etc/postfix/maps/virtual
  23. transport_maps = hash:/etc/postfix/maps/transport
  24. mynetworks = 127.0.0.0/8, 192.168.90.0/24 , 192.168.0.0/16
  25. relay_domains = 192.168.90.124
  26.  
  27. home_mailbox = Maildir/
  28. mailbox_command =
  29. mailbox_size_limit = 0
  30. recipient_delimiter = +
  31. smtpd_recipient_limit = 128
  32.  
  33. disable_vrfy_command = yes
  34. strict_rfc821_envelopes = yes
  35. invalid_hostname_reject_code = 554
  36. maps_rbl_reject_code = 554
  37. multi_recipient_bounce_reject_code = 554
  38. non_fqdn_reject_code = 554
  39. relay_domains_reject_code = 554
  40. unknown_address_reject_code = 554
  41. unknown_client_reject_code = 554
  42. unknown_hostname_reject_code = 554
  43. unknown_local_recipient_reject_code = 554
  44. unknown_relay_recipient_reject_code = 554
  45. unknown_sender_reject_code = 554
  46. unknown_virtual_alias_reject_code = 554
  47. unknown_virtual_mailbox_reject_code = 554
  48. unverified_recipient_reject_code = 554
  49. unverified_sender_reject_code = 554
  50.  
  51. smtpd_sender_restrictions =
  52.     check_sender_access  hash:/etc/postfix/whitelist,
  53.     permit_sasl_authenticated,
  54.     permit_mynetworks,
  55.     reject_non_fqdn_sender,
  56.     reject_unknown_sender_domain,
  57.     permit
  58. smtpd_recipient_restrictions =
  59.   permit_mynetworks,
  60.   reject_unauth_destination,
  61.   reject_non_fqdn_hostname,
  62.   reject_non_fqdn_sender,
  63.   reject_non_fqdn_recipient,
  64.   reject_unauth_destination,
  65.   reject_unauth_pipelining,
  66.   reject_invalid_hostname,
  67.  
  68. #amavis
  69. content_filter = amavis:[127.0.0.1]:10024
  70. receive_override_options = no_address_mappings
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement