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

Advertising

Untitled
Sunday, May 6th, 2007 at 11:14:56pm 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
  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. # will it be a permanent error or temporary
  18. unknown_local_recipient_reject_code = 450
  19. # how long to keep message on queue before return as failed.
  20. # some have 3 days, I have 16 days as I am backup server for some people
  21. # whom go on holiday with their server switched off.
  22. maximal_queue_lifetime = 7d
  23. # max and min time in seconds between retries if connection failed
  24. minimal_backoff_time = 1000s
  25. maximal_backoff_time = 8000s
  26. # how long to wait when servers connect before receiving rest of data
  27. smtp_helo_timeout = 60s
  28. # how many address can be used in one message.
  29. # effective stopper to mass spammers, accidental copy in whole address list
  30. # but may restrict intentional mail shots.
  31. smtpd_recipient_limit = 16
  32. # how many error before back off.
  33. smtpd_soft_error_limit = 3
  34. # how many max errors before blocking it.
  35. smtpd_hard_error_limit = 12
  36.  
  37. # TLS parameters
  38. smtpd_tls_cert_file=/etc/postfix/postfix.cert
  39. smtpd_tls_key_file=/etc/postfix/postfix.key
  40. smtpd_use_tls=yes
  41. smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
  42. smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
  43.  
  44. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  45. # information on enabling SSL in the smtp client.
  46.  
  47. myhostname = (mydomainhere).com
  48. alias_maps = hash:/etc/aliases
  49. alias_database = hash:/etc/aliases
  50. myorigin = /etc/mailname
  51. mydestination =
  52. relayhost =
  53. mynetworks = 127.0.0.0/8
  54. mynetworks_style = host
  55. mailbox_size_limit = 0
  56. recipient_delimiter = +
  57. inet_interfaces = all
  58. local_recipient_maps =
  59.  
  60. # Requirements for the HELO statement
  61. smtpd_helo_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_hostname, re$
  62. # Requirements for the sender details
  63. smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_non_fqd$
  64. # Requirements for the connecting server
  65. smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client relays$
  66. # Requirement for the recipient address
  67. smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_$
  68.  
  69. # require proper helo at connections
  70. smtpd_helo_required = yes
  71. # waste spammers time before rejecting them
  72. smtpd_delay_reject = yes
  73. disable_vrfy_command = yes
  74.  
  75. # this specifies where the virtual mailbox folders will be located
  76. virtual_mailbox_base = /var/spool/mail/virtual
  77. # this is for the mailbox location for each user
  78. virtual_mailbox_maps = mysql:/etc/postfix/mysql_mailbox.cf
  79. # and their user id
  80. virtual_uid_maps = mysql:/etc/postfix/mysql_uid.cf
  81. # and group id
  82. virtual_gid_maps =  mysql:/etc/postfix/mysql_gid.cf
  83. # and this is for aliases
  84. virtual_alias_maps = mysql:/etc/postfix/mysql_alias.cf
  85. # and this is for domain lookups
  86. virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf
  87. # this is how to connect to the domains (all virtual, but the option is there)
  88. # not used yet
  89. # transport_maps = mysql:/etc/postfix/mysql_transport.cf
  90.  
  91. content_filter = amavis:[127.0.0.1]:10024
  92. #receieve_override_options = no_address_mappings
  93.  
  94. smtpd_sasl_auth_enable = yes
  95. broken_sasl_auth_clients = yes
  96. smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
  97. smtpd_sasl_security_options = noanonymous
  98. smtpd_sasl_local_domain =
  99.  
  100. smtpd_data_restrictions = reject_unauth_pipelining
  101.  
  102. ---
  103.  
  104. May  6 18:36:28 ping-consultants imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], protocol=IMAP
  105. May  6 18:36:28 ping-consultants imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=654, rcvd=74, sent=1097, time=0
  106. May  6 18:43:11 ping-consultants imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], protocol=IMAP
  107. May  6 18:43:11 ping-consultants imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0
  108. May  6 18:49:47 ping-consultants postfix/qmgr[4982]: 0462DB3C0D: from=<[email protected]>, size=788, nrcpt=1 (queue active)
  109. May  6 18:49:47 ping-consultants postfix/smtp[5130]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
  110. May  6 18:49:47 ping-consultants postfix/smtp[5130]: 0462DB3C0D: to=<[email protected]>, orig_to=<amavis>, relay=none, delay=1904, delays=1904/0.02/0/0, dsn$
  111. May  6 18:53:12 ping-consultants imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], protocol=IMAP
  112.  
  113. ---
  114.  
  115. May  6 06:33:04 ping-consultants postfix/qmgr[4683]: warning: connect to transport amavis: No such file or directory
  116. May  6 06:35:12 ping-consultants postfix/master[4285]: fatal: /etc/postfix/master.cf: line 74: bad transport type: smtpd_enforce_tls=yes
  117. May  6 06:42:28 ping-consultants postfix/master[4286]: fatal: /etc/postfix/master.cf: line 74: bad transport type: smtpd_enforce_tls=yes
  118. May  6 06:48:09 ping-consultants amavis[3849]: (!!) TROUBLE in pre_loop_hook: db_home directory is not writable: /var/lib/amavis/db at /usr/sbin/amavisd-new line 6921.
  119. May  6 06:48:29 ping-consultants postfix/master[4273]: fatal: /etc/postfix/master.cf: line 74: bad transport type: smtpd_enforce_tls=yes
  120. May  6 06:54:41 ping-consultants postfix/master[4580]: fatal: /etc/postfix/master.cf: line 74: bad transport type: smtpd_enforce_tls=yes
  121. May  6 06:55:54 ping-consultants postfix/postqueue[4586]: warning: Mail system is down -- accessing queue directly
  122. May  6 17:58:52 ping-consultants postfix/master[4909]: fatal: /etc/postfix/master.cf: line 88: bad transport type: smtpd_sasl_auth_enable=yes

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