nhneutrino

Untitled

Dec 20th, 2014
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  2.  
  3.  
  4. # Debian specific: Specifying a file name will cause the first
  5. # line of that file to be used as the name. The Debian default
  6. # is /etc/mailname.
  7. #myorigin = /etc/mailname
  8.  
  9. smtpd_banner = mail.domainem.hu ESMTP domainem.hu
  10. biff = no
  11.  
  12. # appending .domain is the MUA's job.
  13. append_dot_mydomain = no
  14.  
  15. # Uncomment the next line to generate "delayed mail" warnings
  16. #delay_warning_time = 4h
  17.  
  18. readme_directory = no
  19.  
  20. # TLS parameters
  21. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  22. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  23. smtpd_use_tls=yes
  24. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  25. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  26.  
  27. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  28. # information on enabling SSL in the smtp client.
  29.  
  30. myhostname = mail.domainem.hu
  31. alias_maps = hash:/etc/aliases
  32. alias_database = hash:/etc/aliases
  33. myorigin = domainem.hu
  34. mydestination =
  35. mynetworks = 127.0.0.0/8, 192.168.1.150/32
  36. mailbox_size_limit = 0
  37. recipient_delimiter = +
  38. message_size_limit = 10485760
  39. local_transport = error:No local mail delivery
  40. local_recipient_maps =
  41. virtual_alias_maps = hash:/etc/postfix/virtual
  42. relay_recipient_maps = hash:/etc/postfix/relay_recipients
  43. transport_maps = hash:/etc/postfix/transport
  44. relay_domains = hash:/etc/postfix/relay_domains
  45. smtpd_helo_required = yes
  46. smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access, reject_non_fqdn_sender, reject_unknown_sender_domain
  47. smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,check_policy_service unix:private/policy
  48. smtpd_data_restrictions = reject_unauth_pipelining
  49. header_checks = regexp:/etc/postfix/header_checks
  50. mydomain = domainem.hu
Advertisement
Add Comment
Please, Sign In to add comment