-
Recent Posts
Recent Comments
Archives
- December 2021
- July 2021
- June 2021
- April 2021
- March 2021
- February 2021
- December 2020
- November 2020
- October 2020
- June 2020
- August 2019
- July 2018
- February 2018
- December 2017
- July 2017
- March 2017
- February 2017
- January 2017
- November 2016
- October 2016
- September 2016
- May 2016
- February 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- April 2015
- December 2014
- November 2014
- October 2014
Categories
Meta
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