I'm configuring sendmail on hpux 11.31 i have to set a a random fileif i setdefine(`confRAND_FILE',`dev:/dev/urandom')dnlGive this errorSTARTTLS: Error: no proper random file definition dev:/dev/urandomif i setdefine(`confRAND_FILE',`file:/dev/urandom')dnlGive this errorSTARTTLS: Warning: safeopen(/dev/urandom) failedHow to set?Thanks
sendmail: proper /dev/urandom
sendmail
Solution foundhttp://support.hp.com/id-en/document/c00916394Must use egd:/dev/urandom,not file,using /dev/random give an errorHere's the correct mc filedivert(0)dnlVERSIONID(`$Id: generic-hpux10.mc,v 8.13 2001/05/29 17:29:52 ca Exp $')OSTYPE(hpux11)dnlDOMAIN(generic)dnldefine(`_X400_UUCP_')dnldefine(`_MASQUERADE_ENVELOPE_')dnldefine(`MASQUERADE_NAME')dnldefine(`confTRY_NULL_MX_LIST',`T')dnldefine(`LUSER_RELAY',`name_of_luser_relay')dnldefine(`DATABASE_MAP_TYPE',`dbm')dnldefine(`_CLASS_U_')dnldefine(`LOCAL_RELAY')dnldefine(`MAIL_HUB')dnlTRUST_AUTH_MECH(`GSSAPI DIGEST-MD5')dnlFEATURE(always_add_domain)dnlMAILER(local)dnlMAILER(smtp)dnlMAILER(openmail)dnlMAILER(uucp)dnldefine(`SMART_HOST', `posta.domain.com')define(`confCACERT_PATH', `/etc/mail/certs')dnldefine(`confCACERT', `/etc/mail/certs/domain.com.crt')dnldefine(`confSERVER_CERT', `/etc/mail/certs/hpux2.domain.com.crt')dnldefine(`confSERVER_KEY', `/etc/mail/certs/hpux2.domain.com.key')dnldefine(`confCLIENT_CERT', `/etc/mail/certs/hpux2.domain.com.crt')dnldefine(`confCLIENT_KEY', `/etc/mail/certs/hpux2.domain.com.key')dnldefine(`confRAND_FILE',`egd:/dev/urandom')dnlD{tls_version}TLSv1O UseTLS=True