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


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) to determine if EGD support is included (if it appears in the list, support is included).

Get Sendmail, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.