eximlog

module
v0.0.0-...-b45dff2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2023 License: Apache-2.0

README

Eximlog

This tool is aimed to extract information from Exim's log files.

Usage

Simply call

eximlog /var/log/exim/mainlog*`

and it will create a single line of output per processed messages. The output format can be customized:

# default format:
eximlog -format '{{.TimeReceived}} {{.ID}} {{.Sender}} -> {{.Recipients}}' /var/log/exim/mainlog*

# one line per recipient:
eximlog -format '{{range .Recipients}}{{$.Sender}} -> {{print .  "\n"}}{{end}}' /var/log/exim/mainlog*

The list of available fields may change. For a reference see the MessageLog type at the beginning of the source file.

Bugs

None so far, but it doesn't seem to be super efficient

Directories

Path Synopsis
cmd
eximlog
Exiggrep searchs Exim logfiles, similiar to what `exigrep` does
Exiggrep searchs Exim logfiles, similiar to what `exigrep` does
internal
exim
Package exim implements some stuff around the Exim SMTP server.
Package exim implements some stuff around the Exim SMTP server.
my
Package my implements utility routines
Package my implements utility routines

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL