Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profiles: mutt: add ~/.mutthistory & reduce amount of paths created #5626

Merged
merged 3 commits into from
Jan 30, 2023

Commits on Jan 28, 2023

  1. mutt.profile: add ~/.mutthistory

    From the manual of mutt 2.2.9:
    
    > 3.125. history_file
    >
    >    Type: path
    >    Default: "~/.mutthistory"
    >
    >    The file in which Mutt will save its history.
    kmk3 committed Jan 28, 2023
    Configuration menu
    Copy the full SHA
    33d538b View commit details
    Browse the repository at this point in the history
  2. mutt.profile: stop creating editor/browser paths

    To reduce the amount of spam created in the user home directory.
    
    It's unlikely that these paths are going to be both:
    
    * Created only after mutt is first opened through firejail and
    * Created from within mutt
    
    Also, no other profile does that:
    
        $ git grep -El '(mkdir|mkfile) \$\{HOME\}/\.(emacs|nano|vim)' -- etc
        etc/profile-m-z/mutt.profile
    
    So just whitelist them if they already exist.
    
    Added on commit a8a8e33 ("Add whitelisting to mutt; improve geary, new
    profile for neomutt", 2020-12-28) / PR netblue30#3849.
    kmk3 committed Jan 28, 2023
    Configuration menu
    Copy the full SHA
    3d82b71 View commit details
    Browse the repository at this point in the history
  3. mutt.profile: stop creating config files for other programs

    Let either the respective program or the user create the file.
    
    * ~/.bogofilter: Used by the bogofilter program
    * ~/.msmtprc: Used by the msmtp program
    
    Added on commit a8a8e33 ("Add whitelisting to mutt; improve geary, new
    profile for neomutt", 2020-12-28) / PR netblue30#3849.
    kmk3 committed Jan 28, 2023
    Configuration menu
    Copy the full SHA
    4a3e0d8 View commit details
    Browse the repository at this point in the history