Commit Graph

12 Commits

Author SHA1 Message Date
Yoann Lecuyer
ec57499cf9 Fix: Default for mail log path 2021-05-02 23:01:50 +02:00
Tommie Gannert
f1d5d0ad4d
Adds a Docker log source.
When Postfix is running in a Docker container, it's most useful to use
the built-in Docker logging (as with Systemd). Setting
`--docker.enable` allows that.

The log source is using `client.NewEnvClient`, which reads environment
variables to determine which Docker to connect to, and how TLS is
handled.
2021-03-16 15:37:29 +01:00
Bart Vercoulen
1edadd0857
Revert "Adds a Docker log source." 2021-03-16 15:19:10 +01:00
Tommie Gannert
c588b342a0 Adds a Docker log source.
When Postfix is running in a Docker container, it's most useful to use
the built-in Docker logging (as with Systemd). Setting
`--docker.enable` allows that.

The log source is using `client.NewEnvClient`, which reads environment
variables to determine which Docker to connect to, and how TLS is
handled.
2020-07-02 10:22:01 +02:00
Ian S. Pringle
046eb3dd8c Updated README
- Previously the README directed readers to look inside of `main.go` in
  order to see the various flags. I found this to be unacceptable and I
  have updated the README with flags from both `main.go` and
  `systemd.go` I could not find any further flags however I could be
  missing something.
- Updated the description in the README to be less verbose.
2020-05-15 08:24:11 -04:00
Bart Vercoulen
af6943b1bc
Fixed Readme. 2019-02-15 12:41:28 +01:00
Evan Klitzke
b137412906
When following log files, tail them rather than truncate them. 2018-09-30 15:28:04 -07:00
Bart Vercoulen
b0c96895c2 Update readme and changelog for release. 2018-05-04 12:22:34 +02:00
Silke
77dfb94499 Document systemd usage 2018-02-13 11:15:04 +01:00
Bart Vercoulen
d0b229822e build_static.sh updated to ubuntu docker container to support systemd journal usage. 2018-02-02 11:51:33 +01:00
Ed Schouten
9b56cf9737 Also start scraping Postfix's log file for more relevant stats.
Queue stats on their own are a bit restrictive. Also go ahead and scrape
the Postfix logs to get more relevant metrics.
2017-05-02 15:07:19 +02:00
Ed Schouten
307deac3ed Add a simple README. 2017-02-17 16:04:32 +01:00