Commit graph

48 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
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
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
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
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
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
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
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
58643e2d6f only sync mail on trusted networks 2016-01-13 18:35:23 -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
Pig Monkey
c4938ea9bd send and receive with mailsync.sh 2015-12-25 19:52:44 -08:00
Pig Monkey
4a97eaebd1 msmtp queue 2015-12-25 19:49:53 -08:00
Pig Monkey
5b75de3f1a add isync
Include a systemd timer and a script to check mail only when online.
2015-12-25 19:27:13 -08:00
Pig Monkey
72a5591aec forward system mail to user 2015-12-22 18:27:42 -08:00
Pig Monkey
2d0c544683 use ansible-aur module for AUR packages 2015-12-12 13:12:19 -08:00
Pig Monkey
6b73db73fb install vdirsyncer, khard, and khal into virtualenv
They have too many AUR dependencies for my taste...
2015-12-07 16:52:03 -08:00
Pig Monkey
e2f918f820 explicitly install python2-vobject for khard 2015-12-04 19:04:03 -08:00
Pig Monkey
ab5aff94f4 more verbose tagging 2015-11-14 15:35:41 -08:00
Pig Monkey
2920c29fe5 add vdirsyncer and khard for carddav 2015-11-06 17:42:46 -08:00
Pig Monkey
5a8befc1c2 move goobook to a contacts role 2015-11-06 17:40:45 -08:00
John Shuping
a3719c7b43 Add packages potentially helpful to new arch users 2015-11-04 09:38:47 -05:00
Pig Monkey
b6c6dd140e initial commit 2015-09-06 15:51:37 -07:00