Przeglądaj źródła

postfix 2.11.3

Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
Denis Shulyaka 10 lat temu
rodzic
commit
977968bf65

+ 4
- 4
mail/postfix/Makefile Wyświetl plik

@@ -10,8 +10,8 @@ include $(TOPDIR)/rules.mk
10 10
 PKG_NAME:=postfix
11 11
 PKG_RELEASE:=1
12 12
 PKG_SOURCE_URL:=ftp://ftp.porcupine.org/mirrors/postfix-release/official/
13
-PKG_VERSION:=2.11.1
14
-PKG_MD5SUM:=56ac1f1a79737c4ac1e24535a122a4a6
13
+PKG_VERSION:=2.11.3
14
+PKG_MD5SUM:=c3f0f51d8865559b40e9350eb3816011
15 15
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 16
 PKG_MAINTAINER:=Denis Shulyaka <Shulyaka@gmail.com>
17 17
 PKG_LICENSE:=IPL-1.0
@@ -100,7 +100,7 @@ endef
100 100
 define Build/Compile
101 101
 	# Currently postfix has a bug with Makefiles that CCARGS are not passed to the compiler, so we are copying them to CC
102 102
 	cd $(PKG_BUILD_DIR); $(MAKE) $(TARGET_CONFIGURE_OPTS) CC='$(TARGET_CC) $(CCARGS)'
103
-	mv $(PKG_BUILD_DIR)/conf/main.cf.default.openwrt $(PKG_BUILD_DIR)/conf/main.cf.default
103
+	cp ./files/main.cf.default $(PKG_BUILD_DIR)/conf/main.cf.default
104 104
 	echo "sendmail_path = $(sendmail_path)$(ln_suffix)" >> $(PKG_BUILD_DIR)/conf/main.cf.default
105 105
 	echo "newaliases_path = $(newaliases_path)$(ln_suffix)" >> $(PKG_BUILD_DIR)/conf/main.cf.default
106 106
 	echo "mailq_path = $(mailq_path)$(ln_suffix)" >> $(PKG_BUILD_DIR)/conf/main.cf.default
@@ -120,7 +120,7 @@ define Package/postfix/install
120 120
 	cd $(PKG_BUILD_DIR); $(MAKE) install_root=$(1) command_directory=$(command_directory) daemon_directory=$(daemon_directory) data_directory=$(data_directory) html_directory=$(html_directory) mail_owner=postfix mailq_path=$(mailq_path)$(ln_suffix) manpage_directory=$(manpage_directory) newaliases_path=$(newaliases_path)$(ln_suffix) queue_directory=$(queue_directory) readme_directory=$(readme_directory) sendmail_path=$(sendmail_path)$(ln_suffix) setgid_group=postdrop sample_directory=$(sample_directory) config_directory=$(config_directory) non-interactive-package
121 121
 	$(INSTALL_DIR) $(1)$(mail_spool_directory)
122 122
 	$(INSTALL_DIR) $(1)/etc/init.d/
123
-	$(INSTALL_BIN) $(PKG_BUILD_DIR)/postfix_init $(1)/etc/init.d/postfix
123
+	$(INSTALL_BIN) ./files/postfix.init $(1)/etc/init.d/postfix
124 124
 endef
125 125
 
126 126
 define Package/postfix/postinst

+ 819
- 0
mail/postfix/files/main.cf.default Wyświetl plik

@@ -0,0 +1,819 @@
1
+# DO NOT EDIT THIS FILE. EDIT THE MAIN.CF FILE INSTEAD. THE
2
+# TEXT HERE JUST SHOWS DEFAULT SETTINGS BUILT INTO POSTFIX.
3
+#
4
+2bounce_notice_recipient = postmaster
5
+access_map_defer_code = 450
6
+access_map_reject_code = 554
7
+address_verify_cache_cleanup_interval = 12h
8
+address_verify_default_transport = $default_transport
9
+address_verify_local_transport = $local_transport
10
+address_verify_map = btree:$data_directory/verify_cache
11
+address_verify_negative_cache = yes
12
+address_verify_negative_expire_time = 3d
13
+address_verify_negative_refresh_time = 3h
14
+address_verify_poll_count = ${stress?1}${stress:3}
15
+address_verify_poll_delay = 3s
16
+address_verify_positive_expire_time = 31d
17
+address_verify_positive_refresh_time = 7d
18
+address_verify_relay_transport = $relay_transport
19
+address_verify_relayhost = $relayhost
20
+address_verify_sender = $double_bounce_sender
21
+address_verify_sender_dependent_default_transport_maps = $sender_dependent_default_transport_maps
22
+address_verify_sender_dependent_relayhost_maps = $sender_dependent_relayhost_maps
23
+address_verify_sender_ttl = 0s
24
+address_verify_service_name = verify
25
+address_verify_transport_maps = $transport_maps
26
+address_verify_virtual_transport = $virtual_transport
27
+alias_database = cdb:/etc/aliases
28
+alias_maps = cdb:/etc/aliases
29
+allow_mail_to_commands = alias, forward
30
+allow_mail_to_files = alias, forward
31
+allow_min_user = no
32
+allow_percent_hack = yes
33
+allow_untrusted_routing = no
34
+alternate_config_directories =
35
+always_add_missing_headers = no
36
+always_bcc =
37
+anvil_rate_time_unit = 60s
38
+anvil_status_update_time = 600s
39
+append_at_myorigin = yes
40
+append_dot_mydomain = yes
41
+application_event_drain_time = 100s
42
+authorized_flush_users = static:anyone
43
+authorized_mailq_users = static:anyone
44
+authorized_submit_users = static:anyone
45
+backwards_bounce_logfile_compatibility = yes
46
+berkeley_db_create_buffer_size = 16777216
47
+berkeley_db_read_buffer_size = 131072
48
+best_mx_transport =
49
+biff = yes
50
+body_checks =
51
+body_checks_size_limit = 51200
52
+bounce_notice_recipient = postmaster
53
+bounce_queue_lifetime = 5d
54
+bounce_service_name = bounce
55
+bounce_size_limit = 50000
56
+bounce_template_file =
57
+broken_sasl_auth_clients = no
58
+canonical_classes = envelope_sender, envelope_recipient, header_sender, header_recipient
59
+canonical_maps =
60
+cleanup_service_name = cleanup
61
+command_execution_directory =
62
+command_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
63
+command_time_limit = 1000s
64
+connection_cache_protocol_timeout = 5s
65
+connection_cache_service_name = scache
66
+connection_cache_status_update_time = 600s
67
+connection_cache_ttl_limit = 2s
68
+content_filter =
69
+cyrus_sasl_config_path =
70
+daemon_table_open_error_is_fatal = no
71
+daemon_timeout = 18000s
72
+debug_peer_level = 2
73
+debug_peer_list =
74
+debugger_command =
75
+default_database_type = cdb
76
+default_delivery_slot_cost = 5
77
+default_delivery_slot_discount = 50
78
+default_delivery_slot_loan = 3
79
+default_destination_concurrency_failed_cohort_limit = 1
80
+default_destination_concurrency_limit = 20
81
+default_destination_concurrency_negative_feedback = 1
82
+default_destination_concurrency_positive_feedback = 1
83
+default_destination_rate_delay = 0s
84
+default_destination_recipient_limit = 50
85
+default_extra_recipient_limit = 1000
86
+default_filter_nexthop =
87
+default_minimum_delivery_slots = 3
88
+default_privs = nobody
89
+default_process_limit = 100
90
+default_rbl_reply = $rbl_code Service unavailable; $rbl_class [$rbl_what] blocked using $rbl_domain${rbl_reason?; $rbl_reason}
91
+default_recipient_limit = 20000
92
+default_recipient_refill_delay = 5s
93
+default_recipient_refill_limit = 100
94
+default_transport = smtp
95
+default_verp_delimiters = +=
96
+defer_code = 450
97
+defer_service_name = defer
98
+defer_transports =
99
+delay_logging_resolution_limit = 2
100
+delay_notice_recipient = postmaster
101
+delay_warning_time = 0h
102
+deliver_lock_attempts = 20
103
+deliver_lock_delay = 1s
104
+destination_concurrency_feedback_debug = no
105
+detect_8bit_encoding_header = yes
106
+disable_dns_lookups = no
107
+disable_mime_input_processing = no
108
+disable_mime_output_conversion = no
109
+disable_verp_bounces = no
110
+disable_vrfy_command = no
111
+dnsblog_reply_delay = 0s
112
+dnsblog_service_name = dnsblog
113
+dont_remove = 0
114
+double_bounce_sender = double-bounce
115
+duplicate_filter_limit = 1000
116
+empty_address_default_transport_maps_lookup_key = <>
117
+empty_address_recipient = MAILER-DAEMON
118
+empty_address_relayhost_maps_lookup_key = <>
119
+enable_long_queue_ids = no
120
+enable_original_recipient = yes
121
+error_delivery_slot_cost = $default_delivery_slot_cost
122
+error_delivery_slot_discount = $default_delivery_slot_discount
123
+error_delivery_slot_loan = $default_delivery_slot_loan
124
+error_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
125
+error_destination_concurrency_limit = $default_destination_concurrency_limit
126
+error_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
127
+error_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
128
+error_destination_rate_delay = $default_destination_rate_delay
129
+error_destination_recipient_limit = $default_destination_recipient_limit
130
+error_extra_recipient_limit = $default_extra_recipient_limit
131
+error_initial_destination_concurrency = $initial_destination_concurrency
132
+error_minimum_delivery_slots = $default_minimum_delivery_slots
133
+error_notice_recipient = postmaster
134
+error_recipient_limit = $default_recipient_limit
135
+error_recipient_refill_delay = $default_recipient_refill_delay
136
+error_recipient_refill_limit = $default_recipient_refill_limit
137
+error_service_name = error
138
+execution_directory_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
139
+expand_owner_alias = no
140
+export_environment = TZ MAIL_CONFIG LANG
141
+fallback_transport =
142
+fallback_transport_maps =
143
+fast_flush_domains = $relay_domains
144
+fast_flush_purge_time = 7d
145
+fast_flush_refresh_time = 12h
146
+fault_injection_code = 0
147
+flush_service_name = flush
148
+fork_attempts = 5
149
+fork_delay = 1s
150
+forward_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
151
+forward_path = $home/.forward${recipient_delimiter}${extension}, $home/.forward
152
+frozen_delivered_to = yes
153
+hash_queue_depth = 1
154
+hash_queue_names = deferred, defer
155
+header_address_token_limit = 10240
156
+header_checks =
157
+header_size_limit = 102400
158
+helpful_warnings = yes
159
+home_mailbox =
160
+hopcount_limit = 50
161
+ignore_mx_lookup_error = no
162
+import_environment = MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY LANG=C
163
+in_flow_delay = 1s
164
+inet_interfaces = all
165
+inet_protocols = all
166
+initial_destination_concurrency = 5
167
+internal_mail_filter_classes =
168
+invalid_hostname_reject_code = 501
169
+ipc_idle = 5s
170
+ipc_timeout = 3600s
171
+ipc_ttl = 1000s
172
+line_length_limit = 2048
173
+lmdb_map_size = 16777216
174
+lmtp_address_preference = any
175
+lmtp_assume_final = no
176
+lmtp_bind_address =
177
+lmtp_bind_address6 =
178
+lmtp_body_checks =
179
+lmtp_cname_overrides_servername = no
180
+lmtp_connect_timeout = 0s
181
+lmtp_connection_cache_destinations =
182
+lmtp_connection_cache_on_demand = yes
183
+lmtp_connection_cache_time_limit = 2s
184
+lmtp_connection_reuse_count_limit = 0
185
+lmtp_connection_reuse_time_limit = 300s
186
+lmtp_data_done_timeout = 600s
187
+lmtp_data_init_timeout = 120s
188
+lmtp_data_xfer_timeout = 180s
189
+lmtp_defer_if_no_mx_address_found = no
190
+lmtp_delivery_slot_cost = $default_delivery_slot_cost
191
+lmtp_delivery_slot_discount = $default_delivery_slot_discount
192
+lmtp_delivery_slot_loan = $default_delivery_slot_loan
193
+lmtp_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
194
+lmtp_destination_concurrency_limit = $default_destination_concurrency_limit
195
+lmtp_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
196
+lmtp_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
197
+lmtp_destination_rate_delay = $default_destination_rate_delay
198
+lmtp_destination_recipient_limit = $default_destination_recipient_limit
199
+lmtp_discard_lhlo_keyword_address_maps =
200
+lmtp_discard_lhlo_keywords =
201
+lmtp_dns_resolver_options =
202
+lmtp_dns_support_level =
203
+lmtp_enforce_tls = no
204
+lmtp_extra_recipient_limit = $default_extra_recipient_limit
205
+lmtp_generic_maps =
206
+lmtp_header_checks =
207
+lmtp_host_lookup = dns
208
+lmtp_initial_destination_concurrency = $initial_destination_concurrency
209
+lmtp_lhlo_name = $myhostname
210
+lmtp_lhlo_timeout = 300s
211
+lmtp_line_length_limit = 998
212
+lmtp_mail_timeout = 300s
213
+lmtp_mime_header_checks =
214
+lmtp_minimum_delivery_slots = $default_minimum_delivery_slots
215
+lmtp_mx_address_limit = 5
216
+lmtp_mx_session_limit = 2
217
+lmtp_nested_header_checks =
218
+lmtp_per_record_deadline = no
219
+lmtp_pix_workaround_delay_time = 10s
220
+lmtp_pix_workaround_maps =
221
+lmtp_pix_workaround_threshold_time = 500s
222
+lmtp_pix_workarounds = disable_esmtp,delay_dotcrlf
223
+lmtp_quit_timeout = 300s
224
+lmtp_quote_rfc821_envelope = yes
225
+lmtp_randomize_addresses = yes
226
+lmtp_rcpt_timeout = 300s
227
+lmtp_recipient_limit = $default_recipient_limit
228
+lmtp_recipient_refill_delay = $default_recipient_refill_delay
229
+lmtp_recipient_refill_limit = $default_recipient_refill_limit
230
+lmtp_reply_filter =
231
+lmtp_rset_timeout = 20s
232
+lmtp_sasl_auth_cache_name =
233
+lmtp_sasl_auth_cache_time = 90d
234
+lmtp_sasl_auth_enable = no
235
+lmtp_sasl_auth_soft_bounce = yes
236
+lmtp_sasl_mechanism_filter =
237
+lmtp_sasl_password_maps =
238
+lmtp_sasl_path =
239
+lmtp_sasl_security_options = noplaintext, noanonymous
240
+lmtp_sasl_tls_security_options = $lmtp_sasl_security_options
241
+lmtp_sasl_tls_verified_security_options = $lmtp_sasl_tls_security_options
242
+lmtp_sasl_type = cyrus
243
+lmtp_send_dummy_mail_auth = no
244
+lmtp_send_xforward_command = no
245
+lmtp_sender_dependent_authentication = no
246
+lmtp_skip_5xx_greeting = yes
247
+lmtp_skip_quit_response = no
248
+lmtp_starttls_timeout = 300s
249
+lmtp_tcp_port = 24
250
+lmtp_tls_CAfile =
251
+lmtp_tls_CApath =
252
+lmtp_tls_block_early_mail_reply = no
253
+lmtp_tls_cert_file =
254
+lmtp_tls_ciphers = export
255
+lmtp_tls_dcert_file =
256
+lmtp_tls_dkey_file = $lmtp_tls_dcert_file
257
+lmtp_tls_eccert_file =
258
+lmtp_tls_eckey_file = $lmtp_tls_eccert_file
259
+lmtp_tls_enforce_peername = yes
260
+lmtp_tls_exclude_ciphers =
261
+lmtp_tls_fingerprint_cert_match =
262
+lmtp_tls_fingerprint_digest = md5
263
+lmtp_tls_force_insecure_host_tlsa_lookup = no
264
+lmtp_tls_key_file = $lmtp_tls_cert_file
265
+lmtp_tls_loglevel = 0
266
+lmtp_tls_mandatory_ciphers = medium
267
+lmtp_tls_mandatory_exclude_ciphers =
268
+lmtp_tls_mandatory_protocols = !SSLv2
269
+lmtp_tls_note_starttls_offer = no
270
+lmtp_tls_per_site =
271
+lmtp_tls_policy_maps =
272
+lmtp_tls_protocols = !SSLv2
273
+lmtp_tls_scert_verifydepth = 9
274
+lmtp_tls_secure_cert_match = nexthop
275
+lmtp_tls_security_level =
276
+lmtp_tls_session_cache_database =
277
+lmtp_tls_session_cache_timeout = 3600s
278
+lmtp_tls_trust_anchor_file =
279
+lmtp_tls_verify_cert_match = hostname
280
+lmtp_use_tls = no
281
+lmtp_xforward_timeout = 300s
282
+local_command_shell =
283
+local_delivery_slot_cost = $default_delivery_slot_cost
284
+local_delivery_slot_discount = $default_delivery_slot_discount
285
+local_delivery_slot_loan = $default_delivery_slot_loan
286
+local_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
287
+local_destination_concurrency_limit = 2
288
+local_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
289
+local_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
290
+local_destination_rate_delay = $default_destination_rate_delay
291
+local_destination_recipient_limit = 1
292
+local_extra_recipient_limit = $default_extra_recipient_limit
293
+local_header_rewrite_clients = permit_inet_interfaces
294
+local_initial_destination_concurrency = $initial_destination_concurrency
295
+local_minimum_delivery_slots = $default_minimum_delivery_slots
296
+local_recipient_limit = $default_recipient_limit
297
+local_recipient_maps = proxy:unix:passwd.byname $alias_maps
298
+local_recipient_refill_delay = $default_recipient_refill_delay
299
+local_recipient_refill_limit = $default_recipient_refill_limit
300
+local_transport = local:$myhostname
301
+luser_relay =
302
+mail_name = Postfix
303
+mail_owner = postfix
304
+mail_release_date = 20140507
305
+mail_version = 2.11.1
306
+mailbox_command =
307
+mailbox_command_maps =
308
+mailbox_delivery_lock = fcntl, dotlock
309
+mailbox_size_limit = 51200000
310
+mailbox_transport =
311
+mailbox_transport_maps =
312
+maps_rbl_domains =
313
+maps_rbl_reject_code = 554
314
+masquerade_classes = envelope_sender, header_sender, header_recipient
315
+masquerade_domains =
316
+masquerade_exceptions =
317
+master_service_disable =
318
+max_idle = 100s
319
+max_use = 100
320
+maximal_backoff_time = 4000s
321
+maximal_queue_lifetime = 5d
322
+message_reject_characters =
323
+message_size_limit = 10240000
324
+message_strip_characters =
325
+milter_command_timeout = 30s
326
+milter_connect_macros = j {daemon_name} v
327
+milter_connect_timeout = 30s
328
+milter_content_timeout = 300s
329
+milter_data_macros = i
330
+milter_default_action = tempfail
331
+milter_end_of_data_macros = i
332
+milter_end_of_header_macros = i
333
+milter_header_checks =
334
+milter_helo_macros = {tls_version} {cipher} {cipher_bits} {cert_subject} {cert_issuer}
335
+milter_macro_daemon_name = $myhostname
336
+milter_macro_v = $mail_name $mail_version
337
+milter_mail_macros = i {auth_type} {auth_authen} {auth_author} {mail_addr} {mail_host} {mail_mailer}
338
+milter_protocol = 6
339
+milter_rcpt_macros = i {rcpt_addr} {rcpt_host} {rcpt_mailer}
340
+milter_unknown_command_macros =
341
+mime_boundary_length_limit = 2048
342
+mime_header_checks = $header_checks
343
+mime_nesting_limit = 100
344
+minimal_backoff_time = 300s
345
+multi_instance_directories =
346
+multi_instance_enable = no
347
+multi_instance_group =
348
+multi_instance_name =
349
+multi_instance_wrapper =
350
+multi_recipient_bounce_reject_code = 550
351
+mydestination = $myhostname, localhost.$mydomain, localhost
352
+mynetworks_style = subnet
353
+myorigin = $myhostname
354
+nested_header_checks = $header_checks
355
+non_fqdn_reject_code = 504
356
+non_smtpd_milters =
357
+notify_classes = resource, software
358
+owner_request_special = yes
359
+parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps
360
+permit_mx_backup_networks =
361
+pickup_service_name = pickup
362
+plaintext_reject_code = 450
363
+postmulti_control_commands = reload flush
364
+postmulti_start_commands = start
365
+postmulti_stop_commands = stop abort drain quick-stop
366
+postscreen_access_list = permit_mynetworks
367
+postscreen_bare_newline_action = ignore
368
+postscreen_bare_newline_enable = no
369
+postscreen_bare_newline_ttl = 30d
370
+postscreen_blacklist_action = ignore
371
+postscreen_cache_cleanup_interval = 12h
372
+postscreen_cache_map = btree:$data_directory/postscreen_cache
373
+postscreen_cache_retention_time = 7d
374
+postscreen_client_connection_count_limit = $smtpd_client_connection_count_limit
375
+postscreen_command_count_limit = 20
376
+postscreen_command_filter =
377
+postscreen_command_time_limit = ${stress?10}${stress:300}s
378
+postscreen_disable_vrfy_command = $disable_vrfy_command
379
+postscreen_discard_ehlo_keyword_address_maps = $smtpd_discard_ehlo_keyword_address_maps
380
+postscreen_discard_ehlo_keywords = $smtpd_discard_ehlo_keywords
381
+postscreen_dnsbl_action = ignore
382
+postscreen_dnsbl_reply_map =
383
+postscreen_dnsbl_sites =
384
+postscreen_dnsbl_threshold = 1
385
+postscreen_dnsbl_ttl = 1h
386
+postscreen_dnsbl_whitelist_threshold = 0
387
+postscreen_enforce_tls = $smtpd_enforce_tls
388
+postscreen_expansion_filter = $smtpd_expansion_filter
389
+postscreen_forbidden_commands = $smtpd_forbidden_commands
390
+postscreen_greet_action = ignore
391
+postscreen_greet_banner = $smtpd_banner
392
+postscreen_greet_ttl = 1d
393
+postscreen_greet_wait = ${stress?2}${stress:6}s
394
+postscreen_helo_required = $smtpd_helo_required
395
+postscreen_non_smtp_command_action = drop
396
+postscreen_non_smtp_command_enable = no
397
+postscreen_non_smtp_command_ttl = 30d
398
+postscreen_pipelining_action = enforce
399
+postscreen_pipelining_enable = no
400
+postscreen_pipelining_ttl = 30d
401
+postscreen_post_queue_limit = $default_process_limit
402
+postscreen_pre_queue_limit = $default_process_limit
403
+postscreen_reject_footer = $smtpd_reject_footer
404
+postscreen_tls_security_level = $smtpd_tls_security_level
405
+postscreen_upstream_proxy_protocol =
406
+postscreen_upstream_proxy_timeout = 5s
407
+postscreen_use_tls = $smtpd_use_tls
408
+postscreen_watchdog_timeout = 10s
409
+postscreen_whitelist_interfaces = static:all
410
+prepend_delivered_header = command, file, forward
411
+process_id = 6537
412
+process_id_directory = pid
413
+process_name = postconf
414
+propagate_unmatched_extensions = canonical, virtual
415
+proxy_interfaces =
416
+proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $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 $sender_bcc_maps $recipient_bcc_maps $smtp_generic_maps $lmtp_generic_maps $alias_maps
417
+proxy_write_maps = $smtp_sasl_auth_cache_name $lmtp_sasl_auth_cache_name $address_verify_map $postscreen_cache_map
418
+proxymap_service_name = proxymap
419
+proxywrite_service_name = proxywrite
420
+qmgr_clog_warn_time = 300s
421
+qmgr_daemon_timeout = 1000s
422
+qmgr_fudge_factor = 100
423
+qmgr_ipc_timeout = 60s
424
+qmgr_message_active_limit = 20000
425
+qmgr_message_recipient_limit = 20000
426
+qmgr_message_recipient_minimum = 10
427
+qmqpd_authorized_clients =
428
+qmqpd_client_port_logging = no
429
+qmqpd_error_delay = 1s
430
+qmqpd_timeout = 300s
431
+queue_file_attribute_count_limit = 100
432
+queue_minfree = 0
433
+queue_run_delay = 300s
434
+queue_service_name = qmgr
435
+rbl_reply_maps =
436
+receive_override_options =
437
+recipient_bcc_maps =
438
+recipient_canonical_classes = envelope_recipient, header_recipient
439
+recipient_canonical_maps =
440
+recipient_delimiter =
441
+reject_code = 554
442
+reject_tempfail_action = defer_if_permit
443
+relay_clientcerts =
444
+relay_delivery_slot_cost = $default_delivery_slot_cost
445
+relay_delivery_slot_discount = $default_delivery_slot_discount
446
+relay_delivery_slot_loan = $default_delivery_slot_loan
447
+relay_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
448
+relay_destination_concurrency_limit = $default_destination_concurrency_limit
449
+relay_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
450
+relay_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
451
+relay_destination_rate_delay = $default_destination_rate_delay
452
+relay_destination_recipient_limit = $default_destination_recipient_limit
453
+relay_domains = $mydestination
454
+relay_domains_reject_code = 554
455
+relay_extra_recipient_limit = $default_extra_recipient_limit
456
+relay_initial_destination_concurrency = $initial_destination_concurrency
457
+relay_minimum_delivery_slots = $default_minimum_delivery_slots
458
+relay_recipient_limit = $default_recipient_limit
459
+relay_recipient_maps =
460
+relay_recipient_refill_delay = $default_recipient_refill_delay
461
+relay_recipient_refill_limit = $default_recipient_refill_limit
462
+relay_transport = relay
463
+relayhost =
464
+relocated_maps =
465
+remote_header_rewrite_domain =
466
+require_home_directory = no
467
+reset_owner_alias = no
468
+resolve_dequoted_address = yes
469
+resolve_null_domain = no
470
+resolve_numeric_domain = no
471
+retry_delivery_slot_cost = $default_delivery_slot_cost
472
+retry_delivery_slot_discount = $default_delivery_slot_discount
473
+retry_delivery_slot_loan = $default_delivery_slot_loan
474
+retry_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
475
+retry_destination_concurrency_limit = $default_destination_concurrency_limit
476
+retry_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
477
+retry_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
478
+retry_destination_rate_delay = $default_destination_rate_delay
479
+retry_destination_recipient_limit = $default_destination_recipient_limit
480
+retry_extra_recipient_limit = $default_extra_recipient_limit
481
+retry_initial_destination_concurrency = $initial_destination_concurrency
482
+retry_minimum_delivery_slots = $default_minimum_delivery_slots
483
+retry_recipient_limit = $default_recipient_limit
484
+retry_recipient_refill_delay = $default_recipient_refill_delay
485
+retry_recipient_refill_limit = $default_recipient_refill_limit
486
+rewrite_service_name = rewrite
487
+send_cyrus_sasl_authzid = no
488
+sender_bcc_maps =
489
+sender_canonical_classes = envelope_sender, header_sender
490
+sender_canonical_maps =
491
+sender_dependent_default_transport_maps =
492
+sender_dependent_relayhost_maps =
493
+sendmail_fix_line_endings = always
494
+service_throttle_time = 60s
495
+setgid_group = postdrop
496
+show_user_unknown_table_name = yes
497
+showq_service_name = showq
498
+smtp_address_preference = any
499
+smtp_always_send_ehlo = yes
500
+smtp_bind_address =
501
+smtp_bind_address6 =
502
+smtp_body_checks =
503
+smtp_cname_overrides_servername = no
504
+smtp_connect_timeout = 30s
505
+smtp_connection_cache_destinations =
506
+smtp_connection_cache_on_demand = yes
507
+smtp_connection_cache_time_limit = 2s
508
+smtp_connection_reuse_count_limit = 0
509
+smtp_connection_reuse_time_limit = 300s
510
+smtp_data_done_timeout = 600s
511
+smtp_data_init_timeout = 120s
512
+smtp_data_xfer_timeout = 180s
513
+smtp_defer_if_no_mx_address_found = no
514
+smtp_delivery_slot_cost = $default_delivery_slot_cost
515
+smtp_delivery_slot_discount = $default_delivery_slot_discount
516
+smtp_delivery_slot_loan = $default_delivery_slot_loan
517
+smtp_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
518
+smtp_destination_concurrency_limit = $default_destination_concurrency_limit
519
+smtp_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
520
+smtp_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
521
+smtp_destination_rate_delay = $default_destination_rate_delay
522
+smtp_destination_recipient_limit = $default_destination_recipient_limit
523
+smtp_discard_ehlo_keyword_address_maps =
524
+smtp_discard_ehlo_keywords =
525
+smtp_dns_resolver_options =
526
+smtp_dns_support_level =
527
+smtp_enforce_tls = no
528
+smtp_extra_recipient_limit = $default_extra_recipient_limit
529
+smtp_fallback_relay = $fallback_relay
530
+smtp_generic_maps =
531
+smtp_header_checks =
532
+smtp_helo_name = $myhostname
533
+smtp_helo_timeout = 300s
534
+smtp_host_lookup = dns
535
+smtp_initial_destination_concurrency = $initial_destination_concurrency
536
+smtp_line_length_limit = 998
537
+smtp_mail_timeout = 300s
538
+smtp_mime_header_checks =
539
+smtp_minimum_delivery_slots = $default_minimum_delivery_slots
540
+smtp_mx_address_limit = 5
541
+smtp_mx_session_limit = 2
542
+smtp_nested_header_checks =
543
+smtp_never_send_ehlo = no
544
+smtp_per_record_deadline = no
545
+smtp_pix_workaround_delay_time = 10s
546
+smtp_pix_workaround_maps =
547
+smtp_pix_workaround_threshold_time = 500s
548
+smtp_pix_workarounds = disable_esmtp,delay_dotcrlf
549
+smtp_quit_timeout = 300s
550
+smtp_quote_rfc821_envelope = yes
551
+smtp_randomize_addresses = yes
552
+smtp_rcpt_timeout = 300s
553
+smtp_recipient_limit = $default_recipient_limit
554
+smtp_recipient_refill_delay = $default_recipient_refill_delay
555
+smtp_recipient_refill_limit = $default_recipient_refill_limit
556
+smtp_reply_filter =
557
+smtp_rset_timeout = 20s
558
+smtp_sasl_auth_cache_name =
559
+smtp_sasl_auth_cache_time = 90d
560
+smtp_sasl_auth_enable = no
561
+smtp_sasl_auth_soft_bounce = yes
562
+smtp_sasl_mechanism_filter =
563
+smtp_sasl_password_maps =
564
+smtp_sasl_path =
565
+smtp_sasl_security_options = noplaintext, noanonymous
566
+smtp_sasl_tls_security_options = $smtp_sasl_security_options
567
+smtp_sasl_tls_verified_security_options = $smtp_sasl_tls_security_options
568
+smtp_sasl_type = cyrus
569
+smtp_send_dummy_mail_auth = no
570
+smtp_send_xforward_command = no
571
+smtp_sender_dependent_authentication = no
572
+smtp_skip_5xx_greeting = yes
573
+smtp_skip_quit_response = yes
574
+smtp_starttls_timeout = 300s
575
+smtp_tls_CAfile =
576
+smtp_tls_CApath =
577
+smtp_tls_block_early_mail_reply = no
578
+smtp_tls_cert_file =
579
+smtp_tls_ciphers = export
580
+smtp_tls_dcert_file =
581
+smtp_tls_dkey_file = $smtp_tls_dcert_file
582
+smtp_tls_eccert_file =
583
+smtp_tls_eckey_file = $smtp_tls_eccert_file
584
+smtp_tls_enforce_peername = yes
585
+smtp_tls_exclude_ciphers =
586
+smtp_tls_fingerprint_cert_match =
587
+smtp_tls_fingerprint_digest = md5
588
+smtp_tls_force_insecure_host_tlsa_lookup = no
589
+smtp_tls_key_file = $smtp_tls_cert_file
590
+smtp_tls_loglevel = 0
591
+smtp_tls_mandatory_ciphers = medium
592
+smtp_tls_mandatory_exclude_ciphers =
593
+smtp_tls_mandatory_protocols = !SSLv2
594
+smtp_tls_note_starttls_offer = no
595
+smtp_tls_per_site =
596
+smtp_tls_policy_maps =
597
+smtp_tls_protocols = !SSLv2
598
+smtp_tls_scert_verifydepth = 9
599
+smtp_tls_secure_cert_match = nexthop, dot-nexthop
600
+smtp_tls_security_level =
601
+smtp_tls_session_cache_database =
602
+smtp_tls_session_cache_timeout = 3600s
603
+smtp_tls_trust_anchor_file =
604
+smtp_tls_verify_cert_match = hostname
605
+smtp_use_tls = no
606
+smtp_xforward_timeout = 300s
607
+smtpd_authorized_verp_clients = $authorized_verp_clients
608
+smtpd_authorized_xclient_hosts =
609
+smtpd_authorized_xforward_hosts =
610
+smtpd_banner = $myhostname ESMTP $mail_name
611
+smtpd_client_connection_count_limit = 50
612
+smtpd_client_connection_rate_limit = 0
613
+smtpd_client_event_limit_exceptions = ${smtpd_client_connection_limit_exceptions:$mynetworks}
614
+smtpd_client_message_rate_limit = 0
615
+smtpd_client_new_tls_session_rate_limit = 0
616
+smtpd_client_port_logging = no
617
+smtpd_client_recipient_rate_limit = 0
618
+smtpd_client_restrictions =
619
+smtpd_command_filter =
620
+smtpd_data_restrictions =
621
+smtpd_delay_open_until_valid_rcpt = yes
622
+smtpd_delay_reject = yes
623
+smtpd_discard_ehlo_keyword_address_maps =
624
+smtpd_discard_ehlo_keywords =
625
+smtpd_end_of_data_restrictions =
626
+smtpd_enforce_tls = no
627
+smtpd_error_sleep_time = 1s
628
+smtpd_etrn_restrictions =
629
+smtpd_expansion_filter = \t\40!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~
630
+smtpd_forbidden_commands = CONNECT GET POST
631
+smtpd_hard_error_limit = ${stress?1}${stress:20}
632
+smtpd_helo_required = no
633
+smtpd_helo_restrictions =
634
+smtpd_history_flush_threshold = 100
635
+smtpd_junk_command_limit = ${stress?1}${stress:100}
636
+smtpd_log_access_permit_actions =
637
+smtpd_milters =
638
+smtpd_noop_commands =
639
+smtpd_null_access_lookup_key = <>
640
+smtpd_peername_lookup = yes
641
+smtpd_per_record_deadline = ${stress?yes}${stress:no}
642
+smtpd_policy_service_max_idle = 300s
643
+smtpd_policy_service_max_ttl = 1000s
644
+smtpd_policy_service_timeout = 100s
645
+smtpd_proxy_ehlo = $myhostname
646
+smtpd_proxy_filter =
647
+smtpd_proxy_options =
648
+smtpd_proxy_timeout = 100s
649
+smtpd_recipient_limit = 1000
650
+smtpd_recipient_overshoot_limit = 1000
651
+smtpd_recipient_restrictions =
652
+smtpd_reject_footer =
653
+smtpd_reject_unlisted_recipient = yes
654
+smtpd_reject_unlisted_sender = no
655
+smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination
656
+smtpd_restriction_classes =
657
+smtpd_sasl_auth_enable = no
658
+smtpd_sasl_authenticated_header = no
659
+smtpd_sasl_exceptions_networks =
660
+smtpd_sasl_local_domain =
661
+smtpd_sasl_path = smtpd
662
+smtpd_sasl_security_options = noanonymous
663
+smtpd_sasl_service = smtp
664
+smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
665
+smtpd_sasl_type = cyrus
666
+smtpd_sender_login_maps =
667
+smtpd_sender_restrictions =
668
+smtpd_service_name = smtpd
669
+smtpd_soft_error_limit = 10
670
+smtpd_starttls_timeout = ${stress?10}${stress:300}s
671
+smtpd_timeout = ${stress?10}${stress:300}s
672
+smtpd_tls_CAfile =
673
+smtpd_tls_CApath =
674
+smtpd_tls_always_issue_session_ids = yes
675
+smtpd_tls_ask_ccert = no
676
+smtpd_tls_auth_only = no
677
+smtpd_tls_ccert_verifydepth = 9
678
+smtpd_tls_cert_file =
679
+smtpd_tls_ciphers = export
680
+smtpd_tls_dcert_file =
681
+smtpd_tls_dh1024_param_file =
682
+smtpd_tls_dh512_param_file =
683
+smtpd_tls_dkey_file = $smtpd_tls_dcert_file
684
+smtpd_tls_eccert_file =
685
+smtpd_tls_eckey_file = $smtpd_tls_eccert_file
686
+smtpd_tls_eecdh_grade = strong
687
+smtpd_tls_exclude_ciphers =
688
+smtpd_tls_fingerprint_digest = md5
689
+smtpd_tls_key_file = $smtpd_tls_cert_file
690
+smtpd_tls_loglevel = 0
691
+smtpd_tls_mandatory_ciphers = medium
692
+smtpd_tls_mandatory_exclude_ciphers =
693
+smtpd_tls_mandatory_protocols = !SSLv2
694
+smtpd_tls_protocols =
695
+smtpd_tls_received_header = no
696
+smtpd_tls_req_ccert = no
697
+smtpd_tls_security_level =
698
+smtpd_tls_session_cache_database =
699
+smtpd_tls_session_cache_timeout = 3600s
700
+smtpd_tls_wrappermode = no
701
+smtpd_upstream_proxy_protocol =
702
+smtpd_upstream_proxy_timeout = 5s
703
+smtpd_use_tls = no
704
+soft_bounce = no
705
+stale_lock_time = 500s
706
+stress =
707
+strict_7bit_headers = no
708
+strict_8bitmime = no
709
+strict_8bitmime_body = no
710
+strict_mailbox_ownership = yes
711
+strict_mime_encoding_domain = no
712
+strict_rfc821_envelopes = no
713
+sun_mailtool_compatibility = no
714
+swap_bangpath = yes
715
+syslog_facility = mail
716
+syslog_name = ${multi_instance_name:postfix}${multi_instance_name?$multi_instance_name}
717
+tcp_windowsize = 0
718
+tls_append_default_CA = no
719
+tls_daemon_random_bytes = 32
720
+tls_dane_digest_agility = on
721
+tls_dane_digests = sha512 sha256
722
+tls_dane_trust_anchor_digest_enable = yes
723
+tls_disable_workarounds =
724
+tls_eecdh_strong_curve = prime256v1
725
+tls_eecdh_ultra_curve = secp384r1
726
+tls_export_cipherlist = ALL:+RC4:@STRENGTH
727
+tls_high_cipherlist = ALL:!EXPORT:!LOW:!MEDIUM:+RC4:@STRENGTH
728
+tls_legacy_public_key_fingerprints = no
729
+tls_low_cipherlist = ALL:!EXPORT:+RC4:@STRENGTH
730
+tls_medium_cipherlist = ALL:!EXPORT:!LOW:+RC4:@STRENGTH
731
+tls_null_cipherlist = eNULL:!aNULL
732
+tls_preempt_cipherlist = no
733
+tls_random_bytes = 32
734
+tls_random_exchange_name = ${data_directory}/prng_exch
735
+tls_random_prng_update_period = 3600s
736
+tls_random_reseed_period = 3600s
737
+tls_random_source = dev:/dev/urandom
738
+tls_ssl_options =
739
+tls_wildcard_matches_multiple_labels = yes
740
+tlsmgr_service_name = tlsmgr
741
+tlsproxy_enforce_tls = $smtpd_enforce_tls
742
+tlsproxy_service_name = tlsproxy
743
+tlsproxy_tls_CAfile = $smtpd_tls_CAfile
744
+tlsproxy_tls_CApath = $smtpd_tls_CApath
745
+tlsproxy_tls_always_issue_session_ids = $smtpd_tls_always_issue_session_ids
746
+tlsproxy_tls_ask_ccert = $smtpd_tls_ask_ccert
747
+tlsproxy_tls_ccert_verifydepth = $smtpd_tls_ccert_verifydepth
748
+tlsproxy_tls_cert_file = $smtpd_tls_cert_file
749
+tlsproxy_tls_ciphers = $smtpd_tls_ciphers
750
+tlsproxy_tls_dcert_file = $smtpd_tls_dcert_file
751
+tlsproxy_tls_dh1024_param_file = $smtpd_tls_dh1024_param_file
752
+tlsproxy_tls_dh512_param_file = $smtpd_tls_dh512_param_file
753
+tlsproxy_tls_dkey_file = $smtpd_tls_dkey_file
754
+tlsproxy_tls_eccert_file = $smtpd_tls_eccert_file
755
+tlsproxy_tls_eckey_file = $smtpd_tls_eckey_file
756
+tlsproxy_tls_eecdh_grade = $smtpd_tls_eecdh_grade
757
+tlsproxy_tls_exclude_ciphers = $smtpd_tls_exclude_ciphers
758
+tlsproxy_tls_fingerprint_digest = $smtpd_tls_fingerprint_digest
759
+tlsproxy_tls_key_file = $smtpd_tls_key_file
760
+tlsproxy_tls_loglevel = $smtpd_tls_loglevel
761
+tlsproxy_tls_mandatory_ciphers = $smtpd_tls_mandatory_ciphers
762
+tlsproxy_tls_mandatory_exclude_ciphers = $smtpd_tls_mandatory_exclude_ciphers
763
+tlsproxy_tls_mandatory_protocols = $smtpd_tls_mandatory_protocols
764
+tlsproxy_tls_protocols = $smtpd_tls_protocols
765
+tlsproxy_tls_req_ccert = $smtpd_tls_req_ccert
766
+tlsproxy_tls_security_level = $smtpd_tls_security_level
767
+tlsproxy_use_tls = $smtpd_use_tls
768
+tlsproxy_watchdog_timeout = 10s
769
+trace_service_name = trace
770
+transport_maps =
771
+transport_retry_time = 60s
772
+trigger_timeout = 10s
773
+undisclosed_recipients_header =
774
+unknown_address_reject_code = 450
775
+unknown_address_tempfail_action = $reject_tempfail_action
776
+unknown_client_reject_code = 450
777
+unknown_helo_hostname_tempfail_action = $reject_tempfail_action
778
+unknown_hostname_reject_code = 450
779
+unknown_local_recipient_reject_code = 550
780
+unknown_relay_recipient_reject_code = 550
781
+unknown_virtual_alias_reject_code = 550
782
+unknown_virtual_mailbox_reject_code = 550
783
+unverified_recipient_defer_code = 450
784
+unverified_recipient_reject_code = 450
785
+unverified_recipient_reject_reason =
786
+unverified_recipient_tempfail_action = $reject_tempfail_action
787
+unverified_sender_defer_code = 450
788
+unverified_sender_reject_code = 450
789
+unverified_sender_reject_reason =
790
+unverified_sender_tempfail_action = $reject_tempfail_action
791
+verp_delimiter_filter = -=+
792
+virtual_alias_domains = $virtual_alias_maps
793
+virtual_alias_expansion_limit = 1000
794
+virtual_alias_maps = $virtual_maps
795
+virtual_alias_recursion_limit = 1000
796
+virtual_delivery_slot_cost = $default_delivery_slot_cost
797
+virtual_delivery_slot_discount = $default_delivery_slot_discount
798
+virtual_delivery_slot_loan = $default_delivery_slot_loan
799
+virtual_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
800
+virtual_destination_concurrency_limit = $default_destination_concurrency_limit
801
+virtual_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
802
+virtual_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
803
+virtual_destination_rate_delay = $default_destination_rate_delay
804
+virtual_destination_recipient_limit = $default_destination_recipient_limit
805
+virtual_extra_recipient_limit = $default_extra_recipient_limit
806
+virtual_gid_maps =
807
+virtual_initial_destination_concurrency = $initial_destination_concurrency
808
+virtual_mailbox_base =
809
+virtual_mailbox_domains = $virtual_mailbox_maps
810
+virtual_mailbox_limit = 51200000
811
+virtual_mailbox_lock = fcntl, dotlock
812
+virtual_mailbox_maps =
813
+virtual_minimum_delivery_slots = $default_minimum_delivery_slots
814
+virtual_minimum_uid = 100
815
+virtual_recipient_limit = $default_recipient_limit
816
+virtual_recipient_refill_delay = $default_recipient_refill_delay
817
+virtual_recipient_refill_limit = $default_recipient_refill_limit
818
+virtual_transport = virtual
819
+virtual_uid_maps =

+ 19
- 0
mail/postfix/files/postfix.init Wyświetl plik

@@ -0,0 +1,19 @@
1
+#!/bin/sh /etc/rc.common
2
+# Copyright (C) 2014 OpenWrt.org
3
+
4
+START=50
5
+STOP=50
6
+
7
+create_users() {
8
+	group_exists postfix || group_add postfix 87
9
+	user_exists postfix || user_add postfix 87
10
+	group_exists postdrop || group_add postdrop 88
11
+}
12
+
13
+start() {
14
+	postfix start
15
+}
16
+
17
+stop() {
18
+	postfix stop
19
+}

+ 0
- 23
mail/postfix/patches/300-init.patch Wyświetl plik

@@ -1,23 +0,0 @@
1
-diff -rupN postfix-2.8.1/postfix_init postfix-2.8.1_patched/postfix_init
2
---- postfix-2.8.1/postfix_init	1970-01-01 03:00:00.000000000 +0300
3
-+++ postfix-2.8.1_patched/postfix_init	2011-03-06 21:44:50.000000000 +0300
4
-@@ -0,0 +1,19 @@
5
-+#!/bin/sh /etc/rc.common
6
-+# Copyright (C) 2014 OpenWrt.org
7
-+
8
-+START=50
9
-+STOP=50
10
-+
11
-+create_users() {
12
-+	group_exists postfix || group_add postfix 87
13
-+	user_exists postfix || user_add postfix 87
14
-+	group_exists postdrop || group_add postdrop 88
15
-+}
16
-+
17
-+start() {
18
-+	postfix start
19
-+}
20
-+
21
-+stop() {
22
-+	postfix stop
23
-+}

+ 0
- 823
mail/postfix/patches/700-defaultconfig.patch Wyświetl plik

@@ -91,826 +91,3 @@ diff -Naur postfix-2.11.1/conf/main.cf postfix-2.11.1.patched/conf/main.cf
91 91
 -#
92 92
 -readme_directory =
93 93
  inet_protocols = ipv4
94
-diff -Naur postfix-2.11.1/conf/main.cf.default.openwrt postfix-2.11.1.patched/conf/main.cf.default.openwrt
95
---- postfix-2.11.1/conf/main.cf.default.openwrt	1970-01-01 03:00:00.000000000 +0300
96
-+++ postfix-2.11.1.patched/conf/main.cf.default.openwrt	2014-10-05 23:48:59.751127768 +0400
97
-@@ -0,0 +1,819 @@
98
-+# DO NOT EDIT THIS FILE. EDIT THE MAIN.CF FILE INSTEAD. THE
99
-+# TEXT HERE JUST SHOWS DEFAULT SETTINGS BUILT INTO POSTFIX.
100
-+#
101
-+2bounce_notice_recipient = postmaster
102
-+access_map_defer_code = 450
103
-+access_map_reject_code = 554
104
-+address_verify_cache_cleanup_interval = 12h
105
-+address_verify_default_transport = $default_transport
106
-+address_verify_local_transport = $local_transport
107
-+address_verify_map = btree:$data_directory/verify_cache
108
-+address_verify_negative_cache = yes
109
-+address_verify_negative_expire_time = 3d
110
-+address_verify_negative_refresh_time = 3h
111
-+address_verify_poll_count = ${stress?1}${stress:3}
112
-+address_verify_poll_delay = 3s
113
-+address_verify_positive_expire_time = 31d
114
-+address_verify_positive_refresh_time = 7d
115
-+address_verify_relay_transport = $relay_transport
116
-+address_verify_relayhost = $relayhost
117
-+address_verify_sender = $double_bounce_sender
118
-+address_verify_sender_dependent_default_transport_maps = $sender_dependent_default_transport_maps
119
-+address_verify_sender_dependent_relayhost_maps = $sender_dependent_relayhost_maps
120
-+address_verify_sender_ttl = 0s
121
-+address_verify_service_name = verify
122
-+address_verify_transport_maps = $transport_maps
123
-+address_verify_virtual_transport = $virtual_transport
124
-+alias_database = cdb:/etc/aliases
125
-+alias_maps = cdb:/etc/aliases
126
-+allow_mail_to_commands = alias, forward
127
-+allow_mail_to_files = alias, forward
128
-+allow_min_user = no
129
-+allow_percent_hack = yes
130
-+allow_untrusted_routing = no
131
-+alternate_config_directories =
132
-+always_add_missing_headers = no
133
-+always_bcc =
134
-+anvil_rate_time_unit = 60s
135
-+anvil_status_update_time = 600s
136
-+append_at_myorigin = yes
137
-+append_dot_mydomain = yes
138
-+application_event_drain_time = 100s
139
-+authorized_flush_users = static:anyone
140
-+authorized_mailq_users = static:anyone
141
-+authorized_submit_users = static:anyone
142
-+backwards_bounce_logfile_compatibility = yes
143
-+berkeley_db_create_buffer_size = 16777216
144
-+berkeley_db_read_buffer_size = 131072
145
-+best_mx_transport =
146
-+biff = yes
147
-+body_checks =
148
-+body_checks_size_limit = 51200
149
-+bounce_notice_recipient = postmaster
150
-+bounce_queue_lifetime = 5d
151
-+bounce_service_name = bounce
152
-+bounce_size_limit = 50000
153
-+bounce_template_file =
154
-+broken_sasl_auth_clients = no
155
-+canonical_classes = envelope_sender, envelope_recipient, header_sender, header_recipient
156
-+canonical_maps =
157
-+cleanup_service_name = cleanup
158
-+command_execution_directory =
159
-+command_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
160
-+command_time_limit = 1000s
161
-+connection_cache_protocol_timeout = 5s
162
-+connection_cache_service_name = scache
163
-+connection_cache_status_update_time = 600s
164
-+connection_cache_ttl_limit = 2s
165
-+content_filter =
166
-+cyrus_sasl_config_path =
167
-+daemon_table_open_error_is_fatal = no
168
-+daemon_timeout = 18000s
169
-+debug_peer_level = 2
170
-+debug_peer_list =
171
-+debugger_command =
172
-+default_database_type = cdb
173
-+default_delivery_slot_cost = 5
174
-+default_delivery_slot_discount = 50
175
-+default_delivery_slot_loan = 3
176
-+default_destination_concurrency_failed_cohort_limit = 1
177
-+default_destination_concurrency_limit = 20
178
-+default_destination_concurrency_negative_feedback = 1
179
-+default_destination_concurrency_positive_feedback = 1
180
-+default_destination_rate_delay = 0s
181
-+default_destination_recipient_limit = 50
182
-+default_extra_recipient_limit = 1000
183
-+default_filter_nexthop =
184
-+default_minimum_delivery_slots = 3
185
-+default_privs = nobody
186
-+default_process_limit = 100
187
-+default_rbl_reply = $rbl_code Service unavailable; $rbl_class [$rbl_what] blocked using $rbl_domain${rbl_reason?; $rbl_reason}
188
-+default_recipient_limit = 20000
189
-+default_recipient_refill_delay = 5s
190
-+default_recipient_refill_limit = 100
191
-+default_transport = smtp
192
-+default_verp_delimiters = +=
193
-+defer_code = 450
194
-+defer_service_name = defer
195
-+defer_transports =
196
-+delay_logging_resolution_limit = 2
197
-+delay_notice_recipient = postmaster
198
-+delay_warning_time = 0h
199
-+deliver_lock_attempts = 20
200
-+deliver_lock_delay = 1s
201
-+destination_concurrency_feedback_debug = no
202
-+detect_8bit_encoding_header = yes
203
-+disable_dns_lookups = no
204
-+disable_mime_input_processing = no
205
-+disable_mime_output_conversion = no
206
-+disable_verp_bounces = no
207
-+disable_vrfy_command = no
208
-+dnsblog_reply_delay = 0s
209
-+dnsblog_service_name = dnsblog
210
-+dont_remove = 0
211
-+double_bounce_sender = double-bounce
212
-+duplicate_filter_limit = 1000
213
-+empty_address_default_transport_maps_lookup_key = <>
214
-+empty_address_recipient = MAILER-DAEMON
215
-+empty_address_relayhost_maps_lookup_key = <>
216
-+enable_long_queue_ids = no
217
-+enable_original_recipient = yes
218
-+error_delivery_slot_cost = $default_delivery_slot_cost
219
-+error_delivery_slot_discount = $default_delivery_slot_discount
220
-+error_delivery_slot_loan = $default_delivery_slot_loan
221
-+error_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
222
-+error_destination_concurrency_limit = $default_destination_concurrency_limit
223
-+error_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
224
-+error_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
225
-+error_destination_rate_delay = $default_destination_rate_delay
226
-+error_destination_recipient_limit = $default_destination_recipient_limit
227
-+error_extra_recipient_limit = $default_extra_recipient_limit
228
-+error_initial_destination_concurrency = $initial_destination_concurrency
229
-+error_minimum_delivery_slots = $default_minimum_delivery_slots
230
-+error_notice_recipient = postmaster
231
-+error_recipient_limit = $default_recipient_limit
232
-+error_recipient_refill_delay = $default_recipient_refill_delay
233
-+error_recipient_refill_limit = $default_recipient_refill_limit
234
-+error_service_name = error
235
-+execution_directory_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
236
-+expand_owner_alias = no
237
-+export_environment = TZ MAIL_CONFIG LANG
238
-+fallback_transport =
239
-+fallback_transport_maps =
240
-+fast_flush_domains = $relay_domains
241
-+fast_flush_purge_time = 7d
242
-+fast_flush_refresh_time = 12h
243
-+fault_injection_code = 0
244
-+flush_service_name = flush
245
-+fork_attempts = 5
246
-+fork_delay = 1s
247
-+forward_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
248
-+forward_path = $home/.forward${recipient_delimiter}${extension}, $home/.forward
249
-+frozen_delivered_to = yes
250
-+hash_queue_depth = 1
251
-+hash_queue_names = deferred, defer
252
-+header_address_token_limit = 10240
253
-+header_checks =
254
-+header_size_limit = 102400
255
-+helpful_warnings = yes
256
-+home_mailbox =
257
-+hopcount_limit = 50
258
-+ignore_mx_lookup_error = no
259
-+import_environment = MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY LANG=C
260
-+in_flow_delay = 1s
261
-+inet_interfaces = all
262
-+inet_protocols = all
263
-+initial_destination_concurrency = 5
264
-+internal_mail_filter_classes =
265
-+invalid_hostname_reject_code = 501
266
-+ipc_idle = 5s
267
-+ipc_timeout = 3600s
268
-+ipc_ttl = 1000s
269
-+line_length_limit = 2048
270
-+lmdb_map_size = 16777216
271
-+lmtp_address_preference = any
272
-+lmtp_assume_final = no
273
-+lmtp_bind_address =
274
-+lmtp_bind_address6 =
275
-+lmtp_body_checks =
276
-+lmtp_cname_overrides_servername = no
277
-+lmtp_connect_timeout = 0s
278
-+lmtp_connection_cache_destinations =
279
-+lmtp_connection_cache_on_demand = yes
280
-+lmtp_connection_cache_time_limit = 2s
281
-+lmtp_connection_reuse_count_limit = 0
282
-+lmtp_connection_reuse_time_limit = 300s
283
-+lmtp_data_done_timeout = 600s
284
-+lmtp_data_init_timeout = 120s
285
-+lmtp_data_xfer_timeout = 180s
286
-+lmtp_defer_if_no_mx_address_found = no
287
-+lmtp_delivery_slot_cost = $default_delivery_slot_cost
288
-+lmtp_delivery_slot_discount = $default_delivery_slot_discount
289
-+lmtp_delivery_slot_loan = $default_delivery_slot_loan
290
-+lmtp_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
291
-+lmtp_destination_concurrency_limit = $default_destination_concurrency_limit
292
-+lmtp_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
293
-+lmtp_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
294
-+lmtp_destination_rate_delay = $default_destination_rate_delay
295
-+lmtp_destination_recipient_limit = $default_destination_recipient_limit
296
-+lmtp_discard_lhlo_keyword_address_maps =
297
-+lmtp_discard_lhlo_keywords =
298
-+lmtp_dns_resolver_options =
299
-+lmtp_dns_support_level =
300
-+lmtp_enforce_tls = no
301
-+lmtp_extra_recipient_limit = $default_extra_recipient_limit
302
-+lmtp_generic_maps =
303
-+lmtp_header_checks =
304
-+lmtp_host_lookup = dns
305
-+lmtp_initial_destination_concurrency = $initial_destination_concurrency
306
-+lmtp_lhlo_name = $myhostname
307
-+lmtp_lhlo_timeout = 300s
308
-+lmtp_line_length_limit = 998
309
-+lmtp_mail_timeout = 300s
310
-+lmtp_mime_header_checks =
311
-+lmtp_minimum_delivery_slots = $default_minimum_delivery_slots
312
-+lmtp_mx_address_limit = 5
313
-+lmtp_mx_session_limit = 2
314
-+lmtp_nested_header_checks =
315
-+lmtp_per_record_deadline = no
316
-+lmtp_pix_workaround_delay_time = 10s
317
-+lmtp_pix_workaround_maps =
318
-+lmtp_pix_workaround_threshold_time = 500s
319
-+lmtp_pix_workarounds = disable_esmtp,delay_dotcrlf
320
-+lmtp_quit_timeout = 300s
321
-+lmtp_quote_rfc821_envelope = yes
322
-+lmtp_randomize_addresses = yes
323
-+lmtp_rcpt_timeout = 300s
324
-+lmtp_recipient_limit = $default_recipient_limit
325
-+lmtp_recipient_refill_delay = $default_recipient_refill_delay
326
-+lmtp_recipient_refill_limit = $default_recipient_refill_limit
327
-+lmtp_reply_filter =
328
-+lmtp_rset_timeout = 20s
329
-+lmtp_sasl_auth_cache_name =
330
-+lmtp_sasl_auth_cache_time = 90d
331
-+lmtp_sasl_auth_enable = no
332
-+lmtp_sasl_auth_soft_bounce = yes
333
-+lmtp_sasl_mechanism_filter =
334
-+lmtp_sasl_password_maps =
335
-+lmtp_sasl_path =
336
-+lmtp_sasl_security_options = noplaintext, noanonymous
337
-+lmtp_sasl_tls_security_options = $lmtp_sasl_security_options
338
-+lmtp_sasl_tls_verified_security_options = $lmtp_sasl_tls_security_options
339
-+lmtp_sasl_type = cyrus
340
-+lmtp_send_dummy_mail_auth = no
341
-+lmtp_send_xforward_command = no
342
-+lmtp_sender_dependent_authentication = no
343
-+lmtp_skip_5xx_greeting = yes
344
-+lmtp_skip_quit_response = no
345
-+lmtp_starttls_timeout = 300s
346
-+lmtp_tcp_port = 24
347
-+lmtp_tls_CAfile =
348
-+lmtp_tls_CApath =
349
-+lmtp_tls_block_early_mail_reply = no
350
-+lmtp_tls_cert_file =
351
-+lmtp_tls_ciphers = export
352
-+lmtp_tls_dcert_file =
353
-+lmtp_tls_dkey_file = $lmtp_tls_dcert_file
354
-+lmtp_tls_eccert_file =
355
-+lmtp_tls_eckey_file = $lmtp_tls_eccert_file
356
-+lmtp_tls_enforce_peername = yes
357
-+lmtp_tls_exclude_ciphers =
358
-+lmtp_tls_fingerprint_cert_match =
359
-+lmtp_tls_fingerprint_digest = md5
360
-+lmtp_tls_force_insecure_host_tlsa_lookup = no
361
-+lmtp_tls_key_file = $lmtp_tls_cert_file
362
-+lmtp_tls_loglevel = 0
363
-+lmtp_tls_mandatory_ciphers = medium
364
-+lmtp_tls_mandatory_exclude_ciphers =
365
-+lmtp_tls_mandatory_protocols = !SSLv2
366
-+lmtp_tls_note_starttls_offer = no
367
-+lmtp_tls_per_site =
368
-+lmtp_tls_policy_maps =
369
-+lmtp_tls_protocols = !SSLv2
370
-+lmtp_tls_scert_verifydepth = 9
371
-+lmtp_tls_secure_cert_match = nexthop
372
-+lmtp_tls_security_level =
373
-+lmtp_tls_session_cache_database =
374
-+lmtp_tls_session_cache_timeout = 3600s
375
-+lmtp_tls_trust_anchor_file =
376
-+lmtp_tls_verify_cert_match = hostname
377
-+lmtp_use_tls = no
378
-+lmtp_xforward_timeout = 300s
379
-+local_command_shell =
380
-+local_delivery_slot_cost = $default_delivery_slot_cost
381
-+local_delivery_slot_discount = $default_delivery_slot_discount
382
-+local_delivery_slot_loan = $default_delivery_slot_loan
383
-+local_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
384
-+local_destination_concurrency_limit = 2
385
-+local_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
386
-+local_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
387
-+local_destination_rate_delay = $default_destination_rate_delay
388
-+local_destination_recipient_limit = 1
389
-+local_extra_recipient_limit = $default_extra_recipient_limit
390
-+local_header_rewrite_clients = permit_inet_interfaces
391
-+local_initial_destination_concurrency = $initial_destination_concurrency
392
-+local_minimum_delivery_slots = $default_minimum_delivery_slots
393
-+local_recipient_limit = $default_recipient_limit
394
-+local_recipient_maps = proxy:unix:passwd.byname $alias_maps
395
-+local_recipient_refill_delay = $default_recipient_refill_delay
396
-+local_recipient_refill_limit = $default_recipient_refill_limit
397
-+local_transport = local:$myhostname
398
-+luser_relay =
399
-+mail_name = Postfix
400
-+mail_owner = postfix
401
-+mail_release_date = 20140507
402
-+mail_version = 2.11.1
403
-+mailbox_command =
404
-+mailbox_command_maps =
405
-+mailbox_delivery_lock = fcntl, dotlock
406
-+mailbox_size_limit = 51200000
407
-+mailbox_transport =
408
-+mailbox_transport_maps =
409
-+maps_rbl_domains =
410
-+maps_rbl_reject_code = 554
411
-+masquerade_classes = envelope_sender, header_sender, header_recipient
412
-+masquerade_domains =
413
-+masquerade_exceptions =
414
-+master_service_disable =
415
-+max_idle = 100s
416
-+max_use = 100
417
-+maximal_backoff_time = 4000s
418
-+maximal_queue_lifetime = 5d
419
-+message_reject_characters =
420
-+message_size_limit = 10240000
421
-+message_strip_characters =
422
-+milter_command_timeout = 30s
423
-+milter_connect_macros = j {daemon_name} v
424
-+milter_connect_timeout = 30s
425
-+milter_content_timeout = 300s
426
-+milter_data_macros = i
427
-+milter_default_action = tempfail
428
-+milter_end_of_data_macros = i
429
-+milter_end_of_header_macros = i
430
-+milter_header_checks =
431
-+milter_helo_macros = {tls_version} {cipher} {cipher_bits} {cert_subject} {cert_issuer}
432
-+milter_macro_daemon_name = $myhostname
433
-+milter_macro_v = $mail_name $mail_version
434
-+milter_mail_macros = i {auth_type} {auth_authen} {auth_author} {mail_addr} {mail_host} {mail_mailer}
435
-+milter_protocol = 6
436
-+milter_rcpt_macros = i {rcpt_addr} {rcpt_host} {rcpt_mailer}
437
-+milter_unknown_command_macros =
438
-+mime_boundary_length_limit = 2048
439
-+mime_header_checks = $header_checks
440
-+mime_nesting_limit = 100
441
-+minimal_backoff_time = 300s
442
-+multi_instance_directories =
443
-+multi_instance_enable = no
444
-+multi_instance_group =
445
-+multi_instance_name =
446
-+multi_instance_wrapper =
447
-+multi_recipient_bounce_reject_code = 550
448
-+mydestination = $myhostname, localhost.$mydomain, localhost
449
-+mynetworks_style = subnet
450
-+myorigin = $myhostname
451
-+nested_header_checks = $header_checks
452
-+non_fqdn_reject_code = 504
453
-+non_smtpd_milters =
454
-+notify_classes = resource, software
455
-+owner_request_special = yes
456
-+parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps
457
-+permit_mx_backup_networks =
458
-+pickup_service_name = pickup
459
-+plaintext_reject_code = 450
460
-+postmulti_control_commands = reload flush
461
-+postmulti_start_commands = start
462
-+postmulti_stop_commands = stop abort drain quick-stop
463
-+postscreen_access_list = permit_mynetworks
464
-+postscreen_bare_newline_action = ignore
465
-+postscreen_bare_newline_enable = no
466
-+postscreen_bare_newline_ttl = 30d
467
-+postscreen_blacklist_action = ignore
468
-+postscreen_cache_cleanup_interval = 12h
469
-+postscreen_cache_map = btree:$data_directory/postscreen_cache
470
-+postscreen_cache_retention_time = 7d
471
-+postscreen_client_connection_count_limit = $smtpd_client_connection_count_limit
472
-+postscreen_command_count_limit = 20
473
-+postscreen_command_filter =
474
-+postscreen_command_time_limit = ${stress?10}${stress:300}s
475
-+postscreen_disable_vrfy_command = $disable_vrfy_command
476
-+postscreen_discard_ehlo_keyword_address_maps = $smtpd_discard_ehlo_keyword_address_maps
477
-+postscreen_discard_ehlo_keywords = $smtpd_discard_ehlo_keywords
478
-+postscreen_dnsbl_action = ignore
479
-+postscreen_dnsbl_reply_map =
480
-+postscreen_dnsbl_sites =
481
-+postscreen_dnsbl_threshold = 1
482
-+postscreen_dnsbl_ttl = 1h
483
-+postscreen_dnsbl_whitelist_threshold = 0
484
-+postscreen_enforce_tls = $smtpd_enforce_tls
485
-+postscreen_expansion_filter = $smtpd_expansion_filter
486
-+postscreen_forbidden_commands = $smtpd_forbidden_commands
487
-+postscreen_greet_action = ignore
488
-+postscreen_greet_banner = $smtpd_banner
489
-+postscreen_greet_ttl = 1d
490
-+postscreen_greet_wait = ${stress?2}${stress:6}s
491
-+postscreen_helo_required = $smtpd_helo_required
492
-+postscreen_non_smtp_command_action = drop
493
-+postscreen_non_smtp_command_enable = no
494
-+postscreen_non_smtp_command_ttl = 30d
495
-+postscreen_pipelining_action = enforce
496
-+postscreen_pipelining_enable = no
497
-+postscreen_pipelining_ttl = 30d
498
-+postscreen_post_queue_limit = $default_process_limit
499
-+postscreen_pre_queue_limit = $default_process_limit
500
-+postscreen_reject_footer = $smtpd_reject_footer
501
-+postscreen_tls_security_level = $smtpd_tls_security_level
502
-+postscreen_upstream_proxy_protocol =
503
-+postscreen_upstream_proxy_timeout = 5s
504
-+postscreen_use_tls = $smtpd_use_tls
505
-+postscreen_watchdog_timeout = 10s
506
-+postscreen_whitelist_interfaces = static:all
507
-+prepend_delivered_header = command, file, forward
508
-+process_id = 6537
509
-+process_id_directory = pid
510
-+process_name = postconf
511
-+propagate_unmatched_extensions = canonical, virtual
512
-+proxy_interfaces =
513
-+proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $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 $sender_bcc_maps $recipient_bcc_maps $smtp_generic_maps $lmtp_generic_maps $alias_maps
514
-+proxy_write_maps = $smtp_sasl_auth_cache_name $lmtp_sasl_auth_cache_name $address_verify_map $postscreen_cache_map
515
-+proxymap_service_name = proxymap
516
-+proxywrite_service_name = proxywrite
517
-+qmgr_clog_warn_time = 300s
518
-+qmgr_daemon_timeout = 1000s
519
-+qmgr_fudge_factor = 100
520
-+qmgr_ipc_timeout = 60s
521
-+qmgr_message_active_limit = 20000
522
-+qmgr_message_recipient_limit = 20000
523
-+qmgr_message_recipient_minimum = 10
524
-+qmqpd_authorized_clients =
525
-+qmqpd_client_port_logging = no
526
-+qmqpd_error_delay = 1s
527
-+qmqpd_timeout = 300s
528
-+queue_file_attribute_count_limit = 100
529
-+queue_minfree = 0
530
-+queue_run_delay = 300s
531
-+queue_service_name = qmgr
532
-+rbl_reply_maps =
533
-+receive_override_options =
534
-+recipient_bcc_maps =
535
-+recipient_canonical_classes = envelope_recipient, header_recipient
536
-+recipient_canonical_maps =
537
-+recipient_delimiter =
538
-+reject_code = 554
539
-+reject_tempfail_action = defer_if_permit
540
-+relay_clientcerts =
541
-+relay_delivery_slot_cost = $default_delivery_slot_cost
542
-+relay_delivery_slot_discount = $default_delivery_slot_discount
543
-+relay_delivery_slot_loan = $default_delivery_slot_loan
544
-+relay_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
545
-+relay_destination_concurrency_limit = $default_destination_concurrency_limit
546
-+relay_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
547
-+relay_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
548
-+relay_destination_rate_delay = $default_destination_rate_delay
549
-+relay_destination_recipient_limit = $default_destination_recipient_limit
550
-+relay_domains = $mydestination
551
-+relay_domains_reject_code = 554
552
-+relay_extra_recipient_limit = $default_extra_recipient_limit
553
-+relay_initial_destination_concurrency = $initial_destination_concurrency
554
-+relay_minimum_delivery_slots = $default_minimum_delivery_slots
555
-+relay_recipient_limit = $default_recipient_limit
556
-+relay_recipient_maps =
557
-+relay_recipient_refill_delay = $default_recipient_refill_delay
558
-+relay_recipient_refill_limit = $default_recipient_refill_limit
559
-+relay_transport = relay
560
-+relayhost =
561
-+relocated_maps =
562
-+remote_header_rewrite_domain =
563
-+require_home_directory = no
564
-+reset_owner_alias = no
565
-+resolve_dequoted_address = yes
566
-+resolve_null_domain = no
567
-+resolve_numeric_domain = no
568
-+retry_delivery_slot_cost = $default_delivery_slot_cost
569
-+retry_delivery_slot_discount = $default_delivery_slot_discount
570
-+retry_delivery_slot_loan = $default_delivery_slot_loan
571
-+retry_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
572
-+retry_destination_concurrency_limit = $default_destination_concurrency_limit
573
-+retry_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
574
-+retry_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
575
-+retry_destination_rate_delay = $default_destination_rate_delay
576
-+retry_destination_recipient_limit = $default_destination_recipient_limit
577
-+retry_extra_recipient_limit = $default_extra_recipient_limit
578
-+retry_initial_destination_concurrency = $initial_destination_concurrency
579
-+retry_minimum_delivery_slots = $default_minimum_delivery_slots
580
-+retry_recipient_limit = $default_recipient_limit
581
-+retry_recipient_refill_delay = $default_recipient_refill_delay
582
-+retry_recipient_refill_limit = $default_recipient_refill_limit
583
-+rewrite_service_name = rewrite
584
-+send_cyrus_sasl_authzid = no
585
-+sender_bcc_maps =
586
-+sender_canonical_classes = envelope_sender, header_sender
587
-+sender_canonical_maps =
588
-+sender_dependent_default_transport_maps =
589
-+sender_dependent_relayhost_maps =
590
-+sendmail_fix_line_endings = always
591
-+service_throttle_time = 60s
592
-+setgid_group = postdrop
593
-+show_user_unknown_table_name = yes
594
-+showq_service_name = showq
595
-+smtp_address_preference = any
596
-+smtp_always_send_ehlo = yes
597
-+smtp_bind_address =
598
-+smtp_bind_address6 =
599
-+smtp_body_checks =
600
-+smtp_cname_overrides_servername = no
601
-+smtp_connect_timeout = 30s
602
-+smtp_connection_cache_destinations =
603
-+smtp_connection_cache_on_demand = yes
604
-+smtp_connection_cache_time_limit = 2s
605
-+smtp_connection_reuse_count_limit = 0
606
-+smtp_connection_reuse_time_limit = 300s
607
-+smtp_data_done_timeout = 600s
608
-+smtp_data_init_timeout = 120s
609
-+smtp_data_xfer_timeout = 180s
610
-+smtp_defer_if_no_mx_address_found = no
611
-+smtp_delivery_slot_cost = $default_delivery_slot_cost
612
-+smtp_delivery_slot_discount = $default_delivery_slot_discount
613
-+smtp_delivery_slot_loan = $default_delivery_slot_loan
614
-+smtp_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
615
-+smtp_destination_concurrency_limit = $default_destination_concurrency_limit
616
-+smtp_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
617
-+smtp_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
618
-+smtp_destination_rate_delay = $default_destination_rate_delay
619
-+smtp_destination_recipient_limit = $default_destination_recipient_limit
620
-+smtp_discard_ehlo_keyword_address_maps =
621
-+smtp_discard_ehlo_keywords =
622
-+smtp_dns_resolver_options =
623
-+smtp_dns_support_level =
624
-+smtp_enforce_tls = no
625
-+smtp_extra_recipient_limit = $default_extra_recipient_limit
626
-+smtp_fallback_relay = $fallback_relay
627
-+smtp_generic_maps =
628
-+smtp_header_checks =
629
-+smtp_helo_name = $myhostname
630
-+smtp_helo_timeout = 300s
631
-+smtp_host_lookup = dns
632
-+smtp_initial_destination_concurrency = $initial_destination_concurrency
633
-+smtp_line_length_limit = 998
634
-+smtp_mail_timeout = 300s
635
-+smtp_mime_header_checks =
636
-+smtp_minimum_delivery_slots = $default_minimum_delivery_slots
637
-+smtp_mx_address_limit = 5
638
-+smtp_mx_session_limit = 2
639
-+smtp_nested_header_checks =
640
-+smtp_never_send_ehlo = no
641
-+smtp_per_record_deadline = no
642
-+smtp_pix_workaround_delay_time = 10s
643
-+smtp_pix_workaround_maps =
644
-+smtp_pix_workaround_threshold_time = 500s
645
-+smtp_pix_workarounds = disable_esmtp,delay_dotcrlf
646
-+smtp_quit_timeout = 300s
647
-+smtp_quote_rfc821_envelope = yes
648
-+smtp_randomize_addresses = yes
649
-+smtp_rcpt_timeout = 300s
650
-+smtp_recipient_limit = $default_recipient_limit
651
-+smtp_recipient_refill_delay = $default_recipient_refill_delay
652
-+smtp_recipient_refill_limit = $default_recipient_refill_limit
653
-+smtp_reply_filter =
654
-+smtp_rset_timeout = 20s
655
-+smtp_sasl_auth_cache_name =
656
-+smtp_sasl_auth_cache_time = 90d
657
-+smtp_sasl_auth_enable = no
658
-+smtp_sasl_auth_soft_bounce = yes
659
-+smtp_sasl_mechanism_filter =
660
-+smtp_sasl_password_maps =
661
-+smtp_sasl_path =
662
-+smtp_sasl_security_options = noplaintext, noanonymous
663
-+smtp_sasl_tls_security_options = $smtp_sasl_security_options
664
-+smtp_sasl_tls_verified_security_options = $smtp_sasl_tls_security_options
665
-+smtp_sasl_type = cyrus
666
-+smtp_send_dummy_mail_auth = no
667
-+smtp_send_xforward_command = no
668
-+smtp_sender_dependent_authentication = no
669
-+smtp_skip_5xx_greeting = yes
670
-+smtp_skip_quit_response = yes
671
-+smtp_starttls_timeout = 300s
672
-+smtp_tls_CAfile =
673
-+smtp_tls_CApath =
674
-+smtp_tls_block_early_mail_reply = no
675
-+smtp_tls_cert_file =
676
-+smtp_tls_ciphers = export
677
-+smtp_tls_dcert_file =
678
-+smtp_tls_dkey_file = $smtp_tls_dcert_file
679
-+smtp_tls_eccert_file =
680
-+smtp_tls_eckey_file = $smtp_tls_eccert_file
681
-+smtp_tls_enforce_peername = yes
682
-+smtp_tls_exclude_ciphers =
683
-+smtp_tls_fingerprint_cert_match =
684
-+smtp_tls_fingerprint_digest = md5
685
-+smtp_tls_force_insecure_host_tlsa_lookup = no
686
-+smtp_tls_key_file = $smtp_tls_cert_file
687
-+smtp_tls_loglevel = 0
688
-+smtp_tls_mandatory_ciphers = medium
689
-+smtp_tls_mandatory_exclude_ciphers =
690
-+smtp_tls_mandatory_protocols = !SSLv2
691
-+smtp_tls_note_starttls_offer = no
692
-+smtp_tls_per_site =
693
-+smtp_tls_policy_maps =
694
-+smtp_tls_protocols = !SSLv2
695
-+smtp_tls_scert_verifydepth = 9
696
-+smtp_tls_secure_cert_match = nexthop, dot-nexthop
697
-+smtp_tls_security_level =
698
-+smtp_tls_session_cache_database =
699
-+smtp_tls_session_cache_timeout = 3600s
700
-+smtp_tls_trust_anchor_file =
701
-+smtp_tls_verify_cert_match = hostname
702
-+smtp_use_tls = no
703
-+smtp_xforward_timeout = 300s
704
-+smtpd_authorized_verp_clients = $authorized_verp_clients
705
-+smtpd_authorized_xclient_hosts =
706
-+smtpd_authorized_xforward_hosts =
707
-+smtpd_banner = $myhostname ESMTP $mail_name
708
-+smtpd_client_connection_count_limit = 50
709
-+smtpd_client_connection_rate_limit = 0
710
-+smtpd_client_event_limit_exceptions = ${smtpd_client_connection_limit_exceptions:$mynetworks}
711
-+smtpd_client_message_rate_limit = 0
712
-+smtpd_client_new_tls_session_rate_limit = 0
713
-+smtpd_client_port_logging = no
714
-+smtpd_client_recipient_rate_limit = 0
715
-+smtpd_client_restrictions =
716
-+smtpd_command_filter =
717
-+smtpd_data_restrictions =
718
-+smtpd_delay_open_until_valid_rcpt = yes
719
-+smtpd_delay_reject = yes
720
-+smtpd_discard_ehlo_keyword_address_maps =
721
-+smtpd_discard_ehlo_keywords =
722
-+smtpd_end_of_data_restrictions =
723
-+smtpd_enforce_tls = no
724
-+smtpd_error_sleep_time = 1s
725
-+smtpd_etrn_restrictions =
726
-+smtpd_expansion_filter = \t\40!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~
727
-+smtpd_forbidden_commands = CONNECT GET POST
728
-+smtpd_hard_error_limit = ${stress?1}${stress:20}
729
-+smtpd_helo_required = no
730
-+smtpd_helo_restrictions =
731
-+smtpd_history_flush_threshold = 100
732
-+smtpd_junk_command_limit = ${stress?1}${stress:100}
733
-+smtpd_log_access_permit_actions =
734
-+smtpd_milters =
735
-+smtpd_noop_commands =
736
-+smtpd_null_access_lookup_key = <>
737
-+smtpd_peername_lookup = yes
738
-+smtpd_per_record_deadline = ${stress?yes}${stress:no}
739
-+smtpd_policy_service_max_idle = 300s
740
-+smtpd_policy_service_max_ttl = 1000s
741
-+smtpd_policy_service_timeout = 100s
742
-+smtpd_proxy_ehlo = $myhostname
743
-+smtpd_proxy_filter =
744
-+smtpd_proxy_options =
745
-+smtpd_proxy_timeout = 100s
746
-+smtpd_recipient_limit = 1000
747
-+smtpd_recipient_overshoot_limit = 1000
748
-+smtpd_recipient_restrictions =
749
-+smtpd_reject_footer =
750
-+smtpd_reject_unlisted_recipient = yes
751
-+smtpd_reject_unlisted_sender = no
752
-+smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination
753
-+smtpd_restriction_classes =
754
-+smtpd_sasl_auth_enable = no
755
-+smtpd_sasl_authenticated_header = no
756
-+smtpd_sasl_exceptions_networks =
757
-+smtpd_sasl_local_domain =
758
-+smtpd_sasl_path = smtpd
759
-+smtpd_sasl_security_options = noanonymous
760
-+smtpd_sasl_service = smtp
761
-+smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
762
-+smtpd_sasl_type = cyrus
763
-+smtpd_sender_login_maps =
764
-+smtpd_sender_restrictions =
765
-+smtpd_service_name = smtpd
766
-+smtpd_soft_error_limit = 10
767
-+smtpd_starttls_timeout = ${stress?10}${stress:300}s
768
-+smtpd_timeout = ${stress?10}${stress:300}s
769
-+smtpd_tls_CAfile =
770
-+smtpd_tls_CApath =
771
-+smtpd_tls_always_issue_session_ids = yes
772
-+smtpd_tls_ask_ccert = no
773
-+smtpd_tls_auth_only = no
774
-+smtpd_tls_ccert_verifydepth = 9
775
-+smtpd_tls_cert_file =
776
-+smtpd_tls_ciphers = export
777
-+smtpd_tls_dcert_file =
778
-+smtpd_tls_dh1024_param_file =
779
-+smtpd_tls_dh512_param_file =
780
-+smtpd_tls_dkey_file = $smtpd_tls_dcert_file
781
-+smtpd_tls_eccert_file =
782
-+smtpd_tls_eckey_file = $smtpd_tls_eccert_file
783
-+smtpd_tls_eecdh_grade = strong
784
-+smtpd_tls_exclude_ciphers =
785
-+smtpd_tls_fingerprint_digest = md5
786
-+smtpd_tls_key_file = $smtpd_tls_cert_file
787
-+smtpd_tls_loglevel = 0
788
-+smtpd_tls_mandatory_ciphers = medium
789
-+smtpd_tls_mandatory_exclude_ciphers =
790
-+smtpd_tls_mandatory_protocols = !SSLv2
791
-+smtpd_tls_protocols =
792
-+smtpd_tls_received_header = no
793
-+smtpd_tls_req_ccert = no
794
-+smtpd_tls_security_level =
795
-+smtpd_tls_session_cache_database =
796
-+smtpd_tls_session_cache_timeout = 3600s
797
-+smtpd_tls_wrappermode = no
798
-+smtpd_upstream_proxy_protocol =
799
-+smtpd_upstream_proxy_timeout = 5s
800
-+smtpd_use_tls = no
801
-+soft_bounce = no
802
-+stale_lock_time = 500s
803
-+stress =
804
-+strict_7bit_headers = no
805
-+strict_8bitmime = no
806
-+strict_8bitmime_body = no
807
-+strict_mailbox_ownership = yes
808
-+strict_mime_encoding_domain = no
809
-+strict_rfc821_envelopes = no
810
-+sun_mailtool_compatibility = no
811
-+swap_bangpath = yes
812
-+syslog_facility = mail
813
-+syslog_name = ${multi_instance_name:postfix}${multi_instance_name?$multi_instance_name}
814
-+tcp_windowsize = 0
815
-+tls_append_default_CA = no
816
-+tls_daemon_random_bytes = 32
817
-+tls_dane_digest_agility = on
818
-+tls_dane_digests = sha512 sha256
819
-+tls_dane_trust_anchor_digest_enable = yes
820
-+tls_disable_workarounds =
821
-+tls_eecdh_strong_curve = prime256v1
822
-+tls_eecdh_ultra_curve = secp384r1
823
-+tls_export_cipherlist = ALL:+RC4:@STRENGTH
824
-+tls_high_cipherlist = ALL:!EXPORT:!LOW:!MEDIUM:+RC4:@STRENGTH
825
-+tls_legacy_public_key_fingerprints = no
826
-+tls_low_cipherlist = ALL:!EXPORT:+RC4:@STRENGTH
827
-+tls_medium_cipherlist = ALL:!EXPORT:!LOW:+RC4:@STRENGTH
828
-+tls_null_cipherlist = eNULL:!aNULL
829
-+tls_preempt_cipherlist = no
830
-+tls_random_bytes = 32
831
-+tls_random_exchange_name = ${data_directory}/prng_exch
832
-+tls_random_prng_update_period = 3600s
833
-+tls_random_reseed_period = 3600s
834
-+tls_random_source = dev:/dev/urandom
835
-+tls_ssl_options =
836
-+tls_wildcard_matches_multiple_labels = yes
837
-+tlsmgr_service_name = tlsmgr
838
-+tlsproxy_enforce_tls = $smtpd_enforce_tls
839
-+tlsproxy_service_name = tlsproxy
840
-+tlsproxy_tls_CAfile = $smtpd_tls_CAfile
841
-+tlsproxy_tls_CApath = $smtpd_tls_CApath
842
-+tlsproxy_tls_always_issue_session_ids = $smtpd_tls_always_issue_session_ids
843
-+tlsproxy_tls_ask_ccert = $smtpd_tls_ask_ccert
844
-+tlsproxy_tls_ccert_verifydepth = $smtpd_tls_ccert_verifydepth
845
-+tlsproxy_tls_cert_file = $smtpd_tls_cert_file
846
-+tlsproxy_tls_ciphers = $smtpd_tls_ciphers
847
-+tlsproxy_tls_dcert_file = $smtpd_tls_dcert_file
848
-+tlsproxy_tls_dh1024_param_file = $smtpd_tls_dh1024_param_file
849
-+tlsproxy_tls_dh512_param_file = $smtpd_tls_dh512_param_file
850
-+tlsproxy_tls_dkey_file = $smtpd_tls_dkey_file
851
-+tlsproxy_tls_eccert_file = $smtpd_tls_eccert_file
852
-+tlsproxy_tls_eckey_file = $smtpd_tls_eckey_file
853
-+tlsproxy_tls_eecdh_grade = $smtpd_tls_eecdh_grade
854
-+tlsproxy_tls_exclude_ciphers = $smtpd_tls_exclude_ciphers
855
-+tlsproxy_tls_fingerprint_digest = $smtpd_tls_fingerprint_digest
856
-+tlsproxy_tls_key_file = $smtpd_tls_key_file
857
-+tlsproxy_tls_loglevel = $smtpd_tls_loglevel
858
-+tlsproxy_tls_mandatory_ciphers = $smtpd_tls_mandatory_ciphers
859
-+tlsproxy_tls_mandatory_exclude_ciphers = $smtpd_tls_mandatory_exclude_ciphers
860
-+tlsproxy_tls_mandatory_protocols = $smtpd_tls_mandatory_protocols
861
-+tlsproxy_tls_protocols = $smtpd_tls_protocols
862
-+tlsproxy_tls_req_ccert = $smtpd_tls_req_ccert
863
-+tlsproxy_tls_security_level = $smtpd_tls_security_level
864
-+tlsproxy_use_tls = $smtpd_use_tls
865
-+tlsproxy_watchdog_timeout = 10s
866
-+trace_service_name = trace
867
-+transport_maps =
868
-+transport_retry_time = 60s
869
-+trigger_timeout = 10s
870
-+undisclosed_recipients_header =
871
-+unknown_address_reject_code = 450
872
-+unknown_address_tempfail_action = $reject_tempfail_action
873
-+unknown_client_reject_code = 450
874
-+unknown_helo_hostname_tempfail_action = $reject_tempfail_action
875
-+unknown_hostname_reject_code = 450
876
-+unknown_local_recipient_reject_code = 550
877
-+unknown_relay_recipient_reject_code = 550
878
-+unknown_virtual_alias_reject_code = 550
879
-+unknown_virtual_mailbox_reject_code = 550
880
-+unverified_recipient_defer_code = 450
881
-+unverified_recipient_reject_code = 450
882
-+unverified_recipient_reject_reason =
883
-+unverified_recipient_tempfail_action = $reject_tempfail_action
884
-+unverified_sender_defer_code = 450
885
-+unverified_sender_reject_code = 450
886
-+unverified_sender_reject_reason =
887
-+unverified_sender_tempfail_action = $reject_tempfail_action
888
-+verp_delimiter_filter = -=+
889
-+virtual_alias_domains = $virtual_alias_maps
890
-+virtual_alias_expansion_limit = 1000
891
-+virtual_alias_maps = $virtual_maps
892
-+virtual_alias_recursion_limit = 1000
893
-+virtual_delivery_slot_cost = $default_delivery_slot_cost
894
-+virtual_delivery_slot_discount = $default_delivery_slot_discount
895
-+virtual_delivery_slot_loan = $default_delivery_slot_loan
896
-+virtual_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
897
-+virtual_destination_concurrency_limit = $default_destination_concurrency_limit
898
-+virtual_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
899
-+virtual_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
900
-+virtual_destination_rate_delay = $default_destination_rate_delay
901
-+virtual_destination_recipient_limit = $default_destination_recipient_limit
902
-+virtual_extra_recipient_limit = $default_extra_recipient_limit
903
-+virtual_gid_maps =
904
-+virtual_initial_destination_concurrency = $initial_destination_concurrency
905
-+virtual_mailbox_base =
906
-+virtual_mailbox_domains = $virtual_mailbox_maps
907
-+virtual_mailbox_limit = 51200000
908
-+virtual_mailbox_lock = fcntl, dotlock
909
-+virtual_mailbox_maps =
910
-+virtual_minimum_delivery_slots = $default_minimum_delivery_slots
911
-+virtual_minimum_uid = 100
912
-+virtual_recipient_limit = $default_recipient_limit
913
-+virtual_recipient_refill_delay = $default_recipient_refill_delay
914
-+virtual_recipient_refill_limit = $default_recipient_refill_limit
915
-+virtual_transport = virtual
916
-+virtual_uid_maps =