# 使用 Homebrew, apk, MacPorts, Nix, pacman 安装 goimapnotify

查看 goimapnotify 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:goimapnotify
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install goimapnotify
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install goimapnotify
```

  证据: MacPorts ports tree: mail/goimapnotify/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add goimapnotify
```

  证据: Alpine Linux edge package indexes: goimapnotify from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#goimapnotify
```

  证据: nixpkgs package indexes: pkgs/by-name/go/goimapnotify/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S goimapnotify
```

  证据: Arch Linux sync databases: goimapnotify from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:goimapnotify
- **软件包管理器:** Homebrew
- **版本:** 2.5.7
- **来源摘要:** Execute scripts on IMAP mailbox changes using IDLE
- **主页:** <https://gitlab.com/shackra/goimapnotify>
- **最后更新:** 2026-07-26T04:19:00Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- goimapnotify (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.5.7
## 项目历史与用法

goimapnotify is a Go command-line utility that watches IMAP mailboxes with IDLE and runs user-configured commands when messages are added, deleted, or changed.

### 项目历史

The project was created on GitLab in August 2017 and describes itself as a Golang version of an IMAP notification tool for executing scripts on mailbox changes. Its first visible Git tags, 1.0 and 1.0.1, appeared in August 2017.

The README documents compatibility with the Python imapnotify configuration style while using Go-specific option names such as passwordCMD. Later releases added OAuth2 support, STARTTLS-related fixes, YAML configuration, monitoring all mailboxes, IMAP ID support, and event handling for changed or deleted mail.

### 采用历史

The package is distributed in multiple Unix package ecosystems, including Homebrew, Arch Linux, MacPorts, Alpine, and Nix according to the supplied package-manager metadata. Arch Linux and MacPorts both publish package pages that point back to the GitLab upstream and describe the same IMAP-IDLE script-triggering purpose.

### 使用方式

Users install the goimapnotify CLI and provide a JSON, YAML, YML, or TOML configuration file. The documented default config path is $XDG_CONFIG_HOME/goimapnotify/goimapnotify.yaml, and the -conf flag can override it.

A configuration defines one or more IMAP accounts, watched mailboxes, authentication values or commands that produce them, TLS behavior, and shell commands to run for events such as new, changed, or deleted messages. The -list mode helps users inspect mailbox hierarchy before choosing mailbox names.

### 为什么软件包爱好者会关心

goimapnotify is a small Unix-style automation utility: it bridges remote IMAP IDLE events to local commands such as mail sync scripts. That makes it useful in terminal mail setups where package-manager availability and predictable config-file behavior matter more than a graphical mail client.

For package maintainers, it is a compact Go network daemon/CLI with a stable upstream, tagged releases, and cross-distribution packaging, but it also carries typical mail-tool concerns around TLS defaults, OAuth2 token handling, and redaction of credentials in logs.

### 时间线

- 2017-08-23: GitLab project created.
- 2017-08-25: Tag 1.0 published.
- 2019-04-26: Tag 2.0 published.
- 2021-04-19: Tag 2.2 published with OAuth2-related development in the tag history.
- 2024-09-30: Version 2.4 changelog records YAML support, monitoring all mailboxes, IMAP ID support, and credential-redaction work.
- 2026-02-14: Version 2.5.5 released.

### Related projects

- python-imapnotify is listed by the goimapnotify README as the older Python implementation whose configuration style goimapnotify mostly follows.

### 来源

- <https://archlinux.org/packages/extra/x86_64/goimapnotify/>
- <https://gitlab.com/shackra/goimapnotify>
- <https://gitlab.com/shackra/goimapnotify/-/raw/master/CHANGELOG.md>
- <https://gitlab.com/shackra/goimapnotify/-/raw/master/README.md>
- <https://gitlab.com/shackra/goimapnotify/-/tags>
- <https://gitlab.com/shackra/goimapnotify/-/tags?page=2>
- <https://ports.macports.org/port/goimapnotify/>


## 安全说明

没有找到 goimapnotify 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $XDG_CONFIG_HOME/goimapnotify/goimapnotify.yaml
## 其他软件包管理器记录

- Nix - goimapnotify: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/goimapnotify/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - goimapnotify - 2.5.4-r4: normalized package name match | Alpine Linux edge package indexes: goimapnotify from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | execute scripts on IMAP mailbox changes using IDLE, golang version | https://gitlab.com/shackra/goimapnotify
- apk - goimapnotify-systemd - 2.5.4-r4: normalized package name match | Alpine Linux edge package indexes: goimapnotify-systemd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | execute scripts on IMAP mailbox changes using IDLE, golang version (systemd files) | https://gitlab.com/shackra/goimapnotify
- pacman - goimapnotify - 2.5.5-1: normalized package name match | Arch Linux sync databases: goimapnotify from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Execute scripts on IMAP mailbox changes (new/deleted/updated messages) using IDLE, golang version. | https://gitlab.com/shackra/goimapnotify
- MacPorts - goimapnotify: normalized package name match | MacPorts ports tree: mail/goimapnotify/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/goimapnotify.yml](https://github.com/mxcl/pkgdb/blob/main/combined/goimapnotify.yml)


## 来源

- pkg.so package database
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
