Mutt - updates

This commit is contained in:
unman 2022-07-17 16:06:18 +00:00
parent df2fba5e3a
commit 448562d481
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C
6 changed files with 52 additions and 9 deletions

View File

@ -22,6 +22,7 @@ cp -rv %{SOURCE0}/ %{buildroot}/srv/salt
if [ $1 -eq 1 ]; then if [ $1 -eq 1 ]; then
qubesctl state.apply mutt.clone qubesctl state.apply mutt.clone
qubesctl --skip-dom0 --targets=template-mutt state.apply mutt.install qubesctl --skip-dom0 --targets=template-mutt state.apply mutt.install
qubesctl state.apply mutt.configure
fi fi
%preun %preun

View File

@ -5,5 +5,5 @@ qvm-clone-id:
qvm.clone: qvm.clone:
- require: - require:
- sls: template-debian-11-minimal - sls: template-debian-11-minimal
- name: template-mail - name: template-mutt
- source: debian-11-minimal - source: debian-11-minimal

View File

@ -1,4 +1,4 @@
base: base:
dom0: dom0:
- match: nodegroup - match: nodegroup
- mail.clone - mutt.clone

View File

@ -1,6 +1,8 @@
# vim: set syntax=yaml ts=2 sw=2 sts=2 et : # vim: set syntax=yaml ts=2 sw=2 sts=2 et :
# #
{% if grains['nodename'] != 'dom0' %}
{% if salt['qvm.exists']('cacher') %} {% if salt['qvm.exists']('cacher') %}
/etc/apt/sources.list: /etc/apt/sources.list:
@ -14,7 +16,6 @@
{% endif %} {% endif %}
{% if grains['nodename'] != 'dom0' %}
update: update:
pkg.uptodate: pkg.uptodate:
- refresh: True - refresh: True
@ -23,15 +24,18 @@ installed:
pkg.installed: pkg.installed:
- pkgs: - pkgs:
- qubes-core-agent-networking - qubes-core-agent-networking
- qubes-app-shutdown-idle
- qubes-gpg-split
- mb2md - mb2md
- mutt - mutt
- notmuch - notmuch
- notmuch-mutt - notmuch-mutt
- offline-imap
- openssh-client - openssh-client
- qubes-app-shutdown-idle
- rsync - rsync
- w3m - w3m
- skip_suggestions: True - skip_suggestions: True
- install_recommends: False
change_timeout: change_timeout:
file.replace: file.replace:
@ -47,5 +51,4 @@ default_muttrc:
- user: user - user: user
- group: user - group: user
{% endif %} {% endif %}

View File

@ -1,5 +1,5 @@
# vim: set syntax=yaml ts=2 sw=2 sts=2 et : # vim: set syntax=yaml ts=2 sw=2 sts=2 et :
base: base:
template-mail: template-mutt:
- mail.install - mutt.install

View File

@ -1,7 +1,46 @@
##############################
### USER CONFIGURATION ###
# UNCOMMENT THE RELEVANT LINES AND INSERT YOUR DETAILS
## PGP
# Specify what key to use for signing here:
#set pgp_sign_as=0x
## IMAP
#set folder=imaps://YOUR_SERVER/
#set imap_user=YOUR_USERNAME_HERE
#set imap_pass=YOUR_PASSWORD_HERE
#set spoolfile=+INBOX
#set imap_check_subscribed
## POP3
#set pop_host=pops://YOUR_SERVER
#set pop_user=YOUR_USERNAME_HERE
#set pop_pass=YOUR_PASSWORD_HERE
#set pop_checkinterval=120
#set pop_delete=ask-no
#set pop_last=yes
##SMTP
#set my_user=YOUR_USERNAME_HERE
#set smtp_url=smtps://$my_user@YOUR_SMTP_SERVER
#set ssl_force_tls=yes
#set record= +Sent
#set smtp_pass=YOUR_PASSWORD_HERE
#set realname=YOUR_REAL_NAME
#set from=YOUR_EMAIL_ADDRESS
#set use_from=yes
#set ssl_starttls=yes
#set ssl_force_tls=yes
### END USER CONFIGURATION ###
##############################
set pgp_use_gpg_agent = no set pgp_use_gpg_agent = no
set crypt_use_gpgme=no set crypt_use_gpgme=no
# Specify what key to use for signing here:
set pgp_sign_as=0x
# decode application/pgp # decode application/pgp
set pgp_decode_command="qubes-gpg-client-wrapper -d --status-fd=2 --batch %f" set pgp_decode_command="qubes-gpg-client-wrapper -d --status-fd=2 --batch %f"