diff options
| author | Karel Kočí <cynerd@email.cz> | 2026-02-12 17:38:48 +0100 |
|---|---|---|
| committer | Karel Kočí <cynerd@email.cz> | 2026-02-12 17:40:27 +0100 |
| commit | d0675e09d60c4383d5c4295bebd0e75ae3027fa3 (patch) | |
| tree | 5f699bf40ffb9a9390c731d6656655eedf1e7b32 | |
| parent | c695a8fea7cf0271e76928a98a3abd1fd4ce5bc1 (diff) | |
| download | myconfigs-d0675e09d60c4383d5c4295bebd0e75ae3027fa3.tar.gz myconfigs-d0675e09d60c4383d5c4295bebd0e75ae3027fa3.tar.bz2 myconfigs-d0675e09d60c4383d5c4295bebd0e75ae3027fa3.zip | |
Add davmail Elektroline synchronization
| -rw-r--r-- | config/dodo/config.py | 4 | ||||
| -rw-r--r-- | config/systemd/user/davmail.service | 5 | ||||
| -rwxr-xr-x | install | 4 | ||||
| -rwxr-xr-x | local/bin/allsync | 3 | ||||
| m--------- | private | 0 |
5 files changed, 12 insertions, 4 deletions
diff --git a/config/dodo/config.py b/config/dodo/config.py index 66e64ac..1347424 100644 --- a/config/dodo/config.py +++ b/config/dodo/config.py @@ -1,14 +1,16 @@ import dodo -dodo.settings.smtp_accounts = ["email", "gmail", "fel"] +dodo.settings.smtp_accounts = ["email", "gmail", "ell", "fel"] dodo.settings.email_address = { "email": "Karel Kočí <cynerd@email.cz>", "gmail": "Karel Kočí <citrisin@gmail.com>", + "ell": "Karel Kočí <kkoci@elektroline.cz>", "fel": "Karel Kočí <kocikare@fel.cvut.cz>", } dodo.settings.sent_dir = { "email": "~/.mail/email/sent/", "gmail": "~/.mail/gmail/Drafts/", + "ell": "~/.mail/ell/Sent/", "fel": "~/.mail/fel/Sent/", } dodo.settings.gnupg_keyid = "2B1F70F95F1B48DA2265A7FAA6BC8B8CEB31659B" diff --git a/config/systemd/user/davmail.service b/config/systemd/user/davmail.service new file mode 100644 index 0000000..b0f239b --- /dev/null +++ b/config/systemd/user/davmail.service @@ -0,0 +1,5 @@ +[Unit] +Description=DavMail + +[Service] +ExecStart="/run/current-system/sw/bin/davmail" @@ -93,14 +93,16 @@ if ask "sync" "Install synchronization"; then if [ "$(ps -o comm= 1)" = "systemd" ]; then inst config/systemd/user/allsync.service ~/.config/systemd/user/ inst config/systemd/user/allsync.timer ~/.config/systemd/user/ + inst config/systemd/user/davmail.service ~/.config/systemd/user/ fi inst private/mbsyncrc ~/.mbsyncrc + inst private/msmtprc ~/.msmtprc + inst private/davmail.service ~/.davmail.service inst private/notmuch-config ~/.notmuch-config inst private/notmuch-tag-new ~/.notmuch-tag-new inst local/bin/email-unread ~/.local/bin/email-unread inst local/sbin/newmail-notify ~/.local/sbin/newmail-notify - inst private/msmtprc ~/.msmtprc inst config/dodo/config.py ~/.config/dodo/config.py inst private/astroid/config ~/.config/astroid/config diff --git a/local/bin/allsync b/local/bin/allsync index 9539f0d..0dcccc5 100755 --- a/local/bin/allsync +++ b/local/bin/allsync @@ -23,6 +23,7 @@ cron_enable() { } | crontab - else systemctl --user start allsync.timer + systemctl --user start davmail.timer fi notify_bar } @@ -112,12 +113,10 @@ pass git pull || fail "Passwords pull failed" pass git push || fail "Passwords push failed" sec "Mail" -i3_astroid --start-polling mbsync -a || fail "Mail synchronization reported failure" notmuch new ~/.local/sbin/newmail-notify || fail "Mail notifications not sent" notmuch tag --batch --input="$HOME/.notmuch-tag-new" -i3_astroid --stop-polling notify_bar #sec "Calendar and contacts" diff --git a/private b/private -Subproject abe80caafee87d3111f52d3e7a01f3869d2cfc3 +Subproject 0b5b11a66a39ab24135fe5a7f748ab4e009c4cc |
