Ivan Matveyev (13)

Debian 13: Configure Exim4 to deliver local mail to your external mail server

It's more convenient to read all your mail in one inbox. To have LogWatch or other reports delivered to your mailbox, Exim4 needs to be configured as smarthost. In my case Exim comes as a dependency of LogWatch. Exim configĀ /etc/exim4/update-exim4.conf.conf is below. dc_eximconfig_configtype='smarthost' dc_other_hostnames='HOSTNAME' dc_local_interfaces='127.0.0.1…

Continue reading...

Server Behind NAT: Dynamic DNS Updates

One of my machines is serving public users and it is behind NAT. Besides DHCP IP address reservation and Port Forwarding, it needed a hostname. I am using the below script to update the DDNS. #!/bin/bash IP_FILE="/tmp/ddns-ip.txt" # Try to get current IP, capture both…

Continue reading...