Configure hostname and FQDN for the VM/system which will be used for LDAP server. (Reference to example.com is to mask the actual usage) root@ldap:~# hostname –fqdn ldap.example.com root@ldap:~# cat /etc/hosts 127.0.0.1 localhost 10.1.2.22 ldap.example.com ldap The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters root@ldap:~# Install OpenLDAP…
Tag: Debian
Adding ClamAV Anti-virus checks to existing Postfix, Amavis+Spamassasin configuration
Had an existing Postfix configurationup and running. Notes for bringing up the same available at https://www.sandeeprao.net/configuring-secure-mail-server-using-postfix-with-dovecot-spamassasin-postgrey-and-opendkim/ As I could add more vCPU and RAM to the VM, thought of adding anti-virus check on receipt of mails. As I had already configured amavis + spamassassin it was pretty straight forward, install the required clamav packages along…
NIC Bonding
Upgraded the lab by adding a new server, primarily hosting an NFS server. Upgraded all servers by adding 2 x 10G NICs in all the servers connected via Microtik CRS309 Desktop Router (Using SwitchOS and not RouterOS) – supports LACP. On the server-side decided to bond both the 10G NICs so that better network throughput…
dnsmasq : For my local network
Need was to have a DNS service serving my local network name resolutions. After surfing on multiple how tos, found dnsmasq would suffice my needs. Install dnsmasq #apt install -y dnsmasq Edit the configuration file and updated the following entries (uncomment if commented) # Never forward plain names (without a dot or domain part) domain-needed…