-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
neomutt: configure neomutt folder used by postfix
- Loading branch information
1 parent
db78d8a
commit efc8f04
Showing
3 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
- name: Install neomutt | ||
package: | ||
name: neomutt | ||
state: present | ||
tags: | ||
- role::neomutt | ||
|
||
- name: Configure neomutt folder to standard destination | ||
copy: | ||
content: | | ||
# Ansible managed | ||
# neomutt will user ~/Mail by default, whilst our postfix installation | ||
# will deliver mail to /var/mail/$USER instead. neomutt will also figure that out, | ||
# but not without prompting whether to create ~/Mail on every startup first. | ||
set folder = /var/mail/$USER | ||
owner: root | ||
group: root | ||
mode: "0o444" | ||
dest: /etc/neomuttrc.d/pydis.rc | ||
tags: | ||
- role::neomutt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
dependencies: | ||
# Mail client | ||
- neomutt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters