Monthly Archives: October 2016

ramfs – temporarily mount filesystem in ram to speed things up

ram is faster than disk, this is less and less true with ssd, but in many situations it is still true, and can be useful to use the ram to serve files at high speed access. Example script that first unmount … Continue reading

Posted in Uncategorized | Leave a comment

postfix / smtpd – disable relay to specific domains

/etc/postfix/main.cf make sure you have included this: hash:/etc/postfix/access, in smtpd_sender_restrictions = ……………. Note you can also avoid receving to a specific domain if you add this also in reject_unauth_destination ruleset. /etc/postfix/access Have your domain listed like: evildomain.tld   REJECT outta.here … Continue reading

Posted in Uncategorized | Leave a comment

Open portmapper – disable rpcbind

you can use firewall rules, or if you dont use nfs, just stop it and remove it from starting: service rpcbind stop update-rc.d nfs-common disable update-rc.d rpcbind disable Check that it is not listening to requests with: rpcinfo -T udp … Continue reading

Posted in Uncategorized | Leave a comment