summaryrefslogtreecommitdiff
path: root/gnu/dist/postfix/conf/sample-flush.cf
blob: 273fde3c9c8a0bf2b8df0cf8aca75140ac730570 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# DO NOT EDIT THIS FILE. EDIT THE MAIN.CF FILE INSTEAD. THE STUFF
# HERE JUST SERVES AS AN EXAMPLE.
#
# This file contains example settings of Postfix parameters that
# control the fast flush service, which is the code that implements
# fast ETRN and fast "sendmail -qR".

# The fast_flush_domains parameter specifies what destinations are
# eligible for per-destination logfiles with mail that is queued to
# those destinations.
# 
# When a destination is eligible for "fast flush" logfiles, ETRN and
# "sendmail -qR" are implemented by delivering only messages that
# are listed in the logfile for that destination (in fact, Postfix
# will deliver to all recipients of those messages, regardless of
# their destination, but that is not an issue when you relay mail
# for an eligible site).
# 
# When a destination is not eligible for "fast flush" logfiles, ETRN
# and "sendmail -qR" are implemented simply by attempting to deliver
# all queued mail. That's the slow service that Postfix used to
# implement before 20001005.
# 
# By default, Postfix maintains "fast flush" logfiles only for
# destinations that the Postfix SMTP server is willing to relay to
# (see the relay_domains parameter in sample-smtpd.cf).
#
# Specify "fast_flush_domains =" to disable the feature altogether.
#
fast_flush_domains = $relay_domains
#fast_flush_domains =

# The fast_flush_purge_time parameter controls how long an empty
# per-destination "fast flush" logfile is allowed to live. 
#
# You can specify the time as a number, or as a number followed by
# a letter that indicates the time unit: s=seconds, m=minutes, h=hours,
# d=days, w=weeks.  The default time unit is days.
#
fast_flush_purge_time = 7d

# The fast_flush_refresh_time parameter controls how long a non-empty
# per-destination "fast flush" logfile is allowed to remain unread
# before its contents need to be refreshed. The contents of a logfile
# are refreshed by requesting delivery of messages listed in the
# logfile.
#
# You can specify the time as a number, or as a number followed by
# a letter that indicates the time unit: s=seconds, m=minutes, h=hours,
# d=days, w=weeks.  The default time unit is hours.
#
fast_flush_refresh_time = 12h