Skip to content

Fixes #339 (fix for ELK postfix fields)#356

Merged
tomav merged 1 commit intodocker-mailserver:masterfrom
alexanderneu:elk-message-fix
Oct 13, 2016
Merged

Fixes #339 (fix for ELK postfix fields)#356
tomav merged 1 commit intodocker-mailserver:masterfrom
alexanderneu:elk-message-fix

Conversation

@alexanderneu
Copy link
Copy Markdown
Contributor

@alexanderneu alexanderneu commented Oct 13, 2016

This removes syslog data from the message, because timestamp, hostname, program and pid are parsed anyway into their own fields, and postfix-grok-patterns only parses output from postfix (like ^%{POSTFIX_SMTP}$).

Overwrite message with the actual logged message.
@alexanderneu alexanderneu changed the title Fixes #339 Fixes #339 (fix for ELK postfix fields) Oct 13, 2016
@tomav
Copy link
Copy Markdown
Contributor

tomav commented Oct 13, 2016

Hi @alexanderneu, thanks for the fix.
Did you check the impact on amavis grok?

Let me know, and I'll merge the PR.

@alexanderneu
Copy link
Copy Markdown
Contributor Author

I haven't seen any impact on amavis logs. Everything parsing just fine. 😃

@tomav tomav merged commit 50a3418 into docker-mailserver:master Oct 13, 2016
@tomav
Copy link
Copy Markdown
Contributor

tomav commented Oct 13, 2016

Thanks!

RichardFevrier pushed a commit to RichardFevrier/docker-mailserver that referenced this pull request Aug 26, 2019
Overwrite message with the actual logged message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants