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

Someone
Thursday, May 3rd, 2007 at 2:02:30pm UTC 

  1. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  2.  
  3. daemon_directory = /usr/lib/postfix
  4. command_directory = /usr/sbin
  5. program_directory = /usr/lib/postfix
  6.  
  7. #smtpd_banner = $myhostname ESMTP $mail_name
  8. smtpd_banner = $mail_name
  9.  
  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.  
  19. # will it be a permanent error or temporary
  20. unknown_local_recipient_reject_code = 450
  21.  
  22. # how long to keep message on queue before return as failed.
  23. # some have 3 days, I have 16 days as I am backup server for some people
  24. # whom go on holiday with their server switched off.
  25. maximal_queue_lifetime = 7d
  26.  
  27.  
  28.  
  29.  
  30. # max and min time in seconds between retries if connection failed
  31. minimal_backoff_time = 1000s
  32. maximal_backoff_time = 8000s
  33.  
  34.  
  35. # how long to wait when servers connect before receiving rest of data
  36. smtp_helo_timeout = 60s
  37.  
  38. # how many address can be used in one message.
  39. # effective stopper to mass spammers, accidental copy in whole address list
  40. # but may restrict intentional mail shots.
  41. smtpd_recipient_limit = 16
  42.  
  43. # how many error before back off.
  44. smtpd_soft_error_limit = 3
  45. # how many max errors before blocking it.
  46. smtpd_hard_error_limit = 12
  47.  
  48.  
  49.  
  50. # TLS parameters
  51. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  52. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  53. smtpd_use_tls=yes
  54. smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
  55. smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
  56. smtpd_data_restrictions = reject_unauth_pipelining
  57.  
  58. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  59. # information on enabling SSL in the smtp client.
  60.  
  61.  
  62.  
  63.  
  64. myhostname = mail.eudealers.com
  65. mydomain = eudealers.com
  66. mydestination = $myhostname, localhost.$mydomain, localhost
  67. #mailbox_size_limit = 0
  68.  
  69. recipient_delimiter = +
  70. inet_interfaces = all
  71.  
  72.  
  73. # Requirements for the HELO statement
  74. #smtpd_helo_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_hostname,  permit
  75.  
  76. #smtpd_helo_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_hostname,  reject_invalid_hostname, permit
  77.  
  78. # Requirements for the sender details
  79. #smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, warn_if_reject reject_non_fqdn_sender, reject_unauth_pipelining, permit
  80. #smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, warn_if_reject reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit
  81.  
  82.  
  83. # Requirements for the connecting server
  84. #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
  85.  
  86. smtpd_sender_restrictions =     permit_sasl_authenticated,
  87.                                 permit_mynetworks,
  88.                                 reject_non_fqdn_sender,
  89.                                 reject_unknown_sender_domain,
  90.                                 reject_unauth_pipelining, permit
  91.  
  92.  
  93.  
  94.  
  95.  
  96. # Requirement for the recipient address
  97. smtpd_recipient_restrictions =
  98.    permit_mynetworks,
  99.    permit_sasl_authenticated,
  100.    reject_non_fqdn_hostname,
  101.    reject_non_fqdn_sender,
  102.    reject_non_fqdn_recipient,
  103.    reject_unauth_destination,
  104.    reject_unauth_pipelining,
  105.    reject_invalid_hostname,
  106.    reject_rbl_client list.dsbl.org,
  107.    reject_rbl_client sbl-xbl.spamhaus.org,
  108.    permit
  109.  
  110.  
  111.  
  112.  
  113. # require proper helo at connections
  114. #smtpd_helo_required = yes
  115. # waste spammers time before rejecting them
  116. #smtpd_delay_reject = yes
  117. #disable_vrfy_command = yes
  118.  
  119.  
  120.  
  121.  
  122. # Custom stuff for postfix admin
  123. virtual_alias_maps=pgsql:/etc/postfix/pgsql/virtual_alias_maps.cf
  124.  
  125.  
  126. # What (virtual) domains Postfix does mail for
  127. virtual_mailbox_domains = pgsql:/etc/postfix/pgsql/virtual_domains_maps.cf
  128.  
  129.  
  130. # Where Postfix finds the mailbox for $user@$domain
  131. virtual_mailbox_maps = pgsql:/etc/postfix/pgsql/virtual_mailbox_maps.cf
  132.  
  133. # Incase we are a backup MX server for any domains :
  134. relay_domains = pgsql:/etc/postfix/pgsql/relay_domains.cf
  135.  
  136. # Where all mailboxes are under
  137. # (i.e. resulting in /var/mail/vmail/$user@$domain/).
  138. virtual_mailbox_base = /var/mail/vmail
  139. # Quota limit...
  140. virtual_mailbox_limit = 51200000
  141. virtual_minimum_uid = 1001
  142. virtual_transport = virtual
  143. # What UID is used to deliver/own the mail files
  144. # (needs to link in with courier config)
  145. virtual_uid_maps = static:1001
  146. virtual_gid_maps = static:1001
  147.  
  148. # This is necessary for the virtual 'stuff' above to be used
  149. local_transport = virtual
  150. # This tells Postfix to accept mail for users
  151. # which appear in the virtual_mailbox_maps above.
  152. local_recipient_maps = $virtual_mailbox_maps
  153.  
  154.  
  155. smtpd_sasl_auth_enable = yes
  156. broken_sasl_auth_clients = yes
  157. smtpd_sasl_path=sasl
  158. smtpd_sasl_local_domain = $myhostname
  159. smtpd_sasl_security_options = noanonymous
  160. smtpd_sasl_application_name      = smtpd
  161. smtpd_pw_server_security_options = noanonymous

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 expire by default in one month. 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