'RandFile'' ''''


Source for random numbers V8.11 and later

STARTTLS requires that it have some source for randomized data. It uses /dev/urandom on systems that support that device. On systems that don't, you must specify an alternative.

The RandFile option is used to specify an alternative source like this:

O RandFile=where               configuration file (V8.11 and later) 
-ORandFile=where               command line (V8.11 and later) 
define(`confRAND_FILE',`where')    mc configuration (V8.11 and later) 

Here, where is of type string, and specifies the source for the randomized data. That source can be either a Unix-domain socket used by the egd(8) daemon (Section, or a file you update with randomized data yourself (Section You tell sendmail which you are using by prefixing where with either a literal egd: or file: expression:

define(`confRAND_FILE',`egd:/var/run/entropy')    socket for the egd daemon 
define(`confRAND_FILE',`file:/etc/randfile')  a file of random data 

See Section 10.10 in Chapter 10 for a full discussion of how this option and those file types fit into the STARTTLS scheme.

The RandFile option is not safe. If specified from the command line, it can cause sendmail to relinquish its special privileges.

    Part I: Build and Install
    Part II: Administration
    Part III: The Configuration File
    Chapter 21. The D (Define a Macro) Configuration Command
    Chapter 24. The O (Options) Configuration Command