1TLSMGR(8)                   System Manager's Manual                  TLSMGR(8)
2
3
4

NAME

6       tlsmgr - Postfix TLS session cache and PRNG manager
7

SYNOPSIS

9       tlsmgr [generic Postfix daemon options]
10

DESCRIPTION

12       The  tlsmgr(8)  manages  the Postfix TLS session caches.  It stores and
13       retrieves cache entries on request by smtpd(8) and  smtp(8)  processes,
14       and periodically removes entries that have expired.
15
16       The  tlsmgr(8)  also  manages the PRNG (pseudo random number generator)
17       pool. It answers queries by the smtpd(8) and smtp(8) processes to  seed
18       their internal PRNG pools.
19
20       The  tlsmgr(8)'s  PRNG pool is initially seeded from an external source
21       (EGD, /dev/urandom, or regular file).  It is  updated  at  configurable
22       pseudo-random  intervals  with  data  from  the  external source. It is
23       updated periodically with data from TLS session cache entries and  with
24       the time of day, and is updated with the time of day whenever a process
25       requests tlsmgr(8) service.
26
27       The tlsmgr(8) saves the PRNG state to an exchange file periodically and
28       when  the process terminates, and reads the exchange file when initial‐
29       izing its PRNG.
30

SECURITY

32       The tlsmgr(8) is not security-sensitive. The code  that  maintains  the
33       external  and  internal  PRNG  pools  does not "trust" the data that it
34       manipulates, and the code that maintains the TLS session cache does not
35       touch the contents of the cached entries, except for seeding its inter‐
36       nal PRNG pool.
37
38       The tlsmgr(8) can be run chrooted  and  with  reduced  privileges.   At
39       process  startup  it  connects to the entropy source and exchange file,
40       and creates or truncates the optional TLS session cache files.
41

DIAGNOSTICS

43       Problems and transactions are logged to the syslog daemon.
44

BUGS

46       There is no automatic means to limit the number of entries in  the  TLS
47       session caches and/or the size of the TLS cache files.
48

CONFIGURATION PARAMETERS

50       Changes  to  main.cf are not picked up automatically, because tlsmgr(8)
51       is a persistent processes.  Use the command "postfix  reload"  after  a
52       configuration change.
53
54       The  text  below provides only a parameter summary. See postconf(5) for
55       more details including examples.
56

TLS SESSION CACHE

58       lmtp_tls_loglevel (0)
59              The LMTP-specific version of the smtp_tls_loglevel configuration
60              parameter.
61
62       lmtp_tls_session_cache_database (empty)
63              The LMTP-specific version of the smtp_tls_session_cache_database
64              configuration parameter.
65
66       lmtp_tls_session_cache_timeout (3600s)
67              The LMTP-specific version of the  smtp_tls_session_cache_timeout
68              configuration parameter.
69
70       smtp_tls_loglevel (0)
71              Enable additional Postfix SMTP client logging of TLS activity.
72
73       smtp_tls_session_cache_database (empty)
74              Name of the file containing the optional Postfix SMTP client TLS
75              session cache.
76
77       smtp_tls_session_cache_timeout (3600s)
78              The expiration time of Postfix SMTP  client  TLS  session  cache
79              information.
80
81       smtpd_tls_loglevel (0)
82              Enable additional Postfix SMTP server logging of TLS activity.
83
84       smtpd_tls_session_cache_database (empty)
85              Name of the file containing the optional Postfix SMTP server TLS
86              session cache.
87
88       smtpd_tls_session_cache_timeout (3600s)
89              The expiration time of Postfix SMTP  server  TLS  session  cache
90              information.
91

PSEUDO RANDOM NUMBER GENERATOR

93       tls_random_source (see 'postconf -d' output)
94              The  external  entropy source for the in-memory tlsmgr(8) pseudo
95              random number generator (PRNG) pool.
96
97       tls_random_bytes (32)
98              The number of bytes that tlsmgr(8) reads from $tls_random_source
99              when  (re)seeding  the  in-memory pseudo random number generator
100              (PRNG) pool.
101
102       tls_random_exchange_name (${config_directory}/prng_exch)
103              Name of the pseudo random number  generator  (PRNG)  state  file
104              that is maintained by tlsmgr(8).
105
106       tls_random_prng_update_period (3600s)
107              The  time between attempts by tlsmgr(8) to save the state of the
108              pseudo random number generator (PRNG) to the file specified with
109              $tls_random_exchange_name.
110
111       tls_random_reseed_period (3600s)
112              The  maximal  time  between attempts by tlsmgr(8) to re-seed the
113              in-memory pseudo random number generator (PRNG) pool from exter‐
114              nal sources.
115

MISCELLANEOUS CONTROLS

117       config_directory (see 'postconf -d' output)
118              The  default  location of the Postfix main.cf and master.cf con‐
119              figuration files.
120
121       daemon_timeout (18000s)
122              How much time a Postfix daemon process  may  take  to  handle  a
123              request before it is terminated by a built-in watchdog timer.
124
125       process_id (read-only)
126              The process ID of a Postfix command or daemon process.
127
128       process_name (read-only)
129              The process name of a Postfix command or daemon process.
130
131       syslog_facility (mail)
132              The syslog facility of Postfix logging.
133
134       syslog_name (postfix)
135              The  mail  system  name that is prepended to the process name in
136              syslog records, so that "smtpd"  becomes,  for  example,  "post‐
137              fix/smtpd".
138

SEE ALSO

140       smtp(8), Postfix SMTP client
141       smtpd(8), Postfix SMTP server
142       postconf(5), configuration parameters
143       master(5), generic daemon options
144       master(8), process manager
145       syslogd(8), system logging
146

README FILES

148       Use  "postconf readme_directory" or "postconf html_directory" to locate
149       this information.
150       TLS_README, Postfix TLS configuration and operation
151

LICENSE

153       The Secure Mailer license must be distributed with this software.
154

AUTHOR(S)

156       Lutz Jaenicke
157       BTU Cottbus
158       Allgemeine Elektrotechnik
159       Universitaetsplatz 3-4
160       D-03044 Cottbus, Germany
161
162       Adapted by:
163       Wietse Venema
164       IBM T.J. Watson Research
165       P.O. Box 704
166       Yorktown Heights, NY 10598, USA
167
168
169
170                                                                     TLSMGR(8)
Impressum