Comments only, no behaviour changed. Each main.cf/master.cf parameter the
build sets, the wrapper's and the reload hook's reliance on Postfix 3.7.11
(postfix-script, master.5, postconf.5, cleanup_init.c, smtpd_peer.c,
README_FILES), supervisor 4.2.5 (process.py, options.py, events.rst),
logrotate 3.21.0, OpenDKIM's config, Cyrus SASL's sasldb, rspamd 3.11.1
(milter_headers.lua, multimap, the map watcher), Docker Compose, CoreDNS
and certbot now say where that is written. Measurements already there stay
measurements ("date not recorded" where none was); hand-composed fixtures
say so.
Contradictions left for their own commits: C-P31 cleanup's size limit,
C-P42 master outside supervisor's signal, C-V5/V6 startsecs, C-V10,
C-S3/Q3 sasldb written in place, C-Q4/A1 certbot's symlinks, C-R7 rspamd
skips local clients but the signature routine does not, C-P8, C-R4, C-R12,
C-M7, C-E2, C-K8/K9, C-D1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
809 B
Plaintext
22 lines
809 B
Plaintext
# The delivery log lives under the persistent /data, not the ephemeral
|
|
# /var/log, so the lines that resolve a "queued" send-log row outlive the
|
|
# container (architecture.md § Log tailer). Path and ownership match
|
|
# build/postfix-config.sh (maillog_file) and build/entrypoint.sh: postlogd
|
|
# writes it as user postfix, the unprivileged panel reads it through the shared
|
|
# selfpost group, hence create 0640 postfix selfpost rather than 0644 root root.
|
|
# (logrotate 3.21.0, logrotate.8: "create mode owner group" makes the new log
|
|
# right after the rotation; "delaycompress" leaves the previous log, .1,
|
|
# uncompressed until the next cycle.)
|
|
/data/log/mail.log {
|
|
daily
|
|
rotate 14
|
|
missingok
|
|
notifempty
|
|
compress
|
|
delaycompress
|
|
create 0640 postfix selfpost
|
|
postrotate
|
|
/usr/sbin/postfix reload
|
|
endscript
|
|
}
|