.vimrc

use .vimrc sample to avoid “visual” in vim when trying to copy/paste.

Read More

postfix macos high sierra

sudo vim /etc/postfix/main.cf message_size_limit = 10485760 mailbox_size_limit = 0 biff = no smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit recipient_delimiter = + tls_random_source = dev:/dev/urandom #smtpd_tls_ciphers = medium myhostname = mail.hensler.net mydomain = hensler.net myorigin = $mydomain #inet_interfaces = $myhostname, localhost mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,mail.$mydomain mynetworks = 127.0.0.0/8 smtpd_banner = $myhostname smtpd_use_tls= yes smtp_use_tls = […]

Read More

“lets encrypt”, SSL, certbot, macos high sierra

certbot reads apaches SSL configuration and creates certificates for each configured site brew install certbot sudo vim /etc/letsencrypt/options-ssl-apache.conf > comment out SSLCompression off sudo certbot > create certificates > https://certbot.eff.org/#osx-apache Automating renewal > sudo certbot renew –dry-run crontab -e 0 0,12 * * * /usr/local/bin/certbot renew

Read More

dnsmasq macos high sierra

brew install dnsmasq   sudo vim /usr/local/etc/dnsmasq.conf bogus-priv local=/lan.hensler.net/ domain=lan.hensler.net expand-hosts listen-address=127.0.0.1 listen-address=10.0.29.150   sudo vim /etc/hosts ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost 10.0.29.60 hostname   /etc/resolv.conf domain lan.hensler.net […]

Read More