eMail Server: Version 3
dracd is already installed and running on your system./etc/postfix/main.cf and change the linesmtpd_recipient_restrictions= ldap:ldapmailenab, permit_tls_clientcerts, permit_sasl_authenticated, permit_mynetworks, check_relay_domainsto
smtpd_recipient_restrictions= ldap:ldapmailenab, permit_tls_clientcerts, permit_sasl_authenticated, permit_mynetworks, check_client_access btree:/etc/postfix/dracd, check_relay_domains
/etc/imapd.conf and change the linedracinterval: 0to
dracinterval: 4
DRACD_RELAYTIME="5" (in minutes) in the file /etc/rc.config.
If necessary, this value can be modified.rccyrus restartrcpostfix restartDRACD_RELAYTIME, restart dracd, too: rcdracd restartdracd saves the sender's IP in a database.
For the period determined by DRACD_RELAYTIME, the eMail Server grants relay access to the sender with this IP.
Afterwards, a new authentication is required. POP clients can do this by prompting a mail retrieval. For IMAP clients,
dracinterval can be used to prompt dracd to look for an open connection so that
DRACD_RELAYTIME does not time out.