No description
  • Go 86%
  • Nix 14%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michael 095aa10e0d Fix non-atomic attachment writes; add FreeBSD jail deployment files
writeFile wrote directly to the final path with os.WriteFile, contradicting
the "atomic write" behavior CLAUDE.md already documented. Now writes to a
temp file and renames into place, matching internal/state's approach, so a
concurrent reader (e.g. a consumer app polling the output directory) never
sees a partial PDF.

Also add freebsd/crontab.sample and freebsd/newsyslog.conf.sample for
running immemail in a FreeBSD jail: cron + lockf(1) in place of systemd's
timer + Type=oneshot serialization, with log rotation via newsyslog(8).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-11 13:57:14 +02:00
cmd/immemail Add configurable delete-vs-move post-processing for fetched mail 2026-08-11 12:23:11 +02:00
freebsd Fix non-atomic attachment writes; add FreeBSD jail deployment files 2026-08-11 13:57:14 +02:00
internal Fix non-atomic attachment writes; add FreeBSD jail deployment files 2026-08-11 13:57:14 +02:00
systemd Initial commit: immemail IMAP PDF attachment saver 2026-08-11 12:10:09 +02:00
.envrc Initial commit: immemail IMAP PDF attachment saver 2026-08-11 12:10:09 +02:00
.gitignore Initial commit: immemail IMAP PDF attachment saver 2026-08-11 12:10:09 +02:00
CLAUDE.md Fix non-atomic attachment writes; add FreeBSD jail deployment files 2026-08-11 13:57:14 +02:00
config.example.toml Add configurable delete-vs-move post-processing for fetched mail 2026-08-11 12:23:11 +02:00
flake.lock Initial commit: immemail IMAP PDF attachment saver 2026-08-11 12:10:09 +02:00
flake.nix Initial commit: immemail IMAP PDF attachment saver 2026-08-11 12:10:09 +02:00
go.mod Initial commit: immemail IMAP PDF attachment saver 2026-08-11 12:10:09 +02:00
go.sum Initial commit: immemail IMAP PDF attachment saver 2026-08-11 12:10:09 +02:00