Advertisement
Guest User

Untitled

a guest
Mar 13th, 2019
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.86 KB | None | 0 0
  1. [...] status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
  2.  
  3. netstat -ntlp
  4.  
  5. alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
  6. alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
  7. always_add_missing_headers = yes
  8. always_bcc = mailarchive@localhost
  9. append_dot_mydomain = no
  10. biff = no
  11. body_checks = regexp:/etc/postfix/body_checks
  12. broken_sasl_auth_clients = yes
  13. config_directory = /etc/postfix
  14. content_filter = amavis:[127.0.0.1]:10024
  15. disable_vrfy_command = yes
  16. dovecot_destination_recipient_limit = 1
  17. greylisting = check_policy_service inet:127.0.0.1:10023
  18. header_checks = regexp:/etc/postfix/header_checks
  19. html_directory = /usr/share/doc/postfix/html
  20. inet_interfaces = all
  21. inet_protocols = all
  22. mailbox_size_limit = 0
  23. maildrop_destination_concurrency_limit = 1
  24. maildrop_destination_recipient_limit = 1
  25. message_size_limit = 0
  26. mime_header_checks = regexp:/etc/postfix/mime_header_checks
  27. mydestination = ks4000003.ip-198-245-60.net, localhost, localhost.localdomain
  28. myhostname = ks4000003.ip-198-245-60.net
  29. mynetworks = 127.0.0.0/8 [::1]/128
  30. myorigin = /etc/mailname
  31. nested_header_checks = regexp:/etc/postfix/nested_header_checks
  32. owner_request_special = no
  33. proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $sender_bcc_maps $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $smtpd_sender_login_maps
  34. readme_directory = /usr/share/doc/postfix
  35. receive_override_options = no_address_mappings
  36. recipient_delimiter = +
  37. relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
  38. relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
  39. relayhost =
  40. sender_bcc_maps = proxy:mysql:/etc/postfix/mysql-virtual_outgoing_bcc.cf
  41. smtp_destination_concurrency_limit = 5
  42. smtp_destination_rate_delay = 1s
  43. smtp_extra_recipient_limit = 20
  44. smtp_tls_exclude_ciphers = RC4, aNULL
  45. smtp_tls_protocols = !SSLv2,!SSLv3
  46. smtp_tls_security_level = may
  47. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  48. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  49. smtpd_client_message_rate_limit = 100
  50. smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
  51. smtpd_data_restrictions = reject_unauth_pipelining
  52. smtpd_delay_reject = no
  53. smtpd_error_sleep_time = 0
  54. smtpd_helo_required = yes
  55. smtpd_helo_restrictions = permit_sasl_authenticated, permit_mynetworks, check_helo_access regexp:/etc/postfix/helo_access, reject_invalid_hostname, reject_non_fqdn_hostname, reject_invalid_helo_hostname, reject_unknown_helo_hostname, check_helo_access regexp:/etc/postfix/blacklist_helo
  56. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf
  57. smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf
  58. smtpd_restriction_classes = greylisting
  59. smtpd_sasl_auth_enable = yes
  60. smtpd_sasl_authenticated_header = yes
  61. smtpd_sasl_path = private/auth
  62. smtpd_sasl_security_options = noanonymous
  63. smtpd_sasl_type = dovecot
  64. smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql-virtual_sender_login_maps.cf
  65. smtpd_sender_restrictions = check_sender_access regexp:/etc/postfix/tag_as_originating.re , permit_mynetworks, permit_sasl_authenticated, check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf, check_sender_access regexp:/etc/postfix/tag_as_foreign.re
  66. smtpd_tls_cert_file = /etc/postfix/smtpd.cert
  67. smtpd_tls_exclude_ciphers = RC4, aNULL
  68. smtpd_tls_key_file = /etc/postfix/smtpd.key
  69. smtpd_tls_loglevel = 1
  70. smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
  71. smtpd_tls_protocols = !SSLv2,!SSLv3
  72. smtpd_tls_security_level = may
  73. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  74. smtpd_use_tls = yes
  75. transport_maps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
  76. unknown_local_recipient_reject_code = 550
  77. virtual_alias_domains =
  78. virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf
  79. virtual_gid_maps = mysql:/etc/postfix/mysql-virtual_gids.cf
  80. virtual_mailbox_base = /var/vmail
  81. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
  82. virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
  83. virtual_transport = dovecot
  84. virtual_uid_maps = mysql:/etc/postfix/mysql-virtual_uids.cf
  85.  
  86. #
  87. # Postfix master process configuration file. For details on the format
  88. # of the file, see the master(5) manual page (command: "man 5 master").
  89. #
  90. # Do not forget to execute "postfix reload" after editing this file.
  91. #
  92. # ==========================================================================
  93. # service type private unpriv chroot wakeup maxproc command + args
  94. # (yes) (yes) (yes) (never) (100)
  95. # ==========================================================================
  96.  
  97. amavis unix - - n - 2 smtp
  98. -o smtp_data_done_timeout=1200
  99. -o smtp_send_xforward_command=yes
  100.  
  101. 127.0.0.1:10025 inet n - n - - smtpd
  102. -o content_filter=amavis:127.0.0.1:10024
  103. -o smtpd_delay_reject=no
  104. -o smtpd_client_restrictions=permit_mynetworks,reject
  105. -o smtpd_helo_restrictions=
  106. -o smtpd_sender_restrictions=
  107. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  108. -o smtpd_data_restrictions=reject_unauth_pipelining
  109. -o smtpd_end_of_data_restrictions=
  110. -o smtpd_restriction_classes=
  111. -o mynetworks=127.0.0.0/8
  112. -o smtpd_error_sleep_time=0
  113. -o smtpd_soft_error_limit=1001
  114. -o smtpd_hard_error_limit=1000
  115. -o smtpd_client_connection_count_limit=0
  116. -o smtpd_client_connection_rate_limit=0
  117. -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters
  118. -o local_header_rewrite_clients=
  119. -o smtpd_milters=
  120. -o local_recipient_maps=
  121. -o relay_recipient_maps=
  122.  
  123. smtp inet n - - - - smtpd
  124. 587 inet n - - - - smtpd
  125. #submission inet n - - - - permit_sasl_authenticated
  126. # -o smtpd_tls_security_level=encrypt
  127. # -o smtpd_sasl_auth_enable=yes
  128. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  129. # -o milter_macro_daemon_name=ORIGINATING
  130. #smtps inet n - - - - smtpd
  131. # -o smtpd_tls_wrappermode=yes
  132. # -o smtpd_sasl_auth_enable=yes
  133. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  134. # -o milter_macro_daemon_name=ORIGINATING
  135. #628 inet n - - - - qmqpd
  136. pickup fifo n - - 60 1 pickup
  137. cleanup unix n - - - 0 cleanup
  138. qmgr fifo n - n 300 1 qmgr
  139. #qmgr fifo n - - 300 1 oqmgr
  140. tlsmgr unix - - - 1000? 1 tlsmgr
  141. rewrite unix - - - - - trivial-rewrite
  142. bounce unix - - - - 0 bounce
  143. defer unix - - - - 0 bounce
  144. trace unix - - - - 0 bounce
  145. verify unix - - - - 1 verify
  146. flush unix n - - 1000? 0 flush
  147. proxymap unix - - n - - proxymap
  148. proxywrite unix - - n - 1 proxymap
  149.  
  150. smtp unix - - - - - smtp
  151. # 2016-10-12 : Ajouté comme workaround de Gmail qui rejete les courriels
  152. smtp4 unix - - - - - smtp -o inet_protocols=ipv4
  153. # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  154. relay unix - - - - - smtp
  155. -o smtp_fallback_relay=
  156.  
  157. # 2015-04-28 - Config ci-dessus remplacée par ceci :
  158. # (pour changer l'IP d'envoi)
  159. # smtp unix - - - - - smtp
  160. # -o smtp_bind_address=XXXXXXXXX
  161. # # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  162. # relay unix - - - - - smtp
  163. # -o smtp_bind_address=XXXXXXXXX
  164. # -o smtp_fallback_relay=
  165.  
  166. # /2015-04-28 - Fin du remplacement
  167.  
  168. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  169.  
  170. showq unix n - - - - showq
  171. error unix - - - - - error
  172. retry unix - - - - - error
  173. discard unix - - - - - discard
  174. local unix - n n - - local
  175. virtual unix - n n - - virtual
  176. lmtp unix - - - - - lmtp
  177. anvil unix - - - - 1 anvil
  178. scache unix - - - - 1 scache
  179. # ajouté - 2015-04-22
  180. polite unix - - n - - smtp
  181. turtle unix - - n - - smtp
  182. #
  183. # ====================================================================
  184. # Interfaces to non-Postfix software. Be sure to examine the manual
  185. # pages of the non-Postfix software to find out what options it wants.
  186. #
  187. # Many of the following services use the Postfix pipe(8) delivery
  188. # agent. See the pipe(8) man page for information about ${recipient}
  189. # and other message envelope options.
  190. # ====================================================================
  191. #
  192. # maildrop. See the Postfix MAILDROP_README file for details.
  193. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  194. #
  195. maildrop unix - n n - - pipe
  196. flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
  197. #
  198. # ====================================================================
  199. #
  200. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  201. #
  202. # Specify in cyrus.conf:
  203. # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  204. #
  205. # Specify in main.cf one or more of the following:
  206. # mailbox_transport = lmtp:inet:localhost
  207. # virtual_transport = lmtp:inet:localhost
  208. #
  209. # ====================================================================
  210. #
  211. # Cyrus 2.1.5 (Amos Gouaux)
  212. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  213. #
  214. #cyrus unix - n n - - pipe
  215. # user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  216. #
  217. # ====================================================================
  218. # Old example of delivery via Cyrus.
  219. #
  220. #old-cyrus unix - n n - - pipe
  221. # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
  222. #
  223. # ====================================================================
  224. #
  225. # See the Postfix UUCP_README file for configuration details.
  226. #
  227. uucp unix - n n - - pipe
  228. flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  229. #
  230. # Other external delivery methods.
  231. #
  232. ifmail unix - n n - - pipe
  233. flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  234. bsmtp unix - n n - - pipe
  235. flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  236. scalemail-backend unix - n n - 2 pipe
  237. flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
  238. mailman unix - n n - - pipe
  239. flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  240. ${nexthop} ${user}
  241.  
  242. dovecot unix - n n - - pipe
  243. flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}
  244. # amavis unix - - - - 2 smtp
  245. # -o smtp_data_done_timeout=1200
  246. # -o smtp_send_xforward_command=yes
  247. #
  248. # 127.0.0.1:10025 inet n - - - - smtpd
  249. # -o content_filter=
  250. # -o local_recipient_maps=
  251. # -o relay_recipient_maps=
  252. # -o smtpd_restriction_classes=
  253. # -o smtpd_client_restrictions=
  254. # -o smtpd_helo_restrictions=
  255. # -o smtpd_sender_restrictions=
  256. # -o smtpd_recipient_restrictions=permit_mynetworks,reject
  257. # -o mynetworks=127.0.0.0/8
  258. # -o strict_rfc821_envelopes=yes
  259. # -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  260. # -o smtpd_bind_address=127.0.0.1
  261.  
  262. #
  263. # Slow - config MX Orange/Wanadoo
  264. #
  265. # slow unix - - n - 5 smtp
  266. # -o syslog_name=postfix-slow
  267. # -o smtp_destination_concurrency_limit=3
  268. # -o slow_destination_rate_delay=1
  269.  
  270. scan unix - - n - 16 smtp
  271. -o smtp_send_xforward_command=yes
  272. -o smtp_tls_security_level=none
  273. 127.0.0.1:10026 inet n - n - 16 smtpd
  274. -o content_filter=amavis:127.0.0.1:10024
  275. -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  276. -o smtpd_helo_restrictions=
  277. -o smtpd_client_restrictions=
  278. -o smtpd_sender_restrictions=
  279. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  280. -o mynetworks_style=host
  281. -o smtpd_authorized_xforward_hosts=127.0.0.0/8
  282.  
  283. 127.0.0.1:12502 inet n - n - - smtpd
  284. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  285. -o smtpd_restriction_classes=
  286. -o smtpd_delay_reject=no
  287. -o smtpd_client_restrictions=
  288. -o smtpd_helo_restrictions=
  289. -o smtpd_sender_restrictions=
  290. -o mynetworks=127.0.0.0/8
  291. -o smtpd_data_restrictions
  292. -o smtpd_end_of_data_restrictions=
  293. -o local_header_rewrite_clients=
  294. -o smtpd_error_sleep_time=0
  295. -o smtpd_soft_error_limit=1001
  296. -o smtpd_hard_error_limit=1000
  297. -o smtpd_client_connection_count_limit=0
  298. -o smtpd_client_connection_rate_limit=0
  299. -o smtpd_milters=
  300. -o local_recipient_maps=
  301. -o relay_recipient_maps=
  302. -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement