Skip to content

Instantly share code, notes, and snippets.

@dimitrismistriotis
dimitrismistriotis / checklist.md
Last active June 20, 2023 08:56
Migrating to new Linux checklist
  • Additional keyboard
  • New Github/Gitlab certificate, or copy existing
  • MP3s
  • Videos
  • Txts with notes
  • Documents
  • Pycharm
  • Codium editor, settings, package manager, and packages
  • Codium editor: export/import profile from more recent installation
  • Other projects
@dhensby
dhensby / sendmail-fix.sh
Last active July 12, 2023 12:17
Stop sendmail delivering to localhost when email domain matches hostname, stop sendmail intercepting emails to info@ and others - CentOS, RHEL, Fedora
#!/bin/bash
##
##
## This scipt was inspired by http://serverfault.com/questions/65365/disable-local-delivery-in-sendmail/128450#128450
## It stops webservers sending mail that is addressed to the local hostname to localhost and instead looks remotely for a mail server
##
##
# Install sendmail-cf as this is required to customise the config
{
"require": {
"slim/slim": "2.*",
"illuminate/database": "*",
"dhorrigan/capsule": "*"
}
}