Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Paste Description for /etc/postfix/main.cf

cat /etc/postfix/main.cf

/etc/postfix/main.cf
Sunday, December 30th, 2007 at 7:29:44am UTC 

  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 = $myhostname ESMTP $mail_name (Ubuntu)
  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. # TLS parameters
  19. smtpd_tls_cert_file=/etc/postfix/postfix.cert
  20. smtpd_tls_key_file=/etc/postfix/postfix.key
  21. smtpd_use_tls=yes
  22. smtpd_data_restrictions = reject_unauth_pipelining
  23. smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
  24. smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
  25.  
  26. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  27. # information on enabling SSL in the smtp client.
  28.  
  29. myhostname = kabbalah.arnescnp.com
  30. alias_maps = hash:/etc/aliases
  31. alias_database = hash:/etc/aliases
  32. myorigin = /etc/mailname
  33. mydestination =
  34. relayhost =
  35. mynetworks = 127.0.0.0/8
  36. mynetworks_style = host
  37. mailbox_size_limit = 0
  38. recipient_delimiter = +
  39. inet_interfaces = all
  40.  
  41. masquerade_domains = mail.arnescnp.com kabbalah.arnescnp.com
  42. masquerade_exceptions = root
  43.  
  44. unknown_local_recipient_reject_code = 450
  45. maximal_queue_lifetime = 7d
  46. minimal_backoff_time = 1000s
  47. maximal_backoff_time = 8000s
  48. smtp_helo_timeout = 60s
  49. smtpd_recipient_limit = 16
  50. smtpd_soft_error_limit = 3
  51. smtpd_hard_error_limit = 12
  52.  
  53. # Requirements for the HELO statement
  54. smtpd_helo_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_hostname, reject_invalid_hostname, permit
  55. # Requirements for the sender details
  56. smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit
  57. # Requirements for the connecting server
  58. smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client relays.ordb.org, reject_rbl_client blackholes.easynet.nl, reject_rbl_client dnsbl.njabl.org
  59. # Requirement for the recipient address
  60. smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unauth_destination, check_policy_service inet:127.0.0.1:60000, permit
  61.  
  62. # require proper helo at connections
  63. smtpd_helo_required = yes
  64. # waste spammers time before rejecting them
  65. smtpd_delay_reject = yes
  66. disable_vrfy_command = yes
  67.  
  68. # not sure of the difference of the next two
  69. # but they are needed for local aliasing
  70. alias_maps = hash:/etc/postfix/aliases
  71. alias_database = hash:/etc/postfix/aliases
  72. # this specifies where the virtual mailbox folders will be located
  73. virtual_mailbox_base = /var/spool/mail/virtual
  74. # this is for the mailbox location for each user
  75. virtual_mailbox_maps = mysql:/etc/postfix/mysql_mailbox.cf
  76. # and their user id
  77. virtual_uid_maps = mysql:/etc/postfix/mysql_uid.cf
  78. # and group id
  79. virtual_gid_maps = mysql:/etc/postfix/mysql_gid.cf
  80. # and this is for aliases
  81. virtual_alias_maps = mysql:/etc/postfix/mysql_alias.cf
  82. # and this is for domain lookups
  83. virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf
  84. # this is how to connect to the domains (all virtual, but the option is there)
  85. # not used yet
  86. # transport_maps = mysql:/etc/postfix/mysql_transport.cf
  87.  
  88. content_filter = amavis:[127.0.0.1]:10024
  89. #receieve_override_options = no_address_mappings
  90.  
  91. smtpd_sasl_auth_enable = yes
  92. broken_sasl_auth_clients = yes
  93. smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
  94. smtpd_sasl_security_options = noanonymous
  95. smtpd_sasl_local_domain =

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right worth-right