Skip to content

Instantly share code, notes, and snippets.

@ralexx
Created August 26, 2020 21:03
Show Gist options
  • Save ralexx/a4ea3f7ebdf77d5252fa39a3de7083ed to your computer and use it in GitHub Desktop.
Save ralexx/a4ea3f7ebdf77d5252fa39a3de7083ed to your computer and use it in GitHub Desktop.
Allow mutt to write to mailbox

Upgrades break custom settings

Homebrew upgrades will overwrite the settings file linked to /usr/local/etc/Muttrc (e.g. /usr/local/Cellar/mutt/1.14.6/etc/Muttrc). Copying over it will restore customized settings. cp ~/repos/dotfiles/Muttrc /usr/local/etc/Muttrc

Set correct permissions

https://lists.debian.org/debian-user/2002/01/msg00172.html

  • The user does not matter but the group must be 'mail'.
  • Permissions do matter.
chown root:mail /usr/local/bin/mutt_dotlock
chmod 2755 /usr/local/bin/mutt_dotlock

If that does not work, follow the soft links to obtain the original file path and use that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment