EGD

Enable use of the EGD daemon Port with confENVDEF

EGD, which stands for Entropy Gathering Daemon, is a persistent daemon that provides pseudorandom numbers via a Unix socket. Obtaining this daemon and configuring for its use are described in EGD on page 204. To allow code to be included inside sendmail so that it can use this EGD daemon, you must define this EGD compile-time macro:

APPENDDEF(`confENVDEF', `-DEGD=1')

This definition is needed only on machines that lack /dev/urandom. If you are running a precompiled sendmail binary, you can use the -d0.1 debugging command-line switch (-d0.1 on page 542) to determine whether EGD support is included (if it appears in the list, support is included).

Get sendmail, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.