Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Don't try to aggregate content with a NOQUEUE queue id
  • Loading branch information
whyscream committed Jan 29, 2024
commit 132c8ce3968ce93d689b8c450f48aec471c7d794
4 changes: 3 additions & 1 deletion 51-filter-postfix-aggregate.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
filter {
if ![postfix_queueid] {
drop {}
} else if [program] == "postfix/qmgr" and [postfix_from]{
} else if [postfix_queueid] == "NOQUEUE" {
drop {}
} else if [program] == "postfix/qmgr" and [postfix_from] {
aggregate {
task_id => "%{postfix_queueid}"
code => "
Expand Down