Commit graph

63 commits

Author SHA1 Message Date
Pig Monkey
966b159668 user kewlfft.aur collection
Closes #120 #74
2024-12-01 20:21:53 -08:00
Pig Monkey
de59ed760b add wait variable for goimapnotify
Previously `wait` could be defined in the user's config file, but in the
new release it appears to only be supported as a flag, so we have to
override the systemd service.
2024-09-16 15:56:35 -07:00
Brett Eisenberg
01f7075c32 add oauth2 support for msmtp and mbsync 2024-08-21 12:14:01 -07:00
Pig Monkey
29beab046f replace deprecated include with include_tasks 2022-10-14 17:36:47 -07:00
ohdearaugustin
5da2ce698f Fix idempotency create file 2022-04-05 23:01:09 +02:00
Pig Monkey
150899f017 install goimapnotify 2021-11-23 20:17:44 -08:00
Pig Monkey
88f78109d7 do not install offlineimap until they port to python 3 2021-10-21 18:17:18 -07:00
Pig Monkey
4fce720bd8 systemd stdout/stderr syslog output is obsolete 2020-08-25 15:57:18 -07:00
Pig Monkey
b59174caec remove trailing semicolon from mutt.desktop mimetype
Apparently this is invalid.
2019-11-06 20:08:33 -08:00
Brett Eisenberg
b2fe7885eb optionally update notmuch when syncing mail 2019-08-27 08:32:04 -07:00
Pig Monkey
d180499f5c set mutt as default mailto url handler 2019-08-25 11:35:34 -07:00
Pig Monkey
54536f010d reformat yml 2019-08-25 10:48:58 -07:00
Pig Monkey
18db7039b8 replace urlview with urlscan 2019-08-25 10:47:52 -07:00
Pig Monkey
1207aeccc0 install mutt-ics 2019-05-24 19:10:26 -07:00
Pig Monkey
61cb5976a9 mode wants leading 0 to be treated as octal 2019-05-09 12:35:11 -07:00
Pig Monkey
b91c1adace misc formatting 2019-04-30 21:05:39 -07:00
Pig Monkey
dc396e32e0 remove goobook 2018-11-17 23:20:24 -08:00
Pig Monkey
fe2f2d88f5 simplify nmtrust configuration with includes 2018-11-17 23:19:47 -08:00
Pig Monkey
f3684a8279 update trusted_unit location in roles 2018-11-17 22:41:59 -08:00
Pig Monkey
5585ef9c7b move nmtrust to standalone role 2018-11-17 22:35:24 -08:00
Pig Monkey
759d83c55f run mailsync as a user service
When this role was created, Ansible did not support systemd user units,
so we setup mailsync as a system service and timer running as the user.
The only practical difference in moving to a user service is that the
user can control the service without sudo, but we might as well.

Existing users should first stop, disable, and remove the old system timer and
service:

    $ sudo systemctl stop mailsync@$USER.timer
    $ sudo systemctl disable mailsync@$USER.timer
    $ sudo rm /etc/systemd/system/mailsync@.*

If the system timer is present in the trusted unit file, remove it.
2018-04-03 19:12:47 -07:00
Pig Monkey
cbb981ae71 link neomutt to mutt 2017-10-18 12:20:15 -07:00
Pig Monkey
d4265d9da5 neomutt is in community 2017-10-18 12:04:08 -07:00
Pig Monkey
4024fce08c take advantage of local profiles in /etc/firejail
Existing users will want to clean up their /usr/local/etc/firejail and
~/.config/firejail directories.
2017-07-29 16:30:00 -07:00
Pig Monkey
e2aed9edd7 update firejail profiles
Remove references to disable-more.inc

Remove some profiles which are now redundant with the Firejail default
profiles.
2017-07-29 16:07:34 -07:00
Pig Monkey
b7e60f6d4a unjail mutt
Firejail won't run jails inside of other firejails, which means that if
I jail Mutt I can't use firewarden in my mailcap to open attachments.
Mutt doesn't do a whole lot itself, and even when it is jailed, my mail
is synced outside of the Mutt jail via the systemd timer. So I think I'd
rather be able to use firewaden in my mailcap.
2016-12-29 18:56:15 -08:00
Pig Monkey
0a16ab7a88 disable more in the mutt jail
Granted we need to whitelist most of it, since the blacklist is mostly
mail/calendar/contact stuff.
2016-11-07 19:23:39 -08:00
Pig Monkey
62daf964dd disable msmtpq connectivity test
Netcat (and ping) are not available in the mutt jail, so calling msmtpq
(from mailsync.sh) from within that jail throws an error. But
mailsync.sh does its own connectivity testing, so we don't actually need
this!

When offline, mail will still be queued. When online, mail will still be
sent.
2016-11-07 17:37:07 -08:00
Pig Monkey
69d638f4ab allow msmtprc access in mutt jail
I have a PR for this upstream, but until then...
2016-11-07 17:33:24 -08:00
Pig Monkey
5c0de5ce5c jail gimp 2016-11-05 16:43:32 -07:00
Pig Monkey
61d9ac80cc support taskwarrior syncing
mailsync.sh probably ought to be renamed. It syncs more than mail.
2016-11-05 10:58:00 -07:00
Pig Monkey
c460c11778 replace mutt-sidebar with neomutt
Existing users should uninstall mutt-sidebar.

Be aware that the sidebar config is slightly different in neomutt
http://www.neomutt.org/feature/sidebar/
2016-05-05 18:48:21 -07:00
Pig Monkey
99a0ad176a add vdirsyncer to mailsync script 2016-04-09 11:06:20 -07:00
Pig Monkey
8a807a336c make dbus available to mailsync service
This may be needed if imap/smtp passwords are stored in gnome-keyring or
somesuch.
2016-02-16 21:41:27 -08:00
Pig Monkey
8d3a7c8533 add cron handler 2016-01-30 16:10:21 -08:00
Pig Monkey
48912b59db add handlers
This should mostly eliminate the need to manually reload/restart
services (or reboot the machine) after updates.
2016-01-30 16:01:47 -08:00
Pig Monkey
9e362a2999 add clean up tasks for toggling units in config 2016-01-30 14:17:01 -08:00
Pig Monkey
7b65fecfc2 create networkmanager role 2016-01-18 22:04:33 -08:00
Pig Monkey
77d2944c9f refactor trusted network framework
Previously, services would be killed anytime an interface was
deactivated, even if another interface was still connected to a trusted
network. Now we check all active connections against the trusted list
and take the appropriate action.

It's also more modular, and allows the user to more easily
activate/deactive services directly without stopping/starting networking
if for some reason the dispatcher didn't run correctly.
2016-01-18 19:01:05 -08:00
Pig Monkey
22c0cc6441 add boot delay back to mailsync timer
Without this, it appears that the timer will never do its initial
execution.
2016-01-15 19:14:01 -08:00
Pig Monkey
f276c4cdd4 match complete lines in trusted_networks file 2016-01-14 21:51:30 -08:00
Pig Monkey
d0154ca5c3 remove mailsync boot delay
This isn't needed when we can just specify that the service runs after
network.target.
2016-01-14 19:53:12 -08:00
Pig Monkey
948e3de457 remove unecessary space 2016-01-14 19:51:40 -08:00
Pig Monkey
58643e2d6f only sync mail on trusted networks 2016-01-13 18:35:23 -08:00
Pig Monkey
a8c38a8516 do not queue system mail 2015-12-29 16:58:39 -08:00
Pig Monkey
55664614d5 equal support for isync/offlineimap, and more mail docs 2015-12-28 13:22:44 -08:00
Pig Monkey
842c16bf03 set msmtpq log dir 2015-12-27 18:42:32 -08:00
Pig Monkey
4f58c1d28a don't use sudo to create msmtpq dir 2015-12-27 18:38:40 -08:00
Pig Monkey
84f82d7847 fix isync task tagging 2015-12-27 18:28:38 -08:00
Pig Monkey
e34421fdcc fix conditionals 2015-12-27 18:28:08 -08:00