Package Details: goimapnotify 2.1.1-1

Git Clone URL: (read-only, click to copy)
Package Base: goimapnotify
Description: Execute scripts on IMAP mailbox changes (new/deleted/updated messages) using IDLE, golang version.
Upstream URL:
Keywords: email imap mu4e notmuch
Licenses: GPL
Submitter: shackra
Maintainer: shackra
Last Packager: shackra
Votes: 5
Popularity: 0.95
First Submitted: 2017-08-31 03:39
Last Updated: 2021-03-21 19:35

Latest Comments

1 2 Next › Last »

lowercase commented on 2021-03-03 14:13


this package currently fails to build. I needed to set GO111MODULE=auto to make it work again:

diff --git a/PKGBUILD b/PKGBUILD
index 87ac35d..50b5345 100644
@@ -21,6 +21,7 @@ prepare() {

 build() {
+  export GO111MODULE=auto
   export GOPATH="$srcdir"
   export GOBIN="$srcdir/bin"
   export PATH=$PATH:$GOPATH/bin

yaky83 commented on 2021-02-05 17:15

Thanks for this useful package.

maximbaz commented on 2019-09-11 13:54

hey, the package is missing git in makedepends, git is required by Go get, please add :)

Rhinoceros commented on 2019-05-11 06:54

@shackra That's perfect! Thank you for sorting it all out!

shackra commented on 2019-05-11 02:37

I have pushed some changes, tell me if it works fine

Rhinoceros commented on 2019-05-10 04:18

Ah got it. So the important change to make it work as a user unit is removing I imagine that's probably okay to do? I'm guessing that if the network goes down, then goimapnotify will terminate (and attempt to restart).

A few other things: the service file refers to /home/%i/.config/imapnotify/%i.conf. This presumes that the "instance name" %i is the same as the user (in /home/%i). However, this is not the case for me. I run three instances of *imapnotify for different email accounts. In comparison, nodejs-imapnotify specifies the path with %h/.config/imapnotify/%I instead. I don't entirely understand the preference between %i and %I, but could you please change the %h part at least?

node-imapnotify also has Type=simple, which I think is more appropriate than the default of oneshot? I think the other changes you make (Restart, WantedBy) are good though!

shackra commented on 2019-05-10 03:16

I run Emacs as a service too, which is my "email client" of choice.

You can remove that from the unit service.

Rhinoceros commented on 2019-05-10 03:12

What is emacs.service? I don't have that on my system.

shackra commented on 2019-05-10 03:04

@Rhinoceros I, uh, just copied the same systemd unit service to ~/.config/systemd/user/ and modify it like this

Description=Execute scripts on IMAP mailbox changes (new/deleted/updated messages) using IDLE, golang version.

ExecStart=/usr/bin/goimapnotify -conf /home/jorge/.config/imapnotify/jorge.conf


Maybe I just should copy that back to this package and call it a day.

Rhinoceros commented on 2019-05-10 02:48

Sorry, I should have mentioned that I tested moving it to /usr/lib/systemd/user/ already, but it failed for me. Apparently you can't mix system and user units. As long as it requires, which is logical, it must be a system unit unfortunately.

How do you run goimapnotify personally? Not as a systemd unit then?